Zum Hauptinhalt springen
Zurück zu den DocsAction Proof · Begrenzte Delegation
Spezifikation

Ein Mandat ist ein Artefakt, keine Einstellung.

Begrenzte Delegation ist eine Fähigkeit innerhalb von Execution Authorization, keine eigene Kategorie. Ein Task Contract rahmt die Kette; er ersetzt keinen ihrer Teile. Jeder Schritt erzeugt weiterhin sein eigenes einmalig nutzbares Execution Grant und sein eigenes Action Receipt.

Entwurf

TaskContractV1

Der Vertrag bindet in einem einzigen signierten Objekt: den Tenant, die Akteure, die darunter handeln dürfen, den Guardian und die Audience, an die er gerichtet ist, die Revision, die Schritte, ihre Beschränkungen, das Budget und seine Einheiten, das Gültigkeitsfenster, die geltende Policy und das geltende Manifest sowie den Widerrufszähler.

  • taskId · revision

    Identität und Version. Ein freigegebener Vertrag wird nie an Ort und Stelle bearbeitet: jede Änderung an einem Schritt ergibt eine neue Revision, die erneut geprüft werden muss.

  • tenant · guardianId · audience

    Wem er gehört und welcher einzelne Ausführungspunkt ihn verbrauchen darf. Ein Mandat richtet sich an einen Guardian.

  • actors[]

    Jeder Akteur bindet eine Kennung an einen Schlüssel und dessen Thumbprint. Ein Schritt wird beansprucht, indem der Besitz dieses Schlüssels gegen eine frische Challenge nachgewiesen wird, die atomar verbraucht wird.

  • authority

    Set per operation by the protocol. The caller neither chooses it nor may degrade it within the same request, and an approved mandate must never lower a step's threshold. The Guardian must refuse, locally, any operation that is not eligible for delegation — even under a validly signed grant.

  • steps[]

    Jeder Schritt nennt seine kanonische Operation, seinen Provider, seine Ressourcenliste und den Digest seiner exakten Parameter und trägt maxUses fest auf eins.

  • budget

    Durable and atomic per tenant, task, revision and step. Committed means consumed plus anything reserved whose outcome is pending or uncertain, so one grant cannot reserve twice — and submitting the same task and revision with different content must not open a fresh budget.

  • issuedAt · expiresAt

    Das Fenster. Danach wird kein neuer Schritt gesendet; es gibt keine Karenzzeit und keine Verlängerung aus dem Task heraus.

  • policyVersion · revocationVersion

    The signed local policy in force and the revocation counter. Revocation is checked as part of the send itself, not only before it; if storage or revocation is unavailable, no new effects go out.

Die Schnittmenge gilt weiterhin

effektive Berechtigung = Mandat ∩ Grant ∩ signierte lokale Policy ∩ Adapter-Beschränkungen ∩ Budget ∩ Identität ∩ Gültigkeit und Widerruf

The cloud never widens the local ceiling. A mandate is one more term in the intersection, never a way around it, and the Guardian has to enforce all of them before a provider is contacted — for the task runtime, gap 03 below says where that stands today.

Zustandsautomat

Ein Task belegt genau einen Zustand, und das Ledger hält den Übergang fest, nicht die Absicht.

  • draft
  • approved
  • running
  • paused
  • completed
  • revoked
  • expired

Bewusste Ausschlüsse

  • Keine Subdelegation. Ein Mandat, ein Guardian, ein Budget; ein Task kann keinen Teil seiner selbst an einen anderen Akteur abgeben und keinen zweiten Ausführungspunkt aufziehen.
  • Keine offenen Wirkungen. Ein Schritt ohne kanonische Operation und ohne Parameter-Digest ist kein Schritt.
  • Keine dauerhafte Autorisierung. Jedes Mandat verfällt, und der Verfall ist aus dem Task heraus nicht verlängerbar.
  • Was der Akteur liest — Dokumente, Tool-Ausgaben, Webinhalte, Gedächtnis — ist Eingabe, nie Autorität. Es kann den Vertrag nicht erweitern.
  • Der Adapter bestimmt die kanonische Wirkung und den Vorzustand. Die Zusammenfassung eines Agenten, ein Read-only-Schema oder ein aus Inhalten übernommenes Ziel werden nicht als Wahrheit akzeptiert.

Die Rolle des Readers

Der lokale Reader ist erklärend. In diesem Profil blockieren ein einzelner Fund, eine Enthaltung, eine Nichtbewertung oder eine teilweise Lesung weder, noch widerrufen sie, noch erzwingen sie zusätzliche Freigaben für eine exakte Wirkung, die bereits freigegeben und zulässig ist. Autorität wird nie angehoben, um eine Warnung zu kompensieren, und nie abgesenkt, weil keine Warnung erschien. Identität, Signatur, Budget, Vorbedingung und Widerruf scheitern weiterhin geschlossen — das ist keine Erlaubnis, ohne Kontrollen auszuführen.

Known gaps in the local runtime

A local runtime for this profile exists and runs in simulation. A review on 2026-09-23 found these differences between the specification above and the code. They stay listed here until each one is closed with a regression test.

  1. 01Offline verification of a task bundle treats the expiry of a step's grant as a reason to reject, so a bundle stops verifying minutes after it was issued. A historical proof has to stay verifiable after the authorization it records has expired.
  2. 02The same verifier rejects correctly signed receipts whose status is failed, indeterminate, revoked or expired. An incomplete task has to be representable as incomplete, not as invalid.
  3. 03The task runtime does not yet apply the signed local policy, nor a local check that an operation is eligible for delegation. Until it does, the ceiling depends on whoever signs the grant.
  4. 04Revocation is optional in the task runtime, and it is checked before the provider preflight rather than at the moment of sending.
  5. 05The task ledger identifies a contract by its digest, so a different contract reusing the same task and revision would get its own budget. There is no transition yet from indeterminate to a reconciled result.
  6. 06A task bundle does not yet carry the human approval, the local policy applied or the durable claim, so on its own it does not prove separation of duties or the ceiling that bounded the task.

Planned next — not available today

Each item below is part of the current plan. None of it is available today, and each one will appear on the evidence page with its own level — design, simulated or real integration — when it closes.

  • Approval bound to the mandate: a single-use challenge tied to the contract digest, the revision, the approver and an expiry. In an organization the requester and the approver are different people, and an open session on its own does not count as a fresh approval.
  • A minimal console in securestamp.online to review a proposed task, approve or reject one exact revision, follow its budget and uncertain steps, request revocation and export the evidence.
  • Two labels that are never merged. Restricted call: only the tools and arguments the mandate allows reach the server — which says nothing about the server's internal effect. Exact effect: a verified adapter binds operation, resources, parameters and preconditions to the observed result. A route that bypasses the Guardian is labelled not covered.
  • The model is shown the approved snapshot of each tool's name, description and schema. A later change stops the affected task instead of reaching the model first.
  • Later, and not in the first profile: an authority diff. A task that needs something outside its mandate asks for that exact change; the new revision inherits what was consumed and what is uncertain, and never resets the budget.

Status

Design, with a local runtime in simulation. The schema and its invariants exist and are covered by tests, and the known gaps above are open. No delegated mandate has been executed against a real provider, so this profile is labelled simulated. A result is never extrapolated from a mock or from a different connector, and a legacy connector tested with MFA or quorum does not credit multi-step delegation.

Offene Fragen

Canonicalization, size and count limits, clock handling and the rejection of unknown fields are fixed in the local contract, and are to be published as versioned test vectors alongside the verifier. The verifier ships before the profile: nothing is emitted that cannot yet be verified independently — which is why the verifier gaps above are closed first.

Begrenzte Delegation — Spezifikation des Task Contract | SecureStamp Foundation