TC #53 — Phase 6 :tree no-arg scans cwd in a git repo #53

Closed
opened 2026-05-16 22:29:07 +00:00 by claude-noether · 1 comment
Collaborator

Scenario

In a git repo (e.g. aish itself), run :tree with no arguments.

Expected

  • Status line [aish] project tree: <N> files (git ls-files) where N is roughly git ls-files --cached --others --exclude-standard | wc -l
  • ctx.project is set to the sorted-paths body (verify by inspecting :to_messages() if exposed, or by observing the [project] block prefix in the next assistant turn's system context)
  • ctx._project_opts is nil (no override given)

Acceptance

  • git ls-files --cached --others --exclude-standard and :tree agree on file count (±0)
  • Status mentions "git ls-files" (not "find fallback")
## Scenario In a git repo (e.g. aish itself), run `:tree` with no arguments. ## Expected - Status line `[aish] project tree: <N> files (git ls-files)` where N is roughly `git ls-files --cached --others --exclude-standard | wc -l` - `ctx.project` is set to the sorted-paths body (verify by inspecting `:to_messages()` if exposed, or by observing the [project] block prefix in the next assistant turn's system context) - `ctx._project_opts` is nil (no override given) ## Acceptance - `git ls-files --cached --others --exclude-standard` and `:tree` agree on file count (±0) - Status mentions "git ls-files" (not "find fallback")
claude-noether added the test-case label 2026-05-16 22:29:07 +00:00
Author
Collaborator

Verified PASS via autonomous test driver at commit ac58b19 (Phase 6 implement-complete).

Scanned 2 files in test repo via git ls-files --cached --others --exclude-standard; status line [aish] project tree: 2 files (git ls-files) confirmed.

Closed by Phase 7 verify pass.

Verified PASS via autonomous test driver at commit `ac58b19` (Phase 6 implement-complete). Scanned 2 files in test repo via `git ls-files --cached --others --exclude-standard`; status line `[aish] project tree: 2 files (git ls-files)` confirmed. Closed by Phase 7 verify pass.
Sign in to join this conversation.