[rustjava-claude-md-ticketless-guard] docs: forbid ticketless work in CLAUDE.md - #7
Merged
Merged
Conversation
… CLAUDE.md Home charter tells non-orchestrator sessions to follow their own cwd's CLAUDE.md, so sessions created outside `dispatcher` (e.g. Dispatch(Cowork)) land inside this repo with edit rights and no ticket/gate/reviewer coverage. Add the repo-level guard: no edit/commit/push without a matching ticket file in ~/orchestrator/tasks/ — read-only investigation, then ask the orchestrator. The check is "does my ticket file exist", not "am I Dispatch-spawned": ledger registration, not provenance. Co-Authored-By: Claude <noreply@anthropic.com>
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.
What
Adds one clause to this repo's
CLAUDE.md(## 착수 규율): no edit/commit/push without a matching ticket file in~/orchestrator/tasks/— read-only investigation only, then ask the orchestrator.Why this belongs in the repo, not the home charter
~/CLAUDE.mdinstructs non-orchestrator sessions to follow their own cwd'sCLAUDE.md. So a session created outsidedispatcher(e.g.Dispatch(Cowork)) whose cwd is this repo is skipped by the home charter — while holding edit rights here, with no dispatcher routing, ticket, 3-gate, or reviewer. The guard is only effective at repo level.The self-check is deliberately "does my ticket file exist", not "am I Dispatch-spawned" — ledger registration, not provenance, and instantly self-verifiable by file existence.
Scope
Documentation only.
git diff --numstat=6 0 CLAUDE.md— six added lines, zero deletions, one file. No code, config, or other docs touched. Source wording:~/orchestrator/docs/orca-adoption/04-spike-dispatch.md§6-B.🤖 Generated with Claude Code