Agent d'Orchestration de Durcissement Brutal

VérifiéSûr

Orchestre le durcissement par sous-systèmes en alternant revue approfondie et exécution automatique des tâches. Chaque sous-système est analysé, les tâches CRITICAL/MAJOR sont créées puis exécutées avant de passer au suivant, avec des passes répétées jusqu'à ce qu'aucun nouveau problème majeur ne soit trouvé. Utile pour un durcissement systématique et autonome d'un projet.

Spar Skills Guide Bot
DeveloppementAvancé
7002/06/2026
Claude CodeCodex
#subsystem-review#task-orchestration#code-hardening#autonomous-loop

Recommandé pour

Notre avis

Orchestre une boucle stricte de revue et d'exécution qui applique brutal-project-review à chaque sous-système et exécute toutes les tâches via task-worker, en répétant les passes jusqu'à ce qu'aucun nouveau problème critique ou majeur ne soit trouvé.

Points forts

  • Garantit qu'aucune instruction des compétences source n'est perdue
  • Processus autonome à plusieurs passes qui approfondit le raffinement
  • Reprend en toute sécurité en vidant d'abord les tâches existantes
  • Intègre le contexte du projet à partir de TARGET.md

Limites

  • Limité aux projets avec des sous-systèmes bien définis
  • Nécessite que les compétences brutal-project-review et task-worker soient disponibles
  • La boucle peut être longue pour les grandes bases de code
Quand l'utiliser

À utiliser lorsque vous avez besoin d'une amélioration approfondie et autonome d'un projet par une revue itérative et une exécution des tâches jusqu'à ce qu'aucun problème majeur ne subsiste.

Quand l'éviter

À éviter lorsque vous avez besoin d'une correction rapide ou lorsque le projet manque de limites claires entre sous-systèmes.

Analyse de sécurité

Sûr
Score qualité90/100

The skill is an orchestrator that reads two other skill files and loops subsystem reviews and task execution. It only uses safe Bash commands (ls, find, wc, date, git, ./run, mkdir, rm, cat, mv) and standard editing tools. There are no instructions for destructive actions, exfiltration, or disabling safety. The rm tool is allowed but not explicitly invoked with dangerous patterns; cleanup is left to invoked skills. No network access is requested. The orchestrator itself is passive and does not execute user-provided code.

Aucun point d'attention détecté

Exemples

Full project hardening
Apply the brutal-agent to systematically review all subsystems and execute tasks until no critical issues remain.
Resume incomplete review
Run a brutal-agent pass on my project, checking TARGET.md first and draining any existing tasks.
Multi-pass subsystem review
Use the brutal-agent loop to harden the codebase, ensuring each subsystem is reviewed and tasks are completed.

name: brutal-agent description: "Orchestrate subsystem-by-subsystem project hardening by combining brutal-project-review and task-worker in a strict loop: review one subsystem, create CRITICAL/MAJOR tasks, run all tasks to completion, then move to the next subsystem. Continue full review/task passes until a complete pass finds no new CRITICAL/MAJOR issues. Use when the user wants both deep subsystem review and autonomous task execution with no instruction loss." allowed-tools: Bash(ls:), Bash(find:), Bash(wc:), Bash(date:), Bash(git:), Bash(./run:), Bash(mkdir:), Bash(rm:), Bash(cat:), Bash(mv:), Task, Read, Write, Edit, Grep, Glob

Run a strict orchestration loop that combines these two skills without dropping any instructions:

  • /home/user/.codex/skills/brutal-project-review/SKILL.md
  • /home/user/.codex/skills/task-worker/SKILL.md

Non-Negotiable Inheritance Rules

  1. Read both source SKILL.md files in full before starting.
  2. Treat every instruction in both source files as authoritative and preserved.
  3. Do not summarize away, simplify, or omit any requirement from either source skill.
  4. Only add orchestration logic for ordering. If there is tension, preserve source-skill behavior and use this skill only to decide sequence.

Orchestration Workflow

Step 0: Load Source Skills

  • Read:
    • /home/user/.codex/skills/brutal-project-review/SKILL.md
    • /home/user/.codex/skills/task-worker/SKILL.md
  • Keep their instructions active for the rest of execution.

Step 0.5: Load Project Target Context (Before Feature Planning)

  • Before planning any feature work, check for TARGET.md in the project root directory.
  • If TARGET.md exists, read it in full and treat it as required planning context.
  • Do not start feature planning until this check/read has been completed.

Step 1: Drain Existing Tasks First (Resume Safety)

  • If any task exists in either:
    • workspace/tasks/in-progress/
    • workspace/tasks/todo/
  • Run task-worker exactly as specified, until it reports no more tasks.
  • This prevents reviewing additional subsystems while previous findings remain unaddressed.

Step 1.5: Initialize Pass Tracking

  • Define a "pass" as reviewing all currently discovered subsystems to done once.
  • Read .claude/review-state/manifest.json and record:
    • pass_started_at
    • pass_baseline_tasks_created = len(tasks_created) (use 0 if manifest does not yet exist)
  • Use this baseline to determine whether the pass discovered any new CRITICAL/MAJOR issues.

Step 2: Review One Subsystem

  • Run brutal-project-review exactly as specified.
  • Execute one full subsystem cycle (including report, task creation, manifest update, completion marking, and cleanup) for the next pending subsystem.

Step 3: Run All Tasks to Completion

  • Immediately run task-worker exactly as specified.
  • Let it process continuously until both are empty:
    • workspace/tasks/todo/
    • workspace/tasks/in-progress/
  • Respect all TDD, self-review, fix-loop, verification, state, and lifecycle requirements from task-worker.

Step 4: Loop Control

  • Check brutal-project-review manifest state.
  • If any subsystem remains pending, go back to Step 2.
  • If all subsystems are done:
    • Compute pass_new_tasks = len(tasks_created) - pass_baseline_tasks_created.
    • If pass_new_tasks > 0, start another pass:
      • Reinitialize pass tracking (Step 1.5)
      • Go back to Step 2
    • If pass_new_tasks == 0, go to Step 5.

Step 5: Final Drain and Completion Report

  • Run one final task-worker pass to ensure no residual tasks remain.
  • Stop only when this condition is true:
    • Last complete pass produced pass_new_tasks == 0 (no new CRITICAL/MAJOR issues found)
  • Report completion summary:
    • Passes executed
    • New CRITICAL/MAJOR tasks created in last pass (0)
    • Subsystems reviewed (done/total)
    • Remaining tasks (must be zero unless explicitly blocked/needs-human-review)
    • Any blocked or needs-human-review tasks

Execution Contract

When this skill says “run brutal-project-review” or “run task-worker”, it means:

  • Apply the full, original instructions from each referenced source skill.
  • Preserve all required formats, severity definitions, state handling, history updates, commits, and review rigor.
  • Preserve all resume logic and guardrails from both skills.

This skill only defines the macro-ordering loop:

  1. Review one subsystem
  2. Run all tasks
  3. When a full pass completes, repeat passes until no new CRITICAL/MAJOR tasks are created
Skills similaires