Scope the presentation rulebook comment to task rows

This commit is contained in:
alex committed 2026-12-01 11:57:00 +00:00
1 parent 3c8712eb4b
commit 628fcb2ff4
1 file changed
+4 -2
+4 -2
View File
@@ -1,8 +1,10 @@
/**
* One presentation rulebook for tasks, jobs, and runs.
* The presentation rulebook for task rows, usage, and starts.
*
* The TUI renderer, the job text, and the dashboard keep their own layouts;
* they ask this module for the rules that decide what a state says. Functions,
* they ask this module for the rules that decide what a task row says. Workflow
* run summaries are deliberately not here: `journal.ts` owns
* `summarizeWorkflowRun`/`formatWorkflowRunSummary` (ticket #25). Functions,
* not a view model: each surface places the returned text where its layout
* needs it. Nothing here imports the Pi TUI, so the tool-text path stays free
* of renderer dependencies.