Commit Graph

30 Commits

Author SHA1 Message Date
Cal Corum
42d180ec82 Update SSH instructions to use aliases, fix tea --repo flag, sync plugins/mcp
- CLAUDE.md: SSH section now mandates aliases from ~/.ssh/config instead of manual commands
- CLAUDE.md: Gitea tea CLI always passes --repo owner/name to avoid detection failures
- MCP manager skill updates
- Plugin blocklist and marketplace updates
- Settings and MCP config sync

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 22:12:49 -06:00
Cal Corum
92545d40de Refine /save-memories: silent output, trivial-work gate, sonnet model
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:22:30 -06:00
Cal Corum
43241ea612 Add /save-memories command and memory-saver background agent
- commands/save-memories.md: slash command that analyzes session context,
  finds cutoff point from last memory save, gates on value, and spawns
  memory-saver agent in background with structured summary
- agents/memory-saver.md: sonnet-based agent that stores cognitive memories
  from structured summaries via MCP tools or CLI fallback

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:14:08 -06:00
Cal Corum
f0f075461e Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs
- Move session_memory.py, ensure-symlinks.sh into skills/cognitive-memory/scripts/
- Copy systemd units into skills/cognitive-memory/systemd/ with README
- Move PROJECT_PLAN.json, migrate.py into skills/cognitive-memory/dev/
- Add mtime-based embeddings cache to client.py (6x faster semantic recall)
- Default recall to semantic+keyword merge (was keyword-only)
- Update settings.json SessionEnd hook path, MCP allow entry
- Update SKILL.md, feature.json, mcp_server.py docs for new defaults

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:02:20 -06:00
Cal Corum
09429eec3a Auto-log episode entries on MCP memory_store (default true)
MCP store was missing the --episode behavior that the CLI had,
so episodes stopped being logged when sessions switched to using
MCP tools. Now defaults to true with opt-out via episode=false.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:11:40 -06:00
Cal Corum
aed98a3cc8 Rebalance semantic/keyword merge weights to 60/40
Normalize both signals to 0-1 range so semantic similarity scores
aren't drowned out by keyword position scores. Jellyfin DB recovery
now ranks #1 for "media server database broken sqlite error" instead
of being buried behind keyword noise matches on "error".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 15:07:43 -06:00
Cal Corum
4770c15429 Add --if-changed flag to embed, configurable Ollama model, hourly timer
- embed --if-changed compares memory ID sets to skip when unchanged
- --ollama-model config flag to switch models without code changes
- _ollama_embed now accepts model param, respects config throughout
- Switched default to qwen3-embedding:8b (70+ MTEB vs nomic's ~52)
- Hourly systemd timer for embedding, daily timer no longer embeds
- Fixed PATH for uv in both systemd services

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:54:21 -06:00
Cal Corum
a2d18ef0c2 Cognitive Memory v3.0: rich edges, hybrid embeddings, MCP server
Add first-class edge files in graph/edges/ with bidirectional frontmatter
refs, hybrid Ollama/OpenAI embedding providers with fallback chain, and
native MCP server (18 tools) for direct Claude Code integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:11:18 -06:00
Cal Corum
2e9bcdc0dc Rotate config backups and update plugin lists
- Rotate .claude.json backup files (remove old, add new)
- Update plugins blocklist.json and known_marketplaces.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:48:04 -06:00
Cal Corum
b3e11f146e Update cognitive-memory skill docs and sync plugin/settings changes
- Add CLI entrypoint callout to cognitive-memory SKILL.md
- Update plugin configs (blocklist, install counts, marketplaces)
- Update settings.json
- Rotate config backups

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 07:24:14 -06:00
Cal Corum
3debec3640 Add orchestrator swarm system and update plugins
New: Agent swarm orchestration skill + 3 worker agent definitions
- skills/orchestrator/ - decomposes tasks, delegates to parallel coders, reviews, validates
- agents/swarm-coder.md - implementation agent (sonnet, bypassPermissions)
- agents/swarm-reviewer.md - read-only code reviewer (sonnet, disallowedTools: Edit, Write)
- agents/swarm-validator.md - read-only spec validator (sonnet, disallowedTools: Edit, Write)

Also: plugin marketplace updates, settings changes, blocklist

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 16:58:38 -06:00
Cal Corum
9887011f6d Add playwright-cli skill, update cognitive-memory, sync plugins
- Install playwright-cli skill from microsoft/playwright-cli repo
- Remove relate/related/relationship references from cognitive-memory SKILL.md
- Update installed plugins and marketplace config
- Update settings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 13:58:46 -06:00
Cal Corum
17b0e37ad1 Sync: new commit commands, cognitive-memory uv fix, major-domo CLI split, statusline plugin
- Add commit.md and commit-push-pr.md commands
- Update cognitive-memory SKILL.md to use claude-memory wrapper
- Split major-domo CLI into cli.py + cli_admin.py
- Add claude-statusline scripts and plugins dir
- Remove deprecated claude-pulse script
- Update settings.json and claude-researcher agent

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:14:44 -06:00
Cal Corum
b37bc3ed2a Route live series card generation to dedicated agent
Updated Paper Dynasty skill to reference the new live-series-card-update
agent instead of inline CLI commands for live series workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 14:12:53 -06:00
Cal Corum
a8add71965 Route retrosheet card generation to dedicated agent
Updated Paper Dynasty skill to reference the new retrosheet-card-update
agent instead of inline CLI commands for card generation workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 13:59:02 -06:00
Cal Corum
6201b4c9af Major Domo CLI: modular refactor + 6 new command modules
Refactored monolithic cli.py into modular architecture:
- cli_common.py: shared state, console, output helpers
- cli_transactions.py: list + simulate (compliance checker)
- cli_injuries.py: injury listing with team/active filters
- cli_stats.py: batting/pitching leaderboards
- cli_results.py: game results
- cli_schedule.py: game schedules

Also: team get now shows salary_cap, SKILL.md fully updated
with CLI docs, flag ordering warning, and compliance workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 11:24:18 -06:00
Cal Corum
a4ae9774ad Update memory protocol docs for CORE.md auto-load via symlinks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 10:50:30 -06:00
Cal Corum
8e3cdf830f Fix heredoc commit message extraction in session memory hook
The regex used mismatched quote types, causing $(cat << to leak
into memory titles. Now tries heredoc format first with proper
EOF terminator matching, falls back to same-type quoted strings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 10:30:40 -06:00
Cal Corum
1e9b52186b Update remote refs and card generation workflow
- Remove homelab special-case from commit-push command (all repos now use origin)
- Update sync-config to use origin remote instead of homelab
- Enhance card generation with season-pct params, CLI reference, and validation fixes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:11:19 -06:00
Cal Corum
2b6805a250 Add global __pycache__/ to gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 17:52:10 -06:00
Cal Corum
a7b5c25766 Add SSH key instructions and commit-push command
- CLAUDE.md: Add SSH section with homelab/cloud key conventions
- Add commit-push command skill
- Update session memory script

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 17:51:46 -06:00
Cal Corum
efebbc7a95 Add PostToolUse hook for auto-formatting Python with uvx black
- New hooks/format-code.sh: reads file path from stdin JSON, dispatches
  by extension (*.py → uvx black, *.js/ts → prettier)
- Updated settings.json: PostToolUse hook on Edit/Write/MultiEdit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 21:49:54 -06:00
Cal Corum
197848749d Add live series workflow and PotM documentation for Paper Dynasty
- New: live-series-update.md workflow (FanGraphs data sourcing, PotM variant)
- Updated: card-generation.md with retrosheet PotM variant section
- Updated: SKILL.md with live series workflow references and load table
- Updated: CLAUDE.md, claude-pulse submodule

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 20:24:30 -06:00
Cal Corum
08b74ec6d6 Fix decay baseline so new memories start Active instead of Fading
Changed zero-access usage_factor from 0.5 to 1.0 in calculate_decay_score().
Previously, a freshly stored solution (importance=0.7, weight=1.2) scored
0.42 (Fading); now scores 0.84 (Active) as intended.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 19:20:07 -06:00
Cal Corum
807c6978e5 Archive legacy memorygraph skill
- Move skills/memorygraph/ to skills/_archive/memorygraph/
- Saves ~67 tokens per session from skill loading

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 08:13:11 -06:00
Cal Corum
0179143fef Optimize CLAUDE.md and add session-memory scripts
- Slim CLAUDE.md from 161 to 32 lines (80% reduction)
- Move detailed Memory Protocol docs to skill reference
- Add scripts/session-memory/ tooling
- Update settings.json and claude-pulse

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 08:09:06 -06:00
Cal Corum
b2b024f0e3 Replace gitea-create-pr.sh script with tea CLI
Removed custom PR creation script in favor of native tea CLI tool.

Before: /home/cal/.claude/scripts/gitea-create-pr.sh cal/repo branch main "Title"
After: tea pulls create --repo cal/repo --head branch --base main --title "Title"

Benefits:
- No custom script maintenance
- Native Gitea CLI with better error handling
- Support for labels, assignees, milestones
- Consistent with other Gitea operations

Updated CLAUDE.md with tea pulls create examples.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-13 15:20:56 -06:00
Cal Corum
b74e3ebde2 Update CLAUDE.md: mandatory post-commit memories + claude-memory alias
- Strengthen git commit memory trigger to MANDATORY
- Replace all python ~/.claude/skills/cognitive-memory/client.py refs with claude-memory wrapper
- Clean up CLI usage examples, remove CM variable boilerplate

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:46:07 -06:00
Cal Corum
047ec745eb Add new skills, commands, scripts; update Paper Dynasty workflows
New:
- backlog, cognitive-memory, optimise-claude skills
- commands/ and scripts/ directories
- usage-data tracking

Updated:
- Paper Dynasty: consolidated workflows, updated API client and CLI
- .gitignore, CLAUDE.md, settings.json

Removed:
- Deprecated Paper Dynasty workflows (card-refresh, database-sync,
  discord-app-troubleshooting, gauntlet-cleanup, custom-player-db)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:10:21 -06:00
Cal Corum
8a1d15911f Initial commit: Claude Code configuration backup
Version control Claude Code configuration including:
- Global instructions (CLAUDE.md)
- User settings (settings.json)
- Custom agents (architect, designer, engineer, etc.)
- Custom skills (create-skill templates and workflows)

Excludes session data, secrets, cache, and temporary files per .gitignore.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 16:34:21 -06:00