task
Task
A task is one unit of work inside a project: a folder holding task.json (every field a script
reads) and task.md (the goal, in prose, that nothing parses). This skill makes one, moves an old
one into place, changes its state, splits it into a parent with children, or sets its run mode. It
does not run any of the six stages, and it does not pick which task is active: that is
/aida:next.
Every action below needs the active project's own folder (the one holding project.json, never
the code folder). Resolve that first, with the project skill, before using anything here.
Determine the run mode
Look for a stated run mode on the task active in this conversation, when one is already active.
Found, and it says autonomous or light: act autonomously through this whole invocation, passing
--run-mode autonomous on every call to the script below. Anything else, including no active
task, such as the moment create itself runs: act interactively, the safe default. Decide this
once, at the start. A mode that names stages in brackets covers this call only when it names the
stage this call runs inside.