본문으로 건너뛰기
문서로 돌아가기Action Proof · 한정 위임
명세

mandate는 산출물이지, 설정 항목이 아닙니다.

한정 위임은 Execution Authorization 안의 역량이지, 별도의 범주가 아닙니다. Task Contract는 사슬을 틀 지을 뿐, 그 부품을 대체하지 않습니다. 각 단계는 여전히 자신의 단일 사용 Execution Grant와 자신의 Action Receipt를 만들어 냅니다.

설계

TaskContractV1

이 계약은 서명된 하나의 객체 안에서 다음을 묶습니다. tenant, 그 아래에서 행위할 수 있는 행위자들, 향하는 Guardian과 audience, 리비전, 단계들과 그 제약, 예산과 그 단위, 유효 기간, 적용 중인 정책과 manifest, 그리고 폐기 카운터.

  • taskId · revision

    동일성과 버전. 승인된 계약을 제자리에서 고치는 일은 결코 없습니다. 어떤 단계를 바꾸든 다시 검토해야 할 새 리비전이 생깁니다.

  • tenant · guardianId · audience

    누구의 것이며 어떤 단일 실행 지점이 소비할 수 있는지. 하나의 mandate는 하나의 Guardian에게 향합니다.

  • actors[]

    각 행위자는 식별자를 키와 그 thumbprint에 묶습니다. 단계는 새로운 챌린지에 대해 그 키의 소유를 증명함으로써 청구되며, 그것은 원자적으로 소비됩니다.

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

    각 단계는 자신의 정규 작업, 제공자, 리소스 목록, 정확한 매개변수의 다이제스트를 이름으로 밝히고, maxUses를 1로 고정해 지닙니다.

  • 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

    유효 기간. 그 뒤로는 새 단계가 보내지지 않습니다. 유예 기간은 없고, 과업 안쪽에서 갱신할 수도 없습니다.

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

교집합은 여전히 적용됩니다

실효 권한 = mandate ∩ grant ∩ 서명된 로컬 정책 ∩ 어댑터 제약 ∩ 예산 ∩ 동일성 ∩ 유효성과 폐기

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.

상태 기계

과업은 정확히 하나의 상태를 차지하며, 원장이 기록하는 것은 의도가 아니라 전이입니다.

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

의도적인 배제

  • 재위임 없음. 하나의 mandate, 하나의 Guardian, 하나의 예산. 과업이 자신의 일부를 다른 행위자에게 넘기거나 두 번째 실행 지점을 세울 수 없습니다.
  • 열린 효과 없음. 정규 작업과 매개변수 다이제스트가 없는 것은 단계가 아닙니다.
  • 영구적 승인 없음. 모든 mandate는 만료되며, 그 만료를 과업 안쪽에서 갱신할 수 없습니다.
  • 행위자가 읽는 것 — 문서, 도구 출력, 웹 내용, 기억 — 은 입력이지 결코 authority가 아닙니다. 계약을 확장할 수 없습니다.
  • 정규 효과와 사전 상태를 정하는 것은 어댑터입니다. 에이전트의 요약, 읽기 전용 스키마, 내용에서 가져온 목적지를 진실로 받아들이지 않습니다.

리더의 역할

로컬 리더는 설명하는 역할입니다. 이 프로파일에서는 단일 발견, 기권, 미평가, 부분적 읽기 중 무엇도 이미 승인되고 허용된 정확한 효과를 막거나 폐기하지 않고, 추가 승인을 강요하지도 않습니다. 경고를 벌충하려고 authority를 올리는 일도, 경고가 없었다고 내리는 일도 없습니다. 동일성·서명·예산·선행 조건·폐기는 여전히 닫히는 쪽으로 실패합니다 — 이것은 통제 없이 실행해도 된다는 허가가 아닙니다.

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.

상태

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.

열린 질문

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.

한정 위임 — Task Contract 명세 | SecureStamp Foundation