agent_secure_setup v2March 29, 2026 · 22:57
Agent Orchestration System
Hard-boundary architecture: agents run isolated with no secrets. All sensitive operations flow through an executor with IAM-scoped identity. Ambiguities are batched — never interrupt the build.
Agent proposes → Human decides → Executor executes
Agent Roles
Work Cycle
01OperatorWrite spec → /workspace/spec.md
02BuilderImplement. File ambiguities to /.agent/ambiguities/ — never halt.
03TestWrite and run tests. File its own ambiguities.
04ReviewCheck invariants, flow rules, hidden coupling.
05DocsUpdate ADRs, specs, operator notes.
06OperatorRead ambiguity queue summary. Resolve in batch.
07ExecutorPerform sensitive actions via POST /execute.
Ambiguity Queue
Executor Contract
Security Architecture
OPERATOR
resolves ambiguity batches · makes final decisions
↕
AGENT LAYER
isolated container · /workspace only · no secrets · no .env
↕
EXECUTOR LAYER
AWS IAM identity · POST /execute · validates + logs · returns status
↕
SECRETS LAYER
AWS SSM Parameter Store · executor-only reads · never surface to agent
Invariants That Never Break
01Nothing leaves Employer
02Agent proposes, human decides, executor executes
03Capture first, decide later
04Don't guess the flow
05All ambiguity goes into queue — never halt the build
06All sensitive execution through executor
07No secrets in agent filesystem
08Promotion is intentional