Add lite mode for fewer intermediate checks - #189
Merged
Merged
Conversation
Lite mode lets a user trade intermediate verification for lower cost while keeping the same phases and approval stops. When the user asks for it, the orchestrator skips code-verifier, design-sync, and security-reviewer, and replaces the per-task quality fixer in a Work Plan task set with one Final Quality Run after the last task commit. Code review and post-review quality gates still run. The rules live in subagents-orchestration-guide/references/lite-mode.md and the guide loads them only when the user asks, so normal-mode runs and the recipes are unchanged. Also drop the unused type field from governingDocuments. Neither code-reviewer nor security-reviewer branches on it, and callers were filling it with document-reviewer labels such as DesignDoc. Rework the READMEs around what a user needs to adopt and run the workflow: add lite mode, and remove internal detail such as the scale table, template excerpts, the agent list, and the repository layout. Bump the minor version to 0.28.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 full workflow runs a verifier, a cross-document sync check, a quality fixer after every task, and a separate security review. That is the right default, but some users would rather spend fewer tokens: early-stage projects, changes where they trust a strong model, or work that does not need every check. This PR adds lite mode for them. The user asks for it in the recipe request, and the workflow keeps the same phases and approval stops while running fewer intermediate checks.
Changes
subagents-orchestration-guide/references/lite-mode.md. When lite mode is on, the orchestrator skipscode-verifier,design-sync, andsecurity-reviewer. In a Work Plan task set it also skips the per-task quality fixer and runs one Final Quality Run after the last task commit. Code review and the quality gate on post-review corrections still run. Small, single-cycle flows keep their only quality fixer call.subagents-orchestration-guide/SKILL.mdpoints to that file only when the user asks for lite mode. The recipes are unchanged, and normal-mode runs never read the lite mode rules.typefield fromgoverningDocumentsincode-reviewerandsecurity-reviewer, and from the recipes that pass it. Neither reviewer branches on it, and callers were filling it withdocument-reviewerlabels such asDesignDoc(see Stop security-reviewer from blocking on governing document type labels #188).Also included: the minor version is bumped to 0.28.0, and the plugin copies are synced.
Verification
I ran each phase once with
claude -p,--plugin-dir dev-workflows, and user plugins excluded, on a small Node fixture repository (an in-memory todo store and HTTP API with lint andnode:test)./recipe-designin lite mode, with one existing Design Doccode-verifier. Nodesign-sync, although a second Design Doc existed. The approval stop came right after document review, and document-reviewer ran withoutverification_evidence./recipe-buildin lite mode, with a 2-task Work Plandirect_scope,governing_sources, andobservable_verificationfrom the Work Plan and task files, and lint plus 20 tests passed. Nosecurity-reviewer.Both runs read
lite-mode.mdbefore their first workflow decision. Not covered: a comparison against a normal-mode run, the frontend and fullstack plugins, and thestub_detectedpath of the Final Quality Run.claude plugin validatepasses for the marketplace and all plugins.🤖 Generated with Claude Code