Skip to content

ADR-365: Update stale handoff prose in workflow-orchestrate plan assets - #100

Closed
jodavis-claude wants to merge 2 commits into
dev/claude/ADR-363from
dev/claude/ADR-365
Closed

ADR-365: Update stale handoff prose in workflow-orchestrate plan assets#100
jodavis-claude wants to merge 2 commits into
dev/claude/ADR-363from
dev/claude/ADR-365

Conversation

@jodavis-claude

Copy link
Copy Markdown
Collaborator

Work item: ADR-365 — the handoff-state prose in workflow-orchestrate's two plan asset files (implement-task-plan.md, fix-issue-plan.md) incorrectly claimed final-sign-off itself converts the PR to ready, assigns the Jira issue, requests review, and comments. That responsibility split moved to the new after-hand-off instruction mechanism (ADR-363/ADR-361/ADR-360), and this task updates the documentation to match.

Changes:

  • plugins/dev-team/skills/workflow-orchestrate/assets/implement-task-plan.md — rewrote the post-mermaid-diagram paragraph describing the handoff state: final-sign-off now described as only reporting hand-off readiness, with PR-ready/review-request/assignment work performed afterward by the event's configured after-hand-off instructions.
  • plugins/dev-team/skills/workflow-orchestrate/assets/fix-issue-plan.md — identical rewrite applied to the equivalent paragraph for consistency between the two plan assets.
  • No changes to either file's mermaid diagram or state transition table (explicitly out of scope).

Design decisions:

  • Kept the first sentence of each paragraph unchanged (still accurate) and rewrote only the second sentence, per the brief.
  • Dropped the old "adds a Jira comment noting the hand-off" clause — the spec's new default after-hand-off instructions (promote, request-review, assign-work-item) don't include a comment step.
  • This task's worktree is based on plain main and does not include ADR-363's code changes (not yet merged into feature/ADR-337-config); since the edit is prose-only and doesn't depend on that code being present, it proceeded without pulling those commits in.

Testing completed:
No unit or E2E tests apply — this is a documentation-prose-only change with no classified components in scope. Verified via manual review that the rewritten prose accurately reflects the new handoff sequence described in _spec_WorkflowEventHooks.md and the already-implemented final-sign-off/work-with-pr/run-event-hooks skills.

@github-actions

Copy link
Copy Markdown

build-and-test: Python test results

Status: ✅ Passed

Test log

@jodavis-claude jodavis-claude 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.

Reviewed against the ADR-365 task brief and exit criteria.

Exit criteria check:

  • implement-task-plan.md's post-diagram prose no longer claims final-sign-off itself converts the PR to ready, assigns the Jira issue, requests review, and comments — now correctly describes the after-hand-off-instruction-driven split. Met.
  • fix-issue-plan.md's equivalent prose updated identically. Met.
  • Neither file's mermaid diagram or state transition table changed — confirmed via diff (only the prose paragraph after each diagram was touched). Met.

Consistency check: Cross-referenced against plugins/dev-team/skills/get-project-configuration/assets/default-config.yaml's after-hand-off defaults (promote, request-review, assign-work-item — no comment step) already landed via ADR-360 on this PR's base branch. The new prose's terminology and behavior description line up with that config, and correctly omit the old "Jira comment" clause per the brief. final-sign-off/SKILL.md itself hasn't been trimmed yet (ADR-363 not yet merged into this base branch) — that's a pre-existing, already-flagged sequencing gap for the epic, not something this prose-only PR needs to resolve.

No Priority 1-4 issues found (this is a documentation-prose-only change with no code, so correctness/security/performance dimensions don't apply).

Minor style nit (non-blocking): in both files, "converting the PR to ready for review, requesting the human reviewer's GitHub review, and assigning the work item to them is performed afterward" — three coordinated gerund-phrase subjects joined by "and" conventionally take a plural verb ("are performed"). Feel free to leave as-is or fix at your discretion.

Approving.

@jodavis-claude
jodavis-claude marked this pull request as ready for review July 29, 2026 05:56
@jodavis-claude
jodavis-claude requested a review from jodavis July 29, 2026 05:57
final-sign-off no longer itself converts the PR to ready, assigns the
work item, and requests review — that work now happens via this
event's configured after-hand-off instructions. Updated the prose in
both implement-task-plan.md and fix-issue-plan.md to describe the new
instruction-driven split; mermaid diagrams and transition tables are
unchanged.
@jodavis
jodavis changed the base branch from feature/ADR-337-config to dev/claude/ADR-363 July 29, 2026 18:39

@jodavis jodavis left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Update based on latest comments in #99

Comment on lines +45 to +49
The `handoff` state runs `final-sign-off` once a PR has been approved — either directly
out of `reviewing` on a clean first pass, or out of `signoff` after a `fixing-pr` cycle.
It converts the PR from draft to ready for review, assigns the Jira issue to the human
reviewer, requests their GitHub review, and adds a Jira comment noting the hand-off.
`final-sign-off` itself only reports that the hand-off point was reached; converting the PR
to ready for review, requesting the human reviewer's GitHub review, and assigning the work
item to them is performed afterward by this event's configured `after-hand-off` instructions.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This won't be accurate anymore. handoff is being removed, and handoff activities are now after-signoff-success events. However, we should only mention those activities as examples, because they won't be in the default set later.

Comment on lines +36 to +40
The `handoff` state runs `final-sign-off` once a PR has been approved — either directly
out of `reviewing` on a clean first pass, or out of `signoff` after a `fixing-pr` cycle.
It converts the PR from draft to ready for review, assigns the Jira issue to the human
reviewer, requests their GitHub review, and adds a Jira comment noting the hand-off.
`final-sign-off` itself only reports that the hand-off point was reached; converting the PR
to ready for review, requesting the human reviewer's GitHub review, and assigning the work
item to them is performed afterward by this event's configured `after-hand-off` instructions.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

See other comment.

@jodavis

jodavis commented Jul 29, 2026

Copy link
Copy Markdown
Owner

There are no changes to make here, the prose is already being updated in PR #99

@jodavis jodavis closed this Jul 29, 2026
@jodavis
jodavis deleted the dev/claude/ADR-365 branch July 29, 2026 18:46
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.

3 participants