Skip to content

tooling: one crucible pin manifest -- get / check / sync / bump, workflows off sed - #4597

Merged
squid-protocol merged 3 commits into
mainfrom
tooling/crucible-pins-manifest
Oct 7, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
tooling/crucible-pins-manifest

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Crucible pins drifted: three files with different conventions, ~18 workflows scraping them with a fragile sed, a second source of truth (vars.LANGUAGE_CRUCIBLE_REF) for language-crucible, and shared local checkouts nobody synced after a bump.

What

  • tests/crucible_pins.toml: one table per crucible (language, estate, cics): repo, ref, path_env, allow_unpinned_env, default_dir. No machine paths: a checkout is found via the env var, else default_dir beside the primary checkout (the convention the runners already use).
  • Format: TOML (commented, diffable, one-line edit). tomllib is 3.11+ and 3.10 is supported, so tests/_crucible_manifest.py has a ~15-line parser for the subset used; a test proves it equals tomllib on the real file.
  • tests/_crucible_pin.py, _estate_crucible_pin.py, _cics_crucible_pin.py stay as thin wrappers with the same names (PINNED_TAG/PINNED_REF, pin_mismatch, ALLOW_UNPINNED_ENV, PATH_ENV); no importer changed.
  • tests/tools/crucible_pins.py (stdlib): get, check (on/off pin + dirty, exit 1 if off, warns on LANGUAGE_CRUCIBLE_REF drift), sync (under golden-lock.sh; refuses tracked modifications or commits no remote has; prints before -> after), bump (edits the manifest, lists the baselines the bump needs), check-var.
  • 18 workflows: every sed replaced by python3 gitgalaxy/tests/tools/crucible_pins.py get <name>; tests/crucible_pins.toml added to their path filters. Other readers of the old one-line form updated: session-start hook, box/sync-pins.sh, bugfix_kit.py, evidence.py (both fall back to the legacy file for older checkouts), and the two tests that asserted the literal line.
  • Docs: CONTRIBUTING "Corpus-backed checks", BUMPING_THE_CRUCIBLE_PIN.md, tests/README, self_scan READMEs, ANTIGRAVITY.

LANGUAGE_CRUCIBLE_REF: recommend dropping it

Nothing reads it now (the file already drove fork runs, and on a bump PR the variable would have pointed CI at the OLD corpus). golden-crucible has a check-var step that only warns on a mismatch (--strict makes it fail). Deleting the variable is the owner's call; I did not touch it.

Evidence

  • crucible_pins.py check (CICS_CRUCIBLE_PATH pointing at cics-crucible-pin): all three ok, on pin, clean; variable matches.
  • pr_gates.py --ratchets: 5 pass, ports skipped (no cics checkout at the default path); full pr_gates.py 7/7 with the cics path set; ruff 0.16.0, mypy clean.
  • Workflow changes only run in CI: see the checks below.

Stage 2 (after the blocker-tools PR merges): equivalence_env.py --check calls crucible_pins check; pr_check.py --merge runs crucible_pins sync after a PR touching the manifest.

🤖 Generated with Claude Code

https://claude.ai/code/session_011wnQoeeAZP4npeyGnDviK6

…flows off sed

tests/crucible_pins.toml holds the ref, repo and local-path env var of the language, estate and
cics crucibles. The three tests/_*crucible_pin.py files become thin wrappers with the same names.
tests/tools/crucible_pins.py adds get / check / sync / bump / check-var. 18 workflows call
`get <name>` instead of sed; the LANGUAGE_CRUCIBLE_REF variable is no longer read (golden-crucible
warns if it differs). Docs, session-start hook, sync-pins.sh, bugfix_kit and evidence follow.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011wnQoeeAZP4npeyGnDviK6
@squid-protocol squid-protocol added enhancement New feature, sensor, or structural signature testing Unit, integration, and E2E pipeline verification labels Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 7, 2026 06:44
…e pin manifest

--check reports each crucible through crucible_pins.check_rows (off pin is a FAIL with the sync
hint) and the mainframe corpora via mainframe_corpus.require_clone; --provision reads the cics ref
and repo from the manifest; environment() exports GITGALAXY_MAINFRAME_CORPORA from the primary
checkout when unset. pr_check --merge runs crucible_pins sync after merging a PR that touches
tests/crucible_pins.toml (a failure is reported, not fatal).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011wnQoeeAZP4npeyGnDviK6
@squid-protocol
squid-protocol marked this pull request as ready for review October 7, 2026 11:23
@squid-protocol
squid-protocol merged commit ec87c13 into main Oct 7, 2026
35 of 36 checks passed
@squid-protocol
squid-protocol deleted the tooling/crucible-pins-manifest branch October 7, 2026 11:23
squid-protocol added a commit that referenced this pull request Oct 7, 2026
L2 is the det-sweep verdict alone (main's CI ratchet; a local --sweep for
Db2); the #4048 evidence record becomes a reported column. Coverage comes
from the --sweep line or the det-sweep coverage ledger (#4606, fresh
entries, frozen at build like the record status). Bars default to 100%
paragraphs / 100% branches, with "net of reviewed infeasible outcomes"
reported as not yet available (#4602). Pins come from the #4597 manifest.
Reports re-rendered at translator commit ec87c13.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 7, 2026
…4270) (#4609)

Owner decision 2026-10-07: the blocker / proof rankings and evidence levels rank work and show
progress; they never stop useful work from landing. Rewrites the stop rule in the blocker-slice
and cics-command-slice skills, and records #4597 in blockers_history.jsonl.

Co-authored-by: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 7, 2026
L2 is the det-sweep verdict alone (main's CI ratchet; a local --sweep for
Db2); the #4048 evidence record becomes a reported column. Coverage comes
from the --sweep line or the det-sweep coverage ledger (#4606, fresh
entries, frozen at build like the record status). Bars default to 100%
paragraphs / 100% branches, with "net of reviewed infeasible outcomes"
reported as not yet available (#4602). Pins come from the #4597 manifest.
Reports re-rendered at translator commit ec87c13.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 7, 2026
L2 is the det-sweep verdict alone (main's CI ratchet; a local --sweep for
Db2); the #4048 evidence record becomes a reported column. Coverage comes
from the --sweep line or the det-sweep coverage ledger (#4606, fresh
entries, frozen at build like the record status). Bars default to 100%
paragraphs / 100% branches, with "net of reviewed infeasible outcomes"
reported as not yet available (#4602). Pins come from the #4597 manifest.
Reports re-rendered at translator commit ec87c13.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 7, 2026
* tooling: purchaser-facing evidence report (#4601)

tests/tools/evidence_report.py writes, per estate, report.md + report.json
(gitgalaxy-evidence-report/1): a row per program with a level L0-L5 and the
numbers under it -- translation, executed equivalence, coverage, oracle
backing, assumptions named, residual risk, reproducibility. Filled only from
cics_census / proof_blockers / evidence / cics_spec_status / the crucible
baseline / oracle_assumptions.md. Corpus- and sweep-dependent inputs are
frozen in a `measured` block, so --refresh and --check need no corpora.

Committed for the five burned estates under
docs/language_status/evidence_report/. Tests: staleness (--check),
forbidden words, every Markdown number comes from the JSON, levels.
The nightly evidence-refresh job rebuilds the reports (--refresh --live).

Part of #4270.

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

* tooling: evidence report follows the owner's #4601 decisions

L2 is the det-sweep verdict alone (main's CI ratchet; a local --sweep for
Db2); the #4048 evidence record becomes a reported column. Coverage comes
from the --sweep line or the det-sweep coverage ledger (#4606, fresh
entries, frozen at build like the record status). Bars default to 100%
paragraphs / 100% branches, with "net of reviewed infeasible outcomes"
reported as not yet available (#4602). Pins come from the #4597 manifest.
Reports re-rendered at translator commit ec87c13.

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

* tooling: re-render evidence reports on main 3bcbb8c (after #4606, #4616)

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

* tooling: evidence report ladder per the owner (#4601): net branches, mutation rung

L4 is 100% of branch outcomes net of the case's reviewed infeasible
outcomes (infeasible_outcomes.stated, #4602), listed per program as stated
claims with family and reason; raw and net numbers both printed, and a
refuted claim blocks L4. L5 is every surviving det-port mutant accounted
for (#4628), reported as not yet measured. Oracle backing leaves the
ladder and becomes a per-program column (DIFFERS reached: not measured).
Model-port mutation scores are left out on purpose. Reports re-rendered
with --refresh.

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

enhancement New feature, sensor, or structural signature testing Unit, integration, and E2E pipeline verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant