ワンクリックで
eou-diagnose
Diagnose EOU failures using the Foundry failure taxonomy and recommend the smallest repair path.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Diagnose EOU failures using the Foundry failure taxonomy and recommend the smallest repair path.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audit a generated candidate EOU set for boundary quality, minimality, overlap, authority, operational value, and governance risk.
Audit 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.
Audit EOU specs for Foundry V2 faceted classification, authority limits, schemas, validation, failure modes, trace, blast radius, and responsibility ownership.
Synthesize a Stage 0 captured_workflow (D2.4 step 1–5 outputs + per-app constitutional domain_values layer) from a user goal, structured 5-role reference set, and constraints. For users entering an unfamiliar craft domain who cannot articulate a workflow unaided, and for any user who needs the constitutional layer made explicit before downstream EOU generation begins.
Generate a minimal, ranked candidate EOU set from a messy workflow using Foundry V2 constraints. Candidates are proposal-only and cannot be activated.
Audit a generated candidate EOU set for boundary quality, minimality, overlap, authority, operational value, and governance risk before any candidate advances to specification. <example> Context: A generation run has just produced a candidate set; the owner wants to know which candidates survive audit before promotion. user: "$audit-candidate-eou-set foundry/self-evolution/candidate-sets/cs-generate-eou-candidates-20260520-1430.yml" assistant: "I'll run the eight tests (boundary, non-overlap, minimality, authority, operational value, counter-generation, set composition, high-stakes) and write the audit report under foundry/audits/candidate-set-audits/." </example> <example> Context: User wants to audit a candidate set that contains a generating EOU without a corresponding audit path. user: "$audit-candidate-eou-set ./my-candidates.yml" assistant: "I'll audit. Heads-up that if any candidate has authority_level approve/publish or proposes weakening validators, I'll escalate to FAIL regardless of other test outc
| name | eou-diagnose |
| description | Diagnose EOU failures using the Foundry failure taxonomy and recommend the smallest repair path. |
Diagnose the failure described in $target and recommend the minimum repair path.
foundry/failure-taxonomy.yml — F1–F12 class definitions and repair heuristicsfoundry/constitution.yml — invariants that constrain repair optionsschemas/incident.schema.yml — validate the input incident report against this schema if it is a structured YAML fileHalt and request clarification if:
$target does not identify an EOU ID and one cannot be inferred from the content.foundry/failure-taxonomy.yml does not exist — failure classification cannot proceed without it.$target (incident report or audit finding) and extract the observable failure symptom.Every diagnosis produces one of two outcomes:
$ecp-propose to open an ECP.foundry/audits/incidents/{incident_id}.no-change.yml with fields: incident_id, eou_id, diagnosis_summary, decision: no_change, rationale, reviewed_by, reviewed_at, reopen_condition.A no-change record is not a failure of the diagnosis process. It is evidence that the system reviewed and rejected a change rather than silently ignoring the incident.
Write the diagnosis report to foundry/audits/incidents/{incident_id}.diagnosis.yml with the following structure:
incident_id: # from $target or generated
eou_id: # EOU under diagnosis
failure_classes: # list of F-codes with confidence (high/medium/low)
symptoms: # observable signals that led to each classification
repair_options: # ordered list, smallest blast radius first
- repair_type: # schema_field | validator | stop_condition | regression_case | context_manifest | ecp | human_gate | eou_lifecycle
description: # one sentence — what changes
blast_radius: # narrow | medium | wide
requires_ecp: # true | false
recommended: # index into repair_options of the recommended minimum fix
rationale: # why that fix and not the next one up
incident_id — use the one from $target or generate from {eou_id}-{YYYYMMDD} if absent.high/medium/low) for failure class matches must be grounded in observable signals, not subjective judgment.