01
Authorized
refund(order=123, amount=50)
Deterministic policy. Default deny.
The action that executes should still be the action that was authorized.
CORE QUESTION — Can this exact action still prove that it is the action that was authorized?
DecisionLock (v0.2.0rc4, formerly AgentGuard) is a controlled execution boundary for AI agent tool calls. The dispatched action must match the authorized intent, credentials stay clamped inside that decision, and an uncertain external effect stays unresolved until reconciliation.
Maturity · Isolated Evaluation Harness — Core v0.2.0rc4 release candidate; production certification is not claimed.
01
Authorized
refund(order=123, amount=50)
Deterministic policy. Default deny.
02
Credentialed
scope ≤ authorized · TTL bound
Credential cannot exceed the decision.
03
Executed
revalidated intent · nonce held
The action that runs is the action that was allowed.
Authorized = Credentialed = Executed
Binding invariant
Checking execution binding...
refund(order=124, amount=500)
Completing credential clamp before boundary dispatch check.
canonical tool · resource · tenant · arguments
default-deny deterministic policy
credential scope · audience · tenant · TTL
live action + freshness + replay checks
protected MCP execution boundary
persist external-effect identity before uncertainty
provider truth before retry
correlated tamper-evident outcome
Engineering decisions — ledger of 4, as recorded. The signal edge marks the rejected alternative in each row.
| Ref | Decision — and why | Trade-off accepted | Rejected alternative |
|---|---|---|---|
| A | Authorization stays deterministic A probabilistic model can propose an action, but it cannot be the final authority that allows that action to execute. | Policy authoring is slower to change than a model judgment and cannot generalize to unmodeled cases. | LLM-as-authorizer with a confidence threshold. |
| B | Authority is clamped before credentials exist A correct policy decision is not enough if the execution credential can still exceed the approved tenant, audience, scope, or lifetime. | Credential issuance needs a policy-aware step and credentials cannot be reused across tenants or calls. | Issue broad credentials and narrow authority after dispatch. |
| C | The live action is revalidated at dispatch Approval of an earlier request object does not prove the tool call that reaches the boundary is still the same action. | Every dispatch pays an extra verification hop, which raises tail latency on the execution path. | Trust the approved request object for the full credential lifetime. |
| D | UNKNOWN is reconciled before retry A provider timeout may hide a successful external effect; retry safety depends on provider truth, not caller certainty. | Ambiguous operations stay unresolved until provider truth arrives, trading availability for duplicate-effect safety. | Retry after timeout and deduplicate best-effort. |
Revision table — evidence provenance, verbatim from the record
| Rev | Evidence | Result | Semantics |
|---|---|---|---|
| A | Self-hosted validation suite Validated on self-hosted runner for v0.2.0rc4; cross-platform hosted CI matrix and independent security review remain open. | make check passed (839 passed, 3 skipped) + pip_audit + MCP gate | REPRODUCIBLE Verified |
| B | Policy v2 & Ed25519 synthetic benchmark Single-process temporary SQLite WAL synthetic benchmark in benchmarks/benchmark-results.json; no network or real broker latency. | 0.118 ms median Policy v2 eval (0.147 ms p95) · 0.146 ms median receipt verification (5,000 runs) | REPRODUCIBLE Synthetic |
| C | Authorization boundary No LLM is trusted as the authorization authority. | Deterministic default-deny policy with signed, request-bound decisions | RECORDED Supported |
| D | Execution integrity Protection applies to execution routed through the guarded boundary. | Credential ceilings · live action revalidation · nonce/replay protection | RECORDED Supported |
| E | Ambiguous external effects The design prevents timeout from being treated as proof of failure. | Effect binding persists before dispatch; provider reconciliation precedes retry | RECORDED Supported |
| F | Engineering release candidate Independent security review, long-duration validation, and controlled pilot evidence are not claimed. | v0.2.0rc4 covers protected MCP stdio + bounded Streamable HTTP and durable reconciliation | RECORDED Supported |
| G | Authorization-lineage research Confirmatory trials and research conclusions are not claimed. | Preregistered DEV harness covers replay, stale reconciliation, provider ambiguity, and durable-ledger baselines | RECORDED Not claimed |
Schedule of capabilities — 9 entries, as recorded
Audience — AI Platform Teams · AI Security Teams · Agent Infrastructure Engineers · Security-sensitive enterprise AI teams
| Artifact | https://github.com/TensorScholar/decisionlock |
|---|---|
| Pinned commit | 7a9131f69c0dbdf0b3a0031ec1f3b02a219c0ea8 |
| Verification | make check |
EVALUATION METHOD
Runtime security is measured by whether authorized intent remains bound to constrained authority, admitted dispatch, and the external effect that actually occurred.
Intent mutation, replay races, credential-ceiling tests, ambiguous provider outcomes, stale-reconciler schedules, durable effect bindings, and audit verification.
Research program execution-integrity — as recorded
Status: DEV harness implemented
Question: How should authorization remain bound to execution when retries, crashes, and ambiguous provider effects intervene?
Method: authorization-instance lineage · durable ledger baseline · failure schedules · stale-reconciler fencing · exact statistical decision rules
Observed: The development harness and failure model exist.
Boundary: The confirmatory claim is not validated.
NOTE 1 — OWNERSHIP.
Personal engineering project
Public GitHub repository: DecisionLock v0.2.0rc4 (github.com/TensorScholar/decisionlock). Self-hosted validation passes make check (839 passed, 3 skipped) and Policy v2 synthetic benchmark records 0.118 ms median evaluation across 5,000 iterations; independent security review and production certification are not claimed.
NOTE 2 — READING. Numbers on this page carry their boundary lines. Quoting a result without its boundary omits its scope.