Skip to content

Add operator dispatch CLI#22

Merged
mdheller merged 6 commits intomainfrom
work/dispatch-cli
May 2, 2026
Merged

Add operator dispatch CLI#22
mdheller merged 6 commits intomainfrom
work/dispatch-cli

Conversation

@mdheller
Copy link
Copy Markdown
Contributor

@mdheller mdheller commented May 2, 2026

Summary

Adds agent-term-dispatch, a thin operator-facing CLI for sending one event through the real AgentTerm dispatch pipeline.

It adds:

  • dispatch_cli.py entrypoint.
  • agent-term-dispatch console script.
  • In-memory/default local wiring for Matrix posture, Agent Registry, Policy Fabric, registered participants, cloudshell-fog, AgentPlane, Sociosphere, Prophet Workspace, Slash Topics, Memory Mesh, New Hope, Sherlock Search, Holmes, and MeshRush scaffolds.
  • CLI flags for local agent registration, tool grants, policy decisions, explicit policy actions, sensitive context, and Matrix E2EE posture.
  • Optional snapshot rendering with --show-snapshot.
  • Tests for successful dispatch, unknown-agent block, registered agent + policy + grant dispatch, and unverified encrypted sensitive-context block.

Boundary decisions

  • This is still local/default/in-memory scaffold wiring, not live service integration.
  • Agent Registry remains authoritative for agent identity/grants/revocation; CLI registration flags are local test/dev fixtures only.
  • Policy Fabric remains authoritative for admission; CLI policy flags are local test/dev fixtures only.
  • Matrix E2EE posture blocks sensitive context before policy and adapter dispatch.
  • EventStore persists the input event plus all gate/result events.

Validation

Expected CI:

ruff check .
pytest

Next lane after merge: live config loading for the pipeline and then real service-backed adapters.

@mdheller mdheller merged commit 40f5bfb into main May 2, 2026
1 check passed
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