From 8b749427629a625446d05470fdc206ecf41e9c17 Mon Sep 17 00:00:00 2001 From: Chao Liu Date: Tue, 26 May 2026 18:29:03 +0800 Subject: [PATCH] Add first-tree source binding to gstack-repo-tree Generated by `first-tree tree init` + `first-tree tree publish`. - Bind this repo as a standalone source to the dedicated tree at https://github.com/liuchao-001/gstack-repo-tree - AGENTS.md / CLAUDE.md carry the managed binding block agents read before each task - WHITEPAPER.md symlinks to the local first-tree skill payload - .gitignore keeps local-only .agents/skills and .claude/skills out of source control --- .gitignore | 3 +++ AGENTS.md | 40 ++++++++++++++++++++++++++++++++++++++++ CLAUDE.md | 40 ++++++++++++++++++++++++++++++++++++++++ WHITEPAPER.md | 1 + 4 files changed, 84 insertions(+) create mode 100644 .gitignore create mode 100644 AGENTS.md create mode 100644 CLAUDE.md create mode 120000 WHITEPAPER.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d35070 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.first-tree/tmp/ +.agents/skills/ +.claude/skills/ diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..9446f6a --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,40 @@ + +## First Tree integration + +> Managed block — regenerated by `first-tree` tooling. Do not edit by hand. + +This repo is a source/workspace repo. Keep all Context Tree files only in the dedicated `gstack-repo-tree` repo. + +### Binding + +- **Tree repo:** `gstack-repo-tree` +- **GitHub tree repo:** `liuchao-001/gstack-repo-tree` +- **Binding mode:** `standalone-source` +- **Entrypoint:** `/` +- **Tree repo URL:** + + + +### Before every task + +- Treat this managed block as the canonical local binding contract for which Context Tree this repo belongs to. +- Use the recorded tree repo name, tree repo URL, and GitHub slug from this block as the source of truth when deciding which tree to read or update. +- If you already have that tree repo cloned locally, update it before you read anything else. +- If you do not already have that tree repo cloned locally, clone a temporary working copy from `https://github.com/liuchao-001/gstack-repo-tree.git` into `.first-tree/tmp/gstack-repo-tree/`, use it for the current task, and delete it before you finish. +- Never commit anything under `.first-tree/tmp/` to this repo. It is local-only workspace state. + +### After every task + +- Always ask whether the tree needs updating. +- If the task changed decisions, constraints, rationale, ownership, or shared workspace relationships, open a PR in the tree repo first. Then open the source/workspace code PR. +- If the task changed only implementation details, skip the tree PR and open only the source/workspace code PR. + diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..9446f6a --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,40 @@ + +## First Tree integration + +> Managed block — regenerated by `first-tree` tooling. Do not edit by hand. + +This repo is a source/workspace repo. Keep all Context Tree files only in the dedicated `gstack-repo-tree` repo. + +### Binding + +- **Tree repo:** `gstack-repo-tree` +- **GitHub tree repo:** `liuchao-001/gstack-repo-tree` +- **Binding mode:** `standalone-source` +- **Entrypoint:** `/` +- **Tree repo URL:** + + + +### Before every task + +- Treat this managed block as the canonical local binding contract for which Context Tree this repo belongs to. +- Use the recorded tree repo name, tree repo URL, and GitHub slug from this block as the source of truth when deciding which tree to read or update. +- If you already have that tree repo cloned locally, update it before you read anything else. +- If you do not already have that tree repo cloned locally, clone a temporary working copy from `https://github.com/liuchao-001/gstack-repo-tree.git` into `.first-tree/tmp/gstack-repo-tree/`, use it for the current task, and delete it before you finish. +- Never commit anything under `.first-tree/tmp/` to this repo. It is local-only workspace state. + +### After every task + +- Always ask whether the tree needs updating. +- If the task changed decisions, constraints, rationale, ownership, or shared workspace relationships, open a PR in the tree repo first. Then open the source/workspace code PR. +- If the task changed only implementation details, skip the tree PR and open only the source/workspace code PR. + diff --git a/WHITEPAPER.md b/WHITEPAPER.md new file mode 120000 index 0000000..fcc97f7 --- /dev/null +++ b/WHITEPAPER.md @@ -0,0 +1 @@ +.agents/skills/first-tree/SKILL.md \ No newline at end of file