cyberneticlibrary

Rewrite product documentation

loom-drain-tutorialsworkflowsetup L32
fgarofalo56/csa-inabox
What it does

Rewrite documentation against shipped product

Best for

Rewriting stale docs against real shipped product surfaces with adversarial review gates.

Inputs
  • · Workflow config
Outputs
  • · pr: result
  • · reviewPass: result
Requires
  • · Claude agents
  • · Node package manager
  • · File grep/search
  • · Git + gh CLI
Preconditions
  • · Read-only operation; requires user confirmation for edits
  • · Sequential 3 phases declared upfront
Failure modes
  • · Agent output fails schema validation
  • · Build fails after refactoring
  • · Test suite fails
  • · Search/grep matches produce incomplete context
  • · Git state mismatch if branch switched mid-run
Trust signals
  • · Adversarial verification phase verifies each finding
  • · Dedicated Verify phase re-checks claims against truth
  • · Structured output validated against tight schemas
  • · Agents labeled for traceability and phase accounting