Skip to content

docs(commands): pilot command-prose standard on /uf.run-pipeline-plan - #748

Merged
jflowers merged 1 commit into
unbound-force:mainfrom
jflowers:opsx/command-prose-pilot
Oct 18, 2026
Merged

jflowers merged 1 commit into
unbound-force:mainfrom
jflowers:opsx/command-prose-pilot

Conversation

@jflowers

Copy link
Copy Markdown
Contributor

Summary

The house command prose standard, piloted on
.opencode/commands/uf.run-pipeline-plan.md and its byte-identical
scaffold mirror
internal/scaffold/assets/opencode/commands/uf.run-pipeline-plan.md.
The rewrite replaces ambiguous step prose with ten canonical control
verbs (STOP/EXIT/PROCEED/RELAY/RESUME/SKIP/DELEGATE/ANNOUNCE/ASK/
VERIFY), name-based references, a single numbering axis, procedural
sentences capped at 20 words, decision tables for branching, and an
Action/On-failure/Next step template. Three semantic defects are
documented and corrected (cross-command "Step 8 (code review)"
reference, Gate Relay STOP collision, session-resume guard halt
recast as precondition) while the behavioral contract is preserved
(frontmatter, scaffold marker, protect boundaries, three-subagent
pipeline, guardrails, tracking rules). The standard itself ships as
openspec/changes/command-prose-pilot/specs/command-prose-standard/spec.md
with a scoped pilot spec for the rewritten command; evidence (five rg
conformance scans, six before/after metrics, comprehension A/B) is
recorded in metrics.md.

How to Test

Five rg conformance scans against the rewritten command (each
returns 0 matches):

  • Ban-list tokens: rg -in '\b(abort|halt|terminate|terminalize|bail)\b' .opencode/commands/uf.run-pipeline-plan.md
  • Stale references: rg -n "Step [0-9]+" .opencode/commands/uf.run-pipeline-plan.md
  • Gate Relay verb presence, session-resume guard form, exit-path
    phrase (see metrics.md for the exact patterns)

Byte-identity of the pair: cmp .opencode/commands/uf.run-pipeline-plan.md internal/scaffold/assets/opencode/commands/uf.run-pipeline-plan.md (no output = identical).

Full gate: make check (includes TestEmbeddedAssets_MatchSource,
which fails on any drift between the command and its scaffold
mirror).

How to Demo

Open the rewritten command next to metrics.md's before/after
table; run the conformance scans and the cmp byte-identity check
above; optionally invoke /uf.run-pipeline-plan against a plan file
in a scratch session to walk the three-subagent pipeline and gate
relay.

Key Files Changed

  • .opencode/commands/uf.run-pipeline-plan.md (194 lines) and its
    byte-identical scaffold mirror
    internal/scaffold/assets/opencode/commands/uf.run-pipeline-plan.md
  • openspec/changes/command-prose-pilot/ — proposal, design,
    metrics, specs (command-prose-standard, run-pipeline-plan), tasks
  • CHANGELOG.md — increment entry
  • .uf/dewey/learnings/ — 14 workflow learnings

Known Issues

Council verdicts: spec review APPROVE WITH ADVISORIES (1 iteration),
code review APPROVE WITH ADVISORIES (1 iteration). Advisories:

  • MEDIUM — The "exit path" noun-phrase ban (design D2) has no
    durable validation: every scan checks only the five ban tokens.
  • LOW — Two Action lines use non-glossary verbs (Phase 0 step 1
    "Determine", Gate Relay step 1 "Receive"); D2 permits them.
  • LOW — On-failure branches uneven in Phase 0 (step 3 plan-file
    validation lacks one).
  • LOW — CHANGELOG breaks "three-subagent" across lines,
    rendering as "three- subagent".
  • LOW — metrics.md asserts external issue Docs gate: command-prose-pilot rewrite of /uf.run-pipeline-plan #747 state the repo
    cannot verify.
  • LOW — Preserved ALL-CAPS tokens (SESSION-RESUME GUARD title,
    PR/CI acronyms) sit outside the Normativity Style scenario's
    categories.
  • LOW — Hardcoded PR target repo / fork head in a scaffold asset
    that propagates to hero repos via uf init.
  • LOW — Two DE-004 metrics (20-word sentences, max nesting) lack
    a specified measurement command.

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

@jflowers
jflowers requested a review from a team as a code owner October 18, 2026 15:32
@jflowers jflowers self-assigned this Oct 18, 2026
Rewrite both copies of the /uf.run-pipeline-plan command under the
new command-prose standard: canonical verb glossary, reference-by-
name, one numbering scheme per document, decision tables, and a
fixed step template. The behavioral contract is preserved; three
semantic defects are corrected to the behavior the rest of the
corpus evidences as intended: the "Step 8 (code review)"
cross-reference, the Gate Relay STOP collision, and the
session-resume guard halt.

- Add openspec/changes/command-prose-pilot/ artifacts (proposal,
  design, metrics, specs, tasks)
- Keep .opencode/commands/ and scaffold asset copies byte-identical
- Record the CHANGELOG increment entry
- Record 14 Dewey learnings captured during the workflow

Assisted-by: glm-5-3
Generated with AI assistance (glm-5-3)
@jflowers
jflowers force-pushed the opsx/command-prose-pilot branch from 0574144 to 9b81adc Compare October 18, 2026 15:42

@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.

Council Review: APPROVE WITH ADVISORIES

PR #748 — docs(commands): pilot command-prose standard on /uf.run-pipeline-plan

The rewrite preserves the behavioral contract while correcting three documented semantic defects (the "Step 8 (code review)" cross-reference, the Gate Relay STOP collision, and the session-resume guard halt). Verification on head SHA 0574144: CI green (Build and Test, Plugin Tests, Council Review Pipeline Tests, CRAP Load Analysis), command/scaffold pair byte-identical (cmp), and all five rg conformance scans pass (ban-list, stale-reference, exit-path, Gate Relay verb, session-resume guard).

Council verdict: all three successful personas (architect, curator, guard) returned APPROVE WITH ADVISORIES — 2 MEDIUM and 8 LOW advisory findings, none blocking. The adversary run failed with a retryable server error and does not vote; full provenance is recorded in the dispatch artifact.

Advisory highlights (details inline):

  • MEDIUM: the "exit path" noun-phrase ban has no durable validation — scenarios and tasks mandate only the five-token ban-list scans (architect, guard)
  • LOW: non-glossary action verbs ("Determine", "Receive") at two steps the glossary cannot express (architect)
  • LOW: plan-file parse step lacks an On-failure branch (architect)
  • LOW: conformance spec omits Normativity Style / Boilerplate Defined Once from its enumerated subset (architect)
  • LOW: hard-coded PR target / fork head parameterization debt carried through per D12 but tracked in no durable follow-on record (architect, curator, guard)
  • LOW: two DE-004 metrics lack measurement commands (architect)
  • LOW: CHANGELOG wraps "three-subagent" across lines, rendering as "three- subagent" (architect)

Pre-merge suggestion: record the two recurring gaps (exit-path validation, parameterization debt) as explicit follow-ons on docs issue #747 or in the proposal's Follow-ons section, so the phase-2 promotion inherits explicit tracking.

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

tool-rendered output MUST NOT be reconstructed from
prose.
- **ASK** — request one decision through the question
tool, stating the question and the options.

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.

The "exit path" noun-phrase ban in this requirement has no durable validation. The scenario below scans only the five ban-list tokens, tasks.md 3.1 mandates only the ban-list, stale-reference, and Gate Relay verb scans, and the Change-Time Validation requirement names only "ban-list and bare-number checks" — so a future change re-executing the mandated checks verbatim skips this clause. Only metrics.md ran the rg -in 'exit path' scan, labeled "advisory follow-up" (it passed). Consider adding an exit-path scenario here or a fourth mandated scan in tasks.md 3.1 before the phase-2 promotion inherits the gap. — divisor-architect (MEDIUM)

named pass and fail branches.

The tokens "abort", "halt", "terminate", "terminalize",
and "bail" MUST NOT direct control flow. The phrase "exit

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.

This clause also lacks a recorded follow-on. The proposal's Follow-ons section and metrics.md record the content-pipeline disposition and the AGENTS.md stale-reference follow-up on docs issue #747, yet neither tracks the exit-path validation gap for the phase-2 promotion. Recording the gap as an explicit phase-2 follow-on (or on #747) gives the promotion change explicit tracking. — divisor-guard (MEDIUM)

- **Otherwise**: Treat as space-separated GitHub issue
references (`#NNN` or full GitHub URLs).
1. **Detect input type**: Determine whether `$ARGUMENTS`
is an existing file path.

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.

Two numbered steps place non-glossary verbs in the Action slot: "Determine whether $ARGUMENTS…" (step 1, here) and "Receive the GATE: return value" (Gate Relay action 1). Design D2 restricts control-flow direction to glossary verbs, and the ten-verb glossary has no fit for input classification or message reception. The retrospective learning records this as phase-2 glossary-extension evidence; it remains a conformance gap in the shipped pilot. — divisor-architect (LOW)

2. **Subagent 2** (`/uf.unleash`, OpenSpec mode):
DELEGATE. Expected outcome: the `/uf.unleash`
pipeline completes — implement, spec review, code
review, retrospective, demo. The Code Review step of

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.

This step carries hard-coded PR target repo and fork head values into a tool-owned scaffold asset that uf init deploys to every hero repository, where both defaults are wrong (a hero repo's parent is unbound-force/; the fork owner is user-specific). D12 correctly forbids fixing them mid-pilot; the gap is that no durable follow-on record (metrics.md Task 5.2, proposal Follow-ons, docs issue #747) carries the parameterization debt forward — it lives only in the PR body and a learning file, both of which archive with the change. — divisor-curator (LOW)

outcome: changes committed and pushed; a PR created
with `Closes #N` in the commit message and PR body.
The PR targets the parent `unbound-force/unbound-force`
repo with head `jflowers:<branch>`. The PR stays open

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.

The parameterization debt above lacks a durable tracking record. Recording it on docs issue #747 or in the proposal's Follow-ons section before archive gives the phase-3 rollout change that naturally parameterizes these values an explicit inheritance. — divisor-guard (LOW)

From each issue, record a kebab-case change name
(from the title) and a one-line description (from
the body).

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.

Step 3's plan-file parse states no On-failure branch, while step 2's gh issue view gained one. The Plan File Contract's MUST-carry fields can be violated by a malformed file, so the parse is equally fallible; the Step Template requirement makes On-failure mandatory whenever the action can fail. — divisor-architect (LOW)

Comment thread CHANGELOG.md
list, reference by name, one numbering axis, a
20-word procedural sentence limit, decision tables
for branching, and the Action/On-failure/Next step
template. Behavioral contract preserved (three-

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.

The line wrap splits "three-subagent" at the hyphen; Markdown renders the soft break as a space, producing "three- subagent" in the rendered changelog. Moving the whole word to the next line fixes it. — divisor-architect (LOW)

### Requirement: Command File Conformance

The rewritten `uf.run-pipeline-plan.md` MUST conform to
the `command-prose-standard` capability: canonical

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.

This requirement enumerates a subset of the standard and silently omits Normativity Style and Boilerplate Defined Once. The omission is load-bearing: preserved ALL-CAPS tokens ("SESSION-RESUME GUARD", "PR", "CI") nominally violate Normativity Style while D12 requires keeping them. Recording which requirements are excluded and why keeps later reviewers from false-positive against preserved behavior. — divisor-architect (LOW)

repo with head `jflowers:<branch>`. The PR stays open
for human review.

**Disk handoff verification**: Before spawning each next

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.

The scaffold mirror propagates the hard-coded PR target to every hero repo via uf init (gaze, dewey, replicator all scaffold .opencode/commands/). The value traces verbatim to the original run-plan-command change and D12 correctly preserves it mid-pilot; the untracked parameterization is the gap (see the follow-on discussion above). — divisor-architect (LOW)

|---|---|---|
| Line count | 225 | `wc -l .opencode/commands/uf.run-pipeline-plan.md` |
| Word count | 1,005 | `wc -w .opencode/commands/uf.run-pipeline-plan.md` |
| Procedural sentences over 20 words | 2 | sentence split of the `## Instructions` section (157 procedural sentences total); both offenders are 21 words |

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.

Two of the six DE-004 metrics record values without measurement commands: "Procedural sentences over 20 words" cites only a methodology and "Maximum nesting depth" cites only "deepest list nesting", unlike the other four rows (wc, rg). The before/after deltas for these two metrics are not independently reproducible. Prescribing the derivation command for each row closes the gap. — divisor-architect (LOW)

@jflowers
jflowers merged commit 7fb1e39 into unbound-force:main Oct 18, 2026
16 checks passed
@jflowers
jflowers deleted the opsx/command-prose-pilot 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.

1 participant