Implement programmer agent system and consolidate agent infrastructure

Programmer Agent System:
- Add programmer-orchestrator (Opus) for workflow coordination
- Add code-planner (Sonnet) for design and planning
- Add code-implementer (Sonnet) for writing code
- Add code-reviewer (Sonnet) for quality review
- Add /programmer command and project registration skill
- Add state files for preferences and project context

Agent Infrastructure:
- Add master-orchestrator and linux-sysadmin agents
- Restructure skills to use SKILL.md subdirectory format
- Convert workflows from markdown to YAML format
- Add commands for k8s and sysadmin domains
- Add shared state files (model-policy, autonomy-levels, system-instructions)
- Add PA memory system (decisions, preferences, projects, facts)

Cleanup:
- Remove deprecated markdown skills and workflows
- Remove crontab example (moved to workflows)

🤖 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
2025-12-29 13:23:42 -08:00
parent 119d2a464e
commit 431e10b449
62 changed files with 3572 additions and 539 deletions

View File

@@ -90,6 +90,38 @@ Purpose: Persistent PA configuration
Valid context levels: `none`, `minimal`, `moderate`, `comprehensive`
## Knowledge Base State
### kb.json (Shared)
Path: `~/.claude/state/kb.json`
Writer: personal-assistant
Purpose: Shared knowledge base for infrastructure facts (all agents can read)
```json
{"infra":{},"svc":{},"net":{},"hw":{}}
```
| Category | Purpose | Example facts |
|----------|---------|---------------|
| `infra` | Cluster/platform | cluster type, node count, architecture |
| `svc` | Services/tools | gitops, monitoring, alerting |
| `net` | Network | domain, ingress controller, DNS |
| `hw` | Hardware | device models, RAM, storage |
Notes:
- Values should be primitives (string, number, boolean) or flat arrays
- Avoid nested objects beyond category level
- All state JSON files use minified format (single-line)
### kb.json (PA-Private)
Path: `~/.claude/state/personal-assistant/kb.json`
Writer: personal-assistant
Purpose: PA-private knowledge base for personal/non-tech facts
Same format as shared KB. Categories TBD based on use cases.
## System State
### system-instructions.json