From 5139f1ad893f227268b75eb94f179bc35ca8a199 Mon Sep 17 00:00:00 2001 From: Christian Nennemann Date: Fri, 3 Apr 2026 06:08:01 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Ralph=20Loop=20integration=20=E2=80=94?= =?UTF-8?q?=20mini-reflect,=20alternatives,=20structured=20confidence?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Mini-Reflect for fast workflow: Creator must restate task, list assumptions, name highest-damage risk before proposing (catches misunderstandings early) - Alternatives Considered section: Creator must evaluate 2+ approaches with rejection rationale before committing to one (prevents tunnel vision) - Structured confidence scoring: 3-axis table (task understanding, solution completeness, risk coverage) replaces bare 0.0-1.0 number. Low scores trigger targeted action (clarify, upgrade workflow, or research) - Mini-Reflect fallback for skipped tasks: quick reflection even when ArcheFlow doesn't activate (non-trivial single-file changes) --- skills/orchestration/SKILL.md | 19 +++++++++++++++---- skills/plan-phase/SKILL.md | 29 +++++++++++++++++++++++++++-- skills/using-archeflow/SKILL.md | 2 ++ 3 files changed, 44 insertions(+), 6 deletions(-) diff --git a/skills/orchestration/SKILL.md b/skills/orchestration/SKILL.md index 84e19aa..523f0af 100644 --- a/skills/orchestration/SKILL.md +++ b/skills/orchestration/SKILL.md @@ -47,19 +47,30 @@ Agent( **Context to include:** Task description, Explorer's research output. On cycle 2+: prior cycle's structured feedback (see Cycle Feedback Protocol). **Context to exclude:** Raw file contents (Explorer already summarized), git diffs, reviewer full outputs. +**Fast workflow only (no Explorer):** The Creator must perform a Mini-Reflect before proposing: +1. Restate the task in your own words (catch misunderstandings early) +2. List 3 assumptions you're making +3. Name the one risk that would cause most damage if wrong + ``` Agent( description: "🏗️ Creator: design proposal", prompt: " You are the CREATOR archetype. - Based on the research findings: + + > > Design a solution proposal including: 1. Architecture decisions (with rationale) 2. Files to create/modify (with specific changes) - 3. Test strategy - 4. Confidence score (0.0 to 1.0) - 5. Risks you foresee + 3. Alternatives considered (at least 2, with rejection rationale) + 4. Test strategy + 5. Confidence (scored by axis: task understanding, solution completeness, risk coverage) + 6. Risks you foresee Be decisive. Ship a clear plan, not a menu of options.", subagent_type: "Plan" diff --git a/skills/plan-phase/SKILL.md b/skills/plan-phase/SKILL.md index f558340..d63c8f5 100644 --- a/skills/plan-phase/SKILL.md +++ b/skills/plan-phase/SKILL.md @@ -32,11 +32,21 @@ Explorer researches, then Creator designs. Sequential — Creator needs Explorer ```markdown ## Proposal: -**Confidence:** <0.0 to 1.0> + +### Mini-Reflect (fast workflow only — skip if Explorer ran) +- **Task restated:** +- **Assumptions:** 1) ... 2) ... 3) ... +- **Highest-damage risk:** ### Architecture Decision +### Alternatives Considered +| Approach | Why Rejected | +|----------|-------------| +|