Emberi jóváhagyási lépések
Tartós emberi döntési pontot épít a munkafolyamatba pontos kéréskötéssel, döntési jogosultsággal és egyértelmű lejárati működéssel.
approval-human-tasks
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha egy folyamatnak egy vagy több emberre kell várnia, majd elavult döntések elfogadása nélkül folytatódnia.
Miben segít neked?
- Munkafolyamat-verzióhoz és rögzített tartalomhoz köti a döntést.
- Aktuális tagságot ellenőriz és tiltja az önjóváhagyást.
- Tartósan kezeli a lejáratot, egyidejű döntéskor csak egyszer léptet.
Például ezt kérheted
Készíts kétbírálós jóváhagyást lejárattal és elavult kattintások elutasításával. A két ellenőr egyszerre döntsön, majd módosuljon a kérés. A folyamat egyszer lépjen tovább, a régi verzióhoz tartozó döntést pedig utasítsa el.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Approval & Human Tasks
Use this skill when building human approval gates, review tasks, manual input steps, and escalation timers inside workflows.
Tamper-Proof Approval Binding
- Bind Every Approval Decision to the Exact Subject, Payload & Version:
- When a workflow reaches an
Approvalstep, snapshot the exact decision subject, frozen action parameters (payloadHash),runId,stepExecutionId,workflowVersionId, andexpiresAt. - Record who decided (
deciderUserId), in which workspace (tenantId), when (decidedAt), the decision (approved|rejected|changes_requested), and any reason/comment. - Never allow a workflow definition edit or post-request payload mutation to bypass or reuse an existing approval. If the underlying parameters change, the prior approval is invalidated.
- When a workflow reaches an
- Enforce Authorization & Separation of Duties (SoD) at Decision Time:
- Verify on the server at the moment the human clicks "Approve" or "Reject":
- The decider is an active member of the run's workspace (
tenantId). - The decider currently holds the required role/permission or valid active delegation for that approval step and value threshold.
- Self-Approval Prohibition: Unless explicitly exempted by a documented rule, the run initiator / requester cannot approve their own request (
deciderUserId !== initiatorUserId).
- The decider is an active member of the run's workspace (
- Verify on the server at the moment the human clicks "Approve" or "Reject":
Durable Expiration, Reminders & Multi-Approver Rules
- Explicit Quorum & Routing Rules:
- Define whether a multi-approver step requires First Responder (
1-of-N), Unanimous (All-of-N), or Sequential Chain (Manager -> Finance -> Legal) approval.
- Define whether a multi-approver step requires First Responder (
- Expiration & Escalation Timers:
- Persist a durable
expiresAttimer for every pending approval. - When
now >= expiresAt, transition the approval atomically toexpired(rejecting any late click with a clear conflict error) and route the workflow along its declaredexpired/escalationbranch.
- Persist a durable
- Idempotent Decision Submission:
- Guard the approval decision endpoint with atomic state transitions (
WHERE status = 'pending') so double-clicking or two approvers acting simultaneously on a1-of-Ngate cannot advance the workflow twice.
- Guard the approval decision endpoint with atomic state transitions (
Checklist
- Is the approval bound to
runId,stepExecutionId,workflowVersionId, and a frozenpayloadHash? - Does the server verify workspace membership, permission, and self-approval prohibition (
decider !== requester) at decision time? - Are approval timeouts persisted as durable timers that route cleanly to an
expiredor escalation branch? - Does atomic state checking prevent duplicate clicks from triggering double workflow resumption?
Csomagban lévő fájlok 1
SKILL.md
A skillcsomag bemutatása
approval-human-tasks
approval-human-tasks: Elágazásokat, jóváhagyásokat, várakozásokat, újrapróbálkozásokat és verziózott változásokat összehangoló munkafolyamat-szerkesztőket és futtatási modelleket épít.
Összecsukás
approval-human-tasks
approval-human-tasks: Elágazásokat, jóváhagyásokat, várakozásokat, újrapróbálkozásokat és verziózott változásokat összehangoló munkafolyamat-szerkesztőket és futtatási modelleket épít.
A teljes skillt és a hozzá tartozó fájlokat tartalmazza (1 fájl). Az alábbi eredeti leírás rögzíti a pontos alkalmazási területét.
A skill eredeti leírása (a forrás nyelvén)
Use when implementing human-in-the-loop approval steps, payload version binding, separation-of-duty enforcement, expiration/escalation timers, and tamper-proof resumption.
Telepítsd a skillt, nézd át a forrását és a megbízhatósági beállításait, majd engedélyezd a megfelelő projektben vagy ügynöknél.
Előfeltételek
- A számítógépedre telepített Orqestria.
