Repository navigation
check-catalog-docs: the self-test edits README's docs/agents.md pointer at its current count - #992
Conversation
…er at its current count
There was a problem hiding this comment.
Verdict: CLEAN: The fixture count matches README's five occurrences, and the self-test still detects missing pointers.
Checked
Duplicates: 0 new functions, types or constants; no duplicate owner introduced.
Complexity: no Rust functions changed; no crapper results.
Silent failure: 1 fixture-error path followed; a count mismatch fails the self-test and returns exit 1.
Tests: in-memory checks confirm README has five occurrences and llms.txt has two; the old fixture count mismatches. Removing the README guard at tools/check-catalog-docs.py:277, or replacing only one occurrence, prevents the diagnostic the test requires.
Gates: no threshold relaxed or case removed; the changed count controls fixture construction.
Escape catalog: no patterns matched.
Notes
Dryer and crapper did not run because no Rust file changed.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
|
The review is done and the contribution check passed, so I'm merging this. |
check-catalog-docs의 self-test가 README의 docs/agents.md 등장 횟수를 현재 값 5로 맞춰 다시 통과하게 고칩니다.
What and why
tools/check-catalog-docs.py --self-testfails on main. Its "a README with no pointer is red" case edits README.md'sdocs/agents.mdpointer and asserts that the pointer appears exactly 2 times. README.md now has it 5 times, so the test's own edit assertion fires and the self-test (and the t0 check that runs it) is red. This changes the expected count in that case from 2 to 5. Thellms.txtcase keeps its 2, which still matchesllms.txt.Release notes: internal: the catalog docs self-test passes again after README.md gained more
docs/agents.mdpointers.Code shape
The review reads these first. A box left unticked needs one line of why.
copying it (
AGENTS.md"Common code first",docs/rust-quality.mdR14). Where I found an existing copy, Inamed it below.
(tensor shapes, the attention kind, the quant). A common owner gained no per-model branch, flag or trait method.
tools/check-comments.sh).PIN(YYYY-MM-DD):and its reason.
cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.Duplication found or removed (
path:line), or "none": noneWhat I ran
Before the change, on upstream main:
After the change:
The diff touches only a Python docs-check tool, so no GPU gate or binary path changes.
AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.