Skip to content

chore: extract /uf.run-pipeline-plan orchestrator mechanical steps into plugin tools (determinism follow-up) #842

Open

Description

@jflowers

Summary

The update-run-pipeline-plan change (PR #839) records a documented
determinism trade-off: the rewritten /uf.run-pipeline-plan keeps four
orchestrator-side mechanical steps as command prose because the
Go/TypeScript plugin work is outside that change's Non-Goals:

  • paused-exit heading recognition (/uf.unleash paused at: parsing)
  • the [BLOCKED: <variant>] todowrite annotation
  • the disk-handoff verification loop (feature-branch check, PR
    existence, git status --short)
  • the Closes-linkage verification backstop (gh pr view /
    gh pr edit)

Per the determinism pack (DE-001) and the zero-waste rule, this
follow-up must be tracked so the trade-off maps to actionable work.

Proposed extraction

Move each listed step into an executable plugin tool in the
uf-workflow plugin (.opencode/plugins/), with tests in the
TypeScript plugin suite, so /uf.run-pipeline-plan prescribes a
tool call instead of mechanical prose.

  • Paused-exit recognition tool (parse delegation return text, return variant)
  • Blocked-annotation tool (todowrite entry update)
  • Disk-handoff verification tool (branch/PR/tree checks)
  • Closes-linkage backstop tool (PR body verification/edit)

Context

Activity

  1. added
    enhancement
    on Nov 1, 2026
  2. jflowers commented on Nov 1, 2026

    @jflowers
    ContributorAuthor

    Triage Summary

    Verdict: VALID · Category: enhancement · Objectivity: objective

    The Divisor review panel assessed this issue across five personas (adversary, architect, curator, guard, sre); all five return VALID.

    Evidence

    • The originating change documents the trade-off this issue tracks: openspec/changes/update-run-pipeline-plan/proposal.md records the Principle VI constitution check as "PASS (trade-off documented)", names the four deferred mechanical steps, and closes with "tracked in chore: extract /uf.run-pipeline-plan orchestrator mechanical steps into plugin tools (determinism follow-up) #842".
    • All four steps exist as mechanical prose in .opencode/commands/uf.run-pipeline-plan.md: paused-exit heading recognition, the [BLOCKED: <variant>] todowrite annotation, the disk-handoff verification loop, and the Closes-linkage gh pr view / gh pr edit backstop.
    • Determinism pack DE-001 ([MUST]) and Constitution Principle VI require these procedures — parsing, git/gh choreography, verification loops — to run in tested executable tools rather than command prose.
    • The named remediation target exists: the registered uf-workflow plugin (.opencode/plugins/) and the TypeScript plugin suite with its 94% statements coverage floor (make plugin-test), with shipped precedent in the unleash-deterministic-tools change.
    • No existing implementation covers any of the four tools, and no active change under openspec/changes/ duplicates this extraction.
    • Duplicate search found no matching open issues.

    Recommendations

    • Treat this as one cohesive prose-to-tool migration increment rather than four separate issues: the extractions share one command file, one plugin, one test suite, and one origin trade-off. The issue's checkbox list already provides incremental tracking.
    • Route the implementing change through OpenSpec (tactical tier: single repository, single plugin, single command).
    • Carry a seam-verification task per DE-007 for each extracted tool (registration surface, documented output shape, round-trips).
    • Per DE-006, the paused-exit recognition tool should return the variant's re-run class (mid-pipeline vs tier-routing) so the orchestrator does not re-derive routing.

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions