Skip to content

feat(ipc): add opt-in admission and authorization - #21

Merged
rrrodzilla merged 2 commits into
mainfrom
feat/ipc-security
Sep 19, 2026
Merged

rrrodzilla merged 2 commits into
mainfrom
feat/ipc-security

Conversation

@rrrodzilla

@rrrodzilla rrrodzilla commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

IPC clients currently share the same listener without an application admission or authorization boundary. This adds opt-in policies that bind server-established identity to a connection and expose it to typed handlers. Existing listener entry points retain their behavior.

Policies admit connections asynchronously and authorize requests, discovery, exact and pattern subscriptions, and each outgoing notification. Recipient memoization remains separate from authorization. Revocation removes routes, cancels transport activity, and skips queued IPC messages that have not begun dispatch.

Emergent can use these hooks to map live child PIDs to primitives and enforce declared capabilities. That application policy remains in Emergent.

Closes #20. Supports Govcraft/emergent#24.

Release: 9.4.0 across all four workspace crates.

Validation:

  • Clippy: workspace/all targets, all features and no default features, zero warnings.
  • Nextest: 686 all-feature tests and 466 no-default-feature tests passed (one pre-existing skipped test per suite).
  • JSON-only IPC without default features: all seven security integration tests passed.
  • Documentation examples: eight passed.
  • Semver: all 196 compatibility checks passed against 9.3.0.
  • Documentation build and all 2,140 links passed.
  • Linux and Windows PR CI required before merge.

Bind trusted caller identity to IPC sessions, authorize ingress and each delivery, and support connection revocation. Release workspace version 9.4.0.

Closes #20
@rrrodzilla
rrrodzilla merged commit fa56ccd into main Sep 19, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
github-pages — fa56ccdc Deployed Sep 19, 2026 by rrrodzilla via deploy #19
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.

feat(ipc): add admission, trusted caller context, and authorization hooks

1 participant