Core Primitives
Settld security and settlement correctness come from signed, hash-bound artifacts with deterministic relationships.
Canonical transaction chain
Kernel v0 paid capability flow:
ToolManifestAuthorityGrantToolCallAgreementFundingHoldToolCallEvidenceSettlementDecisionRecordSettlementReceiptDispute branch (when needed):
DisputeOpenEnvelopeArbitrationCaseArbitrationVerdictSettlementAdjustment
Primitive purpose
ToolManifest
Capability identity, interface details, verifier hints. Prevents silent identity swaps.
AuthorityGrant
Constrains spend/scope/time. Prevents unauthorized settlement operations.
ToolCallAgreement
Commits parties to exact terms including call commitment (callId, inputHash) and settlement terms.
FundingHold
Reserves funds before work execution, enabling reliable provider execution with escrow semantics.
ToolCallEvidence
Signed evidence binding execution facts to the agreement commitment.
SettlementDecisionRecord
Deterministic evaluation outcome, reason codes, policy linkage, replay-critical facts.
SettlementReceipt
Finalized settlement artifact describing effective outcome and accounting effect.
Dispute artifacts
DisputeOpenEnvelopeproves opener legitimacy for non-admin opens.ArbitrationCasetracks active dispute subject.ArbitrationVerdictresolves dispute.SettlementAdjustmentapplies deterministic held-fund routing effect.
Critical invariants
One deterministic settlement result per agreement hash
Evidence must match agreement commitment (
callId/inputHash)Open arbitration case blocks holdback auto-release
Deterministic adjustment identity prevents double-apply
Replay checks compare recomputed vs stored decision path
Determinism in practice
Determinism means:
canonicalized artifact hashing
explicit signer ownership
deterministic artifact IDs for idempotent side effects
reproducible replay/verification checks
It does not mean all policy semantics are universal truth. It means outcomes are provably tied to declared policy and evidence.
Related references
docs/spec/README.mddocs/spec/INVARIANTS.mddocs/spec/SettlementDecisionRecord.v2.mddocs/spec/DisputeOpenEnvelope.v1.mddocs/spec/ClosePack.v1.md
Last updated

