Repository navigation
Description
Problem
#1172 gave .opencode/commands/speckit.testreview.md back to gaze. Gaze created the command (gaze d677298), and gaze init writes and refreshes it. uf had copied it in 223fab18 and later forked it so it used the review-dispatch plugin. That fork and the Go contract tests pinning it are gone, so nothing in uf calls the review-dispatch plugin with command: "speckit-testreview" any more.
The plugin, its tests and the schemas still support that command:
- Plugin:
.opencode/plugins/review-dispatch/index.tsand its scaffold mirrorinternal/scaffold/assets/opencode/plugins/review-dispatch/index.ts. Both have:"speckit-testreview"in thecommandenums of the plan, finalize and consolidate tool schemas- the
testmode and theTestReviewResultSchema(kind: "test-review") - the
"speckit-testreview": { modes: ["test"], kind: "test-review" }entry in the command map - the
test-reviewcase inworkflowKind() - the
test-review-scopeeligibility rule that limits test review todivisor-testing
- Schemas (
schemas/,.uf/schemas/andinternal/scaffold/assets/uf/schemas/):review-dispatch/v1.0.0.schema.json: thespeckit-testreviewcommand, thetestmode, the conditional branch for that command, and$defs/testReviewResultreview-dispatch-failure/v1.0.0.schema.json: thespeckit-testreviewcommand and thetestmode
- Tests:
.opencode/test/finalize-review-dispatch.test.ts: thetest-reviewverdict mapping cases.opencode/test/fixtures/review-dispatch/consolidation-cases.json: thetest-reviewtemplate and its three mapping cases.opencode/test/golden-output-shape.test.ts: thespeckit.testreview.md:<line>site entries and theacquire_sibling_evidence/prepare_lesson_learningcases labelled with them. Those line numbers point into a file uf no longer owns.internal/schemas/review_dispatch_test.go: thespeckit-testreview/test/test-reviewworkflow-verdict case
Proposed change
Remove support for the speckit-testreview command and the test mode from the plugin and its tests. Change the golden-output sites to point at a command uf still owns, or drop them.
Schema compatibility needs a decision. review-dispatch v1.0.0 is a published schema. Removing an enum value from it means review-dispatch artifacts already written with command: "speckit-testreview" would stop validating against v1. Options:
- Keep accepting the value in the v1 schemas so old artifacts still validate, and remove it only from the plugin's input enums, which decide what can be written from now on.
- Bump the schema version and keep v1 as the version for reading old artifacts.
Option 1 is probably enough, since the uf repo was the only writer.
Done when
- The plugin no longer accepts
speckit-testreviewor thetestmode, and both plugin copies stay byte-identical. - Schema handling follows the option chosen above, with a test for it.
- No test refers to
speckit.testreview.mdexcept the check that uf never embeds it. - The plugin and Go test suites pass.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity