feat(tri): tri catalog health -- the SPECS catalog split in t27 (Closes #6436) - #6439
Merged
Merged
Conversation
#6436) Refs #6434, epic #6063. specs/tri/catalog/health.t27 holds the negative-fixture markers, the bucket rules (fixture or real, parse-fail or backend-only) and the change of one spec between two catalog builds, with tests. gen/c/tri/catalog/health.c is t27c gen-c output from the t27c lab at master 682564f (L2). scripts/tri_loop/catalog.py (tri catalog health) reads the live manifest and decides only through that C via ctypes: totals, the catalog's compiler commit and its distance from origin/master, broken by bucket and by repo, --repo, --list, --json, --diff OLD. The loop-tools gate runs the spec's tests from the generated C, the counting rules on a fixture manifest, and two mutation controls. tri t27b gaps is not added: tri t27b next already prints the sole/first blocker counts among reference-pass, t27b-blocked specs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
…lth gate step (Closes #6436) The loop-tools gate gains one run: step (python3 scripts/ci/test_the_catalog_health_is_decided_in_t27.py), so the shell census moves from 288 to 289 run: steps. No other census number moves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
PR DashboardGenerated at: 2026-10-05 15:00:34 UTC
Summary
Seal Status
|
9 tasks
…log-health step (Closes #6436) The same new loop-tools-gate run: step runs with no container, so bash -eo pipefail: that line moves 267 -> 268 with run: steps 288 -> 289. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
PR DashboardGenerated at: 2026-10-05 15:06:37 UTC
Summary
Seal Status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #6436
Refs #6434 (epic #6063)
What
specs/tri/catalog/health.t27: negative-fixture markers (bootstrap/tests/fixtures/,neg_,damage_,eof_as str consts), bucket rules (fixture or real; parse-fail when nodes == 0, else backend-only) and the change of one spec between two builds (FIXED, BROKE, WORSE, BETTER, ADDED-, REMOVED-), with 6 tests and an invariant.gen/c/tri/catalog/health.c:t27c gen-con the t27c lab, binary built from master 682564f (L2; nothing hand-edited).scripts/tri_loop/catalog.py(tri catalog health): I/O only, every decision goes through the generated C via ctypes, the priority.py pattern. Flags--manifest FILE|URL,--repo X,--list,--json,--diff OLD.scripts/ci/test_the_catalog_health_is_decided_in_t27.pybuilds the spec tests from the C, checks every counting rule on a fixture manifest, and has two mutation controls (swapped bucket, a break called a fix).tri t27b gapsis not added:tri t27b nextalready prints the sole/first blocker counts among specs where the reference passes and t27b is blocked.Output on the live catalog
Verification
cc -DT27_TEST_MAIN gen/c/tri/catalog/health.c: All 6 tests passed.python3 scripts/ci/test_the_catalog_health_is_decided_in_t27.py: 4 ok lines, both mutants caught.bash scripts/ci/loop-tools-tracked.sh: PASS. NOW entry shape: OK.🤖 Generated with Claude Code