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

1.1 KiB
Raw Blame History

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