Cortex stage inputs
Status: Ready
Truth label: Current
Audience: Fleet operator
Reader outcome: Use cortex stage inputs in Cortex, with every control, its verification, and its limits stated.
Last verified: 2026-09-13
Open a task with a parent and select Stage inputs. The next-claim preview identifies the prior task and attempt, criterion assessments, acceptance status, and retained artifact versions. A completed process is not labeled accepted unless its acceptance evidence says so.
While the task is pending and its parent is completed or held, edit the summary, decisions, open issues and next action. Save notes separately from criteria and acceptance. Notes are explicitly operator-authored. History restore and import populate the editor for review; export includes the saved notes and evidence references. Concurrent edits or a newer parent attempt require reloading. Importing notes does not reassign their original evidence to another run.
At claim, Forge retains the prior stage's full result, brief, notes revision and evidence references under the child's new attempt ID. Cortex can inspect these frozen inputs after later rework or note edits. The parent report is readable in pages and downloadable in full up to the browser's 8 million character limit. Artifact inspection opens the prior run's retained deliverables; the handoff evidence names the exact version captured.
The inline worker description includes the beginning and end of a long report, with an explicit omitted-middle notice, plus the structured inputs. Workers fetch a hash-checked copy of the frozen full report, up to 8 MB, into their private trace directory. CLI prompts point to that file. The agentic tool loop has read_stage_input(offset, limit) to inspect further pages. The JSON one-shot executor continues to receive the inline description and structured context; it has no additional reading tool. A failed or oversized worker copy is reported, not silently treated as complete context.
Worker run metadata distinguishes copy availability from proof the agent read it. Tool-loop reads appear in execution steps. No human-authored note or machine QA verdict automatically passes a criterion. Captured criterion and artifact evidence is a snapshot for that handoff; subsequent review can make current acceptance stale without rewriting the past handoff.
Forge stores note revisions in handoff_notes, attempt snapshots in attempt_handoffs, and full reports as traces/raw/<child-run>/prior-stage-result.txt. Worker-local verified copies use prior-stage-worker-copy.txt. These add retained private material to backups. Retention and orphan cleanup remain part of the broader artifact lifecycle work. Older claims without a captured handoff are explicitly unavailable; future claims capture one.
Verification uses a report with evidence in its omitted middle. Tests recover the full text, preserve it after a parent changes, reject stale notes and wrong task/run combinations, and reject a corrupted worker copy. The Cortex walkthrough verifies note editing, unchanged unchecked evidence, pagination, native report download, notes import/export, stale-save preservation and frozen attempt inspection.