5.3 KiB
id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
| id | title | status | wave | depends_on | plan | requirements | acceptance_criteria | system_design | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 04-document-task-actions | Document Threads task actions | done | 4 |
|
plan.md |
|
|
|
Task 04: Document Threads Task Actions
Summary
Explain the completed desktop and phone task actions in the existing Threads usage guide. Record the verified implementation boundaries and work-order results without publishing unimplemented intent.
In scope
- Extend the Threads how-to section of
docs/public/sessions-and-review.mdwith header/overflow entry, nested phone choices, and the task-level target. - Link to the existing archive/delete guidance in
tasks-and-workflows.mdfor consequences and confirmation preference; add only a small Threads entry reference there if useful. Preserve both pages' parent changes. - Update
apps/web/components/threads/AGENTS.mdto name the shared action owner, header-only context boundary, and fallback integration. - Reconcile this package with the final implementation, record exact prior test/image evidence, and update requirement/design/work-order statuses as appropriate after the implementation request and completed checks.
Out of scope
- Production code, new tests, a broad verification audit, new public pages, screenshots of a developer instance, default Home behavior, commit/push/PR.
Acceptance
- The guide describes the tested desktop and phone entry points, task target, supported actions, and cancellation/empty behavior using visible product names. It links to the existing cleanup reference rather than duplicating its policy.
- Scoped engineering guidance names the actual shared action and viewport owners. Durable design and plan results reflect the completed work, including parent commit provenance and new phone inspection evidence.
- Public-doc validation and specification checks pass, with any blocker recorded accurately; test results are taken from completed work orders.
Verification
Run from the repository root:
node --test scripts/validate-public-docs.test.mjs
node scripts/validate-public-docs.mjs
python3 scripts/lint-spec-files.test.py
python3 scripts/lint-spec-files.py --all
git diff --check
No new TDD cycle applies to Markdown-only documentation. Do not rerun product test suites merely to rewrite their recorded results.
Files likely touched
docs/public/sessions-and-review.md(Threads how-to).docs/public/tasks-and-workflows.md(existing cleanup reference, if needed).apps/web/components/threads/AGENTS.md.docs/specs/tasks/requirements/threads-task-actions.mdand paired design.docs/plans/threads-task-actions/plan.mdand completed work-order results.
Dependencies
Tasks 01-03 and their recorded validation evidence.
Risks
The parent also edits these public pages and Threads guidance. Preserve the integrated text and explain only this task's additional capability.
Parallelism
sequential
Inputs
- Requirements.
- Design.
/docs-maintainer,docs/public/README.md, and prior work-order results.
Results
Completed after the desktop/mobile implementation and outcome checks.
- Updated the existing Threads section of
sessions-and-review.md, preserving the parent's text. It describes header/touch entry, nested Back navigation, captured task identity, cancellation and deterministic survivor/empty state. Cleanup consequences link to the existing task/workflow guide. - Updated the existing public coverage entry and scoped Threads guidance to identify the shared action/lifecycle owners and header-only event boundary.
- Reconciled the requirements, design, plan and all four work orders with the
implemented flow and actual test/image results. Requirements are
active, design iscurrent, and the plan/work orders aredone. - The public validator's unit tests and its 46-page live validation passed.
Specification linter tests passed (30), all specification files passed lint,
and
git diff --checkpassed. No public pages, navigation destinations, localization keys, default Home behavior, commit, push or PR were added.
PR feedback clarification (2026-09-10)
CodeRabbit identified an omitted recovery case in the Threads how-to. The
existing requirements and resolveRemainingThreadId already select the first
thread in the new view when neither a prior successor nor predecessor survives.
The public page now states this before the empty-state outcome. This is a
documentation correction, not a behavior change or a new requirement.
node --test scripts/validate-public-docs.test.mjs and
node scripts/validate-public-docs.mjs both passed (46 published pages).