Agent Sandbox Registry

python-sdk

Decision: one endpoint table, one policy engine, one dispatch pipeline

无中文版

.agents/notes/implemented/architecture/2026-10-13-one-endpoint-table-one-policy-engine.md

Decision: one endpoint table, one policy engine, one dispatch pipeline

Status: implemented

Problem

The server had three overlapping mechanisms: the route table plus a capability-group gate, a per-endpoint policy engine on top of it, and an operation layer (core/, POST /ops/{id}) that wrapped both with a second id space. Capability switches existed at two layers (group gate and endpoint rule), handlers had an unscoped branch for "no policy", and the same decision was written three times.

Decision

Alternatives considered

Test Strategy

tests/test_server/test_single_layer.py, test_policy_pipeline.py, test_policy_config.py, test_routes_agents_local.py::TestEveryRoute (every agents route).