Skip to content

docs: restore the gate facts dropped from CLAUDE.md - #145

Open
prorochestvo wants to merge 2 commits into
alphafrom
docs/restore-gate-facts
Open

docs: restore the gate facts dropped from CLAUDE.md#145
prorochestvo wants to merge 2 commits into
alphafrom
docs/restore-gate-facts

Conversation

@prorochestvo

Copy link
Copy Markdown
Owner

What

Restores four references into CLAUDE.md that survived only on docs/slim-claude-md, the branch behind PR #140. That pull request was closed rather than merged; PR #142 salvaged its canon into the project skills but did not carry these. The branch has now been deleted as part of the repository cleanup, so this is the last chance to keep them.

CLAUDE.md: 17234 → 17890 bytes, inside its own 20k budget.

Why it matters

The load-bearing item is a silent failure, which is exactly what CLAUDE.md is chartered to hold:

  • Both make lint and make lint-new run two stepsgolangci-lint run and scripts/lint-checks.sh. A green golangci-lint is not a green gate, and nothing outside the Makefile said so.
  • make lint-new is the mergeable gate, linting only what changed since LINT_BASE (origin/alpha); make lint scans the whole tree as a worklist. CLAUDE.md named only the latter, so the one documented command is the one that reports standing findings on untouched code.
  • make test runs the WASM suite, and skips it with a warning and a zero exit when node is absent — the gate goes green with that coverage quietly missing.
  • The 8 GB Pi OOM-kills the modernc.org/sqlite rebuild under -race; go test -race -p 1 is the way through, or an s_* tag hands the gate to CI.

The remaining two are pointers to the canon this file is a delta of: standards-layout R21 for the measure-and-account procedure, and pipeline:working-agreement for the pipeline the working agreement restates.

Verification

Every claim was checked against the source, not copied on trust:

Claim Verified against
lint-new is the mergeable gate Makefile:246 target comment
Both targets run two steps Makefile:238-253
LINT_BASE ?= origin/alpha Makefile:40
make test runs the WASM suite, exits 0 without node test: target
Pi OOM-kills under load deploy/README.md:11, plans/completed/260823.0001.long-range-weather-outlook.md:302
Forbidden imports enforced by make lint (pre-existing claim) .golangci.yml:107-114, depguard

scripts/lint-checks.sh origin/alpha — clean, exit 0.

Known issue, unrelated to this change

make lint-new cannot complete on the dev Mac right now. Go 1.27.0 is installed while golangci-lint 2.12.2 is built against go1.26.2, so gocritic's bundled ruleguard panics decoding net/http:

cannot decode "net/http", export data version 4 is greater than maximum supported version 2

The failure reproduces on a clean tree with this change stashed, so it predates it. The fix is a GOLANGCI_VERSION bump to a build made against Go 1.27 — worth its own issue rather than riding along in a docs change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Nz77JABRj78e92q1sRPuyF

prorochestvo and others added 2 commits September 2, 2026 13:43
Four references survived only on docs/slim-claude-md, whose pull request
(#140) was closed rather than merged. PR #142 salvaged that branch's canon
into the project skills but did not carry these, and the branch has now
been deleted, so this brings them back into the file.

The load-bearing one is that both make lint and make lint-new run two
steps, golangci-lint run and scripts/lint-checks.sh. A green golangci-lint
is therefore not a green gate, and nothing outside the Makefile said so.
make lint-new is also the mergeable gate, linting only what changed since
LINT_BASE, while make lint scans the whole tree as a worklist; CLAUDE.md
named only the latter, so the documented command was the one that reports
standing findings on untouched code.

Also recorded: make test runs the WASM suite, and skips it with a warning
and a zero exit when node is absent, which takes the gate green with that
coverage silently missing. On the 8 GB Pi the modernc.org/sqlite rebuild
is OOM-killed under -race, where go test -race -p 1 is the way through.
Both were verified against the Makefile; the Pi constraint is corroborated
by deploy/README.md and the completed long-range-outlook plan.

The remaining two are pointers to the canon this file is a delta of:
standards-layout R21 for the measure-and-account procedure, and
pipeline:working-agreement for the pipeline the working agreement below
restates.

CLAUDE.md grows from 17234 to 17890 bytes, inside its own 20k budget.

Note for the reviewer: make lint-new cannot run on the dev Mac right now.
Go 1.27.0 is installed while golangci-lint 2.12.2 is built against
go1.26.2, so gocritic's ruleguard panics decoding export data version 4.
The failure reproduces on a clean tree with this change stashed and is
unrelated to it. scripts/lint-checks.sh, the half that inspects text, was
run and is clean.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nz77JABRj78e92q1sRPuyF
Claude Code matches file-tool permission rules on Edit(path) only, so
every Write(path) entry is dead config that emits a startup warning on
each session. Every one already has an Edit() twin, so the .env and
.idea guards are unchanged; only the noise goes.
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