mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-06 18:39:42 +00:00
21cb2dbf70
**Bound updater journal writes before recovery** Keep a stalled journal writer from holding the installer collector or recovery path indefinitely. Apply the existing five-second command bound with a one-second KILL backstop, preserve both logging sinks and the observed first failure, and keep draining the installer before existing verified restoration. Exercise real TERM and KILL deadlines with owned pipe-holding readers, preserve stdout and exact timeout exits, and connect both timeout statuses through the existing rollback and prior-active matrix. Contract-Neutral: Bound an internal journal write; release selection, installer inputs, service and recovery decisions, backup data and the existing logging-failure verdict are unchanged. **Separate settled update-state proof from late manager reads** A completed inactive reply can arrive after the polling allowance. The source-bound containing test returned uncertainty correctly, but its real-clock classification fixture assumed that every complete reply was timely. Use the existing explicit model clock for the settled classification, require both exact remaining-budget probes, and add a separate real late-inactive control alongside the existing late-active and owned-child deadline checks. Keep every runtime deadline, failure verdict and saved-state assertion intact. Contract-Neutral: Correct updater fixture preconditions and strengthen late-read coverage; production source, runtime budgets, update and recovery authority are unchanged. **Keep the updater transaction fixture clock purely modeled** The final containing run exposed the shared transaction harness advancing Bash's special SECONDS variable by simulated sleeps while real time advanced it too. A completed inactive read could then consume the model budget and produce conservative uncertainty instead of the intended explicit-start path. Unset the special variable before initializing the existing modeled clock. Register a causal control that requires a real sleep not to advance the model and a modeled sleep to advance it exactly, with no manager or installer action. Keep real manager command deadlines and all production source unchanged. Contract-Neutral: Correct a test-only modeled clock and add its required regression control; production timing, logging, update and recovery behavior are unchanged. **Separate updater fixture clocks and retain timeout facts before cleanup** Use a purely modeled clock for every existing shell/Go transaction double, with actual clock controls, without changing production deadlines or conservative recovery. Keep the 15-second Python fixture deadline; retain partial output, saved state and owned-session cleanup observations when it expires instead of discarding the evidence with its temporary directory. The earlier historical timeout remains unexplained, not cleared by later passes. Contract-Neutral: Fixture clocks and failed-test observation/cleanup only; runtime update, journal deadline, signature, service-state, backup and restart contracts are unchanged. **Retain fixture clock and service phases in updater timeout observations** Read the simulated clock progression and exact manager state/phase observations alongside saved files before fixture cleanup, including on the unchanged 15-second command timeout. These synthetic facts do not reconstruct the historical failing fixture or diagnose host contention. Contract-Neutral: Test failure evidence only; no production behavior, deadline or acceptance oracle changes. --- Fleet candidate `20261110T175707Z-delivery-trust` from the `delivery-trust` lane. Reviewed tip `9d4b7aaf5295672105328c15784c4ae6673ee67b` on `main`. [How Pulse handles triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)