Skip to content

Add authenticated broker contract#38

Merged
dovvnloading merged 1 commit into
mainfrom
codex/phase2-broker-contract
Jul 21, 2026
Merged

Add authenticated broker contract#38
dovvnloading merged 1 commit into
mainfrom
codex/phase2-broker-contract

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

Summary

  • add a transport-neutral, bounded authenticated broker frame contract
  • enforce direction-specific HMAC keys, canonical broker messages, and authority-field rejection
  • add trusted peer ACL/integrity/process binding and installation/job-owner authorization
  • document the stage, evidence, failure categories, and the explicit native-transport/provider follow-up gate

Safety boundary

This PR does not create a named pipe, configure a DACL, query peer tokens, establish keys, spawn an executor, install a bundle, or enable a provider. Native transport, handshake, staging, sandbox, and provider work remain blocked behind separate review gates.

Validation

  • python -m pytest -q — 155 passed (one pre-existing pytest-asyncio deprecation warning)
  • python -m compileall -q backend\cortex_backend\execution tests
  • python tools/generate_contracts.py
  • git diff --check
  • npm.cmd run lint --prefix frontend
  • npm.cmd run typecheck --prefix frontend
  • npm.cmd run build --prefix frontend
  • npm.cmd test --prefix frontend -- --run — 39 passed

@dovvnloading
dovvnloading marked this pull request as ready for review July 21, 2026 20:17
@dovvnloading
dovvnloading merged commit 373d714 into main Jul 21, 2026
1 check passed
@dovvnloading
dovvnloading deleted the codex/phase2-broker-contract branch July 21, 2026 20:17
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