Work and Checkpoints
Keep requested changes, decisions, and restart points outside the chat transcript
What it does
Work items are durable descriptions of a change, bug, feature, or decision in the local work
graph. strata19.manage_work_item creates and refines them, and also queries the graph:
focus_queue (what to work on next), next_human_action, conflicts, and blast_radius.
strata19.manage_task is a separate, smaller store for what the system needs from a human —
PROVIDE a credential, DECIDE a choice only a person can make, REVIEW something generated, or
CONNECT an external account — never engineering work an agent can do itself.
strata19.create_or_get_checkpoint saves a labelled git SHA (plus a pinned snapshot of uncommitted and untracked work) and can restore it later, by default into a new separate directory.
strata19.decision_manage records a governed choice durably, and — the moment a new decision
replaces an old one — marks the old one superseded and finds what depended on it.
A checkpoint is not a commit and not a graph-state snapshot: it is a label, a captured SHA, and a timestamp, nothing else. Git preserves files and history; a checkpoint is a bookmark into that history plus a record of what Strata19 was reasoning from at that point.
When to use it
Call strata19.manage_work_item the first time a concrete change, bug, or idea is described —
save it immediately with partial information rather than waiting for it to be fully specified.
Call strata19.manage_task the moment an agent needs a credential, a decision, or a review from
the user to keep going. Call strata19.create_or_get_checkpoint (save) after a verified-green
milestone or before a risky refactor — check the state is actually verified first. Call
strata19.decision_manage only once a human has actually made the choice; never record your own
recommendation as if it were the decision.
Do not use strata19.manage_work_item for a pure hypothetical, work tracked in an external
tracker, or anything that needs a human to provide, decide, or review something — that is
strata19.manage_task. Do not call strata19.create_or_get_checkpoint (restore) with
force: true on the user's behalf — it discards uncommitted changes, and consent must be
explicit. Do not call strata19.get_next_task expecting a local-only answer — see Limits.
How to use it
Capture a change the moment it is described:
{ "action": "create", "type": "bug", "fields": { "motivation": "Login redirect loops on expired session" } }Track something only a human can resolve. A real call against this repository's task store returned:
{ "action": "list" }{
"tasks": [
{
"taskId": "f19d2402-1abf-4f73-a3a0-ced7332cb0e7",
"taskType": "DECIDE",
"title": "Ask client which payment provider they want to use",
"status": "OPEN",
"priority": "MEDIUM"
}
]
}taskType: "DECIDE" is exactly what strata19.manage_work_item cannot express — the blocker is
not engineering work, it needs a human's answer.
Save a checkpoint before risky work:
{ "action": "save", "label": "before-auth-refactor" }Record a decision once a human has actually made it:
{
"action": "record",
"phase": "architecture",
"context": "Choosing a durable-events transport",
"options": ["Redpanda", "Kafka", "SQS"],
"choice": "Redpanda"
}Parameters
Prop
Type
strata19.manage_task requires action (create/list/update/get); create requires
taskType (PROVIDE/DECIDE/REVIEW/CONNECT) and title.
strata19.create_or_get_checkpoint takes action (save/restore/list, default save),
label (the idempotency key for save — saving twice with the same label returns the existing
checkpoint), checkpointId (required for restore), mode (worktree, the default, restores into a
new separate directory and leaves your tree untouched; in_place rewrites the current tree and takes an
automatic safety checkpoint first), to (target directory for the default mode), and force (required
for in_place over uncommitted changes). strata19.decision_manage requires action and, for record: phase,
context, options, and choice (the human's literal answer, never a recommendation); replaces
on either record or supersede retires the prior decision in the same call.
What you get back
strata19.manage_work_item (create/update) returns the item record including its draftId.
strata19.manage_task (list) returns tasks[] with taskId, taskType, status, and
priority, shown above. strata19.create_or_get_checkpoint (save) returns the checkpoint's
id, label, captured SHA, and timestamp. strata19.decision_manage (record) returns the
decision record; supersede additionally marks the prior decision superseded and reports what
depended on it.
Limits
strata19.get_next_task requires the hosted living graph — a real call against this repository
with no STRATA19_API_KEY/STRATA19_API_ENDPOINT configured returned: "Requires the Strata19
living graph (premium)... Free-local mode: run strata19.verify_implementation for real local
findings, or open the project in the Strata19 web app to pick a task manually." It is Connected,
not Local, despite reading like a plain queue lookup. strata19.manage_work_item's update with
status: "building" is gated: it silently leaves status unchanged unless declaredScope and
acceptanceConditions are supplied, either in that call or an earlier one. action: "delete" is
a soft delete — the item's status becomes cancelled, never removed; get and list (with
includeDiscarded: true) still return it. strata19.create_or_get_checkpoint (restore)
refuses outright over uncommitted changes unless force: true is explicitly supplied, and
refuses honestly — rather than corrupting the repository — when the captured SHA no longer
resolves to a commit.
Five different records are easy to mistake for one another here. A task is a prompt to a human that only a human can complete, and it is never a work item. A work item is engineering work with a scope and acceptance conditions. A capture is a cheap observation that is never rejected and may later be promoted. A finding is evidence from a detector, a bundled routine or a model. A proposal is anything waiting for a decision. Capturing several findings creates one work item with one link per finding, not one item per finding, and readiness and completion are always derived from the current state rather than stored as flags.
Related
- Findings — capturing a finding as a work item
- Routines — automated runs that often act on work items
strata19.manage_work_itemstrata19.manage_taskstrata19.create_or_get_checkpointstrata19.decision_managestrata19.get_next_task