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

68
state/model-policy.json Normal file
View File

@@ -0,0 +1,68 @@
{
"version": "1.0.0",
"description": "Cost-efficient model selection policy",
"models": {
"opus": {
"use_cases": [
"Complex reasoning and analysis",
"Cross-agent coordination",
"Policy enforcement and validation",
"Architectural decisions",
"Ambiguous or nuanced tasks"
],
"agents": [
"personal-assistant",
"master-orchestrator",
"k8s-orchestrator",
"programmer-orchestrator"
]
},
"sonnet": {
"use_cases": [
"Standard operations",
"Well-defined tasks",
"Routine automation",
"Code generation and modification",
"Troubleshooting with clear symptoms"
],
"agents": [
"linux-sysadmin",
"k8s-diagnostician",
"argocd-operator",
"prometheus-analyst",
"git-operator",
"code-planner",
"code-implementer",
"code-reviewer"
]
},
"haiku": {
"use_cases": [
"Simple queries",
"Status checks",
"Log parsing",
"Data extraction",
"Formatting and summarization"
],
"agents": [],
"delegation_note": "Any agent can delegate simple subtasks to Haiku for cost efficiency"
}
},
"escalation_rules": [
{
"from": "haiku",
"to": "sonnet",
"triggers": ["task_too_complex", "context_insufficient", "reasoning_required"]
},
{
"from": "sonnet",
"to": "opus",
"triggers": ["cross_agent_coordination", "policy_decision", "complex_analysis"]
}
],
"cost_optimization": {
"default_start": "lowest_capable",
"log_usage": true,
"review_frequency": "weekly"
}
}