escrow: record the R21c case for absent trio files (#511)
Drill 1 review round 1, ruling R21c. The platform writes neither <host>/instance.key nor <host>/report.token: ensureInstanceKey mints CARLOS_INSTANCE_KEY into <host>.env, escrowed as env.sealed (or rendered from the configuration), the same source on every copy; no code in the tree writes either trio file, which exist only when the app writes them. That is R21c's exception, so the absence markers stay, and the comment records the case. Late creation by the app is in the report.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+5
−1
internal/activator/escrow.go+5 −1
diff --git a/internal/activator/escrow.go b/internal/activator/escrow.go| index 8ae4dba01..cfc7b0542 100644 |
| --- a/internal/activator/escrow.go |
| +++ b/internal/activator/escrow.go |
| @@ -720,7 +720,11 @@ type escrowRead struct { |
| // escrowAbsentItem is the platform item that records, for a stateless |
| // host, that r's file was absent when its coordinator published (#511 |
| -// drill 1, R21b): its plaintext is escrowAbsentBody, never a secret. An |
| +// drill 1, R21b): its plaintext is {"v":1}, never a secret. The platform |
| +// writes neither trio file: its instance key is CARLOS_INSTANCE_KEY in |
| +// <host>.env (ensureInstanceKey), escrowed in env.sealed or rendered from |
| +// the configuration, one source for every copy (R21c's recorded case). |
| +// instance.key and report.token exist only when the app writes them. An |
| // escrow is complete for a joining copy when every trio item is either |
| // published or recorded absent (escrowComplete). A published item wins |
| // over its marker, and the coordinator removes the marker when it |