Skip to main content

Task briefs and acceptance

Status: Ready

Truth label: Current

Audience: Fleet operator

Reader outcome: Use task briefs and acceptance in Cortex, with every control, its verification, and its limits stated.

Last verified: 2026-09-13

Cortex can define success before a task runs and record an operator judgment against the retained result. Open Task brief and criteria from the new task form or a task drawer. Open Review criteria and acceptance from the drawer or checkpoint review card.

Define and revise the request​

A brief contains a goal, task kind, constraints, acceptance criteria with stable IDs and expected evidence, requested relative output filenames, and source references. It travels alongside the task's execution settings and writing context. Source references are pointers to inspect; they do not override source eligibility or grant access to excluded material.

Save a new brief into the task form, then create the task to persist it. A pending task permits versioned brief edits with stale-save protection. History can be inspected, exported, imported into the editor, or restored as a new revision. After assignment, that attempt's frozen brief is immutable. If a task returns to pending, editing its next brief does not rewrite earlier attempts.

Brain's task tool accepts the same structured brief and inherits omitted priority and supervision settings through shared task intake. Identical dispatches within one Brain turn reuse a request ID and the complete first submission. Another turn can intentionally request the same title again. Different requirements with the same title no longer disappear behind title-only deduplication.

Requested output paths must name files inside the project. The worker includes explicitly named ignored files in baseline/final capture, subject to the existing dependency/build and size exclusions. This supports ignored draft folders while keeping capture bounded. External files remain outside capture. Declared filenames also participate in CLI change detection.

Assess and accept​

Each criterion starts as Not checked. Worker completion does not score criteria. Record passed, failed, not checked, or needs judgment with an operator finding. A passed assessment requires evidence: a retained artifact version and hash, the recorded worker check, the saved response, or a specific operator observation.

Behavior criteria cannot pass solely from whitespace or path containment checks. Failed or unexecuted checks cannot alone support a pass. A worker check recorded before a Cortex-derived edit cannot alone establish that the edited result passes. Those cases need review of the current output. Detailed command, working directory, exit status, timestamps and bounded output are currently retained by CLI executors; older and non-CLI attempts may only have their legacy summary.

Saving an assessment is separate from acceptance. Final checkpoint approval requires every criterion to pass or an explicit acceptance override reason. Plan approval and continuation retain their existing execution semantics. Completed autonomous tasks can record operator acceptance separately from execution completion. A failed gate still needs its explicit gate override.

Acceptance retains the frozen brief, assessment history, unresolved IDs, evidence versions, and any override reason. Editing a referenced deliverable makes its assessment stale. Any changed output version invalidates earlier acceptance, including acceptance by override. Operator observations and response/check-only assessments also bind to the output state at review time. Reassess and accept the revised result, or explain a new override. Prior decisions remain available.

Storage, bounds, and limits​

Forge SQLite owns task_briefs, attempt_briefs, criterion_assessments, and acceptance_decisions. Trace artifacts hold original/derived files and verification.json. Backup both Forge and trace storage to retain the evidence links. Briefs permit up to 30 entries per list and 40,000 serialized characters; criteria and expected-evidence wording are each bounded to 2,000 characters. Check output retains up to 64,000 characters per stream with truncation flags.

This workflow records judgments and their evidence. It does not certify a self-reported result, execute new verification on Cortex-edited content, or infer factual meaning from a successful command. Acceptance and artifact editing serialize inside the serving Central process; distributed coordination across multiple Central writers is outside the current local deployment contract. Old attempts without a frozen brief remain available through existing history but have no invented criterion record.

Further work includes named verification profiles and reruns, evidence annotations, portable accepted-output references, richer document previews, and broader queued execution-setting revisions. Tests cover frozen briefs, declared ignored files, prompts, evidence freshness, concurrent approvals and overrides. The browser test exercises the actual Cortex form, native import/export, pending revision, review, derived editing, stale acceptance, and a recorded override against an isolated Central fixture.