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

@@ -0,0 +1,39 @@
# Plan: Remove Redundancy + Add No-Redundancy Rule
## Identified Redundancies
| Item | CLAUDE.md | system-instructions.json | Action |
|------|-----------|--------------------------|--------|
| Conventions | Lines 63-67 | Lines 55-59 | Remove from JSON (CLAUDE.md is human reference) |
| State file writers | Lines 23-29 table | Lines 37-42 | Keep both - different purposes (table vs structured) |
| Key Processes | Lines 31-47 | Lines 5-34 | OK - CLAUDE.md is summary, JSON is canonical |
## Changes Required
### 1. Remove `conventions` from `system-instructions.json`
Already documented in CLAUDE.md - no need to duplicate.
### 2. Add no-redundancy principle to `CLAUDE.md`
Add to Conventions section:
```
- **No duplication**: Information lives in one place. CLAUDE.md = overview, JSON = details
```
### 3. Add to `system-instructions.json`
Add principle:
```json
"content-principles": {
"no-redundancy": "Information lives in one authoritative location",
"lean-files": "Keep files concise - no verbose examples or unnecessary prose"
}
```
## Files to Modify
| File | Action |
|------|--------|
| `~/.claude/state/system-instructions.json` | Remove conventions, add content-principles |
| `~/.claude/CLAUDE.md` | Add no-duplication rule to conventions |