Commit Graph

89 Commits

Author SHA1 Message Date
OpenCode Test
5b9a85cd37 Update state: format future-considerations, add session history
- future-considerations: Pretty-print JSON, update fc-001 to pending status
- history/index: Add recent session entries

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 13:00:52 -08:00
OpenCode Test
91733f5460 Fix gtasks OAuth scope handling and add ArgoCD docs to RAG
- gtasks: Add force_reauth option to recover from invalid_scope errors
- rag-search: Index ArgoCD documentation for semantic search

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 13:00:46 -08:00
OpenCode Test
380e2005c8 Regenerate morning report for 2026-01-05
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 13:00:40 -08:00
OpenCode Test
62050faedc Add workstation monitoring design 2026-01-05 01:31:10 -08:00
OpenCode Test
f3cb082c36 Regenerate morning report for 2026-01-04
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:44:40 -08:00
OpenCode Test
db0d9f97b2 Update plugin timestamps
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:44:33 -08:00
OpenCode Test
94603b19a5 Update session history index
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:44:29 -08:00
OpenCode Test
45b7e4bcf7 Improve morning report collectors and add section toggling
- Add is_section_enabled() to support per-section enable/disable in config
- Update Python path from 3.13 to 3.14 for gmail venv
- Disable tasks section by default (enabled: false in config)
- Apply code formatting improvements (black/ruff style)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:44:24 -08:00
OpenCode Test
7ca8caeecb Implement rag-search skill for semantic search
Add new skill for semantic search across personal state files and
external documentation using ChromaDB and sentence-transformers.

Components:
- search.py: Main search interface (--index, --top-k flags)
- index_personal.py: Index ~/.claude/state files
- index_docs.py: Index external docs (git repos)
- add_doc_source.py: Manage doc sources
- test_rag.py: Test suite (5/5 passing)

Features:
- Two indexes: personal (116 chunks) and docs (k0s: 846 chunks)
- all-MiniLM-L6-v2 embeddings (384 dimensions)
- ChromaDB persistent storage
- JSON output with ranked results and metadata

Documentation:
- Added to component-registry.json with triggers
- Added /rag command alias
- Updated skills/README.md
- Resolved fc-013 (vector database for agent memory)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:41:38 -08:00
OpenCode Test
c21b152de8 Add Agentic RAG design document
Design for extending Claude agent system with semantic search:
- Two indexes: personal (state files) + external docs
- ChromaDB + sentence-transformers stack
- rag-search skill with search.py CLI
- Daily systemd timer for index refresh
- Ralph loop implementation with Haiku/Sonnet delegation

Added future considerations (fc-043 to fc-046):
- Auto-sync on tool version change
- Broad doc indexing
- K8s deployment
- Query caching

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 14:08:00 -08:00
OpenCode Test
4fe8957482 Add instruction to keep repos clean by removing old branches 2026-01-04 13:29:04 -08:00
OpenCode Test
1b432f1c3f Add session summarization hook plan 2026-01-04 13:22:28 -08:00
OpenCode Test
383e2cbf38 Add morning report for 2026-01-04 2026-01-04 13:22:28 -08:00
OpenCode Test
1f5029cbb0 Update plugin timestamps and session history 2026-01-04 13:22:27 -08:00
OpenCode Test
89255cc6fa Add gitea-merge.sh for complete merge workflow
- Creates gitea-merge.sh: rebase merge, delete branch, close PR
- Updates CLAUDE.md: simplified git workflow using new script
- Adds model selection reminder to general-instructions.json
- Documents Gitea API commands in CLAUDE.md

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 13:18:23 -08:00
OpenCode Test
652ceb55f0 Add PR validation before creating PRs
- Create validate-pr.sh: runs shellcheck, JSON/YAML/Python syntax checks
- Update gitea-pr.sh: runs validation before creating PR
- Update CLAUDE.md: document PR review policy
  - ~/.claude repo: linting/validation only
  - Code repos: full code-reviewer agent review

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 13:06:31 -08:00
OpenCode Test
02f9cf7d8f Add Gitea PR automation script
- Create automation/gitea-pr.sh for auto-creating PRs via Gitea API
- Update CLAUDE.md with git workflow using the new script
- Deprecate redundant git instructions in PA general-instructions.json
- Token stored securely at ~/.config/gitea-token

Usage: gitea-pr.sh "PR Title" "Description"

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 12:52:54 -08:00
OpenCode Test
2105803594 Merge feature/user-prompt-context-injection: Add UserPromptSubmit hook for context injection 2026-01-04 12:39:59 -08:00
OpenCode Test
73400a21ab Add UserPromptSubmit hook for context injection
Injects contextual information when user submits a prompt:
- Current time with period (morning/afternoon/evening/night)
- Git branch if in a repository
- Relevant memory items based on prompt keywords (2+ matches)
- Pending decisions needing attention

Design:
- Skips short prompts (<10 chars) to not slow down commands
- 5s timeout to keep prompts responsive
- Lightweight keyword matching for memory relevance

Also updates general-instructions.json with git workflow notes.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 12:34:39 -08:00
OpenCode Test
56b455a074 Merge feature/session-summarization-hook: Add SessionEnd hook for automatic session summarization 2026-01-04 12:28:19 -08:00
OpenCode Test
f07022ca60 Add SessionEnd hook for automatic session summarization
Implements automatic memory extraction when Claude Code sessions end:
- Add SessionEnd hook to hooks.json with 120s timeout
- Create session-end.sh wrapper that parses hook input and runs summarizer
- Create summarize-transcript.py that:
  - Loads transcript from Claude's storage
  - Skips trivial sessions (<3 user messages)
  - Extracts paths/facts via heuristics
  - Uses Claude CLI (subscription auth) for decisions/preferences
  - Saves to memory files with deduplication
  - Updates history index with summarized flag

Uses `claude -p --model haiku` for LLM extraction, leveraging
existing subscription credentials instead of requiring API key.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 14:17:51 -08:00
OpenCode Test
91fa0608d0 Update known_marketplaces.json lastUpdated timestamp 2026-01-03 13:53:43 -08:00
OpenCode Test
e43e052a32 Add design plans for dashboard integration
Add implementation plans for morning report, Claude ops dashboard, and realtime monitoring features.
2026-01-03 10:55:22 -08:00
OpenCode Test
6ef58472cf Add morning reports and local configuration
Add daily morning reports and loop configuration for ralph agent.
2026-01-03 10:55:18 -08:00
OpenCode Test
48a1c9cd1d Update settings configuration
Configure Claude integration settings.
2026-01-03 10:55:13 -08:00
OpenCode Test
343d2e4237 Update component registry and system state
Register new skills and update future considerations for Claude dashboard integration.
2026-01-03 10:55:07 -08:00
OpenCode Test
c21665284a Update plugin cache and installation state
Refresh plugin install counts and update installed plugins registry.
2026-01-03 10:55:01 -08:00
OpenCode Test
daa4de8832 Add morning-report and stock-lookup skills
Add comprehensive morning report skill with collectors for calendar, email, tasks,
infrastructure status, news, stocks, and weather. Add stock lookup skill for quote queries.
2026-01-03 10:54:54 -08:00
OpenCode Test
ae958528a6 Add Claude integration to dashboard
Add comprehensive Claude Code monitoring and realtime streaming to the K8s dashboard.
Includes API endpoints for health, stats, summary, inventory, and live event streaming.
Frontend provides overview, usage, inventory, debug, and live feed views.
2026-01-03 10:54:48 -08:00
OpenCode Test
de89f3066c Add /diff and /template commands
- /diff command to compare config with backups
  - Shows added/removed/changed files
  - JSON-aware comparison for config files
  - List available backups
- /template command for session templates
  - Built-in templates: daily-standup, code-review, troubleshoot, deploy
  - Each template includes checklist, initial commands, prompt
  - Create custom templates interactively or non-interactively
- Updated shell completions with 21 aliases total
- Test suite now covers 29 tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 19:06:14 -08:00
OpenCode Test
4169f5b9a4 Add /workflow, /skill-info, and /agent-info commands
- /workflow command to list and describe available workflows
  - Filter by category (health, deploy, incidents, sysadmin)
  - Show workflow steps and triggers
- /skill-info command for skill introspection
  - List scripts, triggers, and allowed tools
  - Show references and documentation
- /agent-info command with hierarchy visualization
  - Tree view of agent relationships
  - Model assignments (opus/sonnet/haiku) with visual indicators
  - Supervisor and subordinate information
- Updated shell completions with 19 aliases total
- Test suite now covers 27 tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 19:02:42 -08:00
OpenCode Test
f1f30bcb2f Add quick reference guide and upgrade script
- docs/QUICK-REFERENCE.md: Comprehensive quick reference card with
  - All commands organized by category
  - Shell aliases
  - Key paths
  - PA flags
  - Autonomy levels
  - Troubleshooting tips
- automation/upgrade.sh: Version upgrade management
  - Check for available upgrades (git-aware)
  - Pre-upgrade backup creation
  - Migration runner for version upgrades
  - Post-upgrade validation
- Updated shell completions with 16 aliases total
- Test suite now covers 24 tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 18:50:04 -08:00
OpenCode Test
2ff7f6b133 Add /export and /mcp-status commands
- /export command to export session data as Markdown or JSON
  - Export for sharing with other Claude instances
  - Include session details, topics, summary, and memory items
- /mcp-status command to check MCP integration health
  - Gmail venv and credentials status
  - Calendar API dependencies
  - Delegation helpers presence
  - MCP server configuration
- Updated shell completions with 15 aliases total
- Test suite now covers 23 tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 18:47:50 -08:00
OpenCode Test
c1a3c1812c Add /log and /debug commands for troubleshooting
- /log command to view and analyze automation logs
  - Filter by pattern, date, or log type
  - List available log files
- /debug command generates comprehensive debug report
  - Version, core files, state, memory, scripts status
  - Environment info (Python, kubectl)
  - Disk usage by directory
  - JSON output mode for scripting
- Updated shell completions with 13 aliases total
- Test suite now covers 21 tests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 18:44:40 -08:00
OpenCode Test
125bb4904b Add search command, history browser, install script, and systemd timers
- /search command to search across memory, history, and configuration
- history-browser.py for browsing and analyzing session history
- install.sh for first-time setup with directory creation and validation
- daily-maintenance.sh for scheduled backup, cleanup, and validation
- systemd timer units for automated daily maintenance at 6 AM
- Updated shell completions with 11 aliases
- Test suite now covers 19 tests
- Bump version to 1.1.0

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 18:41:07 -08:00
OpenCode Test
86baab7e96 Add shell completions and test script
New files:
- completions.bash: Bash completions and aliases for automation scripts
- completions.zsh: Zsh completions and aliases
- test-scripts.sh: Test suite for Python and Bash scripts

Test coverage:
- Automation scripts (validate-setup, memory-add, memory-list)
- Skill scripts (gmail, gcal, usage)
- Bash scripts (quick-status, health-check, k8s)

All 12 tests pass.

Usage:
  source ~/.claude/automation/completions.bash  # or .zsh
  ~/.claude/automation/test-scripts.sh

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 12:25:24 -08:00
OpenCode Test
55327c2e05 Add /remember, /config commands and memory helper scripts
New commands:
- /remember: Quick shortcut to save to memory (auto-categorizes)
- /config: View and manage configuration settings

New automation scripts:
- memory-add.py: Add items to PA memory with auto-categorization
- memory-list.py: List memory items by category

The /remember command provides a quick way to save:
- "Always use X" → preferences
- "Decided to use X" → decisions
- "Project at ~/path" → projects
- Other → facts

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 12:23:39 -08:00
OpenCode Test
84fe45f4dc Add cleanup script, version tracking, and changelog
New files:
- automation/clean.sh: Clean up old logs, reports, backups (with --dry-run)
- VERSION: Tracks configuration version (1.0.0)
- CHANGELOG.md: Documents all changes in this refactor

The cleanup script handles:
- Old workflow logs (>30 days)
- Old health reports (>30 days)
- Excess backups (keeps last 10)

Respects managed directories (projects/, stats-cache.json).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 12:12:48 -08:00
OpenCode Test
f682d781a0 Add session, maintenance, and backup commands
New commands:
- /summarize: Save session decisions/preferences to memory
- /maintain: Configuration maintenance (validate, backup, restore, etc.)

New automation scripts:
- backup.sh: Create timestamped config backup (excludes secrets)
- restore.sh: Restore config from backup (with validation)

Updates:
- component-registry.json: Added new commands
- commands/README.md: Updated with new entries
- automation/README.md: Documented utility scripts

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 12:11:52 -08:00
OpenCode Test
cbed85edf5 Add quick-status.sh automation script
Dashboard script for /status command that shows:
- System health (disk, memory, load, updates)
- Kubernetes status (nodes, pods)
- Email summary (unread count)
- Calendar overview

Features:
- Graceful handling of missing tools
- Health indicators (/⚠️/⏸️)
- Works in sandbox and full environments

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:58:15 -08:00
OpenCode Test
8a2c3f26c4 Add /help and /status commands
- /help: Shows available commands and skills with descriptions
- /status: Quick dashboard overview across all domains
  - System health (disk, memory, updates)
  - Kubernetes status (nodes, pods, alerts)
  - Email summary (unread, urgent)
  - Calendar (today's events, next meeting)

Both commands added to component-registry.json with aliases:
- /help: /commands, /skills
- /status: /overview, /dashboard

Updated commands/README.md with new entries.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:56:46 -08:00
OpenCode Test
2bf3ed7c0e Add top-level README and setup validation script
- README.md: Comprehensive overview of the configuration
  - Quick start guide
  - Feature summary
  - Directory structure
  - Key commands and skills
  - Maintenance commands

- automation/validate-setup.sh: Validation script that checks:
  - Directory structure
  - Core files
  - Plugin manifest
  - Hooks configuration and executability
  - Skills and their scripts
  - State files (JSON validity)
  - Gmail integration
  - Documentation coverage

Run with: ~/.claude/automation/validate-setup.sh

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:55:37 -08:00
OpenCode Test
c63a8b8cb2 Add README documentation for mcp and state directories
- mcp/README.md: Document Gmail setup, delegation helpers, MCP patterns
- state/README.md: Document state files, ownership, and subdirectories

Completes documentation coverage for all major directories.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:53:04 -08:00
OpenCode Test
97497b97c2 Add documentation, PreCompact hook, gcal improvements, and marketplace
Documentation:
- Add commands/README.md documenting all slash commands
- Add skills/README.md documenting skill structure and patterns
- Add .claude-plugin/marketplace.json for local dev testing

Hooks:
- Add PreCompact hook to remind about context preservation
- Update hooks/README.md with new hook

GCal improvements:
- Add scripts/next_event.py for single event lookup
- Update SKILL.md with simplified format and allowed-tools: Read

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:52:04 -08:00
OpenCode Test
01dafbecf0 Update component registry with script paths and expanded triggers
- Bump version to 1.1
- Add script paths for skills (for quick reference)
- Expand trigger phrases for better matching
- Keep consistent formatting throughout

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:40:30 -08:00
OpenCode Test
d4b4a088d3 Enhance hooks with session-start script and documentation
- Add hooks/scripts/session-start.sh that:
  - Checks for unsummarized sessions
  - Checks for pending decisions
  - Outputs context to session
- Update hooks.json to use the script
- Add hooks/README.md documenting hook events and configuration

This provides automatic context loading at session start.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:39:39 -08:00
OpenCode Test
d9be8145f8 Refactor remaining skills with resources pattern and allowed-tools
- k8s-quick-status: Add scripts/quick-status.sh, allowed-tools
- sysadmin-health: Add scripts/health-check.sh, allowed-tools
- usage: Add scripts/usage_report.py, simplify SKILL.md
- programmer-add-project: Add allowed-tools

All skills now:
- Have executable scripts for main operations
- Use allowed-tools to restrict capabilities
- Have improved descriptions with trigger phrases
- Follow the "Skill with Bundled Resources" pattern

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:38:58 -08:00
OpenCode Test
daac279fa4 Streamline CLAUDE.md to reflect plugin structure
- Remove redundant documentation (now in README files)
- Add plugin status section
- Reference agents/README.md and workflows/README.md
- Document skill resources pattern (scripts/ + references/)
- Add hooks documentation
- Clarify that workflows are design docs, not auto-executed
- Add component-registry.json to state files table
- Reduce overall length while maintaining key information

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:35:44 -08:00
OpenCode Test
76f41d2634 Add plugin manifest and documentation for agents/workflows
- Add .claude-plugin/plugin.json for potential plugin distribution
- Add agents/README.md explaining agent file purpose and usage
- Add workflows/README.md clarifying that workflows are design docs,
  not executable automation (Claude Code doesn't natively execute YAML)

This improves documentation and enables potential future portability
as a plugin.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:34:38 -08:00
OpenCode Test
05d1fa41ba Add hooks and refactor skills to use resources pattern
Phase 1 of plugin-structure refactor:

- Add hooks/hooks.json for SessionStart automation
- Refactor gmail skill:
  - Extract inline scripts to scripts/check_unread.py, check_urgent.py, search.py
  - Add references/query-patterns.md for query documentation
  - Simplify SKILL.md to reference scripts instead of inline code
- Add gcal/scripts/agenda.py for direct calendar access
- Make all scripts executable

This follows the "Skill with Bundled Resources" pattern from
developing-claude-code-plugins best practices.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:33:10 -08:00