Skip to content

Feature F: Record local LAN guest usage in the native ledger (#688) - #1255

Open
oxa-agent[bot] wants to merge 13 commits into
mainfrom
agent/688-share-local-ledger
Open

oxa-agent[bot] wants to merge 13 commits into
mainfrom
agent/688-share-local-ledger

Conversation

@oxa-agent

@oxa-agent oxa-agent Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Feature F · Rust product · T3. Refs #688, #1214 and #307. Implements the local guest accounting slice of the oxc/src/oxc/runtime/lan_share.py production owner share controls row in the Python port ledger.

Each authenticated local guest request settles usage or records an uncertain reservation. Terminal rows capture local origin, metered tokens when available, zero cloud spend and salted guest attribution. The common native adapter serves both explicit entry points. Sharing stays opt-in. The landed #1235 bind restriction and #1237 effective owner-session timeout remain in the composed tree.

Removes: inline cloud terminal-row normalization and direct returns from native guest completion — cloud normalization now runs through the common ledger writer, and the native adapter records a terminal outcome before returning. Guest content and bearer values stay out of ledger rows.

The earlier hosted lane 44196356037 passed on x86_64 and ARM64 at 11933179859d485cf81827d6d9f76b719e978439. After #1237 landed at be52cf0ed1be17ebd7274f078f13a038961b9dfa, a normal merge resolved three actual source conflicts and removed one duplicate inherited documentation paragraph. The five-file ledger patch retains its exact added and removed lines. New head 1820c7319d25e5370747fbc721a2ee9002d5acc7 passed hosted lane 44209480042 on x86_64 and ARM64. The lane selected oxa-cli, oxa-core, oxa-engine, oxa-interactive, oxa-parity, oxa-rpc, oxc-gateway, oxc-local and oxc. Both architectures passed the local settlement regression and share-feature CLI controls. Draft checks and CodeQL passed. The all-features gateway suite runs in ready CI.

@oxa-agent
oxa-agent Bot marked this pull request as ready for review November 18, 2026 00:52
@n0rpan

n0rpan commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@n0rpan

n0rpan commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-18T00:58:37.191456Z 1820c73 Manual request
🔒 Security Review 🔄 Running since 2026-11-18T00:58:36.332329Z 1820c73 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant