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