Repository navigation
Description
Context & Rationale
ADR 0001 says task files stop carrying status, milestone and priority, because GitHub owns them. At ef21785 they still carry all three, and many were written before any work started.
-
All 301 task files have a
**Status**line, 299 have a**Milestone**line and 296 have a**Priority**line (rg -l '^\*\*Status\*\*' docs/agent/tasks). -
66 task files say Backlog and one says Ready (
task-593-…).- These were written before implementation, mostly by
gh issues sync-roadmap. Its generator writes**Status**: Backlog(github/roadmap_sync.py:303); feat(github): github-sourced roadmap, migration and generated roadmap view (devops roadmap migrate,render) #739 removes it. - Two of them belong to issues closed as superseded (feat(github): autonomous milestone scope governor & release air-lock oracle (
devops gh pm governor) #696, feat(docs): roadmap deferrals recorded once and honoured by every sync path #699).
- These were written before implementation, mostly by
-
tests/test_agent_task_files.py:12requires a Status of Backlog, Ready, In Progress or Done. -
docs/agent/tasks/README.mddocuments the three lines and four lifecycle states. -
AGENTS.md has three related rules:
- it asks for a task file before execution (
AGENTS.md:166); - it keeps the task file in step with the board (
:173-187); - it mirrors each bug into a task file and into
docs/ROADMAP.md(:322).
These rules are written by hand.
ai/instruction_generator.pyholds none of them. - it asks for a task file before execution (
Scope & Deliverables
- Deliverable:
- Remove the
**Status**,**Milestone**and**Priority**lines from every task file.**Issue**and**Scope**stay. - Delete every task file whose Status is not Done at this PR's base (67 at ef21785). The issue keeps the record, and git keeps the file.
tests/test_agent_task_files.pychecks that a task file links its issue, has no PR field, and has no Status, Milestone or Priority line.docs/agent/tasks/README.md: the template drops the three lines. "Lifecycle States" becomes one paragraph, saying that:- the task file is written only in the PR that delivers the item;
- status, release and priority live on GitHub.
- AGENTS.md (
:70-72,:121,:166,:173-187,:236,:312,:322) says three things:- no task file is written before implementation;
- a task file holds no status;
- bugs are filed as issues, not mirrored into task files or
docs/ROADMAP.md.
- Remove the
- Acceptance criteria:
rg -l '^\*\*(Status|Milestone|Priority)\*\*' docs/agent/tasksprints nothing.- The reviewer checks that the deleted files are exactly the files that were not Done at the base.
git diff --name-only --diff-filter=D <base>... -- docs/agent/tasksmust matchgit grep -L '^\*\*Status\*\*: Done' <base> -- 'docs/agent/tasks/task-*.md'. - A test gives the check a task file that has a
**Status**line, and the check fails. - The reviewer reads the hits of
rg -n -i 'task file' AGENTS.md. No rule asks for a task file before implementation, or for a status in it. - The new test runs offline in under 1 s.
uv run devops cipasses.
- Key questions:
- Does
**Scope**stay? Yes (proposed). Scope is a label, not a board field, and ADR 0001 names only status, milestone and priority. - Are the deleted files archived? No (proposed). Git history keeps them.
docs/agent/archive/holds compacted release history, not plans. - What about Done files that still have unchecked boxes? Not here. feat(github): pr readiness requires an issue-linked, completed task file #704 owns that check and fixes the 13 files.
- What about
project syncparsing task-file status (github/projects.py:216-258)? Not here. feat(github): pr readiness requires an issue-linked, completed task file #704 drops that parse.
- Does
- Constraint:
- No other AGENTS.md rule changes meaning. docs(agents): instruction surfaces state only what is true, and
devops ai agentsnever overwrites AGENTS.md #840 and docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841 own the rest. project syncand PR readiness stay with feat(github): pr readiness requires an issue-linked, completed task file #704.
- No other AGENTS.md rule changes meaning. docs(agents): instruction surfaces state only what is true, and
Strategic Alignment
- Milestone: Backlog (no release)
- Depends on: feat(github): github-sourced roadmap, migration and generated roadmap view (
devops roadmap migrate,render) #739, which removesgh issues sync-roadmap, the code that writes task files before implementation. - Related: feat(github): pr readiness requires an issue-linked, completed task file #704 (same test file), docs(agents): instruction surfaces state only what is true, and
devops ai agentsnever overwrites AGENTS.md #840 and docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841 (AGENTS.md), ADR 0001.
Split off #739 during the v0.2.25/v0.2.26 readiness review (2026-10-01): The original #739 scope included rewriting all 301 task files and deleting the 67 that were written before implementation. That work is independent of the GitHub migration and mechanical, and it touches 300+ files. ADR 0001 names it as a consequence. Splitting it off keeps #739 to one reviewable PR.
Update 2026-10-08: refinement
#739 and #704 landed, and readiness only asks a PR to change its task file, so this is unblocked. 450 task files carry **Status** (50 Backlog), and new files still add all three lines; the template (docs/agent/tasks/README.md:11, :42-44, :61-71) and tests/test_agent_task_files.py:12, :53 still require them. AGENTS.md rules moved to :72-74, :177-190, :408-413. The bug-mirroring rule is gone (AGENTS.md:106).
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 2, 2026
More evidence for this issue from the devsecops review session
20261001-224227(2026-10-02). Each finding below was triaged againstrelease/v0.2.25(c279c18), judged real and covered by this issue, and then upheld by a second agent that tried to refute it.AGENTS.md:177-179, re-rated LOW): The same rule appears twice. AGENTS.md:177-179 ('Commit Context Mandate...': task-file updates 'MUST ONLY be made in the context of the functional changes', never standalone commits or post-merge status PRs) is restated at AGENTS.md:237 ('No Standalone Agent Tracking Commits & Zero Post-Merge Status PRs ... MUST NEVER be committed as standalone one-off commits or follow-up PRs'). The finding misdescribes this a little: the quoted phrase appears only once, at :237, but the rule really is stated twice. Open issue docs(agents): task files carry no status, milestone or priority and are written only by the delivering pr #879 rewrites exactly these AGENTS.md lines (:173-187,:236) into three …dan-petty commentedon Oct 8, 2026
Linked: #1303 and #1348. All three change
tests/test_agent_task_files.py, and #1348 also edits the task template this item trims; whichever lands second rebases. Found by the 2026-10-08 backlog review.dan-petty commentedon Oct 17, 2026
Moved to v0.2.37: v0.2.37 started with fewer than its 16 items and was topped up to 16 from Ready items, critical fixes and P0 features first. (devops roadmap reprioritize)
docs(agents): task files carry no status, milestone or priority (#879) (
dan-petty commentedon Oct 18, 2026
What changed
#1660, merged into
release/v0.2.37as 1dc723b.546 file(s) changed.
How it was verified
Check runs at be7a205:
Acceptance Criteria of
docs/agent/tasks/task-879-task-files-no-status.md:**Status**,**Milestone**, and**Priority**lines from every task file indocs/agent/tasks/task-*.md.Doneat base (origin/release/v0.2.37).tests/test_agent_task_files.pyto enforce that task files link their issue, have no PR field, and have no Status, Milestone, or Priority line; added test verifying forbidden metadata lines raiseAssertionError.docs/agent/tasks/README.mdto drop metadata fields from template and document that status, release milestone, and priority live on GitHub.AGENTS.mdso no rule asks for a task file before implementation or for a status in it.changelog.d/879.md.feat(github): the github session reads rest listings page by page, fo…
feat(release): v0.2.37 (#1720)