-
Notifications
You must be signed in to change notification settings - Fork 68
chore(claude-config): namespace agents and commands under cypher #693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,9 +7,9 @@ | |
| # 3. If command is NOT git commit -> exit 0 (allow immediately) | ||
| # 4. Check if ANY staged files are under packages/contact-center/ | ||
| # 5. If none -> exit 0 (allow) | ||
| # 6. Check for verification marker (created by /spec-drift-changed) | ||
| # 6. Check for verification marker (created by /cypher:spec-drift-changed) | ||
| # 7. If marker exists -> exit 0 (allow — marker stays until content changes) | ||
| # 8. If no marker -> exit 2 (BLOCK, instruct to run /spec-drift-changed) | ||
| # 8. If no marker -> exit 2 (BLOCK, instruct to run /cypher:spec-drift-changed) | ||
|
|
||
| CC_PKG="packages/contact-center" | ||
|
|
||
|
|
@@ -57,6 +57,6 @@ echo "" | |
| echo "Staged contact-center files:" | ||
| echo "$STAGED_CC" | sed 's/^/ - /' | ||
| echo "" | ||
| echo "Run /spec-drift-changed to validate ai-docs against source code before committing." | ||
| echo "Run /cypher:spec-drift-changed to validate ai-docs against source code before committing." | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When this hook blocks a Useful? React with 👍 / 👎. |
||
| echo "The command will check documentation accuracy and create a verification marker." | ||
| exit 2 # Exit code 2 = blocking error in Claude Code hooks | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
/cypher:fix-ticketsreaches the parallel worker launch, thissubagent_typedoes not match any project subagent: Claude Code scans.claude/agents/recursively but identifies project subagents by their frontmattername, and.claude/agents/cypher/ticket-worker.mdstill declaresname: ticket-workerrather thancypher:ticket-worker. This means the full lifecycle command will fail to start ticket workers after the namespace move; keep the file path updates, but spawnticket-workerunless the agent is actually provided as a scoped plugin agent.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in next push. Reverted to
subagent_type: "ticket-worker"since project subagents are identified by frontmattername, not file path. Thecypher:prefix only applies to plugin-scoped agents.