Repository navigation
docs(determinism): codify Router Pattern as DE-005/DE-006 intent-level orchestration - #768
Merged
jflowers merged 4 commits intoOct 19, 2026
Conversation
…-force#758) Add the router-pattern-codification OpenSpec change artifacts so the intent-level orchestration pattern stops regressing in new command templates and reviewers can cite it without stretching DE-001. - openspec/changes/router-pattern-codification/: proposal, design, determinism-policy spec delta, tasks, metrics, .openspec.yaml - determinism-first skill: align chain-collapse wording with RFC 2119 (MUST collapse judgment-free chains; judgment SHOULD stay at the boundary) - Dewey learnings from the workflow (review-dispatch, openspec, swarm, uf-unleash, documentation-pipeline) Assisted-by: glm-5 Generated with AI assistance (glm-5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The determinism policy now codifies the Router Pattern, extending
governance from step-level extraction to sequence-level collapse.
between steps — each next call and its arguments fully determined by
the previous call's structured result — is itself mechanical
instruction and MUST be collapsed into a single intent-level tool
whose code performs the chaining; the agent expresses the intent and
passes judgment products (composed text, human gate decisions) as
parameters.
boundary — routing decisions (verdict mapping, severity sorting,
exit-variant selection, batch scheduling, failure-stop) execute
inside the tool as constants or pure functions.
Delivered:
.opencode/uf/packs/determinism.mdv1.1.0 — new terminal## Intent-Level Orchestrationsection; severity mapping now(DE-001, DE-003, DE-005) MUST / (DE-002, DE-004, DE-006) SHOULD;
DE-001..DE-004 byte-unchanged
.opencode/skills/determinism-first/SKILL.md— five prose updatesplus the "Chains Without Judgment Collapse Too" section
CHANGELOG.mdentry (Refs Codify intent-level orchestration (Router Pattern) as determinism rules DE-005/DE-006 #758)openspec/changes/router-pattern-codification/— proposal, design,spec delta, tasks, metrics
Closes #758
How to Test
From the repo root on branch
opsx/router-pattern-codification:Review councils: spec review APPROVE WITH ADVISORIES (2 iterations),
code review APPROVE WITH ADVISORIES (1 iteration).
How to Demo
Open
.opencode/uf/packs/determinism.mdat the new## Intent-Level Orchestrationsection — DE-005/DE-006 sit after## Efficiency Evidence, and the severity-mapping sentence now citesthem. Then open
.opencode/skills/determinism-first/SKILL.mdat"Chains Without Judgment Collapse Too" for the mirrored guidance.
Governance content only — no runtime behavior change.
Key Files Changed
.opencode/uf/packs/determinism.md(34) — DE-005/DE-006 section, v1.1.0.opencode/skills/determinism-first/SKILL.md(39) — chain-collapse guidanceCHANGELOG.md(30) — DE-005/DE-006 entryopenspec/changes/router-pattern-codification/(717) — proposal, design, spec delta, tasks, metrics, .openspec.yaml.uf/dewey/learnings/(60) — six workflow learnings15 files changed, 874 insertions(+), 6 deletions(-)
This PR was generated by /uf.finale (AI-assisted).