Aller au contenu principal
Retour aux docsAction Proof · Délégation bornée
Spécification

Un mandat est un artefact, pas un réglage.

La délégation bornée est une capacité à l’intérieur d’Execution Authorization, pas une catégorie à part. Un Task Contract encadre la chaîne ; il n’en remplace aucune pièce. Chaque étape produit toujours son propre Execution Grant à usage unique et son propre Action Receipt.

Conception

TaskContractV1

Le contrat lie, dans un seul objet signé : le tenant, les acteurs autorisés à agir sous son couvert, le Guardian et l’audience auxquels il s’adresse, la révision, les étapes, leurs contraintes, le budget et ses unités, la fenêtre de validité, la politique et le manifeste en vigueur, et le compteur de révocation.

  • taskId · revision

    Identité et version. Un contrat approuvé ne se modifie jamais sur place : tout changement d’une étape produit une nouvelle révision à relire.

  • tenant · guardianId · audience

    À qui il appartient et quel unique point d’exécution peut le consommer. Un mandat s’adresse à un Guardian.

  • actors[]

    Chaque acteur lie un identifiant à une clé et à son empreinte. Une étape est réclamée en prouvant la possession de cette clé face à un défi frais, consommé de façon atomique.

  • 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[]

    Chaque étape nomme son opération canonique, son fournisseur, sa liste de ressources, l’empreinte de ses paramètres exacts, et porte maxUses fixé à un.

  • 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

    La fenêtre. Ensuite aucune nouvelle étape n’est envoyée ; il n’y a ni délai de grâce ni renouvellement depuis l’intérieur de la tâche.

  • 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.

L’intersection s’applique toujours

permission effective = mandat ∩ grant ∩ politique locale signée ∩ contraintes de l’adaptateur ∩ budget ∩ identité ∩ validité et révocation

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.

Machine à états

Une tâche occupe exactement un état, et c’est la transition que le registre consigne, pas l’intention.

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

Exclusions délibérées

  • Pas de sous-délégation. Un mandat, un Guardian, un budget ; une tâche ne peut pas céder une partie d’elle-même à un autre acteur ni dresser un second point d’exécution.
  • Pas d’effets ouverts. Une étape sans opération canonique et sans empreinte de paramètres n’est pas une étape.
  • Pas d’autorisation permanente. Tout mandat expire, et l’expiration n’est pas renouvelable depuis l’intérieur de la tâche.
  • Ce que l’acteur lit — documents, sorties d’outils, contenu web, mémoire — est une entrée, jamais une autorité. Cela ne peut pas étendre le contrat.
  • L’adaptateur détermine l’effet canonique et l’état antérieur. Le résumé d’un agent, un schéma en lecture seule ou une destination tirée du contenu ne sont pas acceptés comme vérité.

Le rôle du lecteur

Le lecteur local est explicatif. Dans ce profil, un constat isolé, une abstention, une non-évaluation ou une lecture partielle ne bloquent pas, ne révoquent pas et n’imposent pas d’approbations supplémentaires sur un effet exact déjà approuvé et permis. L’autorité n’est jamais relevée pour compenser une alerte, et jamais abaissée parce qu’aucune alerte n’est apparue. Identité, signature, budget, précondition et révocation continuent d’échouer en position fermée — ce n’est pas une permission d’exécuter sans contrôles.

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.

Statut

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.

Questions ouvertes

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.

Délégation bornée — spécification du Task Contract | SecureStamp Foundation