Skip to content

Reality probe: what codex-plugin-cc#731's regression tests prove — and what they do not #13

Description

@hippoley

This is a CounterProof Reality Probe, not a request to override the review on the source PR.

Source PR: openai/codex-plugin-cc#731

@sylvesterkaczmarek @fscfede-beep — I used #731 as an external test case because the current review has a useful distinction between the original fail-open regression and the new durability / permissions concerns raised on 2026-09-17.

Independent before/after replay

Exact commits:

  • HEAD: a81f52f9c2c366d7d5e095179d2473a9f7e12798
  • BASE: db52e28f4d9ded852ab3942cea316258ae4ef346

Changed tests replayed:

  • tests/runtime.test.mjs
  • tests/state.test.mjs

CounterProof result:

  • HEAD + changed tests: behavioral PASS
  • BASE + the same changed tests: behavioral FAIL
  • evidence mode: precise
  • result protocol: json-v1
  • status: WITNESSED
  • digest: sha256:01c447fbfca700a6dcbfcec2753ca3c55a0760b5b6200a751d44a948bdbf5c97

Runner:
https://github.com/hippoley/CounterProof/actions/runs/35952687043

On BASE, the two PR tests fail on the behavior they were added to pin:

  1. the cross-plugin-data Stop integration no longer gets the expected blocking result under the old implementation;
  2. the state-level A→B plugin-data test reads false where the PR expects the durable true.

So the submitted tests do genuinely distinguish the PR from its base for the original authority-boundary / fail-open bug.

What this does NOT prove

The latest human review asks for two additional properties around the durable config file:

  • restrictive file permissions (e.g. 0600);
  • preservation of the previous valid config if a replacement write fails / is interrupted, via atomic same-directory replacement.

I inspected the current changed test files at a81f52f9. They test cross-CLAUDE_PLUGIN_DATA authority, but they do not exercise either of those two failure modes.

So this receipt is not evidence that the current CHANGES_REQUESTED concerns are resolved.

The useful statement is narrower:

#731 has a real regression witness for the original fail-open bug; the current reviewer-requested durability and permission properties remain unproven by the PR's tests.

One extra reality finding: before a small CounterProof fix, these .test.mjs files were not detected at all. The exact external PR exposed that gap; it is now fixed in CounterProof main via #12.

Question for the reviewer

Would this separation — what the PR's tests genuinely prove vs. what the current review still leaves unproven — materially help you review an AI-assisted change like this?

If not, what evidence format or additional replay would be more useful?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions