From 64f9662f25e24e34aaa1dad7aaf9263855ccd3f1 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Sun, 1 Mar 2026 00:36:06 -0600 Subject: [PATCH] docs: add scheduled tasks context and systemd timer inventory Document the new claude-scheduled system in CLAUDE.md keyword table and add a comprehensive systemd user timers section to workstation CONTEXT.md covering both cognitive-memory and claude-scheduled timers. Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 1 + workstation/CONTEXT.md | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index f22b9eb..72cefd1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,6 +29,7 @@ When a topic comes up, load `{tech}/CONTEXT.md` + `{tech}/troubleshooting.md`. F | database, postgres, redis, sql | `databases/` | | backup, restic, snapshot, restore, retention | `backups/` | | workstation, dotfiles, symlink, fish, starship, mangohud, zed | `workstation/` | +| scheduled task, claude-scheduled, headless claude, timer, cowork | `~/.claude/skills/create-scheduled-task/SKILL.md` | **Special loads:** - Pi-hole → also `networking/pihole-ha-setup.md` diff --git a/workstation/CONTEXT.md b/workstation/CONTEXT.md index a9686de..8ac9e47 100644 --- a/workstation/CONTEXT.md +++ b/workstation/CONTEXT.md @@ -49,6 +49,28 @@ Both scripts are idempotent. Cal migrated from zsh to **fish + starship** (Feb 2026). Bash and zsh configs are retained for compatibility but fish is the primary interactive shell. +## Systemd User Timers + +Timers running under `systemctl --user` on the workstation. Not tracked in dotfiles — managed by their respective projects. + +### Cognitive Memory Maintenance +Source: `/mnt/NV2/Development/cognitive-memory/systemd/` + +| Timer | Schedule | Purpose | +|-------|----------|---------| +| `cognitive-memory-embed.timer` | Hourly | Refresh embeddings (skips if unchanged) | +| `cognitive-memory-daily.timer` | Daily midnight | Decay scores + regenerate CORE.md + git sync | +| `cognitive-memory-weekly.timer` | Sun 02:00 | Reflect on recent memories | + +### Claude Scheduled Tasks +Config: `~/.config/claude-scheduled/` | Skill: `~/.claude/skills/create-scheduled-task/SKILL.md` + +| Timer | Schedule | Purpose | +|-------|----------|---------| +| `claude-scheduled@backlog-triage.timer` | Weekdays 09:15 | Triage open Gitea issues, prioritize, suggest focus | + +Uses `claude-scheduled@.service` template unit. Add new tasks by creating a directory under `~/.config/claude-scheduled/tasks/` and a corresponding timer. See the skill for full instructions. + ## Backups Original files are backed up by `install.sh` to `~/.dotfiles-backup//` before being replaced with symlinks. Multiple runs create separate timestamped backup dirs. Old backups can be cleaned up manually.