๐Ÿ“‹ Task Lifecycle

From idea to archive โ€” the full journey of a work unit through the Agentic Hub.

Status Flow

draft โ†’ idea โ†’ ready โ†’ backlog โ†’ active โ†’ done โ†’ archived
StatusMeaningWho Sets It
draftBrain dump, not yet committed. ID prefix d-Portal Inbox (auto)
ideaWorth considering, needs shapingClara (classification)
readyShaped and scoped, ready to be picked upClara or Adrian
backlogPrioritized and queued for workClara (align/focus)
activeCurrently being worked on/task start
doneWork complete, pending archive/task done
archivedMoved to archive, no longer active/clara archive

Task Commands

/task start <ID>

Begin Working on a Task

Creates the task folder at tasks/active/A{ID}-{slug}/, writes an initial README.md, records the start time, and PATCHes the D1 status to active.

What it does:

  • Create tasks/active/A{ID}-{slug}/ directory
  • Write README.md with task context from D1
  • Record start time for velocity tracking
  • PATCH task status to active in D1
  • Post session-start message to #dev channel

/task save

Mid-Session Checkpoint

Saves progress without closing the task. Commits current changes, updates the task README, but does NOT log velocity or mark as done.

When to use: Long sessions where you want to preserve progress before a break. The task remains active.

/task done

Complete a Task

The full wrap-up: commit, log, velocity entry, memory update, and status change to done.

What it does:

Git commit โ†’ Write log (dual-write) โ†’ Record velocity โ†’ Update memory โ†’ PATCH status=done โ†’ Post to #dev

/task archive

Archive a Completed Task

Moves the task folder from tasks/active/ to tasks/archive/ and PATCHes D1 status to archived. Usually done by Clara, not manually.

/task spawn

Prepare Deferred Work Package

Creates a work package that can be executed later via Bifrost. Useful for breaking large tasks into autonomous sub-jobs that run without VS Code.

Task IDs

PatternExampleMeaning
A{number}A94Committed task in the tech tree (Agentic workspace)
d-{uuid}d-a1b2c3Draft โ€” not yet shaped into a real task
Task IDs are sequential. The next Agentic task after A97 will be A98. Each workspace could have its own ID scheme, but currently only Agentic uses the A-prefix convention.

Task Folder Structure

tasks/active/A94-portal-docs-expansion/
โ”œโ”€โ”€ README.md          Task context, status, notes
โ”œโ”€โ”€ plan.md            Implementation plan (optional)
โ””โ”€โ”€ ...                Any working files for the task

The task folder is the agent's working space. It's created by /task start and moved to tasks/archive/ by /clara archive.

For Agents

Critical rule: Always query D1 (GET /api/tasks) for task data โ€” never grep local files. D1 is the source of truth. Use -DisableKeepAlive on all API calls.