Repository navigation
agent: require explicit Claude invocation for release, deploy and publish - #6
Merged
Merged
Conversation
…lish Add disable-model-invocation: true to the Claude Code adapters for the release, deploy and publish skills, so Claude loads them only when the user explicitly invokes /release, /deploy or /publish. Canonical skills, Codex adapters and the other Claude adapters keep the portable name/description frontmatter. The validator now requires the field on exactly those three Claude adapters, accepts the matching exact adapter text, and still rejects the field everywhere else. Three regression tests cover a missing gate, a false value, and a gate on another adapter or canonical skill.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work object
There is no Issue in this repository. This PR implements the owner's direct task request of 2026-10-09 to integrate Claude Code skill discovery, including invocation safety for release, deployment and publication skills. No Issue was created because the task did not authorize Issue creation.
Authority basis
The owner's current task request authorizes this change and its delivery as a branch and draft pull request. It explicitly asks that release, deployment and publication skills not be invoked automatically by Claude. This PR is the reviewable adoption step for that policy change, and it takes effect only if the owner merges it. It cannot authorize itself. No merge, settings or release authority is exercised here.
Executor
Claude Code (model Claude Opus 5.5), working in an isolated task worktree created from
mainat9ec1280.Outcome
.claude/skills/{release,deploy,publish}/SKILL.mdnow setdisable-model-invocation: true./release,/deployor/publish.skills/, the Codex adapters in.agents/skills/, the.codex/skillscompatibility link and the other eight Claude adapters.scripts/validate_agent_toolkit.pyrequires the field, with valuetrue, on exactly those three Claude adapters and accepts only the matching exact adapter text. It still rejects the field on canonical skills, Codex adapters and the other Claude adapters.main; this changes invocation control only.Verification
Checks run and results:
python3 scripts/validate_agent_toolkit.py(with PyYAML vianix-shell -p python3Packages.pyyaml): passed. Output: 11 canonical skills; bindings, adapters, links and routing coverage valid.python3 -m unittest discover -s tests -v: 13 tests passed. Three are new: missing gate,falsevalue, and gate on another Claude adapter, a Codex adapter or a canonical skill.git diff --checkandgit diff --cached --check: clean.initevent lists all 11 skills.deploy,publishandreleaseand keeps the other 8. Onmain, all 11 were model-invocable.@AGENTS.mdimport is loaded.verifyis this repository's adapter. Claude Code's bundled skill of the same name is overridden, which is documented precedence.codex debug prompt-inputin the same clone renders without a model call. It still lists all 11.agents/skillsadapters once each, with the.codex/skillslink intact.Checks not run and why:
Agent toolkitworkflow) runs on this pull request; its result is not yet observed.Documentation impact
.agent/README.mddocuments the single Claude-only metadata exception and how validation enforces it.Security and privacy
Compatibility and rollout
/release,/deployor/publishexplicitly. Codex discovery and invocation are unchanged.Deployment effect
Agent toolkitvalidation workflow onmain.Explicit non-actions
Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_019FBkjn2iYo9reVS3VHAWj8