ai continue ...
gates / consistency-and-conventions (push) Successful in 1m24s

This commit is contained in:
Your Name
2026-09-04 11:09:21 -04:00
parent 072a8e72c1
commit 06a05f0567
76 changed files with 15648 additions and 122623 deletions
@@ -0,0 +1,22 @@
# Builder Report: fix `_inject_command` edit option for `tee` pipe context
**TL;DR**
- Status: DONE
- File changed: `bin/pos-ai` (lines 399421 replaced)
- Fix: replaced `read -e -i` (readline) with plain `read -r` so the `e` option works through the dispatcher's `tee` pipe
- Verification: `bash -n` OK, gates pending
---
## Step 1: Replace `read -e -i` with plain `read -r` in `_inject_command`
**Target:** `bin/pos-ai` lines 410421
Replaced the readline-based edit prompt with a simpler approach that:
1. Shows the flattened command
2. Asks user to type a replacement or press Enter for the original
3. Uses plain `read -r` which works in any context (tee pipes, SSH, non-TTY)
Removed the "Empty command — skipped" message — empty input now runs the original.
[PENDING]