Skip to content

Ledger: tag port blockers (det / forge / facade / harness) by the estate that exposed them, beside field_testing.json's defects #5051

Open

Description

@squid-protocol

Gap. tests/cobol_mainframe/field_testing.json logs every engine/forge fact defect against the estate that exposed it (51 entries, 8 estates), so scan-side discovery per round is measurable. Port-side blockers (det port, transaction forge, facade, equivalence harness) have no such ledger. The only way to count them today is keyword-matching issue bodies, which gives a rough answer (±25%):

  • ~289 port-side issues since 2026-09-20, 66 open; ~127 name no estate (crucible, class sweeps, general hardening).
  • ~78 single-estate blockers: CardDemo 40, CBSA 17, GenApp 11, zECS 5, DBB mortgage 3, async credit card 2. That is ~1.3 → ~0.6 → ~0.4 → ~0.25 per program in the order estates were ported, except zECS, which used unseen API areas (WEB, DCOUNTER, pointers).

Without a real ledger we cannot say how many blockers the next estate (e.g. a 1980s command-level estate) will bring, or when the port side reaches a stopping rule like the field-testing one.

Proposal. Extend the field-testing record (or add a sibling port_blockers list beside defects) so every port-side blocker gets an entry in the same PR that finds or fixes it:

  • estate (the estate that exposed it, or none plus found_by: "review" / "crucible" / "sibling sweep", as for review-found defects), after_round
  • side: det | transaction-forge | facade | harness | runtime
  • class: CICS command family / COBOL dialect / COMMAREA bytes / data layout / control flow / Db2 / VSAM …
  • programs blocked, issue, fixed_by, refused_by_name (true when the fix is a named refusal, not a model)
  • new_class (true when no earlier estate hit this class), which separates genuinely new areas from repeats

Backfill. Tag the existing port-side issues: a estate:<id> label on each issue, plus the ledger rows. Start from the single-estate set above and hand-check the ~127 no-estate issues for the estate that actually exposed them.

Report. field_testing.py report (or a sibling) writes per-estate cumulative counts, blockers per ported program, new-class vs repeat, and the discovery curve by round into docs/language_status/; CI fails when the report is stale, as it does today.

Done when.

  • Every port-side issue since 2026-09-20 has an estate (or a named non-estate source) in the ledger.
  • New port-side blockers are logged in the PR that finds or fixes them; the protocol line is added to the mainframe-ground-truth skill / CLAUDE.md next to the defect rule.
  • The report answers "unique blockers per estate, cumulative, and per program" without keyword guessing, and gives an expected-blockers estimate for the next estate.

Related: #3803 (fresh-estate trials).

Activity

  1. squid-protocol commented on Oct 13, 2026

    @squid-protocol
    OwnerAuthor

    Feeds the economics analysis and infographic in the issue linked below (cost per fix, blockers per program, convergence).

  2. added
    scope:infra
    on Oct 16, 2026
  3. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5051-20261023T0157Z (host nyx) ended without a PR. Slice 1 already merged (#5429, #5449); no PR. Remaining: backfill async-cc estate, discovery curve in port_blockers.py report.

  4. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5051-20261024T0328Z (host nyx) ended without a PR. denied on git reset --hard (stacking on #6345); requeued after PR 6345

  5. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5051-20261024T0528Z (host nyx) ended without a PR. no PR; third Done-when item open, next slice queued

  6. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5051-20261024T0821Z (host nyx) ended without a PR. slice 9: no PR, nothing to record (candidate issues #6066/#6271/#5649/#5168/#5233 still open); rerun when they close

  7. added a commit that references this issue on Oct 25, 2026
  8. squid-protocol commented on Oct 25, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 5051-20261025T1915Z (host nyx) ended without a PR. slice 9: no closed port-side issues >= #6066 yet; re-run when #6066/#6271/#5649 close

  9. added
    enhancement
    legacy-modernization
    metrics
    and removed on Oct 25, 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

    enhancementlegacy-modernizationmetricspriority: mediumscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions