Skip to content

feat(catalog): compiler fixtures are their own bucket, not Broken - #1432

Closed
gHashTag wants to merge 1 commit into
mainfrom
feat/catalog-fixtures-expected-fail
Closed

gHashTag wants to merge 1 commit into
mainfrom
feat/catalog-fixtures-expected-fail

Conversation

@gHashTag

@gHashTag gHashTag commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Refs gHashTag/t27#6437. Do not merge without the owner: a trinity merge is a production deploy.

Of the 59 gHashTag/t27 entries the SPECS tab calls Broken, 24 are the compiler's own test inputs under bootstrap/tests/ (damage_class_* x12, generic_const/neg_01..07, terminator/eof_, trinity_matrix/neg_, goldring/cap_test). They fail on purpose. This PR puts them in a separate bucket so they are no longer counted as Broken.

  • scripts/t27-corpus.mjs: isFixturePath / isFixtureEntry (repo t27 + bootstrap/tests/). The corpus entry gets sourceKind: 'fixture', and corpusAggregates gains fixtures {total, expectedFail, byHealth}. Fixtures still count inside notSource, so ok+warn+fail+notSource == specCount still holds.
  • scripts/discover-t27-worlds.mjs: mergeWorld used to drop notSource. It now carries notSource and fixtures, and the contract's key-order assert is updated to match.
  • SpecExplorer.tsx: adds a "Compiler fixtures" / "Фикстуры компилятора" chip with a hint. Fixtures are excluded from the health groups and from not-source.
  • public/t27/manifest.json: re-aggregated from its own entries, without re-running the wasm. Health goes from 1370/232/176 to 1308/228/152, plus 90 fixtures (24 expected-fail). onboarding.t27 is synced and llms.txt/agents.t27 are regenerated.

Still to do (not in this PR): a full sync-t27-specs run with wasm rebuilt from t27 master. 23 more t27 entries pass on master but read as Broken because the catalog snapshot (bf7d8eea9) is stale, and gHashTag/t27#6440/#6453 fixed 5 more.

Checks run locally: onboarding --check, onboarding test 4/4, t27-world-discovery, explorer/queen language contracts, queen-honesty, queen-catalog-hive, queen-coverage, agents-spec, docs-spec, and the pre-commit + pre-push hooks (gitleaks clean). tsc and ru_audit (needs Chrome) were not run locally; CI runs them.

🤖 Generated with Claude Code

Refs gHashTag/t27#6437

Re-measured on 2026-10-05 with master t27c, 24 of the 59 gHashTag/t27
entries the SPECS tab called Broken are inputs to the compiler's own test
suite under bootstrap/tests/ -- damage classes, the ADR-008 generic
negatives, EOF terminators, trinity_matrix negatives and a closure the
compiler refuses on purpose. A negative fixture that compiled would be the
bug; counting its failure as Broken reported the suite working as a defect.

- t27-corpus.mjs: isFixturePath / isFixtureEntry (t27 + bootstrap/tests/),
  corpusEntry stamps sourceKind 'fixture'; corpusAggregates keeps health
  over modules only and adds a fixtures block {total, expectedFail,
  byHealth}. Fixtures still count in notSource, so ok+warn+fail+notSource
  == specCount holds.
- discover-t27-worlds.mjs mergeWorld now carries notSource (it dropped it)
  and fixtures; the discovery contract's key-order assert follows.
- SpecExplorer: a "Compiler fixtures" chip (ru/en copy + hint), excluded
  from the health groups and from not-source.
- manifest.json re-aggregated from its own entries (no wasm re-run):
  1370/232/176 -> 1308/228/152 + 90 fixtures (24 expected-fail);
  onboarding.t27 synced, llms.txt/agents.t27 regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the status:in-progress 🔵 Agent working label Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

X Brain Health Check

Score: 100.0/100
Status: 🟢 HEALTHY
Threshold: 80/100

X Brain is above merge threshold

@gHashTag

gHashTag commented Oct 5, 2026

Copy link
Copy Markdown
Owner Author

Closed unmerged under the owner's 2026-10-05 ~15:45Z rule: no new PR may carry hand-written non-t27 code. This PR changes hand-written .mjs/.ts/.tsx (t27-corpus.mjs, discover-t27-worlds.mjs, sync-t27-specs.mjs, qa/t27-world-discovery.mjs, t27Compiler.ts, SpecExplorer.tsx). The branch feat/catalog-fixtures-expected-fail is kept as a reference. The design: fixture = repo t27 + bootstrap/tests/, its own bucket inside notSource, 24 expected-fail, health 1308/228/152. Landing it under the rule needs the catalog generator's classification expressed in t27 (e.g. a rule in specs/catalog/*.t27 that the generator reads), which is an owner decision.

@gHashTag gHashTag closed this Oct 5, 2026
@github-actions github-actions Bot removed the status:in-progress 🔵 Agent working label Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🧪 Brain Stress Test Results

Tests: 261/261 passed, 0 leaked
Status: 🟢 PASS
Gate: every test in zig build test-brain-stress passes and none leaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant