Persist exact transport replay
This commit is contained in:
parent
07de82597d
commit
9da6070faa
3 changed files with 266 additions and 78 deletions
23
README.md
23
README.md
|
|
@ -17,11 +17,16 @@ service core, the private Codex-auth/provider backend, and one public daemon
|
|||
entrypoint. The daemon reads one typed CultCache configuration document, binds
|
||||
only loopback, uses CultNet's four-byte big-endian direct-pipe framing around
|
||||
the encrypted MessagePack envelope, bounds connection threads and frame sizes,
|
||||
and keeps provider execution outside the service-state lock. The core admits
|
||||
distinct caller keys and policies,
|
||||
returns an exact cached response for byte-identical retries, refuses conflicting
|
||||
or concurrent reuse of one caller/request identity, and leaves provider
|
||||
execution outside its lock. The backend verifies the exact child binary and
|
||||
and keeps provider execution outside the service-state lock. One keyed
|
||||
CultCache replay record is sealed active before provider I/O and replaced by
|
||||
the exact encrypted response before socket reply. Completed retries survive
|
||||
restart byte-for-byte; a restart-era active claim refuses as indeterminate
|
||||
rather than executing twice. Replay identity is never expired implicitly.
|
||||
Connection-key rotation is detected through an explicit non-secret epoch and
|
||||
refuses startup until the caller identity or replay authority is deliberately
|
||||
retired. The core
|
||||
admits distinct caller keys and policies and refuses conflicting or concurrent
|
||||
reuse of one caller/request identity. The backend verifies the exact child binary and
|
||||
reported Codex home, limits child RPC to authentication, reads API-key or
|
||||
ChatGPT credentials without publishing their identity, retries one ChatGPT 401
|
||||
only after the official writer advances the credential store, and lowers raw
|
||||
|
|
@ -31,10 +36,10 @@ No upstream Codex crate is linked into the package. The official binary is a
|
|||
pinned deployment input, keeping Codex's application build graph outside both
|
||||
consumers and this small daemon.
|
||||
|
||||
This is not yet a deployable replacement for the live connector. Persistent
|
||||
replay recovery, redacted CultMesh/Odin publication, shared consumer client
|
||||
cuts, and the independent Idunn target remain open. The old daemon remains the
|
||||
sole live credential writer until those proofs land.
|
||||
This is not yet a deployable replacement for the live connector. Redacted
|
||||
CultMesh/Odin publication, shared consumer client cuts, and the independent
|
||||
Idunn target remain open. The old daemon remains the sole live credential
|
||||
writer until those proofs land.
|
||||
|
||||
## Contract invariant
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue