repair-orchestrator

Solid

5-level repair escalation when quality gates fail. Surgical → Section-rewrite → Stage-rewrite → Full-regen → From-scratch. Hard cap 4 rounds total. Use when quality.json reports overall_passed=false OR reviewer rejects. Last line of defense before declaring an article unsalvageable.

AI & Automation 59 stars 13 forks Updated 1 months ago Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
59
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Repair Orchestrator The escalating repair pipeline. Driven by quality.json findings. ## Inputs - `workspace/{task_id}/quality.json` (one or more gates failed) - `workspace/{task_id}/review.json` (if independent-reviewer ran) - `state.repair_iteration` (current attempt count; cap = 4) ## 5 escalation levels ``` Level 1 — SURGICAL (cheapest, fastest) Edit specific lines indicated by quality.json.repairs[].instruction Use Edit tool only (preserve everything else) If quality improves ≥3 score → progress; loop back at Level 1 again If improvement <3 → escalate to Level 2 Level 2 — SECTION-REWRITE Identify which section(s) most contribute to failures Spawn writer agent for that section with: - original section spec - failures list as "things to fix" - stronger constraints Re-run quality gates If still failing → escalate to Level 3 Level 3 — STAGE-REWRITE Rerun one whole stage of build phase: - If structural issues: outline-architect (revise outline) - If reference issues: fact-check-and-citation (verify everything again) - If voice issues: humanizer (with stricter settings) Re-run quality gates If still failing → escalate to Level 4 Level 4 — FULL-REGEN Rerun all of Phase Build (preserve research.json + angle.json + outline.json) Re-run quality gates If still failing → escalate to Level 5 Level 5 — FROM-SCRATCH Rerun from Plan phase: - Pick alternative title from angle.alternative_titles_considered - New outli...

Details

Author
XuanRanL
Repository
XuanRanL/loamwright-SEO-Skill
Created
1 months ago
Last Updated
1 months ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

repair-operator

Convert findings from reviewers, roasters, audits, tests, or acceptance gates into a minimal dependency-aware repair set, optionally apply authorized edits, and verify that fixes close root causes without introducing regressions. Use when the user wants issues actually fixed rather than merely analyzed, especially after content-reviewer, content-roaster, science-roaster, repo-roaster, or artifact-acceptance. Do not use to invent new requirements, perform the initial broad audit, make consequential strategy decisions, or claim a finding is fixed without fresh verification evidence.

1 Updated today
CometWeb-io
Code & Development Listed

fix-review

Repairs selected findings from a /quality-review or /final-review report with targeted edits, runs proportionate verification, and reports exactly what changed and what remains. Does not commit, and does not look for new problems.

0 Updated 2 days ago
digitalnsw
AI & Automation Listed

run-review-repair-loop

Conduct a bounded, repository-grounded code self-review and repair loop with objective 1-5 scoring, exact scope preservation, targeted fixes, and focused and full verification. In repositories with owned doctrine, dynamically apply current engineering, security, testing, maintainability, build-gate, and return-contract standards through progressive activation. Use when the user asks you to review your own recent code, grade the work, repeatedly fix actionable findings until it earns an evidence-backed 5/5 or reaches an iteration limit, or prepare a change for independent review without publishing or deploying it.

23 Updated 1 weeks ago
Ezra144israel