Skip to content

Routines Catalog

Routines are periodic self-maintenance tasks that agents check at session start. When a routine is overdue, the agent flags it — but execution is always opt-in. The user decides whether to run it now, defer, or skip.

NameDescriptionFrequencyCompatible Agents
backlog-hygieneReview and maintain Playbook/Backlog.md — flag stale items, escalate P0s, cross-reference with Status and Roadmap7 daystech-lead
dependency-auditScan dependencies for known vulnerabilities and unmaintained packages7 daystech-lead
doc-freshness-checkDetect documentation drift — docs that are stale relative to recent code changes7 daystech-lead
infra-drift-checkDetect infrastructure drift — compare declared IaC state against actual cloud resources7 daystech-lead
memory-consolidationBridge Claude Code auto-memory into agent/Core/memory.md — validate facts, clean redundant entries5 daystech-lead
roadmap-accuracyEnsure Playbook/Roadmap.md reflects what’s actually built and what’s actually next14 daystech-lead
status-hygieneKeep Playbook/Status.md clean — archive old Done items, validate Pending items5 daystech-lead
vulnerability-scanSAST scan, secrets scan, and dependency audit — flag new, resolved, and persistent vulnerabilities7 daystech-lead

Reviews Playbook/Backlog.md for stale items that have been sitting too long, escalates any P0 items that need immediate attention, and cross-references against Status.md and Roadmap.md to ensure consistency. Runs every 7 days.

Scans the project’s dependency files (go.mod, package.json, etc.) for known vulnerabilities using available audit tools and flags unmaintained packages. Runs every 7 days.

Compares documentation files against recent code changes to detect drift. Flags docs that reference files, functions, or structures that have changed since the doc was last updated. Runs every 7 days.

Compares declared infrastructure-as-code state (Terraform plans, Kubernetes manifests) against actual cloud resources to detect configuration drift. Runs every 7 days.

Reviews Claude Code’s auto-memory entries and validates them against the codebase. Migrates accurate facts into the agent’s version-controlled agent/Core/memory.md, cleans redundant entries, and archives outdated information. Runs every 5 days.

Checks Playbook/Roadmap.md against the current state of the codebase and completed work. Ensures the roadmap reflects what has actually been built and what is genuinely planned next. Runs every 14 days.

Cleans up Playbook/Status.md by archiving old “Done” items, validating that “Pending” and “In Progress” items are still accurate, and removing stale entries. Runs every 5 days.

Performs a comprehensive security scan: static analysis (SAST), secrets detection, and dependency vulnerability audit. Flags new vulnerabilities, tracks resolved ones, and monitors persistent issues. Runs every 7 days.

  1. Session start — The routine-check sensor parses the routine dashboard (agent/Core/routines.md), compares last_ran dates against each routine’s frequency, and flags any that are overdue.
  2. User decides — The agent presents overdue routines. The user chooses to run now, defer, or skip.
  3. Execution — The agent reads the routine’s definition file in agent/Routines/ and follows the procedure step by step.
  4. Log — Results are appended to Logs/RoutineLog.md with the date, routine name, outcome, and notes.
  5. Update — The last_ran date in the dashboard is set to today.
Agent TypeDefault Routines
Tech Lead(none by default — all 8 are compatible and selectable)
DevOpsdependency-audit, infra-drift-check
Securityvulnerability-scan, dependency-audit
Backend(none)
Frontend(none)
Full-Stack(none)