← Agent Permission LabArchitecture · Adapter contract v1 · Static, offline reference
Permission lifecycle test architecture The runner applies fixture events to an adapter, reads its authoritative effect store through an observer, and compares the observed evidence with literal fixture expectations before producing a report. AGENT PERMISSION LAB / FRAMEWORK 03 An allow decision is not evidence of a safe effect. Keep the test expectation separate from the implementation being tested. ADAPTER-OWNED SYSTEM UNDER TEST Fixture Events + expected outcomes Runner Isolated instance per case Adapter operations enqueue → execute Effect store What actually changed? Observer Read authoritative ledger Outcome assertions Decision + ledger delta Evidence report PASS / FAIL / INCONCLUSIVE / INVALID · JSON / JUnit / Markdown Solid: execution or observed evidence. Dashed: literal fixture expectations. No LLM, external identity provider or payment rail in built-ins.