1.1 KiB
1.1 KiB
Builder Report: remove e (edit) option from AI command prompt
TL;DR
- Status: COMPLETE
- Files changed:
bin/pos-ai,DOC/AGENT_Context_Project.md(gen: line-count update) - Verification:
bash -n✓,make gen✓,make check✓,make lint✓ (0 FAIL, 0 WARN) - Scope compliance: in-scope only; no unauthorized changes
Step 1: Remove e|E) case and fix prompt text
[DONE]
- Changed prompt from
[Y/n/e(dit)]to[Y/n](line 379) - Removed the
e|E)case branch that called_inject_command(was lines 388–390) - Kept
n|N)and*(Y/Enter) cases intact
Step 2: Delete _inject_command() function
[DONE]
- Removed entire function (was lines 399–457, 55 lines + comment header)
- Verified no other callers exist (only caller was the deleted
e|Ecase) - Cleaned up trailing blank lines
Step 3: Verification (bash -n, gates)
[DONE]
bash -n bin/pos-ai— syntax OKmake gen— regen OK (updated line-count table inDOC/AGENT_Context_Project.md: 735→680)make check— OKmake lint— 0 FAIL, 0 WARN