Skip to content

fix(commands): document actual review-dispatch data flows (#735) - #761

Merged
jflowers merged 11 commits into
unbound-force:mainfrom
jflowers:opsx/fix-triage-issue-dispatch-docs
Oct 20, 2026
Merged

jflowers merged 11 commits into
unbound-force:mainfrom
jflowers:opsx/fix-triage-issue-dispatch-docs

Conversation

@jflowers

Copy link
Copy Markdown
Contributor

Summary

Fixed issue #735: the /uf.triage-issue command (and its three
dispatch-driving siblings /uf.review-council,
/uf.address-feedback, /uf.review-pr) documented a false dispatch
data-flow. Delivered, per the approved OpenSpec change:

  1. Corrected command documentation across all four commands plus
    their scaffold mirrors — dispatch_review_runs returns a
    counts-only summary; a single sanctioned no-provenance
    consolidate_dispatch retrieval supplies run records, verdicts,
    and lesson proposals; proposals carry the {agent, information, tag, category} shape; the exactly-once finalization bound is
    scoped to the provenance-bearing call; failure modes are specified
    (transient retry-once, permanent fail-closed, all-skip dispatch as
    valid outcome); verdicts resolve from run-recorded
    workflow_verdict, never child prose.
  2. New read_assessment_fields review-dispatch plugin tool
    (258 additive lines + 31 tests) that owns transcript
    assessment-field reads and untrusted-input validation as
    executable, tested code, extracting what was previously command
    prose (DE-001).
  3. Maintainer-approved adoption of @opencode-ai/plugin
    1.4.10 → 1.19.0
    with the full lockstep set — scaffold mirrors,
    provenance/rollback testdata, registry-verified licenses, msgpackr
    1→2 review, and a Node >= 22.22.2 engine floor — landed as
    dedicated commit 0868c22 per the commit-scope rule.
  4. SC-FR-003 superseded-by annotation, CHANGELOG entry, documentation
    issues docs: dispatch data-flow corrections, read_assessment_fields tool, and Node engine floor (fix-triage-issue-dispatch-docs) #754/Investigate: issue linking for local pre-PR reviews in /review-council #312, and follow-ups review-dispatch: extend consolidate payload with assessment fields (backend swap for read_assessment_fields) #755 (payload schema extension),
    audit speckit-testreview command for dispatch data-flow accuracy #756 (speckit-testreview audit), review-dispatch: second dispatch in the same opencode session reuses the first dispatch's correlation ID and stale session metadata #760 (dispatch session collision
    defect found during finalization).

Closes #735

How to Test

  1. openspec validate fix-triage-issue-dispatch-docs --strict —
    valid (exit 0)
  2. openspec status --change fix-triage-issue-dispatch-docs — 4/4
    artifacts complete, 29/29 tasks checked
  3. make check — exit 0: lint, vet, go test -race -count=1 all
    packages, build, coverage gate, plugin tests
  4. make plugin-test — 33 files, 903 tests, coverage 94.55%
    statements / 86.98% branches (thresholds 90/85)
  5. go test ./internal/scaffold -run TestPluginPackageInputs -v —
    pin enforcement green against @opencode-ai/plugin 1.19.0
  6. From .opencode/:
    npx vitest run test/review-dispatch-read-assessment-fields.test.ts
    — 31 tests: parser bounds (128/64/4096/16x512), contract-shape
    tolerance, unavailable-field semantics, and integration through a
    dispatched run
  7. Command/mirror parity is enforced by
    TestEmbeddedAssets_MatchSource and
    TestSCFR001_CanonicalAssetSurfaceMatchesMirrors (both green)
  8. Dispatch docs: .opencode/commands/uf.triage-issue.md
    §2.3/§2.4/§3.1/§4.6 carry the counts-only contract, the sanctioned
    no-provenance retrieval with transient/permanent/all-skip failure
    behavior, and read_assessment_fields as the sole
    assessment-field source

How to Demo

Run /uf.triage-issue <N> against a live issue: after
dispatch_review_runs completes, the command performs the single
no-provenance consolidate_dispatch retrieval, pulls assessment
fields via read_assessment_fields (not improvised
list_sessions/db_read_session reads), and resolves the verdict
from run-recorded workflow_verdict — no improvised retrieval paths
remain.

Key Files Changed

  • .opencode/commands/uf.triage-issue.md (+107) — corrected dispatch
    data-flow contract (canonical)
  • .opencode/commands/uf.review-council.md,
    uf.address-feedback.md, uf.review-pr.md — same
    proposal-sourcing corrections
  • .opencode/plugins/review-dispatch/index.ts (+257) — new
    read_assessment_fields tool
  • .opencode/test/review-dispatch-read-assessment-fields.test.ts
    (+560, new) — 31 tests for the tool
  • internal/scaffold/assets/opencode/... — byte-identical mirrors
    of the commands and plugin
  • .opencode/package.json / package-lock.json —
    @opencode-ai/plugin 1.19.0 pin (commit 0868c22)
  • openspec/changes/fix-triage-issue-dispatch-docs/ — proposal,
    design, spec delta, tasks
  • CHANGELOG.md, AGENTS.md, README.md — documentation updates
  • .uf/dewey/learnings/ — 21 learnings captured during the workflow

Known Issues

Review council (code mode, 6 reviewers) returned APPROVE WITH
ADVISORIES
— 19 advisories (13 LOW, 6 MEDIUM, zero HIGH/CRITICAL):
tracked pre-existing conditions (uuid override gap, ini 7 disjunctive
engines range, CI node-version pin) plus convention notes (see
dispatch artifact 9124cbb3).

Spec review history: two REQUEST CHANGES iterations during the spec
phase (3 HIGH → 1 HIGH); the final HIGH (assessment-field validation
as command prose) was remediated by the read_assessment_fields
extraction and verified by the code-mode council.

Follow-ups filed: #755 (payload schema extension), #756
(speckit-testreview audit), #760 (dispatch session collision defect
found during finalization).

This PR was generated by /uf.finale (AI-assisted).

@jflowers
jflowers requested a review from a team as a code owner October 19, 2026 18:30
@jflowers jflowers self-assigned this Oct 19, 2026
@jflowers
jflowers force-pushed the opsx/fix-triage-issue-dispatch-docs branch from 44c249a to 1800eaa Compare October 19, 2026 18:43

@jflowers jflowers left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note: GitHub rejected the REQUEST_CHANGES event for this PR (a user cannot request changes on their own pull request). The council verdict is REQUEST CHANGES; it is posted as a COMMENT review for that mechanical reason only.

Review: fix(commands): document actual review-dispatch data flows (#735)

Verdict: REQUEST CHANGES

The review council (6 Divisor runs: adversary, architect, curator, guard, sre, testing) returns REQUEST CHANGES — 3 HIGH findings require fixes before merge. Full dispatch artifact: .uf/artifacts/dispatch/65f916f8-beb2-4c88-9d19-9cd192636591.json.

CI: 11 PASS, 2 NEUTRAL, 4 SKIPPED, 1 PENDING (MegaLinter; local make lint proxy passes — 0 issues). No PR-caused CI failures.

What holds up

  • The core #735 fix lands: uf.triage-issue.md §2.3/§2.4 now documents the counts-only dispatch_review_runs output, the sanctioned no-provenance consolidate_dispatch retrieval, the proposal shape {agent, information, tag, category}, and FR-001 failure behavior (transient/permanent/all-skip).
  • The new read_assessment_fields tool follows the per-field-independence validation pattern with bounded lengths.
  • The @opencode-ai/plugin 1.19.0 pin rides a dedicated commit (c3b24ca) with maintained rollback prerequisites and provenance tests updated in lockstep.

Blocking findings (3 HIGH)

  1. The false output-shape claim from #735 survives in two of the four commands this PR corrects. uf.review-council.md §2 (lines 276-278) and uf.address-feedback.md §2.3.4 (lines 358-360) still assert dispatch_review_runs returns "consolidated findings, proposals ... and any warnings. Use these outputs for consolidation and finalization" — the exact claim #735 was filed against — while the new §4/§2.3.7 text in the same files says the opposite. The files self-contradict, and CHANGELOG lines 913-916 overclaim all four commands now document the counts-only contract. (guard, run 084cfaac)
  2. Five untested execute return paths in the new read_assessment_fields tool (.opencode/plugins/review-dispatch/index.ts:4519): validation_error (4490), no-session not_found (4520-4521), unknown-run_id degradation (4524-4525), corrupt-file skip (4510-4512), and multi-run mapping (4519). All existing tests pass a single run_id, but the corrected command mandates the all-runs call — the production shape is the untested shape. TC-003 requires tests for all new tool branches. The shipped learning review-dispatch-20261019T182357 documents this gap in the PR's own code without a fix or follow-up issue. (testing, run bd6a02c3)
  3. The sibling retrieval mandates lack failure behavior. review-council §4:323, address-feedback §2.3.7:444, and review-pr §5a:438 mandate sibling-evidence retrieval without the transient/permanent/all-skip semantics triage-issue §2.3:283-302 defines. In review-council, budget_skipped / limit_skipped runs make an all-skip outcome realistic, so the pre-PR gate has undefined behavior on a reachable path. CHANGELOG lines 923-924 claim FR-001 covers all four commands; only one has it. (guard+architect+curator, runs 084cfaac+74c83839+c3b06954)

Advisories (10 MEDIUM/LOW — detailed inline)

  • engines floor: >=22.22.2 is a superset of ini 7's disjunctive range and the value has no test assertion (scaffold_test.go:504 pins versions only) — guard+adversary+architect+testing
  • CHANGELOG:924 FR-001/dual-mode distributed claim false for 3 of 4 named commands (curator)
  • index.ts:4502 fourth inline copy of the run-file loading loop, CS-004 (architect)
  • CHANGELOG:938 cites pre-rebase SHA 0868c22, orphaned by the rebase to c3b24ca (guard+architect)
  • index.ts:4510 silent nested catches; index.ts:4350 RegExp from fieldName (adversary)
  • CHANGELOG:910 duplicate ### Changed heading; CHANGELOG:929 "258 lines" vs +257 diffstat (architect+curator)
  • proposal.md:217 docs-gate issues #754 and website#312 lack the docs label (curator)

All 13 compound findings are attached inline with evidence and run provenance.

This review was generated by /uf.review-pr (AI-assisted).

Comment thread .opencode/commands/uf.review-council.md Resolved
Comment thread .opencode/commands/uf.review-council.md Resolved
Comment thread internal/scaffold/scaffold_test.go Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
@jflowers
jflowers force-pushed the opsx/fix-triage-issue-dispatch-docs branch from 1800eaa to fc7b307 Compare October 19, 2026 23:32
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Remove the false dispatch_review_runs output-shape claim that survived
in review-council Section 2 and address-feedback Section 2.3.4, and
port the retrieval failure behavior (transient retry-once, permanent
fail-closed, all-skip valid) from triage-issue into the review-council,
address-feedback, and review-pr retrieval mandates. Scaffold mirrors
synced byte-identically.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Replace the ">=22.22.2" engines floor with the ini 7 binding range
(^22.22.2 || ^24.15.0 || >=26.0.0) in .opencode/package.json and its
scaffold mirror, add an Engines field and assertion to
TestPluginPackageInputs_ExactVersionsAndLockIntegrity so the value
cannot drift unasserted, and align README and the unarchived OpenSpec
surfaces with the declared range. Value change and assertion land as
one lockstep commit.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Extract the fourth inline copy of the run-file loading loop into a
shared readRunFiles helper spanning all four call sites
(consolidate_dispatch, dispatch_review_runs, dispatch_status,
read_assessment_fields), preserving each site error semantics, and add
a warnings diagnostics field to read_assessment_fields output listing
skipped unreadable run files instead of failing silently. Also escape
regex metacharacters in the assessmentFieldMarker field name so the
marker matches literally. Scaffold mirror synced byte-identically.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Add five tests for the previously untested execute return paths:
validation_error on invalid input, not_found when no dispatch session
exists, per-run unavailable for an unknown run_id, corrupt-file skip
with the new warnings diagnostics, and multi-run mapping in the
requested order. The multi-run call is the production path mandated
by the corrected triage-issue command.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Cite the @opencode-ai/plugin 1.19.0 pin commit as c3b24ca (the
rebase rewrote 0868c22, which now resolves only in local reflog),
merge the duplicate ### Changed section into one so the entry keeps
Keep-a-Changelog one-heading-per-type ordering, correct the
read_assessment_fields line count to +257 (the verified diffstat),
and align the Node engine-range wording with the declared ini 7
range. Same SHA correction applied to the SC-FR-003 supersession
annotation in the review-council-multi-model-fanout scaffold spec.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Store the retrospective learnings produced by the PR 761 review
council and the feedback-triage dispatch sessions: dispatch
data-flow corrections, shared-loader extraction and regex-escape
patterns, dependency value-assertion pairing, documentation
lockstep reconciliation, and spec-scope deferral criteria.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
…vidence

Drop the residual "and any warnings" claim from the corrected
dispatch_review_runs sentences in uf.review-council.md Section 2
and uf.address-feedback.md Section 2.3.4 (plus scaffold mirrors):
warnings, like findings and proposals, exists only in tool
metadata that never reaches the calling model, matching the
approved sibling-command wording. Refresh the fix-triage
CHANGELOG record to the verified head evidence: 36 tests in the
shipped read_assessment_fields suite and make check green at 924
plugin tests with 94.62%/87.2% coverage.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
Store the six learning proposals from the review-council gate
iteration: defense-in-depth parsing patterns, canonical-mirror
parity proofs, claim-precision for verification citations,
fix-loop claim re-diffing, per-call failure-mode obligations,
and schema-derived rejection tests.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
The branch rebase rewrote the @opencode-ai/plugin 1.19.0 pin commit
from c3b24ca to 02b593e. Update the CHANGELOG citation and the
SC-FR-003 supersession annotation so the documented rollback path
resolves at the merge SHA. The dewey learning that mentions
c3b24ca stays as historical narrative.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Maintainer-approved update of the governance-pinned @opencode-ai/plugin
runtime from 1.4.10 to 1.19.0 (decision 2026-10-19). Justification:
1.4.10's tool() helper silently strips runtime tool arguments (live
CHECKPOINT_ERROR failures; workaround fix-tool-args-schema-mismatch);
1.19.0 tracks the current SDK line and forwards args correctly.

Lockstep set shipped in this dedicated commit, staged by explicit path:
- .opencode/package.json + package-lock.json and their scaffold asset
  mirrors (registry-verified integrity and licenses: plugin/sdk MIT,
  @ai-sdk/provider Apache-2.0, json-schema AFL-2.1 OR BSD-3-Clause;
  msgpackr 1->2 transitive bump reviewed — sole breaking change removes
  the unused randomAccessStructure API; 2.x adds frame-buffer hardening)
- Node >= 22.22.2 engine floor (ini 7 requirement) declared in the
  engines fields of both manifests; AGENTS.md Technology Stack and
  README document the floor; uf init consumers inherit it via the
  scaffolded manifests
- internal/scaffold test expectation (expectedRuntime 1.19.0) and
  pin-governance testdata: provenance verified_at 2026-10-19, rollback
  baseline-lock SHA256 1ac9cdf171a743c69b18498e15711d628280a4748defd
  6334cd4276e194d32dc (pre-change 1.4.10 lockfile = single-commit
  rollback path)

Validation evidence: make plugin-test green against 1.19.0 (33 files,
903 tests, coverage 94.55% statements / 86.98% branches) and
go test ./internal/scaffold -run TestPluginPackageInputs_ExactVersions
AndLockIntegrity green. Supersedes the repo-wide 1.4.10 pin recorded by
review-council-multi-model-fanout (SC-FR-003); command-doc and
plugin-tool changes ship as separate commits per the AGENTS.md
commit-scope rule.
/uf.triage-issue.md and three sibling commands claimed
dispatch_review_runs returns consolidated findings,
proposals, and warnings. Callers only see a counts
summary, so live triage improvised retrieval via
list_sessions/db_read_session (issue unbound-force#735).

- Document the sanctioned retrieval path: call
  consolidate_dispatch once without provenance to fetch
  per-run records, run-recorded workflow_verdict,
  findings, advisories, and proposals
- Source Section 2.4 proposals from that payload; drop
  the nonexistent `reference` field
- Make run-recorded workflow_verdict authoritative over
  child text assessments
- Extract read_assessment_fields plugin tool so
  assessment-field reads are executable, tested code
  (determinism gate)
- Mirror command edits byte-identically into scaffold
  assets; extend the multi-model-fanout scaffold spec
- Add OpenSpec artifacts, plugin tests, and Dewey
  learnings

Assisted-by: glm-5
Generated with AI assistance (glm-5)
Remove the false dispatch_review_runs output-shape claim that survived
in review-council Section 2 and address-feedback Section 2.3.4, and
port the retrieval failure behavior (transient retry-once, permanent
fail-closed, all-skip valid) from triage-issue into the review-council,
address-feedback, and review-pr retrieval mandates. Scaffold mirrors
synced byte-identically.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Replace the ">=22.22.2" engines floor with the ini 7 binding range
(^22.22.2 || ^24.15.0 || >=26.0.0) in .opencode/package.json and its
scaffold mirror, add an Engines field and assertion to
TestPluginPackageInputs_ExactVersionsAndLockIntegrity so the value
cannot drift unasserted, and align README and the unarchived OpenSpec
surfaces with the declared range. Value change and assertion land as
one lockstep commit.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Extract the fourth inline copy of the run-file loading loop into a
shared readRunFiles helper spanning all four call sites
(consolidate_dispatch, dispatch_review_runs, dispatch_status,
read_assessment_fields), preserving each site error semantics, and add
a warnings diagnostics field to read_assessment_fields output listing
skipped unreadable run files instead of failing silently. Also escape
regex metacharacters in the assessmentFieldMarker field name so the
marker matches literally. Scaffold mirror synced byte-identically.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Add five tests for the previously untested execute return paths:
validation_error on invalid input, not_found when no dispatch session
exists, per-run unavailable for an unknown run_id, corrupt-file skip
with the new warnings diagnostics, and multi-run mapping in the
requested order. The multi-run call is the production path mandated
by the corrected triage-issue command.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Cite the @opencode-ai/plugin 1.19.0 pin commit as c3b24ca (the
rebase rewrote 0868c22, which now resolves only in local reflog),
merge the duplicate ### Changed section into one so the entry keeps
Keep-a-Changelog one-heading-per-type ordering, correct the
read_assessment_fields line count to +257 (the verified diffstat),
and align the Node engine-range wording with the declared ini 7
range. Same SHA correction applied to the SC-FR-003 supersession
annotation in the review-council-multi-model-fanout scaffold spec.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Store the retrospective learnings produced by the PR 761 review
council and the feedback-triage dispatch sessions: dispatch
data-flow corrections, shared-loader extraction and regex-escape
patterns, dependency value-assertion pairing, documentation
lockstep reconciliation, and spec-scope deferral criteria.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
…vidence

Drop the residual "and any warnings" claim from the corrected
dispatch_review_runs sentences in uf.review-council.md Section 2
and uf.address-feedback.md Section 2.3.4 (plus scaffold mirrors):
warnings, like findings and proposals, exists only in tool
metadata that never reaches the calling model, matching the
approved sibling-command wording. Refresh the fix-triage
CHANGELOG record to the verified head evidence: 36 tests in the
shipped read_assessment_fields suite and make check green at 924
plugin tests with 94.62%/87.2% coverage.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
Store the six learning proposals from the review-council gate
iteration: defense-in-depth parsing patterns, canonical-mirror
parity proofs, claim-precision for verification citations,
fix-loop claim re-diffing, per-call failure-mode obligations,
and schema-derived rejection tests.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
The branch rebase rewrote the @opencode-ai/plugin 1.19.0 pin commit
from c3b24ca to 02b593e. Update the CHANGELOG citation and the
SC-FR-003 supersession annotation so the documented rollback path
resolves at the merge SHA. The dewey learning that mentions
c3b24ca stays as historical narrative.

Addresses PR unbound-force#761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5

@jflowers jflowers left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Review: fix(commands): document actual review-dispatch data flows (#735)

Verdict: APPROVE WITH ADVISORIES

The review council (6 planned runs; 3 succeeded — adversary, architect, curator; guard, sre, and testing timed out and did not vote) returns APPROVE WITH ADVISORIES. This supersedes the prior REQUEST CHANGES review: all 3 HIGH findings and 10 advisories from that pass are verified fixed in commits 951dbdbb–4517b20a. Full dispatch artifact: .uf/artifacts/dispatch/c749623b-0c6a-4b82-bb0a-6f1bcbdfba2f.json.

CI: 11 PASS, 2 NEUTRAL, 4 SKIPPED, 0 FAIL. No PR-caused failures.

What holds up

  • The core #735 fix lands and survives verification: all four commands now document the counts-only dispatch_review_runs output, the sanctioned no-provenance consolidate_dispatch retrieval with transient/permanent/all-skip failure behavior, and the {agent, information, tag, category} proposal shape.
  • The read_assessment_fields tool validates each field independently with bounded lengths; the five execute-path tests added in d592e762 cover the production all-runs call.
  • The @opencode-ai/plugin 1.19.0 pin rides dedicated commit 02b593e2 with maintained provenance and rollback testdata; engines.node declares the verbatim ini 7 range with a test assertion.
  • The shared readRunFiles extraction (63f2f012) removes the fourth copy of the loading loop and adds warnings diagnostics.

Advisories (4 MEDIUM, 2 LOW — detailed inline)

  1. [MEDIUM] CHANGELOG enumeration overclaims (architect + curator, shared root cause): the distributed claim list is false for review-pr — dual-mode notes and section mappings do not match what the commands carry (FR-005 keeps review-pr single-mode). The same defect class #735 was filed against recurs in the changelog.
  2. [MEDIUM] read_assessment_fields failure contract missing (architect): §3.1 specifies no call-level failure behavior; validation_error is reachable at >64 runs (tool cap 64 vs plan schema 512). No filed issue covers it.
  3. [MEDIUM] Proposal scope sentence stale (curator): "no existing plugin tool code changes" is false at head after the readRunFiles refactor; amend before archive.
  4. [LOW] Six-count vs four-count divergence (architect): the four commands describe the dispatch_review_runs summary line inconsistently.
  5. [LOW] Unpinned in-execute validation caps (adversary): the safeParse defense-in-depth caps (uniqueness, 64-run-id cardinality, UUID format) lack test pins; only min(1) is covered. Framework-level Zod validation remains the primary enforcement.

This review was generated by /uf.review-pr (AI-assisted).

Comment thread CHANGELOG.md
(Spec: openspec/changes/parallel-subtool-init/)
- fix-triage-issue-dispatch-docs: Corrected the dispatch
data-flow documentation across the four dispatch-driving
commands. `/uf.triage-issue` §2.3/§2.4 (and the mirrored

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[MEDIUM] documentation-accuracy (architect, run 48900913)

This enumeration claims the mirrored retrieval sections in all four commands document the dual-mode exactly-once scoping and the counts-only output contract. The claim fails per-command verification for /uf.review-pr: FR-005 keeps §5b on a direct finalize_review_dispatch call, so no dual-mode note exists in that command, and the counts-only statements live in the dispatch sections (§2, §2.3.4, §4c), not the retrieval sections named here. Partition the enumeration by per-command applicability so each claim names only the sections that carry it.

Comment thread CHANGELOG.md
exact same payload feeds proposal storage, verdict
resolution, and finalization), the validated
`{agent, information, tag, category}` proposal shape
(there is no `reference` field), the dual-mode

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[MEDIUM] documentation-accuracy (curator, run 672b1c7f)

The dual-mode clause extends to review-pr §5a, but the diff carries dual-mode notes only in triage-issue §4.6, review-council §5 (new lines 395-402), and address-feedback §2.3.8. The parenthetical at lines 920-922 also maps the counts-only contract to the retrieval/finalization sections when it lands at review-council §2 (276-283), address-feedback §2.3.4 (358-361), and review-pr §4c (394-401). Scope the dual-mode clause to the three sections that carry it, name review-pr §5a only for retrieval/proposal-shape/failure-behavior, and mirror the corrected list into docs issue #754, which repeats this enumeration.

recommendations once from its successful runs while preserving every run's
provenance and dissent. Then apply the remaining sections only across those
persona-level assessments so fan-out cannot inflate any threshold.
Category, objectivity, reasoning, and split recommendations come exclusively

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[MEDIUM] interface-contract (architect, run 48900913)

This mandate specifies no behavior for call-level failure of the read_assessment_fields call. A validation_error return is reachable — the tool caps run_ids at 64 while the dispatch plan schema allows 512 — and a transient mid-run failure is unspecified. FR-001 pairs the consolidate_dispatch retrieval with transient/permanent/all-skip semantics; this second sanctioned call carries none, and no filed issue covers it. Add a bounded failure sentence (on call failure or cap overflow, report fields unavailable and resolve the verdict from run-recorded workflow_verdict alone) or file a tracked follow-up.

Technology Stack and README, upstream verification evidence) and
validation evidence; see "Dependency Pin Update".

No existing plugin tool code, schemas, or outputs change; the only

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[MEDIUM] documentation-accuracy (curator, run 672b1c7f)

This scope sentence no longer matches head 4517b20a: commit 63f2f012 extracts a shared readRunFiles loader across three existing tools, adds a warnings diagnostics array, and escapes regex metacharacters in assessmentFieldMarker. The archived proposal would claim a purely additive plugin edit that also refactored existing tool internals. Amend before archive to name the additions and confirm no existing tool output contract changes.

any `warnings`. Use these outputs for consolidation and finalization.
The tool returns a counts-only summary: `status`, `runs_completed`,
`runs_failed`, and `runs_skipped`. The `findings`, `proposals`, and
`warnings` arrays exist only in tool metadata, which never reaches the

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[LOW] documentation-consistency (architect, run 48900913)

This section enumerates four counts (status, runs_completed, runs_failed, runs_skipped) while triage-issue §2.3 and review-pr §4c describe the full six-count summary line including findings and proposals counts. The load-bearing correction — arrays live in tool metadata only — is consistent across all four files; the enumeration around it diverges. Unify on the literal six-count format and sync the mirror.

@jflowers
jflowers merged commit 5a0a4d7 into unbound-force:main Oct 20, 2026
17 checks passed
jflowers added a commit that referenced this pull request Oct 20, 2026
Remove the false dispatch_review_runs output-shape claim that survived
in review-council Section 2 and address-feedback Section 2.3.4, and
port the retrieval failure behavior (transient retry-once, permanent
fail-closed, all-skip valid) from triage-issue into the review-council,
address-feedback, and review-pr retrieval mandates. Scaffold mirrors
synced byte-identically.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
Replace the ">=22.22.2" engines floor with the ini 7 binding range
(^22.22.2 || ^24.15.0 || >=26.0.0) in .opencode/package.json and its
scaffold mirror, add an Engines field and assertion to
TestPluginPackageInputs_ExactVersionsAndLockIntegrity so the value
cannot drift unasserted, and align README and the unarchived OpenSpec
surfaces with the declared range. Value change and assertion land as
one lockstep commit.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
Extract the fourth inline copy of the run-file loading loop into a
shared readRunFiles helper spanning all four call sites
(consolidate_dispatch, dispatch_review_runs, dispatch_status,
read_assessment_fields), preserving each site error semantics, and add
a warnings diagnostics field to read_assessment_fields output listing
skipped unreadable run files instead of failing silently. Also escape
regex metacharacters in the assessmentFieldMarker field name so the
marker matches literally. Scaffold mirror synced byte-identically.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
Add five tests for the previously untested execute return paths:
validation_error on invalid input, not_found when no dispatch session
exists, per-run unavailable for an unknown run_id, corrupt-file skip
with the new warnings diagnostics, and multi-run mapping in the
requested order. The multi-run call is the production path mandated
by the corrected triage-issue command.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
Cite the @opencode-ai/plugin 1.19.0 pin commit as c3b24ca (the
rebase rewrote 0868c22, which now resolves only in local reflog),
merge the duplicate ### Changed section into one so the entry keeps
Keep-a-Changelog one-heading-per-type ordering, correct the
read_assessment_fields line count to +257 (the verified diffstat),
and align the Node engine-range wording with the declared ini 7
range. Same SHA correction applied to the SC-FR-003 supersession
annotation in the review-council-multi-model-fanout scaffold spec.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
Store the retrospective learnings produced by the PR 761 review
council and the feedback-triage dispatch sessions: dispatch
data-flow corrections, shared-loader extraction and regex-escape
patterns, dependency value-assertion pairing, documentation
lockstep reconciliation, and spec-scope deferral criteria.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
…vidence

Drop the residual "and any warnings" claim from the corrected
dispatch_review_runs sentences in uf.review-council.md Section 2
and uf.address-feedback.md Section 2.3.4 (plus scaffold mirrors):
warnings, like findings and proposals, exists only in tool
metadata that never reaches the calling model, matching the
approved sibling-command wording. Refresh the fix-triage
CHANGELOG record to the verified head evidence: 36 tests in the
shipped read_assessment_fields suite and make check green at 924
plugin tests with 94.62%/87.2% coverage.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit that referenced this pull request Oct 20, 2026
Store the six learning proposals from the review-council gate
iteration: defense-in-depth parsing patterns, canonical-mirror
parity proofs, claim-precision for verification citations,
fix-loop claim re-diffing, per-call failure-mode obligations,
and schema-derived rejection tests.

Addresses PR #761 review feedback from @jflowers.

Signed-off-by: Jay Flowers <[email protected]>
Assisted-by: glm-5
jflowers added a commit to jflowers/unbound-force that referenced this pull request Oct 20, 2026
…d-force#764)

consolidate_dispatch derived workflow_result.value and verdict from
a severity ladder over consolidated findings while
finalize_review_dispatch validated them with the vote-based
calculatedWorkflowValue. On split panels (feedback: a successful
zero-findings ACCEPT run plus findings-bearing runs; triage:
split-majority persona votes) both rules fire, so finalization was
deterministically rejected and retry budgets burned to
INCONCLUSIVE with no artifact (observed on PR unbound-force#761).

- Derive payload workflow_result.value and verdict in
  consolidate_dispatch from calculatedWorkflowValue; keep
  computeVerdict for verdict_reason and advisory content only
- Sync the scaffold mirror asset byte-identical (parity tests)
- Pin regression tests for feedback split-panel, triage
  split-majority, and zero-successful-runs internal finalization
- Add openspec change artifacts and CHANGELOG entry

Assisted-by: glm-5
Generated with AI assistance (glm-5)
jflowers added a commit that referenced this pull request Oct 20, 2026
consolidate_dispatch derived workflow_result.value and verdict from
a severity ladder over consolidated findings while
finalize_review_dispatch validated them with the vote-based
calculatedWorkflowValue. On split panels (feedback: a successful
zero-findings ACCEPT run plus findings-bearing runs; triage:
split-majority persona votes) both rules fire, so finalization was
deterministically rejected and retry budgets burned to
INCONCLUSIVE with no artifact (observed on PR #761).

- Derive payload workflow_result.value and verdict in
  consolidate_dispatch from calculatedWorkflowValue; keep
  computeVerdict for verdict_reason and advisory content only
- Sync the scaffold mirror asset byte-identical (parity tests)
- Pin regression tests for feedback split-panel, triage
  split-majority, and zero-successful-runs internal finalization
- Add openspec change artifacts and CHANGELOG entry

Assisted-by: glm-5
Generated with AI assistance (glm-5)
@jflowers
jflowers deleted the opsx/fix-triage-issue-dispatch-docs branch November 15, 2026 21:36
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.

uf.triage-issue: command spec documents dispatch data flows the tools do not return

1 participant