Skip to content

watcher1: CBSTM03B survivor attacks with try (owner hand-run, fenced from churn) #8065

Closed

Description

@squid-protocol

Part of #4628. A watcher1 (owner's Pi 5) job, fenced from churn like #8018, #8030, and #8044: assigned to the owner, label claim:watcher1. Follows #8018 (EPSNBRVL), #8030 (PAUDBLOD), and #8044 (EPSMPMT).

Why this program

• carddemo-cbstm03b (CBSTM03B, CardDemo sequential and keyed file I/O subprogram) is a CALL case, which survivor_attack.py try handles natively.
• 160 survivors in det mutation, 159 previously stated from stock sentences (90 case-gap, 69 harness-gap, 1 equivalent), none hand-attacked.
• No churn issue, queued item or open PR touches CBSTM03B.

Setup

Work from current origin/main, in a work dir outside repo (~/l5/cbstm03b), with JDK 17 (JAVA_HOME=/usr/lib/jvm/java-17-openjdk-arm64).

The job

Goal: kills and new test inputs. Labels are not the result.

  1. python tests/tools/survivor_attack.py facts carddemo-cbstm03b --work DIR (settles what the port's text and COBOL decide).
  2. survivor_attack.py packet carddemo-cbstm03b ID --work DIR for a survivor, then read the COBOL: app/cbl/CBSTM03B.CBL.
  3. Write INPUTS.json: CALLs in the case's format (copy the shape of calls in tests/equivalence/carddemo-cbstm03b/case.json).
  4. survivor_attack.py try carddemo-cbstm03b ID1,ID2,... --inputs INPUTS.json --work DIR. Aim one input at several mutants of the same line or paragraph.
  5. Act on the results:
    • killed: add that call to case.json.
    • survived: try a second idea or leave unstated.
    • port-differs: stop and report it.
  6. After kills: refresh the ledger and check det_mutation.py check.

Rules

• Never write equivalent or unreachable yourself; only facts settlements count.
• Do not write a verdict for a survivor you did not attack. An unstated survivor is already open.
• A survivor attacked twice without a kill: state case-gap via det_mutation.py state naming the input you would try next.
• Stop after 30 survivors attacked or 4 hours, whichever comes first.

Done when

One PR titled CBSTM03B: N survivors killed by M new calls (Part of #4628). The PR must change tests/equivalence/carddemo-cbstm03b/case.json; a session with no kills is reported here instead of a PR.

Activity

  1. added
    scope:core
    claim:watcher1
    on Nov 8, 2026
  2. squid-protocol commented on Nov 8, 2026

    @squid-protocol
    OwnerAuthor

    Session complete. PR opened: #8070

    Summary

    • Attacked 30 survivors on carddemo-cbstm03b (CBSTM03B).
    • 16 Survivors Killed across 14 new test calls:

    • b5eb142590 (L444 DEL Cobol.move(st5, f18_XREFFILE_STATUS, CS)): Killed by xref-read-unopened (status 47).
    • ac9d3f8817 (L452 NEG if (isM03bClose())): Killed by xref-close-again (status 42).
    • aee7f3c29f (L455 DEL Cobol.move(st6, f18_XREFFILE_STATUS, CS)): Killed by xref-close-again (status 42).
    • 9978a7fb6f (L535 CON Cobol.move(f31_LK_M03B_KEY.ref(1, ...)) -> .ref(2, ...)): Killed by acct-read-keyed-offset.
    • a83f1a02ed (L93 CON Field.alphanumeric(..., 8, 1) -> (..., 8, 2)): Killed by trnx-open-dirty-rc.
    • 0f4db9ba0d (L364 CON perform(5, 7) -> perform(5, 8)): Killed by multi-open sequence (multi-acct-open returns 41).
    • 5c5fe7b48c (L466 CON return 7; -> return 8; in 2900-EXIT): Killed by multi-open sequence (multi-acct-open returns 41).
    • 938d68812c (L185 DEL System.arraycopy(IMAGE_s_TRNXFILE_STATUS, ...)): Killed by trnx-unhandled-op.
    • 47a3b58465 (L171 DEL initialState() in ctor): Killed by trnx-unhandled-op.
    • f9c63d1454 (L186 DEL System.arraycopy(IMAGE_s_XREFFILE_STATUS, ...)): Killed by xref-unhandled-op.
    • aedd47c9e8 (L187 DEL System.arraycopy(IMAGE_s_CUSTFILE_STATUS, ...)): Killed by cust-unhandled-op.
    • b5245ed4a9 (L188 DEL System.arraycopy(IMAGE_s_ACCTFILE_STATUS, ...)): Killed by acct-unhandled-op.
    • 4aa3113ed6 (L56 LIT IMAGE_s_TRNXFILE_STATUS "ICA=" -> "XCA="): Killed by trnx-unhandled-op.
    • 7c4f79f01a (L58 LIT IMAGE_s_XREFFILE_STATUS "ICA=" -> "XCA="): Killed by xref-unhandled-op.
    • 3afebc0089 (L60 LIT IMAGE_s_CUSTFILE_STATUS "ICA=" -> "XCA="): Killed by cust-unhandled-op.
    • f6ce996af1 (L62 LIT IMAGE_s_ACCTFILE_STATUS "ICA=" -> "XCA="): Killed by acct-unhandled-op.
      • 3 Settled by Facts:
    • 2b82a4240d: dead-after-throw (L382 follows unconditional throw new Goback()).
    • 9e982c3237: zero-image-read (f34_GG_RETURN_CODE read from zero-initialized storage).
    • db453a2233: no-entry-path (out_Cbstm03bLkM03bArea reached from no entry point).
      • 11 Attacked and Left Open:
    • Control flow / fallthrough: 1023f5497a, 305d085f7d, 9e27ed89c9, 75e91373a1.
    • Redundant file mode / open status branches: 68f3a7fa80, 8416951e85, 0d7e3f9375, 38b16b0b9a, ff447b92a9, 408dfafe31, d0a1b7fe2d.
      • Coverage: 100% paragraph and branch coverage (14/14 paragraphs, 29/29 branches across 47 calls).
      • Ledgers: det_sweep_coverage/carddemo-cbstm03b.json, det_mutation_survivors/carddemo-cbstm03b.json (144 remaining), and det_mutation/carddemo-cbstm03b.json cleanly verified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

claim:watcher1scope:core

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions