Skip to content

det_mutation: carddemo-signon full ledger, 114 solver facts, 1 attacked, open gaps stated (Part of #4628) - #7720

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
feat/carddemo-signon-l5
Nov 4, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
feat/carddemo-signon-l5

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4628. CardDemo signon (COSGN00C): full exhaustive mutation ledger (1,163 mutants), 114 Z3 solver facts, 1 COBOL oracle survivor attacked, and open proof gaps stated.

What changed

Ledger-only updates (tests/equivalence/det_mutation/carddemo-signon.json and tests/equivalence/det_mutation_survivors/carddemo-signon.json), no engine, case, or harness changes:

• Full exhaustive mutation run: Replaced the partial 150-mutant sample with an exhaustive run over all 1,163 mutants (1,144 live, 19 stillborn).
• Raw score: 426 killed, 718 survived (raw score 37%).
• Formal solver facts: Settled 114 survivors as solver-unobservable using survivor_attack.py facts carddemo-signon. The Z3 theorem prover proved that modified bytes (unused filler, unreferenced structure offsets) cannot propagate to observed outputs.
• COBOL Oracle Attack: Evaluated mutant 2d885e967d (AID clear vs blank) against the GnuCOBOL runtime port oracle via survivor_attack.py try. Confirmed survivor behavior matches COBOL oracle identically (survived).
• Accounted & Stated Gaps:

  • equivalent: 115 (114 Z3 solver facts + 1 oracle attack on record).
  • harness-gap: 13 (caBack = () -> fill_..., caller COMMAREA writeback uncompared by harness).
  • case-gap: 590 (caBack.run() under LINK entry, lastLinkBytes, runProgram/handleTransaction facades, unexercised CICS fault responses, storage image padding).
    • Level: Honest L5: no. No false equivalent or unreachable claims asserted; every stated equivalent carries proof in attempts.json.

Ledger & Survivors Summary

Program Mutants Stillborn Killed Survived Accounted Equivalent Harness Gap Case Gap L5 Level
carddemo-signon (COSGN00C) 1,163 19 426 718 115 (114 facts + 1 try) 13 590 no

Verification Gates

• det_mutation.py check: PASS (0 warnings for carddemo-signon)
• det_mutation.py stale-check --vs origin/main: PASS (no stale ledger)
• survivor_attack.py lint carddemo-signon: PASS (0 stated reasons det_mutation.py state would refuse today)
• tests/tools/test_det_mutation.py: PASS (50 passed in 1.13s)
• pr_gates.py --fast: PASS (9/9 gates pass: lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected [721s])

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 18:13
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit a50e793 into main Nov 4, 2026
34 checks passed
@squid-shepherd
squid-shepherd Bot deleted the feat/carddemo-signon-l5 branch November 4, 2026 18:41
squid-protocol added a commit that referenced this pull request Nov 7, 2026
…easons (Part of #4628) (#8014)

* survivor_attack: `try` attacks batch cases; stale-check refuses bulk survivor reasons (Part of #4628)

Batch `try`: a batch case is one job step, so an input changes the step -- a new record of an
input dataset (strengthen.py's record builder), new generator specs for a `@generate` dataset,
SYSIN, PARM, or a fault run. The trial is the committed step with those changes; `packet` shows
the layouts, first records, generated fields and a fault plan to copy. CBSTM03A, PAUDBLOD,
PAUDBUNL and COBSWAIT had no attack path at all before this.

The verdict gate (`stale-check --vs REF`, `state`, `lint`), for the entries a change writes:
- one reason template (numbers, quoted code, method names aside) on more than 10 Java lines of a
  case, unless each entry has an attack or `facts` settlement on record;
- a case-gap / harness-gap saying the code is not exercised when the ledger's proof covers every
  paragraph (a branch claim stands while branches are left uncovered).
`state --attempts` now records the attack behind a gap verdict too.

Replayed over every survivor-file change since 2026-10-28 (142 commit/case pairs): all of
watcher1's PRs (#7720 #7739 #7762, open #7981) are refused, as are the 10-30/11-01 bulk
"account for all" PRs the 11-01 audit found wrong; open #8003 and #8004 pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* survivor_attack: a committed port that does not compile is `refused`, not port-differs (Part of #4628)

Found on the first live batch `try` (COBSWAIT from a JDK 21 shell): the Java build failed, and
`try` said port-differs, which the skill says is a real finding to stop and report. A compile
failure of the unchanged committed port is the box; a crash on the new input stays port-differs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant