Files
Linux_post_install/AgentsReport/builder/2026-08-26_remove-edit-prompt.md
T
Your Name 06a05f0567
gates / consistency-and-conventions (push) Successful in 1m24s
ai continue ...
2026-09-04 11:09:21 -04:00

30 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 388390)
- Kept `n|N)` and `*` (Y/Enter) cases intact
## Step 2: Delete `_inject_command()` function
[DONE]
- Removed entire function (was lines 399457, 55 lines + comment header)
- Verified no other callers exist (only caller was the deleted `e|E` case)
- Cleaned up trailing blank lines
## Step 3: Verification (`bash -n`, gates)
[DONE]
- `bash -n bin/pos-ai` — syntax OK
- `make gen` — regen OK (updated line-count table in `DOC/AGENT_Context_Project.md`: 735→680)
- `make check` — OK
- `make lint` — 0 FAIL, 0 WARN