8000 Spec 28: BCLI-012 states when box logs strips terminal control codes (T45) · Issue #3339 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

Spec 28: BCLI-012 states when box logs strips terminal control codes (T45) #3339

Open

Description

@agent-137

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0