Document Photon custody and scoped local qualification

Describe enabled managed Cloud handoff, current authorization, exact acknowledgement and retained retry/retirement responsibility. Preserve historical live evidence and state remaining assembled/TLS/proxy/quiet limits.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-11-10 18:33:39 -06:00
1 parent 4f28e48961
commit 5e10987995
2 files changed
+33 -1

No files matched your search

@@ -33,6 +33,23 @@ stopped or altered.
## Deterministic acceptance evidence
The Cloud-handoff follow-up was locally qualified on 2026-11-10 with SDK 2.2.0
and grpc-js 1.14.5 (App source `8633bd57`, Cloud source `696851d3`). Normal current
App and Cloud TypeScript producers passed. Five whole Cloud owner/resource files
passed 45 controls; a separate SDK loopback test proved cleartext HTTP/2 close and
fresh reconnect. Three whole App files passed 41 cases, including the real
Chat 4.39 shutdown path with controlled receiver/close failures and same-owner
registry retry. The new shutdown case first failed because receiver rejection
skipped adapter cleanup, then passed after independent teardown and exact close-
attempt joining. These controlled lifecycle cases do not prove physical sockets.
Those follow-up receipts do not repeat or extend the historical September live
journeys below. The assembled real-SDK encrypted Cloud custody → authorized App
useful response → exact ACK/replay journey, TLS/proxy resource branch, and enabled
quiet/fresh-reactivation measurement remain pending. No deployed Cloud rollout
or complete sleep acceptance is claimed from compilation, pure owner controls,
or the cleartext HTTP/2 test.
`server/src/__tests__/photon/photon.test.ts` exercises Basic Cloud authentication,
token redaction, dedicated/shared/missing allocation, immutable line identity,
Unicode multipart publication, receipt recovery, unknown sends and explicit retry,
+16 -1
View File
@@ -152,6 +152,14 @@ Do not retry by creating another publication or changing its key. Explicit retri
reuse the original key and payload. Similar text is not evidence of delivery. An
ambiguous upload without a recorded receipt also needs operator review.
On a managed instance whose Cloud supports the encrypted Photon receiver,
normal channel configuration can hand intake to Cloud while keeping the channel
enabled. The handoff retains the exact company, endpoint, credential generation,
intake cutoff, and checkpoint. Cloud stores encrypted deliveries and wakes the
App; the App still checks the current sender, destination, task, and permissions
before importing work. It acknowledges only the durably accepted ordered prefix.
An instance without that capability retains its normal local receiver.
One elected receiver holds the endpoint lease. Live streams notify a serial
catch-up reader. The reader advances its checkpoint only after preceding events
are durably admitted or classified, including irrelevant events. It deduplicates
@@ -177,7 +185,14 @@ suppressed during pause do not become work. Outage recovery catches up eligible
missed messages. Disconnect archives the endpoint, stops streams, invalidates
interaction authority, and removes owned secret bindings. It does not delete the
Photon project, number, subscription, or Messages history. Hiding experimental
UI alone does not disconnect existing channels.
UI alone does not disconnect existing channels. A Cloud handoff or retirement
cannot report completion from an expired lease or a missing local runtime alone:
it retains unconfirmed resource-close, delivery, and acknowledgement work.
Shutdown joins the same owned receiver and adapter resources; a failed close
remains retryable on that owner. Normal authorized Retry preserves the original
handoff and publication identities rather than replacing uncertain work with a
new send. An unknown retirement keeps its credential-cleanup responsibility
until normal acceptance and resource closure are confirmed.
## Troubleshooting