feat(presets): bundled preset roles — 7 omp-style generic subagent roles (presets switch, apply self-declare, 0.1.6 minor) - #44
Merged
Conversation
…h (QC tri 3x Approve + QA PASS-WITH-NOTES)
…nd round, roadmap update
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
Adds bundled preset roles to dsh-llm-fallbacks: 7 omp-style generic subagent roles (designer / librarian / reviewer / scout / security-reviewer / sonic / task) ship with the plugin and are auto-declared on apply via the existing role-seeds surface (
FallbacksSeedManager), so dsh hosts get an out-of-the-box generic role taxonomy. Operators can switch them off (presets: 'none'); library consumers can reuse the same data (declareSeeds(presetRoles)).What changed
src/presets.ts(new):presetRoles: readonly SeedDeclaration[]— 7 roles, personas distilled from omp bundled-agent prompts (derivation annotated, snapshot 2026-08-16), frozen verbatim in spec §9.2.presetsconfig key (default'bundled', four-way sync):FallbacksConfig9th optional field +defaultFallbacksConfig+ schemastery schema (union-of-const, mirrorsrevertPolicy) + gatewayCONFIG_KEYS.src/index.ts: apply-time self-declaration — new tailctx.inject(['settings'])child firesseeds.declare(presetRoles, seedsIo)with a terminal catch (spec §9.3 D9.3-a/b/c/d: sync apply, no base-only overwrite, multi-fiber ownership gate,presets:'none'live short-circuit, headless zero-side-effect); package-root re-exportpresetRoles(9-key service unchanged).parseFallbacksConfigfolds the new default (client fold == host defaults invariant),FallbacksCardassembleConfigcarries the key (clean/dirty invariant),export-surface.spec.tsSSOT synced.preset-roles.md(category: Added).Verification
46afb90cleared F-001 flaky window + 4 suggestions; targeted re-review Approve.pnpm test558/558 (baseline 539, +19, zero regression);pnpm typecheckclean;pnpm buildincl. verify-dist host+client OK; 0 open residuals.Release
Targets
main; next release minor 0.1.6 (0.1.5 published 2026-08-15) via the existing release pipeline (fragment archived by release-prep).