mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 17:21:13 +01:00
**Retain token authority throughout protected progress reads** Guard replayed, queued and live SSE bytes at the writer for update progress, Patrol and deployment reads. Revalidate admitted credential, principal, selected organisation and the route's existing scope, retaining instance authority only where the route requires it. Close silent withdrawn readers within 15 seconds and join guarded writes before returning; do not cancel background jobs or change session/proxy admission. Exercise the actual router and synthetic producers, durable deletion, independent readers and preserved job state. Contract-Neutral: Enforce existing read admission and confidentiality boundaries throughout SSE lifetimes; no new route, payload, scope, role, job policy or session/proxy contract. **Sharpen withdrawn-stream assertions and writer cleanup proof** Expect existing invalid runtime-role authentication to refuse with 401, not a scope-level 403. Detect a disclosed canary immediately rather than waiting for stream timeout, and prove closure joins an in-flight broadcaster write and rejects subsequent queued writes. Runtime and admission policy are unchanged. **Seed an active synthetic phase before Patrol replay checks** The initial read matrix timed out waiting for a snapshot because its synthetic Patrol stream was idle; idle subscriptions correctly send no snapshot. Seed an analysing phase without starting Patrol, and retain the failed first run as failed fixture evidence. Keep the production repair unchanged and make the active-write closure assertion wait for its concurrent closer. **Join session progress writes before returning the HTTP reader** The full-router race matrix exposed the existing update broadcaster flushing after a session handler returned. Apply writer lifetime closure to every admitted identity, while retaining token-only authority refresh and leaving session/proxy admission and periodic-authentication behaviour unchanged. Add a deterministic no-token late-write regression; retain the failed race run rather than changing its assertions or shutdown timing. Contract-Neutral: Enforce existing HTTP writer ownership and read admission; no route, wire, scope, role, job policy or session/proxy authentication change. --- Fleet candidate `20261101T004941Z-core-runtime` from the `core-runtime` lane. Reviewed tip `66349b52d6116935f5e24f6d7e23de6b7b677b21` on `main`. [How Pulse handles triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)