feat: unify daily operating loop under /daily with hardened control-plane receipts - #208
Merged
Merged
Conversation
…ly unification spec
…lane receipts - Delete /daily-brief and consolidate morning ops into /daily (--scan vs default interactive) - Implement daily_receipts.py with canonical JSON serialization and fixed-precision float normalization - Enforce UNIQUE index on gate_name and BEGIN IMMEDIATE transaction isolation for monotonic ordering - Add explicit terminal closure receipt (DAILY_RUN_<run_id>_TERMINAL) committing to required_steps and final_chain_hash - Upgrade verify_daily_run.py with mode-aware auditing, unresolved symlink guard, and process-liveness aware stale janitor - Inject interactive session decisions projection into generate_reports.py - Add comprehensive adversarial unit tests in test_daily_loop_receipts.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/daily(--scanvs default interactive mode)./daily-briefskill to eliminate command ambiguity.daily_receipts.pyfeaturing:BEGIN IMMEDIATEtransaction isolation and aUNIQUE INDEXongate_namepreventing TOCTOU races and duplicate step writes.DAILY_RUN_<run_id>_TERMINAL) preventing prefix truncation attacks.verify_daily_run.pywith mode-aware auditing, an unresolved symlink guard, and a PID liveness-checked stale janitor.## Interactive Session Decisions & Overridesdirectly intogenerate_reports.py.