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

789 B
Raw Blame History

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]