bubbles-dod-validation
Validate Bubbles Definition of Done items against the Tier 1 (universal) and Tier 2 (role-specific) checks before transitioning a scope to Done. Use when closing out a scope, preparing scope handoff, or auditing whether a scope can legitimately be marked complete. Triggers include marking the final DoD checkbox, running pre-completion self-audit, or composing a "completed_owned" result envelope.
- License 许可
- MIT
- 最近更新
- 2026-11-07
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- bubbles-dod-validation
- description
- Validate Bubbles Definition of Done items against the Tier 1 (universal) and Tier 2 (role-specific) checks before transitioning a scope to Done. Use when closing out a scope, preparing scope handoff, or auditing whether a scope can legitimately be marked complete. Triggers include marking the final DoD checkbox, running pre-completion self-audit, or composing a "completed_owned" result envelope.
03 SKILL.md 正文
Bubbles DoD Validation
Goal
Confirm that every DoD checkbox represents real, validated work before marking a scope Done and before composing any result envelope claiming completed_owned.
When to use
- About to flip a scope status to
Done - About to set
state.json.execution.scopeStatus = Donefor a scope - About to emit a result envelope with
outcome: completed_owned - Reviewing a scope handoff packet during specialist completion chain
Two-tier check model
Tier 1 — Universal (every agent, every scope)
Run these in order, all must pass:
- All DoD checkboxes
[x]— zero unchecked items in the scope's DoD block. No exceptions for "deferred", "future work", or "follow-up" items. - Per-DoD inline evidence — each
[x]has its own evidence block (≥10 lines raw output). Seebubbles-evidence-captureskill. - Test Plan ↔ DoD parity — every row in the scope's Test Plan table maps to a test-related DoD item.
- Test file existence — every file path mentioned in the Test Plan exists on disk (proven by
ls, evidence in report.md). - All required test categories executed — per the Canonical Test Taxonomy, every category applicable to the scope's surface area ran and passed.
- No incomplete-work markers —
grep -r "TODO\|FIXME\|HACK\|STUB\|unimplemented!" <changed-files>returns zero. - Zero warnings — build, lint, test, runtime outputs contain zero warnings.
- Zero deferrals — no issue encountered during the scope was skipped, postponed, worked-around, or "out-of-scoped" without an explicit owner packet routed to another agent.
- Bug reproduction (bug scopes only) — reproduced BEFORE the fix and re-verified AFTER, both captured in report.md.
Tier 2 — Role-specific
Look up the agent's role and load the matching profile from agents/bubbles_shared/validation-profiles.md. Examples:
- implement — addressedFindings + unresolvedFindings populated in envelope; round-trip verified for data mutations
- test — Gherkin scenario coverage 100%, live-stack authenticity (no
page.route()/msw/nockin live categories) - validate — scenario replay run, certification.* fields written, lockdown respected
- audit — Spot-Check Recommendations issued, finding ledger complete
- docs — managed docs current, generated docs regenerated
- bug — reproduction evidence, adversarial regression test (would fail if bug reintroduced)
Mode ceiling pre-flight (Gate G073)
Before ANY non-spec file edit, check state.json.workflowMode → bubbles/workflows/modes.yaml → statusCeiling:
statusCeiling |
Files you may edit |
|---|---|
done |
All files |
specs_hardened |
specs/ only |
specs_scoped |
specs/ only |
docs_updated |
specs/ and docs/ only |
validated |
specs/ only |
If the ceiling forbids what your scope requires, return route_required with reason: "mode ceiling does not permit <X>". Do not rationalize.
Sequential spec completion
- A spec cannot be
doneuntil ALL its scopes areDone(Gate G024). Zero in-progress, zero blocked. - A scope cannot be
Doneuntil ALL DoD items are[x]with inline evidence. - A DoD item cannot be
[x]until it was individually validated with raw evidence in this session.
Authoritative modules
agents/bubbles_shared/validation-core.md— Tier 1/Tier 2 frameworkagents/bubbles_shared/validation-profiles.md— role-specific Tier 2 tablesagents/bubbles_shared/completion-governance.md— sequential completion contractagents/bubbles_shared/quality-gates.md— gate catalog G024–G095+bubbles/scripts/state-transition-guard.sh— mechanical enforcementbubbles/scripts/artifact-lint.sh— DoD shape 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-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.
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.