You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spec 28: BCLI-012 states when box logs strips terminal control codes (T45) #3339
Spec 28 follow-up from BCLI T45 (#3332, PR #3335), arch ruling 1203 C2. T45 ships the behaviour, but the spec doesn't state it yet.
Add two EARS sub-requirements under BCLI-012 in docs/specs/28-spec-box-cli/28-spec-box-cli.md:
(a) WHERE the box's spec sets pty_enabled, stdout is not a terminal, and --raw is not given, THE SYSTEM SHALL remove terminal control sequences from the output that min box logs, min session logs and min task logs write.
(b) WHERE --raw is given, or stdout is a terminal, or the spec does not set pty_enabled, THE SYSTEM SHALL write the captured bytes unchanged.
Give them verify: lines naming box_logs_piped_pty_transcript_has_no_control_codes and box_logs_raw_keeps_control_codes, and a comment citing architecture line 473 and design principle 3. Also state that --raw with --exec is a usage error. Don't quote the --raw help text. Use the foundry spec skills.
Activity