Skip to content

Restructure the product task workflow docs and skills - #3657

Merged
tom2drum merged 3 commits into
mainfrom
worktree-task-workflow-restructuring
Aug 24, 2026
Merged

Restructure the product task workflow docs and skills#3657
tom2drum merged 3 commits into
mainfrom
worktree-task-workflow-restructuring

Conversation

@tom2drum

Copy link
Copy Markdown
Collaborator

Description

Restructures the product-task workflow — the docs under .agents/tasks/ and every skill that runs it. No product code.

  • Docs split by concern: tasks/README.md is the process spine; new concepts.md (vocabulary, the ticket model, the write-once / freeze-on-land / prune-on-land rules) and structure.md (task-folder layout, file-ownership table).
  • subtask → ticket rename across all docs and skills (hierarchy stays spec → ticket → leaf); ADR-0002 renamed to match.
  • New to-tickets skill owns the breakdown, ticket authoring, and progress.md (moved out of grill-the-task). New finalize-task prunes the working files at land (only spec.md survives) and finalizes the PR.
  • implement-taskimplement-ticket: one ticket per run, commits when the ticket has no human touchpoint; the reviewer / --auto machinery is gone.
  • to-spec is create-once (spec.md + questions.md + draft PR). review-changes / resolve-review become the land-only whole-task pass — the spec's Functional Requirements are the review contract, posted as inline PR comments, with no per-ticket review file.
  • Tickets declare a unified Blocked by list with T<NN> (ticket) and Q<NN> (question) prefixes.

Environment variables

None.

Minimum API version

None.

Breaking or incompatible changes

None. Existing task specs under .agents/tasks/*/ keep their subtasks/ layout as frozen records.

Additional information

Instruction-surface only; pnpm lint:doc-links passes.

Spec is now write-once; the breakdown moves out of grilling into a new
to-tickets skill; land prunes working files to just spec.md. Rename
subtask → ticket across docs and skills. Split the workflow doc into a
README spine plus concepts.md and structure.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@tom2drum tom2drum left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Id Sev Axis Loc
F1 blocker correctness implement-ticket:25
F2 blocker correctness tasks/README.md:35
F3 major correctness create-pr:22
F4 major correctness to-spec:40
F5 major correctness concepts.md:95
F6 major correctness implement-ticket:37
F7 major correctness tasks/README.md:33
F8 major standards gh-commands.md:18
F9 nit standards tasks/README.md:32
F10 nit standards create-pr:118

No spec axis — this PR has no spec.md (work outside the task-folder workflow).

Not anchorable

F11 · major · correctness.claude/agents/code-reviewer.md:3 still says “Dispatched by implement-task”, “the only file you write is the review record”, Outcome clear|blocked|needs-human. implement-task and review-template.md are gone; review-changes posts inline comments and writes no record. Point this agent at review-changes or delete it. (File is not in the PR diff.)

— Reviewed by Cursor Grok 4.6

Comment thread .agents/skills/implement-ticket/SKILL.md Outdated
Comment thread .agents/tasks/README.md
Comment thread .agents/skills/create-pr/SKILL.md Outdated
Comment thread .agents/skills/to-spec/SKILL.md
Comment thread .agents/tasks/concepts.md Outdated
Comment thread .agents/skills/implement-ticket/SKILL.md Outdated
Comment thread .agents/tasks/README.md Outdated
Comment thread .agents/skills/review-changes/gh-commands.md Outdated
Comment thread .agents/tasks/README.md Outdated
Comment thread .agents/skills/create-pr/SKILL.md Outdated
@tom2drum

Copy link
Copy Markdown
Collaborator Author

F11 (from the review body's Not anchorable section) — fix, in 5ea1b18. .claude/agents/code-reviewer.md de-staled: dropped the implement-task dispatcher reference, replaced "the only file you write is the review record" with posting findings as inline PR comments (no record written), and reworded the Outcome contract. Kept the agent (updated) rather than deleting it, so a land review can still run via a subagent.

@tom2drum tom2drum left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arbitration round.

Id Ruling
F1 verified
F2 verified
F3 verified
F4 verified
F5 verified
F6 not fixed — still open
F7 verified
F8 verified
F9 verified
F10 verified
F11 verified (was not-anchorable; file is now in the diff)

Not anchorable

None this round.

— Reviewed by Cursor Grok 4.6

Comment thread .claude/agents/code-reviewer.md Outdated
F6: make implement-ticket resumption-safe — start at the first unchecked
leaf, stop at the first unchecked [human] leaf, and continue in-session
after a human touchpoint rather than re-invoking the skill.

F12: code-reviewer is invoked manually, not auto-launched at land.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@tom2drum tom2drum left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review clear

Severity Open
blocker 0
major 0
nit 0
Axis Open
spec n/a
standards 0
correctness 0

— Reviewed by Cursor Grok 4.6

@tom2drum
tom2drum merged commit 080a1c4 into main Aug 24, 2026
6 checks passed
@tom2drum
tom2drum deleted the worktree-task-workflow-restructuring branch August 24, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant