diff --git a/CORE.md b/CORE.md index 1fa72a37ba2..ba2dd658495 100644 --- a/CORE.md +++ b/CORE.md @@ -1,5 +1,5 @@ # Memory Core (auto-generated) -> Last updated: 2026-02-15 | Active memories: 71/338 | Next refresh: daily (systemd timer) +> Last updated: 2026-02-16 | Active memories: 76/347 | Next refresh: daily (systemd timer) ## Critical Solutions @@ -16,6 +16,7 @@ ## Active Decisions +- [Git remote naming: origin=Gitea, github=GitHub](graph/decisions/git-remote-naming-origingitea-githubgithub-58ecb6.md) - Standardized git remote naming across all 19 repos: Gitea (git.manticorum.com... (git, infrastructure, convention) - [Wave-based agent delegation avoids file contention](graph/decisions/wave-based-agent-delegation-avoids-file-contention-23bb23.md) - When delegating multiple tasks to agents that all modify the same file, run t... (cognitive-memory, agent-delegation, pattern) - [Agent delegation requires careful review of edge cases](graph/decisions/agent-delegation-requires-careful-review-of-edge-cases-a3f466.md) - When delegating implementation tasks to engineer agents, they reliably handle... (cognitive-memory, agent-delegation, code-review) - [Production deployment checklist for Paper Dynasty bot](graph/decisions/production-deployment-checklist-for-paper-dynasty-bot-638ac8.md) - CRITICAL: Always verify bot startup in production logs after deployment. (paper-dynasty, discord-bot, deployment) @@ -25,24 +26,24 @@ - [Mantimon TCG: RNG and Card Registry Design](graph/decisions/mantimon-tcg-rng-and-card-registry-design-42c14a.md) - RNG Handling: Use RandomProvider protocol with two implementations - SeededRa... (mantimon-tcg, architecture, decision) - [Phase 4 Game Service + WebSocket Plan](graph/decisions/phase-4-game-service-websocket-plan-da0789.md) - Created detailed 18-task project plan for Phase 4: WebSocket server with pyth... (mantimon-tcg, python, websocket) - [Card builder architecture redesign](graph/decisions/card-builder-architecture-redesign-396868.md) - Designed new architecture for Paper Dynasty card generation that moves fittin... (paper-dynasty, architecture, card-generation) -- [Phase 3 Collections+Decks plan created](graph/decisions/phase-3-collectionsdecks-plan-created-dedfc3.md) - Created comprehensive PHASE_3_COLLECTION_DECKS.json with 14 tasks (29 hrs): C... (mantimon-tcg, python, planning) ## Key Fixes +- [[major-domo] $(cat <<](graph/fixes/major-domo-cat-c1e9d0.md) - Commits made: 2 (major-domo, commit, creation) +- [[paper-dynasty] Session: automation, configuration, debugging, deployment, tooling](graph/fixes/paper-dynasty-session-automation-configuration-debugging-dep-38fb45.md) - Files edited (1): (paper-dynasty, automation, configuration) +- [[major-domo] $(cat <<](graph/fixes/major-domo-cat-ca0a89.md) - Commits made: 1 (major-domo, commit, configuration) +- [[homelab] Session: automation, configuration, creation, deployment, fix, refactoring, tooling](graph/fixes/homelab-session-automation-configuration-creation-deployment-875fe9.md) - Files edited (2): (homelab, automation, configuration) - [Successfully fixed Paper Dynasty API 502 errors via manual Pi-hole DNS cleanup](graph/fixes/successfully-fixed-paper-dynasty-api-502-errors-via-manual-p-01944b.md) - Paper Dynasty API (pd.manticorum.com) was returning 502 Bad Gateway errors (paper-dynasty, pihole, v6) +- [[homelab] $(cat <<](graph/fixes/homelab-cat-aff45f.md) - Commits made: 1 (homelab, commit, configuration) +- [[homelab] $(cat <<](graph/fixes/homelab-cat-50d667.md) - Commits made: 2 (homelab, automation, commit) - [Fixed thaw report channel lookup](graph/fixes/fixed-thaw-report-channel-lookup-4af660.md) - The _post_thaw_report() method in tasks/transaction_freeze.py was searching f... (major-domo, discord-bot, transaction-freeze) - [PostgreSQL migration: DateTimeField defaults must be datetime objects](graph/fixes/postgresql-migration-datetimefield-defaults-must-be-datetime-03a346.md) - Paperdex and GauntletRun models had DateTimeField(default=int(datetime.timest... (paper-dynasty, postgresql, migration) - [PostgreSQL migration: get_team_by_owner returns wrong team](graph/fixes/postgresql-migration-get-team-by-owner-returns-wrong-team-c9f0d6.md) - After PostgreSQL migration, get_team_by_owner() in discord-app returned the g... (paper-dynasty, postgresql, migration) -- [Missing logger import causes NameError in Python modules](graph/fixes/missing-logger-import-causes-nameerror-in-python-modules-7b6d18.md) - Common bug when adding logging to existing Python code: calling logger.info()... (python, logging, bug) -- [Added default ORDER BY id to BattingCardRatings.select() in list endpoints](graph/fixes/added-default-order-by-id-to-battingcardratingsselect-in-lis-6423a9.md) - Updated battingcardratings.py to add .order_by(BattingCardRatings.id) to thre... (paper-dynasty, python, postgresql) -- [Add default ORDER BY id to GameRewards.select() list endpoint](graph/fixes/add-default-order-by-id-to-gamerewardsselect-list-endpoint-5ad98d.md) - Modified gamerewards.py GET list endpoint to use GameRewards.select().order_b... (paper-dynasty, python, postgres-migration) -- [Add default ORDER BY id to PackType list endpoint](graph/fixes/add-default-order-by-id-to-packtype-list-endpoint-1679f2.md) - Modified GET /api/v2/packtypes endpoint to include default ordering: PackType... (paper-dynasty, postgresql, migration) -- [Added default ORDER BY id to notifications list endpoint](graph/fixes/added-default-order-by-id-to-notifications-list-endpoint-ad7d61.md) - Modified GET /api/v2/notifs endpoint in app/routers_v2/notifications.py to ad... (paper-dynasty, postgresql, migration) -- [Added default ORDER BY id to MlbPlayer.select() endpoint](graph/fixes/added-default-order-by-id-to-mlbplayerselect-endpoint-0670d2.md) - Added .order_by(MlbPlayer.id) to the GET /mlbplayers list endpoint (line 85 i... (paper-dynasty, postgresql, migration) ## Configurations - [Cognitive Memory automated maintenance with systemd timers](graph/configurations/cognitive-memory-automated-maintenance-with-systemd-timers-d0313c.md) - Set up systemd user timers for automatic cognitive memory maintenance: (cognitive-memory, systemd, automation) +- [[homelab] Session: automation, configuration, deployment, tooling](graph/configurations/homelab-session-automation-configuration-deployment-tooling-c3d965.md) - Files edited (2): (homelab, automation, configuration) - [Jarvis Discord Bot Production Deployment](graph/configurations/jarvis-discord-bot-production-deployment-4edbf5.md) - The ai-assistant Discord bot (Jarvis) runs on ssh ai-pm at /opt/projects/clau... (ai-assistant, discord, deployment) - [Gitea CLI: use tea not gh for API access](graph/configurations/gitea-cli-use-tea-not-gh-for-api-access-158f8e.md) - The gh CLI does not work with Gitea — it's hardcoded for GitHub API v3 at /ap... (gitea, tea, cli) - [Discord bot systemd service with environment variables](graph/configurations/discord-bot-systemd-service-with-environment-variables-d0e2e9.md) - Systemd service setup for Claude Discord Coordinator bot running as non-root... (discord-bot, systemd, deployment) @@ -51,4 +52,15 @@ - [major-domo-v2 main branch is protected on Gitea](graph/configurations/major-domo-v2-main-branch-is-protected-on-gitea-bfee3e.md) - The main branch on cal/major-domo-v2 (Gitea) is protected. (major-domo, gitea, config) - [Uptime Kuma deployed on LXC 227](graph/configurations/uptime-kuma-deployed-on-lxc-227-35400a.md) - Uptime Kuma service monitoring deployed on Proxmox LXC 227 (10.10.0.227). (uptime-kuma, monitoring, homelab) - [PostToolUse hook: auto-format Python with uvx black](graph/configurations/posttooluse-hook-auto-format-python-with-uvx-black-5ffd91.md) - Set up a PostToolUse hook in ~/.claude/settings.json that auto-formats Python... (claude-code, hooks, python) -- [OpenCode agent model configuration](graph/configurations/opencode-agent-model-configuration-33fa68.md) - Configured default models for OpenCode agents in ~/.config/opencode/opencode.... (opencode, configuration, models) + +## Patterns & Workflows + +- [[paper-dynasty] $(cat <<](graph/code-patterns/paper-dynasty-cat-0ffb5f.md) - Commits made: 1 (paper-dynasty, commit, deployment) +- [CLAUDE.md optimization across all projects](graph/workflows/claudemd-optimization-across-all-projects-767bc5.md) - Performed bulk CLAUDE.md optimization across 10 projects (8 files rewritten). (claude-code, claude-md, optimization) +- [Documented live series and PotM workflows for Paper Dynasty](graph/workflows/documented-live-series-and-potm-workflows-for-paper-dynasty-6980aa.md) - Created live-series-update.md covering FanGraphs data sourcing and PotM variant. (paper-dynasty, workflows, documentation) +- [CLAUDE.md audit and optimization workflow](graph/workflows/claudemd-audit-and-optimization-workflow-2bab84.md) - When CLAUDE.md files get bloated, audit by category: (1) Historical changelog... (claude-code, optimization, workflow) +- [CRITICAL: Git commit requires explicit user approval](graph/workflows/critical-git-commit-requires-explicit-user-approval-c253c9.md) - Before ANY git commit/add/push/deploy command, STOP and verify: (paper-dynasty, major-domo, git) +- [Global slash commands are .md files in ~/.claude/commands/](graph/code-patterns/global-slash-commands-are-md-files-in-claudecommands-e9e6a1.md) - Claude Code global slash commands live in ~/.claude/commands/.md. (claude-code, pattern, slash-commands) +- [Optional locking parameter pattern for read vs write commands](graph/code-patterns/optional-locking-parameter-pattern-for-read-vs-write-command-88bbf5.md) - In Paper Dynasty, added lock_play parameter (default=True) to checks_log_inte... (paper-dynasty, python, discord-bot) +- [Paper Dynasty: 2005 Live Series card update workflow (mid-season)](graph/workflows/paper-dynasty-2005-live-series-card-update-workflow-mid-seas-2937a9.md) - Task**: Update 2005 Live cardset through end of July (mid-season update) (paper-dynasty, cardset, 2005) +- [Deploy Major Domo with feature branch workflow and Docker BuildKit workaround](graph/workflows/deploy-major-domo-with-feature-branch-workflow-and-docker-bu-a88203.md) - Workflow**: Successfully deployed dem_week feature to production using featur... (major-domo, deployment, workflow)