issue-assessment does not persist user decisions from ambiguity resolution
Summary
issue-assessment identifies ambiguities in Step 4 and may ask the user to resolve them via follow-up questions. However, the command has no instruction to persist those answers to GitHub. The only decision persistence is on the cancel path (Step 6). This means a follow-up session (e.g., issue-plan) has no visibility into decisions the user already made during assessment.
Current Behavior
- Step 4 surfaces ambiguities and open questions
- The user resolves them via
AskUserQuestionor follow-up discussion - The assessment comment (Step 5/6) is posted but does not include the user's answers to ambiguity-resolution questions
- Decision persistence only fires on the cancel path (Step 6, cancel branch)
- Follow-up sessions must re-ask the same questions or guess
Proposed Behavior
When the user resolves ambiguities surfaced in Step 4, those decisions should be persisted to GitHub. Two approaches to consider:
- Inline in the assessment comment: Add a "Decisions" or "Resolved Questions" section to the posted comment, similar to how
issue-planembeds a## Decision Login the plan comment. - Separate decision comment: Post a
<!-- mach10-decisions -->comment after the assessment comment, capturing question-answer pairs.
Either way, the answers should be present on the issue before the session ends.
Acceptance Criteria
- When
issue-assessmentsurfaces ambiguities and the user resolves them, the resolutions are persisted to GitHub (either inline in the assessment comment or as a separate decision comment) - The persisted decisions are visible to subsequent sessions (e.g.,
issue-plan) - When no ambiguities are surfaced or no follow-up questions are asked, no empty decision section is posted
- The decision-comment marker sync note in CLAUDE.md is updated if a separate
<!-- mach10-decisions -->comment approach is used
Context
- Gap in the scope of #61, which added decision persistence for cancel/skip/proceed-despite-findings paths but did not cover ambiguity-resolution Q&A during the assessment itself
issue-planalready handles this well via the## Decision Logsection (Step 7, lines 152-156)- Observed in practice during assessment of issue 74: user had to explicitly ask "Did you record my answers on GitHub?" after resolving two ambiguities
Implementation Plan
Stage 1: Add interaction-finding persistence to issue-assessment
What it accomplishes: Makes issue-assessment persist substantive findings from user interaction to GitHub, inline in whatever content is posted during the approve path.
Files modified:
commands/issue-assessment.md-- Add Step 4a (tracking instruction), modify Step 6 approve path (append Assessment Notes section)CLAUDE.md-- Update decision-comment marker sync note to reflect thatissue-assessmentnow has an inline variant.claude-plugin/plugin.json-- Version bump
Changes:
-
Insert Step 4a between Steps 4 and 5 in
issue-assessment.md. This instructs Claude to track substantive findings as the user interaction unfolds after the initial assessment -- reframed problems, resolved ambiguities, discovered constraints, shifted root causes. These findings are carried forward to Step 6, where they are included in the content posted to GitHub so they persist for future sessions running on any machine. Includes an explicit "do not manufacture findings" guard. -
Modify Step 6 approve path to append an
## Assessment Notessection to the drafted content before posting to GitHub. Freeform format (narrative paragraph or tight bullet list -- whichever fits). Omission condition: skip the section entirely if Step 4a produced no substantive findings. -
Update CLAUDE.md line 65 (decision-comment marker sync note) to move
issue-assessment.mdfrom the standalone-marker list to the inline-variants description, alongsideissue-plan.md's## Decision Log. -
Version bump in
.claude-plugin/plugin.json.
What is NOT changed: The cancel path in Step 6 stays as-is -- it still posts a standalone <!-- mach10-decisions --> tombstone. There is no user-approved content to embed notes into when the user cancels.
Testing: This is a plugin definition repo with no testable runtime code. Verification is by reading the modified command and confirming the instructions are clear and consistent.
Decision Log
Assessment Notes framing
The user emphasized that assessment is inherently exploratory. The instruction must make Claude feel compelled to document substantive interaction findings organically -- not as a rigid Q&A capture. The section is named "Assessment Notes" (not "Decision Log") and uses freeform format to reflect this.
Inline vs. separate comment
Inline in the assessment content was chosen because: (a) it mirrors how issue-plan embeds a Decision Log in the plan comment, (b) the standalone <!-- mach10-decisions --> pattern is reserved for negative/audit paths (cancel, skip, proceed-despite-findings), and (c) keeping it inline means future sessions get full context in one read.
"Note" means "persist to GitHub"
Step 4a's tracking instruction explicitly states that findings are carried forward to Step 6 where they are posted to GitHub, ensuring cross-session persistence. This is not ephemeral note-taking.
This plan will guide staged implementation via /mach10:issue-implement.
Implementation Plan
Stage 1: Add interaction-finding persistence to issue-assessment
What it accomplishes: Makes issue-assessment persist substantive findings from user interaction to GitHub, inline in whatever content is posted during the approve path.
Files modified:
commands/issue-assessment.md-- Add Step 4a (tracking instruction), modify Step 6 approve path (append Assessment Notes section)CLAUDE.md-- Update decision-comment marker sync note to reflect thatissue-assessmentnow has both an inline variant and a standalone variant.claude-plugin/plugin.json-- Version bump
Changes:
-
Insert Step 4a between Steps 4 and 5 in
issue-assessment.md. This instructs Claude to begin tracking substantive findings as the user interaction unfolds -- reframed problems, resolved ambiguities, discovered constraints, shifted root causes. Tracking is a persistent instruction that spans Steps 4a through 6: it covers the Step 5 action-selection decision, any modification rationale gathered during the Step 6 Modify loop, and any other exchange that changes the session's direction. Findings are carried forward to Step 6, where they are included in the content posted to GitHub so they persist for future sessions running on any machine. Includes an explicit "do not manufacture findings" guard. -
Modify Step 6 approve path to append an
## Assessment Notessection to the drafted content before posting to GitHub. Freeform format (narrative paragraph or tight bullet list -- whichever fits). Omission condition: skip the section entirely if Step 4a produced no substantive findings. Path-specific behavior:- "Post a reply comment" or "Both": Append
## Assessment Notesto the reply comment draft. - "Update issue body": The issue body should not be polluted with session-specific interaction history. Instead, post a small follow-up comment containing only the
## Assessment Notessection (no<!-- mach10-decisions -->marker -- this is primary-path content, not an audit stub).
- "Post a reply comment" or "Both": Append
-
Update CLAUDE.md line 65 (decision-comment marker sync note). The current note lists
issue-assessment.mdas a standalone-marker emitter. After this change,issue-assessment.mdhas two persistence paths: it emits a standalone<!-- mach10-decisions -->on its cancel path (unchanged) and embeds an inline## Assessment Notessection on its approve path (new). Update the sync note to describe both roles, similar to howissue-plan.mdis already documented as having an inline## Decision Logvariant. -
Version bump in
.claude-plugin/plugin.json.
What is NOT changed: The cancel path in Step 6 stays as-is -- it still posts a standalone <!-- mach10-decisions --> tombstone. There is no user-approved content to embed notes into when the user cancels.
Testing: This is a plugin definition repo with no testable runtime code. Verification is by reading the modified command and confirming the instructions are clear and consistent.
Decision Log
Assessment Notes framing
The user emphasized that assessment is inherently exploratory. The instruction must make Claude feel compelled to document substantive interaction findings organically -- not as a rigid Q&A capture. The section is named "Assessment Notes" (not "Decision Log") and uses freeform format to reflect this.
Inline vs. separate comment
Inline in the assessment content was chosen because: (a) it mirrors how issue-plan embeds a Decision Log in the plan comment, (b) the standalone <!-- mach10-decisions --> pattern is reserved for negative/audit paths (cancel, skip, proceed-despite-findings), and (c) keeping it inline means future sessions get full context in one read.
"Note" means "persist to GitHub"
Step 4a's tracking instruction explicitly states that findings are carried forward to Step 6 where they are posted to GitHub, ensuring cross-session persistence. This is not ephemeral note-taking.
Body-only path handling (plan review finding)
When the user's selected action is "Update issue body" only, Assessment Notes are posted as a small follow-up comment rather than appended to the issue body. The issue body is a shared artifact that should contain the problem description, not session-specific interaction notes. No <!-- mach10-decisions --> marker is used because this is primary-path content, not an audit stub.
Step 4a tracking scope (plan review finding)
Step 4a is a persistent instruction, not a snapshot. It spans the entire interaction from Step 4a through Step 6, capturing the Step 5 action-selection decision, Modify-loop rationale, and any other substantive exchange -- not just the static content from Step 4.
This plan will guide staged implementation via /mach10:issue-implement.
Progress: Stage 1 complete
Implemented interaction-finding persistence for issue-assessment.
Changes (commit dbadb5c):
commands/issue-assessment.md: Added Step 4a (persistent tracking instruction spanning Steps 4a-6) for substantive findings -- reframed problems, resolved ambiguities, discovered constraints, shifted root causes, action rationale. Modified Step 6 approve path to append an## Assessment Notessection with path-specific behavior: inline in reply comments, follow-up comment for body-only edits.CLAUDE.md: Updated decision-comment marker sync note to describeissue-assessment.md's dual role (inline Assessment Notes on approve path, standalone<!-- mach10-decisions -->on cancel path)..claude-plugin/plugin.json: Version bump 1.9.0 -> 1.10.0.
Cancel path unchanged -- still uses standalone <!-- mach10-decisions --> tombstone.