Repository navigation
docs(agents): work in treehouse worktrees and land changes through no-mistakes - #8245
Merged
Merged
Conversation
…at most three runs Agents work in a leased treehouse worktree (treehouse get --lease -b <branch>, treehouse return <path>), never in the main clone, and land every change through no-mistakes, at most three runs per pull request. Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
Contributor
|
Caution Review failedThe pull request is closed. Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
|
Preview removed because the pull request was closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
AGENTS.md: work in leased treehouse worktrees, never the main clone; land every change through no-mistakes, at most three runs per pull request
What Changed
AGENTS.md. It says to work in a leased treehouse worktree (treehouse get --lease -b <branch>) and never in the main clone, and never to usegit worktree addor a second clone. It also says to release the worktree withtreehouse return <path>after the change merges.AGENTS.mdnow says to land every change throughno-mistakes axi run, at most three runs per pull request. After the third run, merge the pull request as it stands and open an issue for anything still flagged. It also says which runs count toward the limit.layer5-blog-writerskill (.claude/skills/layer5-blog-writer/SKILL.md) to match. Step 4 now usestreehouse get --lease. Step 8 replaces the manual push,gh pr create,gh pr checks --watchandgh pr mergeflow with the no-mistakes run plustreehouse return. The failure-handling notes were rewritten for the new flow.Risk Assessment
✅ Low: Docs-only addition to AGENTS.md that matches the stated intent (treehouse worktrees, no-mistakes, three-run cap) with no code impact.
Testing
The change only edits agent instructions in AGENTS.md. The earlier run read --help output of the installed CLIs to confirm the cited commands and flags exist. That is not a live run of the product. No lease or pipeline was run, since this phase may not write to the shared worktree pool or start another pipeline. No UI is affected.
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
git diff 853b01237 1796d5496 --stat(only AGENTS.md, 16 lines added)treehouse get --help(confirmed --lease, --base, -b exist)no-mistakes axi --help(confirmed run, status, respond exist)ls -l CLAUDE.md AGENTS.md(symlink intact)🔧 No changes applied.
1 warning still open:
git diff 853b01237 1796d5496(only AGENTS.md changed, +16 lines)treehouse get --help,treehouse return --help,treehouse status --helpno-mistakes axi --help,no-mistakes axi run --help,no-mistakes init --help🔧 **Document** - 1 issue found → auto-fixed ✅
.claude/skills/layer5-blog-writer/SKILL.md:96- The new AGENTS.md rule says never to create worktrees withgit worktree addand to land changes through no-mistakes. The layer5-blog-writer skill still tells agents to rungit worktree addunder .claude/worktrees and to push and auto-merge (Step 4 and Step 8). I left it alone because the fix needs a human decision on how the blog workflow should work. Proposed follow-up: change the skill to usetreehouse get --lease -b <branch>andtreehouse return <path>, and to land through no-mistakes.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.