tickets
All repositories: gitoria
2.3 KB
# S51 — revised direct HyperConductor chat push buildStatus: revision in progress under the binding CHANGE 2026-11-01. The previous waker design is superseded. Nothing deployed, pushed, written to tickets or sent to other chats.Worktree `/media/STORAGE/claude-scratch/tickets/S51/wt`, branch `s51-subscriptions`, base `c5d28fb`; earlier checkpoint `ff2e870`. Commit `d662ad2` removes all tracked tools/waker files; generated local leftovers have also been removed.Implemented revision: subscription creation accepts pushUrl and secret; exact allowlisted base + /api/push/[0-9-]+ validation; direct signed {source:"tickets",delivery,text} with X-Push-Delivery and X-Push-Signature-256; no redirect, 10-second timeout, 409 treated as delivered, 429 uses scheduled retry. Delta, rights, pending episodes and standby ownership remain as before. Explicit API field whitelists exclude secret/ciphertext/internal signing body, including creation responses.Secret storage: AES-128-GCM from the documented crypto plugin, fresh random 12-byte nonce, URL-bound authenticated data; key derived with HKDF-SHA256 from private TICKETS_PUSH_KEY (at least 32 characters). Missing key refuses push-enabled creation, while delta-only subscriptions work. The key must persist and be backed up separately. README documents setup and loss/rotation behavior. No plaintext fallback.Tests: fake HC now implements /api/push/:chat, constant-time HMAC checking, delivery header/body agreement, 202/409 and per-chat 10-second 429 rate behavior. Extended integration suite is running; all legacy gates will be rerun. Previous checkpoint passed subscriptions 37/0, browser 453/0, events 53/0, security 309/0, connect 60/0, theme 60 files/0 problems; these are historical results until revision gates finish.DOCS: prior full brief/rules/primer/code-order and stream/connections/fetch/time/crypto reads remain applicable; re-read the complete amended mission and crypto README for AES-GCM's 16-byte key, 12-byte nonce and Bytes calls. No application JavaScript workaround or external service remains.Processes: current integration fixture logs started/stopped server PIDs in .scratch/direct-subscriptions.log. All new ports remain 8740–8759 and were checked with ss. Budget/cost counter is not exposed; preserving small commits and current report. STOP remains before deployment; live proof waits for Hermes' endpoint.
Branches
Latest commits
- a1ac5cd0Push subscription notices directly to signed HyperConductor chat endpointsmre
- d662ad27Remove superseded waker service for direct chat push protocolmre
- ff2e8701Finalize subscription build verification and handoff reportmre
- 54bc5fe1Harden delta relevance, overflow caps and retry verificationmre
- 8d8e2053Document subscription contract and exercise delta deliverymre
- fd23726aAdd subscription delta API and signed wake bridgemre
- c5d28fb5Tickets conductor: S51 startedmre
- fd6ca1e6Tickets conductor: brief 027 waker design, push-test projectmre
- e448e656Tickets conductor: STATUS #51mre
- 1c10857bTickets conductor: P51 eval, brief 027mre
- e725969dTickets conductor: #51 directionmre
- 1b5c63ddTickets conductor: P51 startedmre
- 9f13fbdaTickets conductor: brief 026 prioritymre
- acc477d9Tickets conductor: brief 026 + Vinzenz recommendationsmre
- 9233a734Tickets conductor: brief 026 completemre
- 5da589fdTickets conductor: brief 026 + Gitoria's answermre
- a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
- 6f6e5797Tickets conductor: STATUS wordingmre
- 957de51fTickets conductor: T36 live, #36 review, #50 donemre
- bc2fde32Merge branch 'main' into t36-stylemre