Cron reconciler rejects jobs whose empty toolset list reads back as [] #25
Labels
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bryan/dotfiles#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
python3 hermes/install.py --adopt-identicalfails cron reconciliation before reaching later manifest jobs:Cause
hermes/reconcile_cron.pybuilds its readback expectation withdefinition["enabledToolsets"] or Noneand the comment "Hermes normalizes an explicitly empty toolset list to null." The installed Hermes (v0.22.2,cron/jobs.py::_normalize_enabled_toolsets, upstream #82010) now persists an explicit[]as[]("nothing allowed"), because normalizing it to null would read back as "no restriction". The job is created correctly; only the reconciler's expectation is stale.Affected manifest jobs with
enabledToolsets: []: Watch Hermes status fix for nightly updates, Monitor Studio services, Hermes context threshold watchdog. Reconciliation stops at the first one, so later jobs are not synchronized.Workaround in use
2026-10-21: the new job "Watch for official Pi Durable Claude provider" (dotfiles
69128fd) was created by runningreconcile_cron.pyagainst a one-job temporary manifest; the reconciler reported it synchronized (jobea7086e8fbe4).Acceptance criteria
enabledToolsetsexactly ([]stays[]), with the stale comment corrected.test_reconcile_croncase covers an empty toolset list reading back as[].install.py --adopt-identicalcompletes on Studio with every manifest job synchronized.