What problem does it solve?
It solves the problem of verifying and correcting an outdated Stage 0 function extraction review so downstream Stage 1 fault reasoning has reliable, complete, and well-bounded function mappings.
Core Features & Use Cases
- Stage 0R Function Completeness Review: Checks that every function in the functional inventory appears in the Stage 0 function mapping without unsafe pruning.
- Chapter Boundary & Detail Quality Validation: Verifies that function
detail_text properly binds to the correct sections and is detailed enough for later fault inference.
- Output-Strict Review JSON Generation: Produces
output/<RUN_ID>_stage0_review.json following the strict schema, with fixes recorded when Stage 0 JSON must be updated.
Use Case: You have an existing output/<RUN_ID>_stage0_function_mapping.json generated by an older process and want to ensure the function list is complete, correctly numbered, and does not mistakenly split sub-sections into independent functions.
Quick Start
Run the hara-stage0r skill to review and, if needed, fix output/<RUN_ID>_stage0_function_mapping.json against references/stage0-review.md and the corresponding Stage 0 inputs.