Tasks, checkpoints and procedures
Long work that survives every handover.
Give work that spans days, people and agents one task ID: an objective, subgoals, checked steps, checkpoints and a closure condition. Close it on evidence, and turn proven work into a procedure the next task can run.
Open a task with a clear finish line.
| Del | How it’s used later |
|---|---|
| Objective | One intended outcome. A later agent uses it to judge whether a step helps. If it changes, revise the same task by ID. |
| Subgoals | Separate completion conditions. Meeting one doesn’t meet the others; the handover pack shows what’s left. |
| Invariants | Conditions, permissions or limits that must hold throughout. When the plan changes, earlier steps are checked against them. |
| Steps and evidence | The action, the change it made and the source, together. Planned, reported and verified are different kinds of progress. |
| Closure condition | Which observation or check proves it’s done, set at the start. If it changes, record why. |
Progress you can trust.
A step can record progress, no change, regression or an error, and its evidence status is read separately: even an error can carry a verified observation of what went wrong. The assessment gives total and verified steps, remaining subgoals and a suggested next move: continue, checkpoint, replan after a stall, or return to a checkpoint.
Checkpoints and rollback.
Take a checkpoint at each verified milestone. If the work goes the wrong way, roll back to it; rollback can also withdraw what the same key taught in the same scope after the checkpoint. The receipt shows what was undone and what couldn’t be. A delivery or physical action needs its own correction in the system where it happened.
You can attach your own revision marker for the working file. If the task is back at step 4 while the document is at revision 6, the document system’s history governs the file: give the next person both.
When the plan or objective changes.
A new deadline or dependency can call for a new route to the same objective. When the objective itself changes, revising it keeps the earlier revision, steps and checkpoints, with who changed it, when and why. An authorized person can override an outdated condition with a reason.
Resume anywhere.
| You want to | Det får du |
|---|---|
| Read the task | The objective, what’s still owed and the last progress, by ID. An old step may be recorded without being done; its outcome says which. |
| List tasks | Work visible in your scope. Compare objectives and IDs when two share a title. |
| Get a handover pack | The goal, latest verified state and what’s still owed, sized for the receiving agent. A pack doesn’t carry access to outside files. |
| Resume | Reopen by ID, read the plan revision, the first open obligation and any authority that changed. No new task needed. |
Close on evidence.
Some tasks hand closure to verifiers in a goal contract: saying “finished” doesn’t settle an open condition. Your AI can send code and tests to the isolated verification service, or a test run or authorized external record can count where the contract accepts it. One passing test doesn’t close the other conditions.
| Closure basis | How to read it later |
|---|---|
| Caller’s report | The named caller reported it done. With no independent check, that is the basis. |
| Authorized external evidence | The source that met the condition and the person who inspected it. Check it applies to the right version. |
| Verifier outcome | A verifier checked it: read the revision, inputs and result. |
| Closed without a skill | Closed in prose only, so no runnable procedure came of it. The reason says what trace future work needs. |
Turn proven work into a procedure.
A verified, successful close can yield a recipe: starting condition, objective, steps and expected effects. Reusing it on the next report doesn’t re-earn the first success; each new task reports its own outcome, and independent outcomes on other tasks are what mature the recipe.
| You want to | Hvad der sker, |
|---|---|
| Extract a procedure | From a task closed by its checks. It carries replaceable inputs and verification duties, not the original task’s private values. |
| Run it on a new task | Bind new inputs. Read the step records, dependency versions and final check. |
| Replay on fixtures | Rerun held-out scenarios or your own fixtures to see which pass today, without a production task. |
| Publish it | An authorized person picks the level, evidence and version. A member’s proposal is not a published method. |
| Retire it | Withdraws the active option. Old jobs still show which version they used. |
| Transfer it | Match inputs and effects to another domain’s types. The target’s own checks must pass. |
| Forget it | The card’s origin decides the removal path and the receipt. |
Instruktioner, som en AI-agent følger for at få mest muligt ud af denne del af MatterSpace Duplex. Indsæt dem i din agents instruktioner, eller henvis den til denne sides markdown.
Calls
- Open:
duplex_task {op: "open"}with objective, subgoals and invariants. Report the task ID. - Step:
duplex_task {op: "step"}with state, action, next, outcome andverified(true only when something checked it). - Checkpoint before risky steps:
op: "checkpoint". Roll back:op: "rollback"and report what the receipt undid and what it could not. - Read:
op: "state"; list:op: "list"; resume context:op: "pack". - Close:
op: "close"with how it ended and the evidence. Verify a closure condition withop: "verify"where the contract requires it. - Procedures:
op: "skills"/op: "skill"to read,op: "run_skill"to run one on new inputs.
Rules
- Revise the same task by ID when the objective changes. Never open a second task for the same work.
- Link each step to the subgoal it advances.
- Closing on your own report is a "caller's report". Say so; don't call it verified.
- Rolling back the task never undoes an external effect. Tell the user what needs correcting elsewhere.
- In a handover, pass the task ID, the last verified step and the first open obligation.
Where to find more in the MatterSpace Duplex docs:
- Tasks, checkpoints and procedures, this topic in full: https://www.matterspace.ai/duplex/docs/tasks.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtPrompts til denne side
Alle prompts →Kopiér én, udfyld delene i vinkelparenteser, og giv den til din AI.
Open a Duplex task. Objective: <objective>. Subgoals: <subgoal 1>; <subgoal 2>. Must hold throughout: <invariants>. Done when: <closure condition>. Give me the task ID, and record every step against the subgoal it advances, marking verified only when something checked it.
Where to find more in the MatterSpace Duplex docs:
- Tasks, checkpoints and procedures, this topic in full: https://www.matterspace.ai/duplex/docs/tasks.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtResume Duplex task <task ID>. Get its pack and tell me the objective, the current plan revision, the last verified step, the first open obligation and anything that changed since (sources, tools, permissions). Don't open a new task.
Where to find more in the MatterSpace Duplex docs:
- Tasks, checkpoints and procedures, this topic in full: https://www.matterspace.ai/duplex/docs/tasks.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtBefore you do the next step, take a Duplex checkpoint on task <task ID> named "<milestone>" and attach file revision <revision>. If the step goes wrong, roll back to it and tell me exactly what the receipt undid.
Where to find more in the MatterSpace Duplex docs:
- Tasks, checkpoints and procedures, this topic in full: https://www.matterspace.ai/duplex/docs/tasks.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtClose Duplex task <task ID> only if the closure condition is met. Show me the evidence, who or what verified it and the version it applies to. If it's only my report, say so plainly.
Where to find more in the MatterSpace Duplex docs:
- Tasks, checkpoints and procedures, this topic in full: https://www.matterspace.ai/duplex/docs/tasks.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txtTask <task ID> closed on its checks. Extract a reusable procedure from it with replaceable inputs, leaving out this task's private values. Show me its inputs, steps and verification duties, and whether it's eligible to run on a new task.
Where to find more in the MatterSpace Duplex docs:
- Tasks, checkpoints and procedures, this topic in full: https://www.matterspace.ai/duplex/docs/tasks.md
- Every prompt, and where to paste the standing ones: https://www.matterspace.ai/duplex/docs/prompts.md
- Exact tools, operations, settings and answers: https://www.matterspace.ai/duplex/docs/reference.md
- Errors and what to do about them: https://www.matterspace.ai/duplex/docs/troubleshooting.md
- Every docs page, with what it covers: https://www.matterspace.ai/duplex/docs/llms.txt
