/prometheus-skill-pack:bdd-lifecycle-loopfrom prometheus-skill-pack
Codifies the VLBV define → author → execute (once, at the value-phase boundary) → triage → maintain workflow for BDD suites. Includes outside-in scenario authoring, the stochastic profile for nondeterministic claims (no retry-until-green), an immutable-tests guard, and a visual-baseline refresh workflow with paper trail. Use when standing up a BDD suite, growing one past 100 scenarios, or when nondeterminism starts eroding trust in results.
Ships in prometheus-skill-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A repeatable workflow for the life of a BDD suite under VLBV, the pack's single
verification method. Pairs with bdd-cucumber-js and bdd-cucumber-rs (which
cover how to author), value-scenario-verify (which executes) and
bdd-video-proof (which covers how to certify). Boundaries are defined once in
skills/process/kbd-process-orchestrator/references/boundaries.md.
| Act | When | Skill |
|---|---|---|
| Define scenarios (actor, outcome, source, oracle, negative control) | Before generation, from the specification; adopted into the phase contract | value-scenario-discovery |
| Author features, real assertions and steps | After the complete agreed production work (static inspection only) | bdd-cucumber-js / bdd-cucumber-rs author-only |
| Execute against the real path | Only at B4 (the boundary packet, once) and an authorized B5 repair | value-scenario-verify |
Defining a scenario does not authorize running anything. Do not run a scenario
against an intentionally incomplete codebase, per change, per task or per edit. A
scenario that has never run is NOT_EXERCISED — never "red", never "green". A
different execution cadence exists only as a signed KBD-METHOD deviation for one
phase, disclosed in its closure packet. No step here modifies a protected scenario
without its existing signed approval.
┌──────────────┐
│ 1. Author │ Features → real assertions → step definitions (no runs)
└──────┬───────┘
↓
┌──────────────┐
│ 2. Execute │ B4 step 3: the boundary packet runs each scenario once
└──────┬───────┘
↓
┌──────────────┐
│ 3. Triage │ PASS / FAIL / BLOCKED / NOT_EXERCISED — never rerun to green
└──────┬───────┘
↓
┌──────────────┐
│ 4. Maintain │ Refresh baselines, prune stale scenarios, review
│ │ stochastic declarations, enforce immutable tests
└──────┬───────┘
↓ (next value phase)
Work outside-in: begin from the observable user outcome, not from step code that mirrors the implementation. Write the features, assertions and oracle mapping from the adopted scenario IDs, and stop after static inspection.
Each assertion must be real: it observes the production operation's externally meaningful result against an independent source of expected truth. A step that only returns, or asserts a process exit code, is not an assertion. Each scenario's negative control must make that assertion fail when the behavior is absent.
Background for shared preconditions across scenarios in a fileScenario Outline for data variations@SCN-AUTH-001)@api, @ui, @system@team:auth, @owner:alicedata-testid selectors when the scenario is @uiThe adopted boundary packet lists the exact commands; value-scenario-verify
invokes each once. The cucumber runner writes cucumber.json beside any
human-readable report; the packet's receipts and boundary-results.json read it.
# cucumber-js (as a boundary-packet entry)
npx cucumber-js --format json:tests/reports/cucumber.json
# cucumber-rs (as a boundary-packet entry)
cargo test --test features -- --format=json > tests/reports/cucumber.json
Every scenario ends with exactly one of the four verdicts. Nothing is rerun to obtain a different one.
| Observation | Verdict and action |
|---|---|
| Assertion caught a genuine behavior difference | FAIL. Keep the receipt. The owner may authorize a bounded B5 repair; the rerun covers only affected scenarios and consumes repairAttempts |
| Timeout, race or environment fault the contract did not anticipate | BLOCKED (not FAIL). Record the cause; fixing the fixture or environment is a B5 repair or a contract amendment |
| Runner, fixture, permission or isolation unavailable | BLOCKED |
| Adopted scenario never ran | NOT_EXERCISED; it cannot pass |
| Result differs between identical runs | Not a verdict: the scenario is nondeterministic and needs a declared stochastic profile (below). Until then it is BLOCKED |
A later green receipt never overwrites an earlier failure.
There are no @flaky tags, retry flags or flake budgets: retrying until green
hides failures and changes the denominator. A behavior that is genuinely
nondeterministic (model output, timing-dependent UI, distributed timing) is
declared before any result exists, in the scenario's stochastic block of the
adopted contract (schema v2):
"stochastic": {
"samples": 20,
"grader": "fraction of samples whose observation meets the oracle",
"stoppingRule": "run all 20; PASS iff >= 18 meet the oracle; no early stop"
}
The boundary packet then runs the declared number of samples, once, and the verdict
follows the stopping rule. Adoption lint rejects a scenario marked nondeterministic
that has no stochastic block.
stochastic block when its scenario's
amendment history or the closure packet shows drift. Changing samples, grader or
stopping rule is a signed contract amendment, never an edit after results.The immutable-tests rule is enforced once, at final local certification. Agent-time Bash, Python, Edit and Write calls remain unrestricted. The method-independent verifier compares the certified base and candidate Git commits and detects protected modifications, deletions, renames and mode changes. Intentional changes require an SSH-signed canonical approval manifest; see references/immutable-tests.md.
Playwright's --update-snapshots overwrites baselines silently. Coupled with the
immutable-tests rule, baseline changes need a paper trail. See
references/visual-baseline-refresh.md
for the branch-and-review workflow.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026