/eou-foundry:generate-regression-cases INCIDENT_PATH_OR_GLOBfrom eou-foundry
Converts incident reports and audit failures into candidate regression cases with observable symptoms, F-code classification, and expected-behavior predicates. Cases require human approval before activation.
Ships in eou-foundry. 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.
None: SKILL.md is the whole skill.
Convert $source (one or more incident reports or audit failures) into candidate regression cases.
$source (required) — path to one or more incident reports or audit failure files. Accepts a direct file path or a glob (e.g., foundry/audits/incidents/*.yml). Every matched file must contain at least one observable failure symptom.${CLAUDE_PLUGIN_ROOT}/engine/failure-taxonomy.yml (plus the app's foundry/overrides/failure-taxonomy.yml, if present) — classify each failure by F-codefoundry/constitution.yml — invariants that constrain what counts as a valid regression case${CLAUDE_PLUGIN_ROOT}/schemas/incident.schema.yml — validate structured YAML incident files against this schema${CLAUDE_PLUGIN_ROOT}/schemas/regression-case.schema.yml — the schema for the output regression case filesHalt and report before generating cases if:
$source resolves to no readable files.${CLAUDE_PLUGIN_ROOT}/schemas/regression-case.schema.yml does not exist — cannot validate output structure.$source. If it is a glob, read all matching files.${CLAUDE_PLUGIN_ROOT}/engine/failure-taxonomy.yml, plus the app's foundry/overrides/failure-taxonomy.yml if present.foundry/self-evolution/regression/fixtures/{case_id}/.foundry/self-evolution/regression/cases/ for existing cases that cover this failure — skip if a duplicate exists; record the duplicate case ID instead.activation_status: candidate on all generated cases — never active.${CLAUDE_PLUGIN_ROOT}/schemas/regression-case.schema.yml)id: # regression-{eou_id}-{failure_class}-{YYYYMMDD}
source_incident_id: # incident or audit ID this case was derived from
failure_class: # F1-F12 code
eou_id: # EOU that exhibited the failure
fixture_path: # foundry/self-evolution/regression/fixtures/{case_id}/
failure_shape_assertion: # observable output that indicates the failure is occurring (non-empty)
activation_status: # candidate — never active without human approval
Write each case to foundry/self-evolution/regression/cases/{case_id}.regression.yml.
Create the fixture directory at foundry/self-evolution/regression/fixtures/{case_id}/.
Record the run in foundry/runs/{eou_id}/{run_id}.yml.
activation_status: active. Cases are candidates until the human owner promotes them.failure_shape_assertion — what observable output signals the failure is occurring. Cases asserting only pass are invalid.Upstream: receives incidents (foundry/incidents/) or audit findings (foundry/audits/eou-audits/).
Downstream: produces regression cases at foundry/self-evolution/regression/cases/ at activation_status candidate. Cases enter the regression suite only after human owner approval — this skill never sets activation_status to active.
Related: $eou-diagnose (sibling — F-code classification of the same incident); $ecp-propose (sibling — proposes change; regression cases pin the failure so the change can be verified).
Pipeline: incident | audit failure → generate-regression-cases → human approval → activation_status: active
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xiaolai/eou-foundry --plugin eou-foundry13 skills in this plugin
/audit-candidate-eou-setAudit a generated candidate EOU set for boundary quality, minimality, overlap, authority, operational value, and governance risk before any candidate advances to specification./audit-judgmentAudit value_invocations in run traces for EOUs with classification.judgment_authorized:true. Verifies invocations against the captured_workflow's declared priority (no F15), checks for drift over multiple runs (no F16), detects hallucinated value ids (no F17), catches silent decisions on contested cases (F14), and runs counterfactual-swap audit as the V1 anti-theater defense./ecp-proposeCreate a formal EOU Change Proposal from a diagnosed failure or refactor option, capturing simulation, regression case, audit, and approval requirements per rule 92./eou-auditAudit an EOU spec — classification, authority, validators, failure modes, trace, blast radius, responsibility./eou-diagnoseDiagnose an EOU failure using the F-code taxonomy and recommend the smallest-blast-radius repair, producing either a diagnosis (path to $ecp-propose) or a no-change record./eou-promoteEvaluate whether an EOU should be promoted, deprecated, or retired based on evidence, maturity model, audits, run traces, and owner approval. Produces a recommendation only — does not execute any lifecycle transition (that is the role of activate/retire execution, which requires human approval).Other plugins' skills for the same job