TC #57 — Phase 6 :diff working tree produces clean ANSI-free output #57
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
In a git repo with uncommitted changes (
echo X >> a.txt), run:diff.Expected
[aish] diff injected: (working tree) (<N> bytes)[diff (working tree)]\n<body>inctx.pending_exec_outputhas NO ANSI escapes (\27[...) and NO DEC keypad codes (\27[?1h=,\27[?1l>,\27[K).Acceptance
B1 invariant:
--no-pager -c color.ui=neverflags are doing their job. grep the captured body for\27should return nothing.Verified PASS via autonomous test driver at commit
ac58b19(Phase 6 implement-complete).B1 invariant verified end-to-end: captured
[diff (working tree)]\n<body>written to session jsonl contains zero\x1bbytes.--no-pager -c color.ui=neverflags doing their job.Closed by Phase 7 verify pass.