bubbles-workflow-mode-resolution
Resolve a Bubbles workflow mode against `bubbles/workflows.yaml`, including template inheritance, status ceilings, gate wiring, and decision policy. Use when picking a mode for a request, when a guard reports a mode-related failure, or when extending workflows.yaml with a new mode or template. Covers natural-language intent routing and the workflow registry consistency rules.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bubbles-workflow-mode-resolution
- description
- Resolve a Bubbles workflow mode against `bubbles/workflows.yaml`, including template inheritance, status ceilings, gate wiring, and decision policy. Use when picking a mode for a request, when a guard reports a mode-related failure, or when extending workflows.yaml with a new mode or template. Covers natural-language intent routing and the workflow registry consistency rules.
03 SKILL.md 正文
Bubbles Workflow Mode Resolution
Goal
Pick the right workflow mode for a request, understand the mode's inherited and explicit policy, and respect the registry's consistency rules.
When to use
- Translating a natural-language request to a workflow mode
- Adding or editing a mode/template in
bubbles/workflows.yaml - Investigating a
workflow-registry-consistencyormode-resolverfailure - Confirming the
statusCeiling,executionOptions, orgatesfor a mode
How resolution works
- Resolve the top-level runner from
bubbles/agent-capabilities.yaml::workflowModeGrants: goal for one outcome, workflow for one ordinary root mode, sprint for a timed goal set, or a granted domain orchestrator for its own family. - Read the requested mode by name from
bubbles/workflows.yaml. - Resolve template inheritance via
bubbles/scripts/mode-resolver.sh:- scalar fields flow through from a single template
- arrays concatenate, dedupe, and sort across templates
- explicit mode fields override inherited values
- cycles are rejected (cycle detection)
- unknown template references are rejected
- Inspect the resolved mode's:
statusCeiling— highest status the spec may reach in this modeexecutionOptions— declarative knobs (e.g., spec review default, direct mapped-mode execution)gates— the gate IDs activated for this modedecisionPolicy— mechanical vs taste decision routingphaseRelevance— which phases are required, optional, or skippedsamples— risk/uncertainty-bounded same-runtime-correlated adversarial checks; default1, dispatched and aggregated by the active top-level runner when a redteam phase runs
Common natural-language intent mappings
| Plain-English intent | Mode |
|---|---|
| "brainstorm" / "explore an idea" | brainstorm |
| "plan but don't code" | plan-only |
| "make sure specs are tight" | spec-scope-hardening |
| "improve an existing feature" | improve-existing |
| "fix the bug" | bugfix-fastlane |
| "keep going until done" | Continuation: recover and preserve the active mode; recap if terminal |
| "review documentation only" | docs-only |
| "validate the certification" | validate-only |
| "audit findings only" | audit-only |
For ambiguous requests, bubbles.super owns natural-language translation and emits a RESOLUTION-ENVELOPE with both targetAgent and the preferred mode.
Authoritative modules
agents/bubbles_shared/workflow-mode-resolution.md— template inheritance semanticsagents/bubbles_shared/workflow-delegation-core.md— intent routing ownershipagents/bubbles_shared/workflow-input-bootstrap.md— improve-existing / stale route routingbubbles/workflows.yaml— single source of truth for modesbubbles/scripts/mode-resolver.sh— resolver +--validatesurfacebubbles/scripts/workflow-registry-consistency.sh— registry lint
04 同仓库更多 Skills
smackerel-trace-capture
Wire Smackerel's concrete validate-plane stack into the framework trace-driven defect-discovery method. Use when running live-category tests (integration/e2e/e2e-ui/stress) against the ephemeral test stack; capturing SLO or trace evidence; hunting latency/error/perf bugs from spans; querying the test-stack Jaeger or Prometheus; or touching `.specify/runtime/observability`. Concrete smackerel endpoints + the exact `capture-slo.sh` command; do NOT duplicate `bubbles-observability-adapter` — this only adds the wiring.
smackerel-no-defaults
Enforce Smackerel's NO-DEFAULTS / fail-loud SST policy. Use when editing config, Docker Compose, deploy adapters, docs, instructions, skills, env handling, host bind addresses, or any runtime value that could be hidden by fallback syntax.
bubbles-workflow-execution-loops
Run per-round synchronous workflow execution loops correctly. Use when orchestrating a multi-round workflow, dispatching specialist subagents, handling round-based remediation, or interpreting a workflow mode's execution policy. Covers authorized direct execution, dispatch-and-wait, batch-then-summarize prohibition, and mapped-mode execution.
bubbles-vscode-agent-constraints
Design agents that fit the VS Code Copilot Chat runtime instead of fighting it. Use when authoring or editing any `*.agent.md`; when adding `tools:`, `agents:`, `handoffs:`, `model:`, `user-invocable:`, or `disable-model-invocation:` frontmatter; when designing an orchestrator that dispatches specialists; when a design implies agent-calls-agent-calls-agent chaining; when a subagent dispatch silently no-ops or an agent cannot be selected in the dropdown; or when writing a governance rule about delegation that the runtime cannot actually enforce. Prevents multi-level-subagent designs, prose-only dispatch laws, and frontmatter/body contradictions.
bubbles-upkeep-cadence
How to schedule, dispatch, and record recurring operational upkeep tasks (backup, restore-drill, BCDR-drill, patch-cycle, secret-rotation, flag-cleanup, compliance-sweep). Use when authoring or modifying `config/upkeep-calendar.yaml`, when investigating a missed task, when reading the upkeep ledger, or when adding a new task type.
bubbles-test-integrity
Enforce real, specification-driven test quality during any test work. Use when writing tests, implementing scope test plans, reviewing test coverage, or validating DoD test items. Triggers include writing tests, adding test coverage, implementing scope tests, reviewing test plans, marking test DoD items, and verifying Gherkin scenario coverage.