Skip to content

Add remote HTTP daemon mode with lease admission controls#136

Merged
thymikee merged 4 commits into
mainfrom
codex/remote-transport-server-mode
Feb 25, 2026
Merged

Add remote HTTP daemon mode with lease admission controls#136
thymikee merged 4 commits into
mainfrom
codex/remote-transport-server-mode

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented Feb 25, 2026

Summary

Add remote daemon HTTP JSON-RPC transport/server mode with tenant/session isolation controls, structured machine-readable errors, configurable state directory support, and optional auth hooks.
Add tenant run lease lifecycle (lease.allocate, lease.heartbeat, lease.release) plus admission enforcement for tenant-isolated command execution (--run-id + --lease-id).
Refactor HTTP transport handling into a dedicated module and add focused lease unit tests and HTTP integration smoke coverage updates.
Touched files: 16.
Scope expansion beyond initial command family: yes (daemon core/router + HTTP transport + new lease handler/module + CLI flag schema + integration/docs) to deliver end-to-end remote tenancy admission behavior.

Validation

pnpm typecheck
pnpm test:unit
pnpm test:smoke

Smoke note: loopback-restricted environments skip HTTP integration smoke tests by design (with optional enforcement via AGENT_DEVICE_REQUIRE_LOOPBACK_TESTS=1).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 25, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-136/

Built to branch gh-pages at 2026-02-25 17:22 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee changed the title Add remote HTTP JSON-RPC daemon mode and isolation controls Add remote HTTP daemon mode with lease admission controls Feb 25, 2026
@thymikee thymikee merged commit b685a0b into main Feb 25, 2026
6 checks passed
@thymikee thymikee deleted the codex/remote-transport-server-mode branch February 25, 2026 17:25
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