Skip to content

fix(ci): documented commands gate green on master - #5503

Merged
dmitrii-f-t27 merged 1 commit into
masterfrom
fix/documented-commands-master
Oct 2, 2026
Merged

dmitrii-f-t27 merged 1 commit into
masterfrom
fix/documented-commands-master

Conversation

@dmitrii-f-t27

Copy link
Copy Markdown
Collaborator

What

Documented t27c subcommands exist has failed on every master run (756bcff, d5f2215). Its standalone matcher read every hyphenated tri- word as a missing scripts/tri-<name>:

`scripts/tri-<name>` referenced but not present: 1004 mention(s), 113 distinct

The 113 names are skill names (tri-pipeline), agent ids (tri-doctor), sibling repositories (../tri-net/src/lib.rs) and the adjective tri-valued. None of them is a command.

Change

This is the repair from #5473 (8edc1c4), unchanged:

  • A standalone name counts only in command position: at the start of a line, optionally after $ or > , or after a backtick, and followed by an option or the end of the line.
  • The scan reads tracked files from git ls-files instead of walking the working tree.
  • sibling_self_check() adds 11 controls: five shapes that must be found, and six that must not (a service name in backticks, an existing script, an adjective, a sibling repository path, a string literal, and a command declared as proposed).

Explicit scripts/tri-* paths are matched by the unchanged SIBLING_HIT.

Evidence, on master d5f2215 (full checkout)

before after
sibling references read 1064 11
dead scripts/tri-* 1004 mentions / 113 names 0
dead tri names 141 (ceiling 141) 141 (ceiling 141)
exit 1 0

--self-check passes, including the 11 sibling controls.

Trade-off

A bare mention in prose such as "tri-lean" in a report is no longer flagged; only command-shaped text is. The old matcher flagged that and 1004 non-commands with it.

Refs #5497

🤖 Generated with Claude Code

The standalone matcher in tools/check_documented_commands_exist.py read
every hyphenated tri- word as a missing scripts/tri-<name>: 1004 mentions
under 113 names on master, all of them skill names (tri-pipeline), agent ids
(tri-doctor), sibling repositories (../tri-net/src/lib.rs) or the adjective
tri-valued. None is a command, and the job has failed on every master run.

The repair is the one from #5473: a standalone name counts only in command
position (line start, optionally after "$ " or "> ", or after a backtick,
followed by an option or the end of the line), and the scan reads tracked
files from git ls-files instead of walking the working tree. scripts/tri-*
paths are matched as before.

On master d5f2215: the check passes (11 sibling references, 5 excused as
declared, 141 dead tri mentions at the recorded ceiling) and --self-check
passes, including 11 new sibling controls.

Refs #5497

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

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-02 01:22:41 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 46
PRs with All Checks Green 4
READY 3
FAILING 46
PENDING 0
NO CHECKS YET 0

These columns do not partition: 3 + 46 + 0 + 0 = 49, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=b7d5cc5c4cf1 != 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

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

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

@dmitrii-f-t27
dmitrii-f-t27 merged commit d10d710 into master Oct 2, 2026
32 of 34 checks passed
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