TC #56 — Phase 6 cfg.project.auto_tree startup hook #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scenario
Run aish with a config that has:
in a git repo.
Expected
Before the first prompt, a status line
[aish] project tree auto-injected: <N> files (git ls-files)appears. The [project] block is inctx:to_messages()[1].content.Acceptance
ctx.projectset without user actionNegative case
Config without
project = { auto_tree = ... }or withauto_tree = false→ no auto-inject, no status line about project. Existing Phase 5 behavior preserved.Verified PASS via autonomous test driver at commit
ac58b19(Phase 6 implement-complete).cfg.project.auto_tree = true+ git repo cwd at startup ->[aish] project tree auto-injected: <N> files (git ls-files)before first prompt. Negative case (no config) also passes — no auto-inject status when omitted.Closed by Phase 7 verify pass.