Skip to content

Acceptance tooling: accept-native's fixture TextEdit, paused-cell restart notice, main's item 1 and item 10 on the mini #157

Closed

Description

@SSFSKIM

Problem & intent

Running #115 M1's live acceptance on the Mac mini (PR #156) surfaced four defects in cua's acceptance and parity tooling. None belongs to #115. Each one makes a live run either wrong or harder to read.

What to change

  1. accept-native leaves its fixture TextEdit frontmost. Quit the TextEdit document the run opened, identified by causal ownership: a pid that started inside the run, the same rule the vendor helper witness uses. Then hand the front back. Today an operator quits it by hand.
  2. A harness pause longer than the runtime's 15-minute idle stop changes a cell's output. It adds a runtime-restart notice, not only a timing change (seen as cells/budget/suspend-resume in cfprefs at f8019bf). Choose one: keep the runtime warm during a DL 58 pause, or declare the restart notice as an allowed difference for a paused cell. Pin the choice with a test.
  3. Main's accept-native item 1 (mini, env -i environment). Two unit tests fail only there: "unit proof must exist, run by npm test and actually pass its exact named test" and "selected-stage completeness reports later contracts as pending, never covered". The exact lines are in the Independence 2: cua's own sandbox for node_repl cells; drop the Codex binary and app-server #115 residue evidence on main (docs/evidence/2026-10-17-own-sandbox/, the accept-native records for 94366c1 and f8019bf).
  4. Main's accept-native item 10 (leak scan). It flags token-like strings in scripts/accept/linux-chrome-features.mjs, test/secrets-project.test.mjs and tests/mods/secrets.test.ts (by file:line and rule in the same evidence; the values are made-up fixtures). Either make the fixtures not token-shaped, or give the scan a declared fixture allowlist. Never print the strings.

Success criteria

  • accept-native on the mini leaves no fixture TextEdit running and Terminal in front.
  • A paused parity cell is judged without a false difference.
  • Items 1 and 10 pass on main under accept-native's environment.

Constraints

  • Mini runs follow the mini rules and MAWS DL 58: GUI groups pause while CI is busy; headless groups need only an idle runner and load under 5.
  • No real secret values in fixtures, logs or evidence.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P2
    on Oct 18, 2026
  2. SSFSKIM commented on Oct 18, 2026

    @SSFSKIM
    OwnerAuthor

    Addition from #115 M2 (2026-10-18): the harness's browser cleanup should never close a tab when its window is down to one tab, so a run can't close the profile's only window. The two window closures seen on the mini this weekend were not caused by our cleanup: every tab count showed the pre-existing tab kept. So this is a cheap guard against the case, not the fix for an observed fault.

  3. SSFSKIM commented on Oct 18, 2026

    @SSFSKIM
    OwnerAuthor

    More harness residue from #115 M4 (2026-10-18):

  4. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Oct 18, 2026
  5. added 18 commits that reference this issue on Oct 18, 2026
  6. added a commit that references this issue on Oct 18, 2026
  7. removed
    status:in-progress
    on Oct 18, 2026
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

    enhancementpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions