Muhammad Atashi
DECISIONLOCK — AGENT SECURITY · RUNTIME AUTHORIZATION · EXECUTION INTEGRITYCase 01 of 11 · /work/decisionlock
Index01 / 11
SourcePublic repo
Work / DecisionLockCore systemIsolated Evaluation HarnessPublic sourcePinned @ 7a9131f

DecisionLock

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?

OwnsAuthorizes tool execution and enforces runtime boundaries fail-closedStackPython · Policy v2 · MCP · Ed25519 · SQLite · AuditPublic referenceTensorScholar/decisionlock @ 7a9131f · verification: make check

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.

FIG. 2 — Execution binding chainInteractive runtime probe
open risk: enforcement applies to tool calls routed through the DecisionLock MCP boundary; cross-platform hosted CI matrix remains open
INTERACTIVE BOUNDARY PROBE

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.

Authorized intent, bounded credentials, guarded dispatch, and reconciliation of uncertain external effects.
FIG. F — Architecture, operating pathStages in record order
  1. 01Intent

    canonical tool · resource · tenant · arguments

  2. 02Authorize

    default-deny deterministic policy

  3. 03Clamp

    credential scope · audience · tenant · TTL

  4. 04Revalidate

    live action + freshness + replay checks

  5. 05Dispatch

    protected MCP execution boundary

  6. 06Bind Effect

    persist external-effect identity before uncertainty

  7. 07Reconcile

    provider truth before retry

  8. 08Evidence

    correlated tamper-evident outcome

FIG. F — The operating path as recorded. Nodes are stages of the system, not claims about deployment.

Engineering decisions — ledger of 4, as recorded. The signal edge marks the rejected alternative in each row.

RefDecision — and whyTrade-off acceptedRejected alternative
AAuthorization 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.
BAuthority 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.
CThe 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.
DUNKNOWN 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

RevEvidenceResultSemantics
ASelf-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 gateREPRODUCIBLE Verified
BPolicy 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
CAuthorization boundary
No LLM is trusted as the authorization authority.
Deterministic default-deny policy with signed, request-bound decisionsRECORDED Supported
DExecution integrity
Protection applies to execution routed through the guarded boundary.
Credential ceilings · live action revalidation · nonce/replay protectionRECORDED Supported
EAmbiguous external effects
The design prevents timeout from being treated as proof of failure.
Effect binding persists before dispatch; provider reconciliation precedes retryRECORDED Supported
FEngineering 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 reconciliationRECORDED Supported
GAuthorization-lineage research
Confirmatory trials and research conclusions are not claimed.
Preregistered DEV harness covers replay, stale reconciliation, provider ambiguity, and durable-ledger baselinesRECORDED Not claimed

Schedule of capabilities — 9 entries, as recorded

  • Canonical ActionIntent
  • Deterministic default-deny policy
  • Signed decision receipts
  • Bounded approvals
  • Credential ceilings
  • Execution-time revalidation
  • Replay protection
  • MCP enforcement boundary
  • Audit integrity

Audience — AI Platform Teams · AI Security Teams · Agent Infrastructure Engineers · Security-sensitive enterprise AI teams

REF. — Class A public evidencepinned · reproducible
Artifacthttps://github.com/TensorScholar/decisionlock
Pinned commit7a9131f69c0dbdf0b3a0031ec1f3b02a219c0ea8
Verificationmake check
REF. — The pinned public artifact. Verification command as recorded; the boundary rows above still apply.

Measurement contract — what would make the preferred answer fail?

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.

01

Mutation rejection

arguments · tenant · target · scope drift
02

Replay rejection

receipt · approval · nonce reuse
03

Credential ceiling

scope · audience · tenant · TTL
04

Ambiguous effects

UNKNOWN preserved until reconciliation
05

Retry safety

provider truth checked before repeat dispatch
06

Audit integrity

correlated and tamper-evident execution evidence

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.

Exclusions — Not an identity provider · Not a generic vault · Not a SIEM · Not a model-alignment system · Not a general sandbox

Quick navigation

Jump to System or Page

↑↓ select↵ openESC close