Skip to content
1 viewer
View

Task reference

3 pages, 20 routes, 17 connections and 17 CLI commands, generated from the declarations of Task without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 5

Declared views
PageView idRoleRouteOrderParentEntityNavigation
New tasktask.createeditor/view/task/create0task.libraryTaskhidden
Private tasktask.detaildetail/view/task/{task_id}0task.libraryTaskhidden
Listtask.librarylist/view/task/list0Taskin navigation
Next uptask.next-up.documentlist/view/task/next30Taskin navigation
Next Uptask.next_up/view/task/next_upin navigation
5 rows

Connections · 17

Task.Approve

Approve a Submitted task. MOVES VALUE: fires task.complete.v1, minting the bounty and completion credentials to the claimant and accumulating project.spent. Governance gates run inside.

Task.Approve input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredTask being approved.
approverstringoptionalThe signed-in account approves; this names it only where no session exists (CLI, devnet).
2 rows
Calls and output

Task.Block

Mark a claimed task blocked and say what it waits on. Claimant only.

Task.Block input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredClaimed task.
claimantstringoptionalThe signed-in claimant; this names it only where no session exists (CLI, devnet).
reasonstringrequiredWhat the work is waiting on.
3 rows
Calls and output

Task.Cancel

Cancel a task. Terminal transition; the bounty is not paid.

Task.Cancel input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredTask to cancel.
cancellerstringoptionalThe signed-in owner cancels; this names it only where no session exists (CLI, devnet).
2 rows
Calls and output

Task.Claim

Claim an Open task as the worker, or a Claimed task whose lease expired. Transitions to Claimed and emits a task.claim receipt. With lease_minutes the claim expires unless Task.Heartbeat renews it; without it the claim holds until submit or release.

Task.Claim input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredTask to claim.
claimantstringoptionalThe signed-in account claims; this names it only where no session exists (CLI, devnet).
lease_minutesintegeroptionalOptional lease, 1 to 240 minutes: once it ends without a heartbeat, anyone may claim the task. Leave it out for a claim that never expires.
3 rows
Calls and output

Task.Create

Create a task owned by the signed-in account. Title is all it needs; project, deadline, bounty and tags are optional. The lifecycle (claim, submit, approve) drives everything after.

Task.Create input
FieldTypeRequiredDescriptionAllowed
ownerstringoptionalThe account that owns the task: the verified caller. Named only by unsessioned callers.
titlestringrequiredShort human title.
descriptionstringoptionalWhat the work is.
project_idstringoptionalProject this task belongs to; leave empty for a personal task.
acceptance_criteriastringoptionalWhat done looks like.
tagsarrayoptionalDiscovery tags.
dependenciesarrayoptionalTask ids that must be approved before this one can be claimed.
due_ts_msintegeroptionalDeadline.
estimate_msintegeroptionalEffort estimate.
bountyobjectoptionalAsset id to amount, paid to the claimant on approval.
commit_to_budgetbooleanoptionalReserve the bounty on the owner's budget now instead of only checking headroom.
11 rows
Calls and output

Task.Get

Read one task by id.

Task.Get input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredTask vertex id.
1 row
Calls and output

Task.Heartbeat

Keep a claim alive: extend the lease to now plus lease_minutes. Claimant only.

Task.Heartbeat input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredClaimed task.
claimantstringoptionalThe signed-in claimant; this names it only where no session exists (CLI, devnet).
lease_minutesintegeroptionalNew lease length from now, 1 to 240 minutes.
3 rows
Calls and output

Task.Ingest

Land a backlog manifest as Task vertices owned by the caller, under its organization and project. Stable ids (backlog:<source>:<key>) make a second run an update: Open tasks take the manifest's wording, bounty, estimate, tags and dependencies; tasks past Open are skipped. Defaults to data/backlog/cre8.tasks.json (CRE8_TASK_BACKLOG overrides).

Task.Ingest input
FieldTypeRequiredDescriptionAllowed
owneroptional
pathstringoptionalManifest file path; relative paths resolve against the working directory, then the runtime root.
manifestobjectoptionalInline manifest (version, source, organization, project, tasks). Wins over path.
dry_runbooleanoptionalReport what would be created, updated and skipped without writing.
4 rows
Calls and output

Task.List

List tasks. Legacy filters retain priority. Optional collection requests private owner-side search/order/pages after validated session authorization.

Task.List input
FieldTypeRequiredDescriptionAllowed
collectionobjectoptionalPrivate collection: q, project_id, status, sort (newest/title), page and page_size. Requires a validated account session.
1 row
Calls and output

Task.Progress

Post a progress note on a claimed task. Notes are kept in order, the newest 50. Claimant only.

Task.Progress input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredClaimed task.
claimantstringoptionalThe signed-in claimant; this names it only where no session exists (CLI, devnet).
textstringrequiredWhat changed, in a sentence or two.
percentintegeroptionalHow far along, 0 to 100.
4 rows
Calls and output

Task.Recommend

Rank the open-task queue for a peer by bounty value and feasibility. WRITES when auto_schedule is true -- it books the reservations for the top picks.

Task.Recommend input
FieldTypeRequiredDescriptionAllowed
collectionobjectoptionalRead-only private pages: q, project_id, status, sort (rank/newest/title), page and page_size. Full open-task ranking is preserved before authorization and pagination; cannot combine with limit or auto_schedule.
peer_idstringoptionalPeer to rank for.
limitintegeroptionalMax recommendations returned.
auto_schedulebooleanoptionalBook calendar slots for the top picks. Defaults to false.
4 rows
Calls and output

Task.Release

Give a claimed task back. It is Open again with no claimant; the note is kept. Claimant only.

Task.Release input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredClaimed task.
claimantstringoptionalThe signed-in claimant; this names it only where no session exists (CLI, devnet).
notestringoptionalWhy, or what the next person should know.
3 rows
Calls and output

Task.Schedule

Time-block a task: fit it into a free slot before its due date, book the reservation, link it back.

Task.Schedule input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredTask to time-block.
start_ts_msintegeroptionalPreferred start as epoch milliseconds. Omit to auto-fit before the due date.
resource_idstringoptionalCalendar / resource to book against.
3 rows
Calls and output

Task.SearchSet

Enable or revoke private discovery for a task created with this validated account session.

Task.SearchSet input
FieldTypeRequiredDescriptionAllowed
task_idstringrequired
enabledbooleanoptional
2 rows
Calls and output

Task.Submit

Submit completion evidence on a Claimed task. Transitions Claimed -> Submitted.

Task.Submit input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredTask being submitted.
claimantstringoptionalThe signed-in claimant submits; this names it only where no session exists (CLI, devnet).
evidencestringoptionalWhat shows the work is done: a link, a commit, a note, or structured JSON.
3 rows
Calls and output

Task.Unblock

Clear a task's blocked flag. The claimant or the owner may.

Task.Unblock input
FieldTypeRequiredDescriptionAllowed
task_idstringrequiredBlocked task.
actorstringoptionalThe signed-in account; this names it only where no session exists (CLI, devnet).
2 rows
Calls and output

CLI commands · 17

task approve

Approve a Submitted task — signs receipt, fires task.complete contract, settles bounty + credentials

task approve {"task_id":"task-...","approver":"alice"}

task block

Mark a claimed task blocked and say what it waits on (claimant-only)

task block {"task_id":"task-...","reason":"needs the staging key"}

task cancel

Cancel a non-terminal task (owner-only)

task cancel {"task_id":"task-...","canceller":"alice"}

task claim

Claim an Open task (signed claim receipt fires through chokepoint)

task claim {"task_id":"task-...","claimant":"scribe"}

task create

Create a new task — emits no receipt yet (vertex only); claim/submit/approve drive the lifecycle.

task create {"owner":"alice","title":"do the thing","bounty":{"cre8/universal":50}}
task create {"owner":"alice","title":"clean docs"}
task create {"owner":"alice","title":"encrypt keys","project_id":"proj-7af3","bounty":{"cre8/universal":200},"tags":["security"]}

task get

Fetch one task by id

task get {"task_id":"task-..."}

task heartbeat

Extend your lease on a claimed task (default 30 minutes, at most 240)

task heartbeat {"task_id":"task-...","lease_minutes":30}

task ingest

Land a backlog manifest as tasks under its organization and project (default: the CRE8 backlog)

task ingest {"dry_run":true}
task ingest {}
task ingest {"path":"data/backlog/cre8.tasks.json","dry_run":true}

task list

List tasks — filter by status / owner / claimant / project_id

task list
task list
task list {"status":"open"}
task list {"owner":"alice"}
task list {"project_id":"proj-7af3"}

task progress

Post a progress note on a claimed task (claimant-only)

task progress {"task_id":"task-...","text":"parser done","percent":60}

task recommend

Rank the open-task queue for a peer by value + feasibility (optionally auto-schedule top picks)

task recommend {"peer_id":"alice","limit":5}
task recommend {"peer_id":"alice"}
task recommend {"peer_id":"alice","limit":3,"auto_schedule":true}

task release

Give a claimed task back (claimant-only)

task release {"task_id":"task-...","note":"out of time"}

task schedule

Time-block a task onto a calendar (auto-fit before its due date, or a given start)

task schedule {"task_id":"task-...","start_ts_ms":1717250400000}
task schedule {"task_id":"task-..."}
task schedule {"task_id":"task-...","start_ts_ms":1717250400000}
task schedule {"task_id":"task-...","resource_id":"alice","force":true}

task search-set

Enable or revoke owner-only task discovery using a validated account session

task search-set {"task_id":"task-...","enabled":true}

task submit

Submit evidence on a Claimed task (claimant-only)

task submit {"task_id":"task-...","claimant":"scribe","evidence":{"pr":"https://x.y/pull/42"}}

task unblock

Clear a task's blocked flag (claimant or owner)

task unblock {"task_id":"task-..."}

Other routes · 3

Routes without a connection
MethodPathKind
GET/view/taskraw handler
GET/view/task/map.jsonraw handler
GET/view/task/nextraw handler
3 rows

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerTask
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
Hyper vertex kinds written
Hyper edge kinds written
  • contributes_to
  • paid_for
  • pays
Asset namespaces read
  • None declared.
Asset namespaces minted
  • <task.bounty[*]>
  • cre8/project/{project_id}/contributions
  • cre8/task/{task_id}/completed
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Manifold
  • Value
  • Charter

Structure review · 1

Warnings · 1