Skip to content

Two required checks are a single echo; a third asserts a truth about arithmetic - #2192

Merged
gHashTag merged 2 commits into
masterfrom
loop/t27-decorative-gates
Aug 18, 2026
Merged

Two required checks are a single echo; a third asserts a truth about arithmetic#2192
gHashTag merged 2 commits into
masterfrom
loop/t27-decorative-gates

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

docs/BRANCH-PROTECTION.md names five required checks. Read their bodies:

check body can it fail?
seal-coverage.yml echo "Running SEAL coverage analysis..." (17 lines, 1 step) no
schema-validation.yml echo "Validating JSON schemas..." (15 lines, 1 step) no
phi-loop-ci.yml — described as "Main test suite" assert abs(phi**2 + phi**-2 - 3) < 1e-10, plus a real grep lint over ffi/src/ half — the assert is true of an empty repository
issue-gate.yml 47 lines of real logic yes (it blocked one of my own PRs)

A required check that cannot fail reads as coverage and is worse than none. This is the same shape found four times today already: a gate green because it is narrow, blind, or vacuous.

What this PR does

Replaces schema-validation's echo with the weakest question worth asking — does every tracked JSON parse — chosen because it is cheap and carries no theory that could itself be wrong. It found something immediately:

  • clara-bridge/audit-trail/experience-schema.json has a literal ... on line 40 and cannot parse
  • clara-bridge/tests/run_tests.py:152 does json.load() on exactly that path
  • 3 of its 11 tests were failing, measured by reverting the fix and re-running
  • no workflow runs clara-bridge at all, so nothing said so

Fixed (one character), and the suite is now 11/11. Six empty JSON artefacts are recorded in tools/json_parse_baseline.txt as debts, one per line; external/ is excluded because tsconfig is JSONC by convention and flagging it would be this gate making the mistake it exists to catch.

What this PR does NOT do, deliberately

seal-coverage is left alone. .trinity/seals/ holds 1714 files keyed on names like Account, AXI4_Testbench and "[]const u8"type names, not spec names. My first attempt scored coverage by matching seal filenames to spec filenames and produced "1668 orphans of 1714, 1024 specs of 1070 uncovered", which is not a finding about the repository but about my assumption. t27c has no seal subcommand. I could not establish what a real seal-coverage check should assert, so I wrote neither a check nor a deletion.

The vacuous half of phi-loop-ci is also left in place and reported here rather than changed, since the other half is a genuine lint and removing the assert is a judgement about what "main test suite" is supposed to mean.

Refs #2189

Closes #2191

🤖 Generated with Claude Code

docs/BRANCH-PROTECTION.md names five required checks. Two of them --
seal-coverage.yml and schema-validation.yml -- have a body of exactly one echo.
A third, phi-loop-ci.yml, is described there as the main test suite and asserts
abs(phi**2 + phi**-2 - 3) < 1e-10, which is true of an empty repository, beside
one genuine grep lint.

A required check that cannot fail reads as coverage and is worse than none. That
is the same shape found four times in this repository today.

schema-validation now asks the weakest question worth asking -- does every
tracked JSON parse -- chosen because it is cheap and carries no theory that could
itself be wrong. It found one immediately:

  clara-bridge/audit-trail/experience-schema.json has a literal ... on line 40
  clara-bridge/tests/run_tests.py:152 does json.load() on exactly that path
  3 of its 11 tests were failing, measured by reverting and re-running
  no workflow runs clara-bridge, so nothing said so

Fixed in one character; the suite is 11/11. Six empty JSON artefacts recorded as
debts in tools/json_parse_baseline.txt. external/ excluded, because tsconfig is
JSONC by convention and flagging it would be this gate making the very mistake it
exists to catch.

seal-coverage is deliberately untouched. .trinity/seals/ holds 1714 files keyed
on TYPE names -- Account, AXI4_Testbench, "[]const u8" -- not spec names. My
first attempt scored coverage by matching seal filenames to spec filenames and
produced '1668 orphans of 1714, 1024 of 1070 uncovered', which is a finding about
my assumption rather than the repository. t27c has no seal subcommand. I could
not establish what a real seal-coverage check should assert, so I wrote neither a
check nor a deletion.

Closes #2191

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-18 13:04:56 UTC

Summary

Status Count
Total Open PRs 29
PRs with Failing Checks 12
PRs with All Checks Green 17
READY 9
FAILING 12
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=cd2822f290eb != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

Renaming the job from 'validate' to 'schema-validation' removed the status-check
context that branch protection matches on. The PR went BLOCKED with every visible
check green and no required review outstanding, which is a confusing failure to
read: the required context does not report as failing, it simply does not report.

The workflow's display name may change freely; the job id may not.

Refs #2191

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-18 13:07:11 UTC

Summary

Status Count
Total Open PRs 29
PRs with Failing Checks 12
PRs with All Checks Green 17
READY 9
FAILING 12
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=cd2822f290eb != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit c1a1774 into master Aug 18, 2026
18 checks passed
@gHashTag
gHashTag deleted the loop/t27-decorative-gates branch August 18, 2026 13:08
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.

Two required checks are a single echo; a third asserts a truth about arithmetic

1 participant