← ClaudeAtlas

abort-safe-handlerlisted

Orchestrator-level Stage 4 entry gate for /gaai:bootstrap. Presents a pre-loop "Skip Q&A entirely" option, delegates to qa-loop-ui when the user proceeds, and returns a unified abort_safe_result with telemetry on every path. Guarantees no partial state on skip or abort.
Fr-e-d/GAAI-framework · ★ 147 · AI & Automation · score 82
Install: claude install-skill Fr-e-d/GAAI-framework
# Abort-Safe Handler ## Purpose / When to Activate Activate: - As the **Stage 4 entry gate** of the `/gaai:bootstrap` pipeline, immediately after `smart-question-generator` returns a `question_result` - Before `qa-loop-ui` is invoked — this skill decides WHETHER the loop runs at all - The bootstrap orchestrator MUST call this skill instead of calling `qa-loop-ui` directly When `question_result.questions` is empty (legitimate empty OR fallback), skip Stage 4 entirely — return the no-questions shortcut without showing the entry gate. Do NOT activate `qa-loop-ui` in this case. **What this skill does NOT do:** - Generate questions (`smart-question-generator`) - Run the Q&A loop itself (`qa-loop-ui`, invoked BY this skill when user proceeds) - Write to memory (orchestrator responsibility after Stage 5 consent gate) - Accumulate skip counts over time (telemetry counting is `E107bS08`) --- ## Input Schema ```yaml question_result: questions: # from smart-question-generator — already ≤5 items - question_text: string topic: string severity: number options: # optional - label: string value: string error: string | null fallback: bool workspace_id: string # for per-workspace telemetry (AC5) ``` --- ## Process ### Step 0 — No-questions shortcut ``` if question_result.questions.length == 0: log: "[abort-safe-handler] no questions from smart-question-generator — Stage 4 skipped" return {