Repository navigation
docs: resolve assess clarifications by editing artifacts in place - #4402
Conversation
The assess README and decide command told people to re-run an earlier stage when decision.md said needs-clarification. That fights the sequential intake → research → define → shape → decide flow: each command normally runs once and leaves an editable Markdown file. Document direct edits and free-form agent updates as the default path, including refining decision.md itself, and keep stage re-runs as the exception for bad or discarded drafts.
There was a problem hiding this comment.
🟡 Changes recommended
Two moderate documentation inconsistencies must be resolved before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Documents in-place clarification for the sequential assess workflow rather than rerunning stages.
Changes:
- Explains editable artifact refinement.
- Updates decision-stage clarification guidance.
- Revises the assess flow diagram.
File summaries
| File | Review |
|---|---|
extensions/assess/README.md |
Flow diagram still routes clarification back to intake; use an artifact-refinement node returning to the decision. |
extensions/assess/commands/speckit.assess.decide.md |
Add decision.md to the allowed clarification artifacts. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…-place-clarification
Route the assess diagram through a refine step back to decide, and list decision.md among the artifacts that path can update.
There was a problem hiding this comment.
🟡 Changes recommended
A moderate inconsistency still recommends rerunning completed stages for some clarification cases.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Balanced
|
Thanks for working through the feedback. I’d like to narrow this back to the original intent: document that generated Markdown artifacts remain user-editable, without changing what the commands produce. A user may edit With that distinction, I don’t think we should expand this PR into Posted on behalf of @mnriem by GitHub Copilot (model: GPT-5.6 Sol). |
Keep speckit.assess.decide's existing output template. Clarifications are filled in the Markdown after the command finishes, not by changing what the command writes.
|
@mnriem narrowed this back to the original intent.
The README documents that generated Markdown stays user-editable after the command finishes: edit the file, or ask an agent in free-form chat. I did not touch |
There was a problem hiding this comment.
🟡 Changes recommended
Update the command guidance to use in-place artifact refinement instead of stage reruns.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Balanced
|
Thank you! |
…ement
Review asked for focused coverage of the decide report-back contract:
the existing assess tests verify layout, catalog registration,
resolution, and installation, so they would still pass if the
needs-clarification guidance regressed to "re-run the named stage".
Pin the guide's side on the report-back arrow line: the next step names
in-place refinement, never the unconditional re-run, and any re-run
mention comes after the refinement wording and stays conditional
("only when"). The verdict definition and the decision.md output
template deliberately stay untouched, as github#4402 established.
The test fails against the pre-github#5325 wording and passes with it.
Assisted-by: Claude Code (model: Claude Fable 5, supervised)
…thub#4402) * docs: resolve assess clarifications by editing artifacts in place The assess README and decide command told people to re-run an earlier stage when decision.md said needs-clarification. That fights the sequential intake → research → define → shape → decide flow: each command normally runs once and leaves an editable Markdown file. Document direct edits and free-form agent updates as the default path, including refining decision.md itself, and keep stage re-runs as the exception for bad or discarded drafts. * Clarify needs-clarification as in-place artifact refinement. Route the assess diagram through a refine step back to decide, and list decision.md among the artifacts that path can update. * Narrow assess clarification docs to user-editable artifacts Keep speckit.assess.decide's existing output template. Clarifications are filled in the Markdown after the command finishes, not by changing what the command writes. --------- Co-authored-by: Gyanu <gyanum.ug20.cse@gmail.com>
…ment guide (#5329) * docs(assess): align decide's needs-clarification step with the assessment guide docs/guides/assessment.md says answering a [NEEDS CLARIFICATION] question is artifact refinement: edit the Markdown in place or ask in free-form chat, and re-run a stage only as an exception. The decide command's report-back template still told the agent to re-run the named stage, so tools offering a next step had to pick a side, and a re-run also triggers the overwrite confirmation -- one more prompt than the guide describes. PR #4402 aligned the README and the guide but left this line behind. Reword the needs-clarification next step to match the guide and the README's own refine path: update the named artifact in place, revise decision.md if that clears the blocker, and re-run a stage only when the answer changes that stage's inputs. Patch-bump the assess extension to 1.0.3 in extension.yml, the core catalog, and the assess bundle, which the bundled-extension-versions contract test keeps in sync. Fixes #5325 Assisted-by: Claude Code (model: Claude Fable 5, supervised) * test(assess): pin decide's needs-clarification step to in-place refinement Review asked for focused coverage of the decide report-back contract: the existing assess tests verify layout, catalog registration, resolution, and installation, so they would still pass if the needs-clarification guidance regressed to "re-run the named stage". Pin the guide's side on the report-back arrow line: the next step names in-place refinement, never the unconditional re-run, and any re-run mention comes after the refinement wording and stays conditional ("only when"). The verdict definition and the decision.md output template deliberately stay untouched, as #4402 established. The test fails against the pre-#5325 wording and passes with it. Assisted-by: Claude Code (model: Claude Fable 5, supervised) * docs(assess): keep decide's report-and-stop separate from reassessment Per maintainer direction on #5329: a needs-clarification verdict reports the blocking questions and stops; the user refines the named artifact in place (direct edit or explicitly directing an agent) and then requests reassessment by re-running the decide command against the updated artifacts. Drop the interim "revise decision.md" wording that let the agent edit the decision in place, align the README flowchart and the assessment guide's refinement section with the same separation, and repin the contract test to reject both the old unconditional stage re-run and the interim in-place revision. Assisted-by: Claude Code (model: Claude Fable 5, supervised) * docs(assess): align every clarification path with reassess-through-decide Copilot flagged three places where the old wording survived the report-and-stop rework: the decide command's opening summary still sent a needs-clarification verdict back to an earlier stage, the extension README's clarification prose still had the agent revise decision.md in place, and the agentic-assessment reference page did the same. All three now route reassessment through re-running decide against the refined artifacts, with earlier-stage reruns staying the exception, and the contract test also rejects the stale opening summary. Assisted-by: Claude Code (model: Claude Fable 5, supervised) * docs(assess): scope dependent-wording review to all affected artifacts Copilot pointed out that limiting the review to the artifact being edited misses downstream staleness: a clarification in problem.md can leave concept.md wording stale, and decide reads both. The README and the reference page now direct the user to review dependent wording across the affected artifacts, with decision.md staying the command-owned exception. Assisted-by: Claude Code (model: Claude Fable 5, supervised) * docs(assess): distinguish interactive and automated decision overwrites Clarify the reassessment rules in the guide, README, and reference. Interactive runs ask before replacing an existing decision, while automated runs refuse. Assisted-by: Codex (model: GPT-6, autonomous) * docs(assess): align guidance with revisiting the named stage Restore the original decide command and decision template behavior. Align the guide, README, and reference with rerunning the stage named in the decision and the existing overwrite rules. Assisted-by: Codex (model: GPT-6, autonomous)
Summary
needs-clarificationat refining the named artifact (ordecision.md), not re-running the stage by defaultspeckit.assess.decideguidance to matchContext
[NEEDS CLARIFICATION: …]markers were easy to read as “go back and re-run intake/research/…”. The assess extension is meant to be sequential: fill gaps in the existing files, then continue. A dedicated clarify loop stays out of scope (custom extension/preset territory).Test plan
uv run pytest tests/extensions/assess/extensions/assess/README.mdandspeckit.assess.decide.mdfor consistencyFixes #4378