Hermes Wiki
Architecture/architecture-scheduler

Architecture Scheduler

Documents the recurring cloud routine that grows Architecture automatically. Like ai-digest-scheduler and the (now disabled) weekend-vocab-scheduler, this is a Claude Code cloud routine (Anthropic-hosted CCR session) created via the /schedule skill — a separate, isolated sandbox with its own git checkout of this repo, not part of the local Hermes nightly cron chain.

Started daily (not weekly) on purpose — the folder had zero content on 2026-07-19, so an aggressive "crash course" pace was chosen deliberately. See system_prompt's "Flavor rotation" section for the planned cadence reassessment around 2026-10-19.


What it does

Once a day, at a fixed 12pm EST clock time (0 17 2-31 * * UTC — see Configuration), the routine:

  1. Reads system_prompt in full for the folder's purpose, the pillar taxonomy, the three flavors, the per-flavor note template, the Principal Engineer Lens rules, and the Reel Script ("Learn and Educate") rules.
  2. Reads writelist for the current_flavor rotation pointer, sources, topics, and pillars.
  3. Writes into whichever flavor is up (Fundamentals/, CaseStudies/, or Challenges/), then advances current_flavor to the next value in the rotation (Fundamentals → CaseStudies → Challenges → repeat).
  4. Dedup check, up front: every candidate source URL gets checked against _sources.md before any research effort is spent on it.
  5. Recency is relaxed compared to a news digest — CaseStudies sourced from blogs get roughly a 90-day window; Fundamentals concepts are timeless and skip the recency check entirely.
  6. No hard cap on notes per run — writes as many quality notes as there's genuine material for (can be zero on a quiet run), same "quality over fixed quota" philosophy as AIDigest.
  7. Updates the relevant subfolder's _index.md (Fundamentals is bucketed by pillar; CaseStudies/Challenges stay flat with pillar tags shown inline) and the top-level Architecture/_index.md.
  8. Appends to _sources.md for any note sourced from an external URL.
  9. Logs the run, every run, unconditionally: prepends a ## [YYYY-MM-DD HH:MM UTC] Architecture Scheduler block to Logs/2026.md with an [ARCH] bullet.
  10. Commits — new notes, updated indexes, writelist.md's rotation pointer, _sources.md (if changed), and Logs/2026.md (always) — together, and pushes directly to master. No PR gate. Commit message: architecture: N new notes (<flavor>, HH:MM UTC) or architecture: log entry, no new content (HH:MM UTC) on a quiet run.

Scope guard: only ever touches files under Architecture/, plus the shared Logs/2026.md entry.


Why this time slot

Full picture of everything drawing on the same Claude usage, as of 2026-07-19:

Time (UTC) EST What Type
05:00 daily* 12:00am Hermes incremental synthesis (*gated to ~every 3 days) Local cron
06:00 Sat 1:00am Weekend Vocab Scraperdisabled 2026-07-19 Cloud routine
06:15 daily 1:15am Hermes nightly (fix + lint) Local cron
11:00 daily 6:00am AI Digest Scraper Cloud routine
17:00, days 2-31 12:00pm Architecture Scheduler Cloud routine
15:00, 1st of month 10:00am Hermes monthly full-sweep synthesis Local cron

12pm EST sits in open space — clear of the overnight cluster (midnight-7am EST) where synthesis, nightly fix/lint, and AIDigest already run back-to-back. The 2-31 day-of-month range deliberately skips the 1st, when the monthly full-sweep synthesis job already runs — avoiding two heavy jobs landing on the same day, even though their exact clock times don't overlap.


Configuration

Field Value
Routine name Architecture Scheduler
Routine ID trig_01CDFuy8NfboDcW1JpsCW87X
Cadence 0 17 2-31 * * — 17:00 UTC = 12:00pm EST / 1:00pm EDT, fixed UTC value like the other routines (not re-adjusted for DST). Fires every day except the 1st of the month.
Model claude-sonnet-5
Repo https://github.com/fullstackfusions/PKM (master branch, direct push)
Environment Anthropic cloud default (env_01S8gzx6qMrwgKjVjq6ygeiD)
Tools Bash, Read, Write, Edit, Glob, Grep, WebSearch, WebFetch
Scope guard Only ever modifies files under Architecture/, plus the shared Logs/2026.md
Manage / view runs https://claude.ai/code/routines/trig_01CDFuy8NfboDcW1JpsCW87X
Hermes Wiki