fix: restore Codex delivery and scoped native app access - #4983
Draft
Greg-Moskalenko wants to merge 5 commits into
Draft
fix: restore Codex delivery and scoped native app access#4983Greg-Moskalenko wants to merge 5 commits into
Greg-Moskalenko wants to merge 5 commits into
Conversation
Honor the adapter network capability at startup and broker exact signed events through the harness when the sandboxed CLI cannot reach the relay. Preserve direct delivery as the primary path and verify relay acceptance plus exact readback for both paths. Co-authored-by: Greg Moskalenko <greg1mosk@gmail.com> Signed-off-by: Greg Moskalenko <greg1mosk@gmail.com>
Co-authored-by: Greg Moskalenko <greg1mosk@gmail.com> Signed-off-by: Greg Moskalenko <greg1mosk@gmail.com>
Co-authored-by: Greg Moskalenko <greg1mosk@gmail.com> Signed-off-by: Greg Moskalenko <greg1mosk@gmail.com>
Add an exact recipient policy for new conversational posts across direct CLI and delivery-broker paths. Preserve ordinary unmentioned replies only after signed same-channel parent verification, while leaving edits and diffs unaffected. Co-authored-by: Greg Moskalenko <greg1mosk@gmail.com> Signed-off-by: Greg Moskalenko <greg1mosk@gmail.com>
Co-authored-by: Greg Moskalenko <greg1mosk@gmail.com> Signed-off-by: Greg Moskalenko <greg1mosk@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Kamaljinder's Luna turns continued to run and compose replies, but normal
buzz messages sendcalls ran inside a Codex workspace-write sandbox whose per-turn policy disabled network access. Earlier sends only worked when the model happened to request an elevated retry. After a fresh session stopped choosing that escape, direct replies and heartbeat publications silently failed.This change makes the intended workspace-write network policy explicit and adds a signed-event delivery contract outside the model sandbox so publishing no longer depends on model-selected escalation.
Safety properties
Validation
env -u BUZZ_ACP_LAZY_POOL ./bin/just ci23565511392457b177ed47a25f8ed9bb6be8d652Optional outbound mention guard
BUZZ_OUTBOUND_TOP_LEVEL_MENTION_PUBKEYSpolicy for new stream and forum messages; no agent or recipient identity is hard-codedp-tag set; reject missing, additional, malformed, or duplicate tags before relay submissionPath-level tests cover direct and broker rejection, matching top-level delivery,
signed same-channel replies, forged or cross-channel reply rejection, policy
precedence and propagation, and edit/diff compatibility.
Routing-policy live acceptance
708054d8candidate with
BUZZ_OUTBOUND_TOP_LEVEL_MENTION_PUBKEYSset to Boofus only.mention-policy error and produced no matching KJ event on the relay.
once as KJ-signed event
ee871edddfba2ffdb2d8249f5a86be446749d5ab6878ccd5b4d5d7c6ae3ce3dd.9, has the Inbox triagehtag, noetag, andexactly one
ptag: Boofus(
7ab52828888397487758803330ded03256c25a98025642fe35382f030b930711).32 workers configured, 31 channel subscriptions, relay connection, online
presence, and the Boofus-only guard in the live process environment.
Scoped native Computer Use permission bridge
harness signing identity and at least one exact macOS bundle identifier is
configured
request for
get_app_state, the active ACP session, and an allowlisted bundle;decline generic forms, cross-session requests, wrong apps, malformed schemas,
and write-action bootstrap requests
approvals file
or recovery path
The intended live configuration is Kamaljinder's exact signing identity with
com.apple.Photosandcom.granola.app. Once bootstrapped, the resulting ACPsession approval is app-wide for that channel session, so later UI actions in
those two apps do not re-prompt; this is not a read-only or turn-only grant.
Native Computer Use live acceptance
23565511392457b177ed47a25f8ed9bb6be8d652candidate with the identity-boundpolicy enabled for exactly two configured bundles.
Photos, Messages, and Granola. Kamaljinder signed event
7d9ad8365c72f862f6e5e20500025e21463c6cbbb96304b0c8c2fc4559b41301reporting that all three trees loaded, and signed appendix
36b40a45475c63f8e4ddc9a31e0a8b6964bce3ef08240fd31ed3891a6f24a9bbrecorded
mutations=noneanddatabase_access=none.intended signing identities and thread.
approvals file remained byte-identical at SHA-256
986985bca72e536a7632551a29220e6e7853d2c574d9c6b99bdc9e548594c630.It still contains Messages plus the pre-existing system/browser apps; Photos
and Granola were not added globally.
Dependency and merge gate
Paired adapter change: agentclientprotocol/codex-acp#368.
Do not merge this PR until the compatible adapter is available to the Buzz package/runtime. Live acceptance must also pass on Luna with a fresh session: one channel mention, one DM, and one forced material heartbeat, each accepted once and read back from the intended destination without
require_escalatedorEAI_NONAME.The native Computer Use bridge live acceptance above has passed. The pull
request remains draft and must follow the normal Apps manual review and merge
gate.