aboutsummaryrefslogtreecommitdiff
path: root/hooks/_common.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-19 04:56:20 -0500
committerCraig Jennings <c@cjennings.net>2026-07-19 04:56:20 -0500
commitccc9c268a187daebfeab9c18418e9a9629f9acc8 (patch)
tree2f7be73ac1615580dcf246db50bcfe856ddff863 /hooks/_common.py
parenta8b6cf4fba4420d8cc657604473259b5242d8c37 (diff)
downloadrulesets-ccc9c268a187daebfeab9c18418e9a9629f9acc8.tar.gz
rulesets-ccc9c268a187daebfeab9c18418e9a9629f9acc8.zip
feat(sentry): add the sentry overnight-hygiene engine workflow
Phase 2 of the sentry supervisor. sentry.org is the engine: an interval loop (default hourly) that walks a fixed pass list (roam pull, inbox zero, triage, todo cleanup, task audit, working-files hygiene, spec board, link integrity, git health, prep freshness) and commits each writing pass to a throwaway sentry/<date>-<host> branch. Nothing pushes. The morning teardown (review, squash-merge, delete) stays Craig's. The file owns the whole engine: the :COMMIT_AUTONOMY: entry ticket, the interactive entry gates (clean tree, green suite, prior-branch check, ff-only reconcile) that run with Craig present, the single-runner and roam-write locks via agent-lock, the probe-work-session-context-commit pass contract, the digest and morning-approval queue, the skip-not-degrade safety model, the conditional fire-end suite, the multi-day stall notification, and the stop-sentry shutdown. Every one of the spec's ten decisions and twelve review findings is reflected: host-suffixed branch so the two daily drivers don't collide, tmpfs lock homes so a lock never rides roam-sync to the other machine, roam-sync kept as the roam repo's only committer, spine-excluded dirty checks so sentry's own bookkeeping can't trip its safety skip, and the queue-don't-execute rule for every judgment or destructive action. Phase 3 wires the roam writers (inbox.org, knowledge-base.md) to acquire the roam-write lock and adds the wrap-it-up guard. Until then the engine is documented but the companions don't yet cooperate. INDEX.org lists it under Tasks and planning.
Diffstat (limited to 'hooks/_common.py')
0 files changed, 0 insertions, 0 deletions