Commit Graph

8 Commits

Author SHA1 Message Date
OpenCode Test
431e10b449 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>
2025-12-29 13:23:42 -08:00
OpenCode Test
89bffd00e6 Use PA-specific tmux config for power mode theme
Both pa-mode and pa-launch now use ~/.tmux-pa.conf which applies
a Dracula purple theme to visually distinguish privileged sessions.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 12:29:20 -08:00
OpenCode Test
c0c17850bf fix: use full path to claude for keybind compatibility
The keybind environment doesn't have linuxbrew in PATH.
Using full path /home/linuxbrew/.linuxbrew/bin/claude fixes it.

- pa-launch: new simplified script for keybind use
- pa-mode: updated to use full path too

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 11:45:28 -08:00
OpenCode Test
ae6f056698 feat: add status line with agent display + fix pa-mode keybind
Status line shows: [agent-name] Model | X% context
- Added statusline.sh script that reads CLAUDE_AGENT env var
- Configured settings.json to use the status line script

Fixed pa-mode keybind issue (terminal closing immediately):
- Changed from detached session + attach to exec tmux -A
- Using exec replaces shell process, keeping terminal open
- Added CLAUDE_AGENT env var export for status line

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 10:55:16 -08:00
OpenCode Test
2ed7161079 feat: add pa-summarize hook script 2025-12-29 02:17:56 -08:00
OpenCode Test
6a2264e3a7 feat: add pa-mode launch script
Adds the main launch script for PA Agent Mode that manages a persistent
tmux session named "pa". Supports attach/create, new, kill, and status
commands. Records session starts in the history index.json file.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 02:10:37 -08:00
OpenCode Test
73512e92a6 Update dashboard manifests and add automation
- Updated deployment with correct Pi 3 tolerations
- Updated ingress for cloudflare-tunnel
- Added crontab example for systemd alternative
- Updated go.sum

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 11:39:40 -08:00
OpenCode Test
c14bae9a12 feat: Implement Phase 3 automation for K8s agent system
Automation components for scheduled and event-driven workflows:

Scheduler:
- scheduler.sh for cron-based workflow execution
- Logs workflow runs to ~/.claude/logs/workflows/
- Notifies dashboard on completion

Alertmanager Integration:
- webhook-receiver.sh for processing alerts
- Dashboard endpoint /api/webhooks/alertmanager
- Example alertmanager-config.yaml with routing rules
- Maps alerts to workflows (crashloop, node issues, resources)

New Incident Workflows:
- node-issue-response.yaml: Handle NotReady/unreachable nodes
- resource-pressure-response.yaml: Respond to memory/CPU overcommit
- argocd-sync-failure.yaml: Investigate and fix sync failures

Dashboard Updates:
- POST /api/webhooks/alertmanager endpoint
- POST /api/workflows/{name}/complete endpoint
- Alerts create pending actions for visibility

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 11:49:05 -08:00