Implement component registry for PA session awareness

Components:
- state/component-registry.json: Registry with all skills, commands, agents, workflows
- automation/generate-registry.py: Auto-generate from directory scan
- automation/validate-registry.py: Check for drift and TODO placeholders
- system-instructions.json: Added component-lifecycle process

Registry includes:
- 6 skills with routing triggers
- 10 commands with aliases
- 12 agents with model info
- 10 workflows with triggers
- 2 delegation helpers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-01 00:08:11 -08:00
parent 2772a6e512
commit 3132948246
5 changed files with 745 additions and 5 deletions

View File

@@ -184,10 +184,10 @@ Invoke skill:gcal with context "tomorrow"
## Implementation Checklist
- [ ] Create `~/.claude/state/component-registry.json` (initial)
- [ ] Create `~/.claude/automation/generate-registry.py`
- [ ] Create `~/.claude/automation/validate-registry.py`
- [ ] Update `system-instructions.json` with component-lifecycle
- [x] Create `~/.claude/state/component-registry.json` (initial)
- [x] Create `~/.claude/automation/generate-registry.py`
- [x] Create `~/.claude/automation/validate-registry.py`
- [x] Update `system-instructions.json` with component-lifecycle
- [ ] Update PA agent instructions to read registry
- [ ] Test routing with registry
- [ ] Add future consideration for registry improvements