Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/docs-verify-no-declared-check-4346.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Clarify in `/verify` that `CHECKS: none` cannot produce `READY_FOR_SHIP`, specify the exact report wording, distinguish self-run checks from gstack results, and offer adding `gstack:verify: <command>` to `CLAUDE.md`.
9 changes: 7 additions & 2 deletions verify/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,13 @@ C="$HOME/.claude/skills/gstack/bin/gstack-checks"; "$C" detect

`detect` reads files only. It lists each check with its source, the pregate
test selection, and `TRUST trusted|untrusted`. `CHECKS: none` means the repo declares no check,
pregate policy or test file: there is nothing to run, so say so and stop. Never invent a
command the repo does not declare.
pregate policy or test file: there is nothing to run, so say so and stop. Report:
"No checks declared; /verify ran nothing and does not vouch for this change."
`run` exits 3 and `status` prints `NOT_READY` here, so `READY_FOR_SHIP` is never
produced and step 3 does not apply. A check you ran yourself is not a gstack
result; label it as yours. Offer once to declare one by adding
`gstack:verify: <command>` to the repo's `CLAUDE.md`. Never invent a command the
repo does not declare.

When `untrusted`: in an interactive session, show the user the listed commands
and ask before `"$C" trust`. In a session launched to run repo commands, pass
Expand Down
9 changes: 7 additions & 2 deletions verify/SKILL.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ C="{{RUNTIME_ROOT}}/bin/gstack-checks"; "$C" detect

`detect` reads files only. It lists each check with its source, the pregate
test selection, and `TRUST trusted|untrusted`. `CHECKS: none` means the repo declares no check,
pregate policy or test file: there is nothing to run, so say so and stop. Never invent a
command the repo does not declare.
pregate policy or test file: there is nothing to run, so say so and stop. Report:
"No checks declared; /verify ran nothing and does not vouch for this change."
`run` exits 3 and `status` prints `NOT_READY` here, so `READY_FOR_SHIP` is never
produced and step 3 does not apply. A check you ran yourself is not a gstack
result; label it as yours. Offer once to declare one by adding
`gstack:verify: <command>` to the repo's `CLAUDE.md`. Never invent a command the
repo does not declare.

When `untrusted`: in an interactive session, show the user the listed commands
and ask before `"$C" trust`. In a session launched to run repo commands, pass
Expand Down
Loading