fix(scheduler): make shadow scheduling read-only - #7
Merged
Merged
Conversation
Move initialization to explicit control and execution paths. Reject real pulses on observation-only state and preserve absent database paths.
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.
REC-F05 — initialization-free, mutation-free shadow scheduling
Baseline:
d150b7861983b09f0d6e1060b2282c85f6694134(merged PR #6).Acceptance
Verification (Windows, isolated Python 3.12)
python -m unittest tests.test_automation_service_canonical_authority tests.test_automation_service_cli tests.test_automation_service_scheduler_canonical tests.test_pnsctl_scheduler_pulse— 48 passed.python scripts/check.py— 298 passed.python -m compileall -q automation_service safe_action_core scripts tasks tools— passed.git diff --cached --checkandgit diff --check d150b7861983b09f0d6e1060b2282c85f6694134...HEAD— passed.#filename opens exact DB.CI adds the focused tests to both Windows and Ubuntu jobs; hosted results remain the merge gate. Offline green is not native/scheduler/production acceptance. No device, native observation, production-state mutation, registration, enablement, or protected evidence changes. No merge requested.