aibdd-green-execute

Convert legal Red handoffs to Green by editing product code within feature-file scope.

77|15|Updated May 12, 2026
One-click install
npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill aibdd-green-execute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aibdd-green-execute
Source: https://github.com/Waterball-Software-Academy/aixbdd/tree/main/.agents/skills/aibdd-green-execute
Command: npx skills add https://github.com/Waterball-Software-Academy/aixbdd --skill aibdd-green-execute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It converts an upstream legal Red handoff into a passing Green state by verifying drift, applying only product-code edits within the confirmed scope, and stopping when failures loop, drift, or become non-actionable.

Core Features & Use Cases

  • Drift-aware Green execution: verifies runtime/visibility drift against the Red handoff snapshot before editing product code.
  • Minimal, targeted product fixes: repeatedly edits only the smallest amount of product code needed to clear the first failing scenario until the whole target feature set is green.
  • Safety guardrails and routing: detects oscillation and other stop conditions, emitting structured stop reasons and routing back to Red when evidence is invalid (e.g., already-green red, test bug, runtime drift, architecture veto).

Quick Start

Run aibdd-green-execute after you have an aibdd-red-execute completed handoff and you want the specified target feature files to reach green with product-code-only changes.

Frequently Asked Questions about aibdd-green-execute

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make failing BDD acceptance tests pass without modifying the spec files?

To make failing BDD acceptance tests pass, you can use product-code-only repair loops that edit application logic iteratively until the target feature files turn green, leaving BDD specs and DSL artifacts untouched.

What is runtime drift detection in acceptance testing and when do I need it?

Runtime drift detection in acceptance testing verifies whether the execution environment or test visibility has changed between handoffs. You need it before editing product code to ensure failure evidence remains valid and actionable.

How to fix oscillating acceptance test failures during automated repair loops?

To fix oscillating acceptance test failures, apply oscillation detection guardrails that identify looping fixes and emit a structured stop reason, routing execution back to red when evidence becomes invalid or non-actionable.

Can I run automated BDD green execution without a completed red handoff?

No, automated BDD green execution requires a completed legal red handoff as input. It enforces handoff validity checks upfront and stops if the red state is already green or contains invalid failure evidence.

What is the minimal edit strategy for acceptance-test-driven repair?

The minimal edit strategy for acceptance-test-driven repair repeatedly edits only the smallest amount of product code needed to clear the first failing scenario, iterating until the entire target feature set passes.

Why does acceptance test repair stop early instead of fixing all failures?

Acceptance test repair stops early when it detects oscillation, runtime drift, architecture vetoes, or non-actionable failures, emitting a precise stop_reason for routing rather than attempting blind fixes that could destabilize the codebase.