feat: add durable monitor decisions - #5181
Conversation
GPT 5.6 Review — ✅ no blocking findingsGPT 5.6 completed its review of This comment is updated in place on each push. Review detailsNo findings. False positive or not applicable? A repository writer can comment: |
Design Review (Fable 5) — 🟡 CONCERNSDesign-level review of Design-Verdict: CONCERNS Sound substrate with careful versioning; one decision-policy ordering risk — an unchanged-fingerprint SUCCESS can never terminate the monitor. Watch
Suggestions
[DESIGN-REVIEWED] 0580ec4 |
First Principles Review (Fable 5) — 🟡 CONCERNSPremise-level review of All counts verified. Writing the review now. First-Principles-Verdict: CONCERNS The decision policy and most of the v1 vocabulary ship with zero production consumers; only the store-preservation half must land before a writer exists. What this change shipsIntent: give AutoNudge a restart-safe, version-tolerant typed record for probe-first monitors ahead of the controller that will drive them — an ADDITION (declared PR 2 of an 8-PR stack).
Watch
Subtractions
[FIRST-PRINCIPLES-REVIEWED] 0580ec4 |
Opus 4.8 Review — ✅ no blocking findingsReviewed Verdict parsed from the review's SHA-scoped output markers for commit False positive or not applicable? A repository writer can comment: |
b37f9f7 to
e1a0cc9
Compare
e1a0cc9 to
bea09c9
Compare
bea09c9 to
8d00704
Compare
8d00704 to
123417e
Compare
123417e to
d7dd7f8
Compare
c8ef8f4 to
9d900b2
Compare
9d900b2 to
32fd49a
Compare
32fd49a to
dc52ea6
Compare
dc52ea6 to
dd7be11
Compare
|
Resolved the new conflict with current |
Problem / Motivation
AutoNudge persists scheduling data but has no typed representation of monitored state, decisions, evidence, budgets, or terminal outcomes.
Why it matters
Without a durable decision core, unchanged probes cannot be separated from costly action turns, restarts cannot recover safely, and malformed or future state can accidentally re-arm work.
What changed (motivation → approach → change)
Tests
Manual verification
N/A — deterministic decision and persistence coverage exercises the complete surface introduced by this PR.
Related Issues
N/A — implements the durable-state layer specified in #5180.
Checklist
Contribution License Agreement
N/A — the repository template does not yet supply final CLA wording.