~ / rigs / joshft / correctless

joshft/correctless

The agent that writes the code never reviews it. Spec-driven TDD with agent separation, adversarial QA, and dynamic rigor for Claude Code.

↗ GitHub ★ 66 MIT updated 7d ago project Claude Code
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~28.6k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add serena -- uvx -p 3.13 --from git+https://github.com/oraios/serena@v0.1.4 serena-mcp-server --transport stdio
$ claude mcp add context7 -- npx -y @context7/mcp@2.1.6
$ npx degit joshft/correctless/.claude ./rig-correctless  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add serena -- uvx -p 3.13 --from git+https://github.com/oraios/serena@v0.1.4 serena-mcp-server --transport stdio
$ claude mcp add context7 -- npx -y @context7/mcp@2.1.6
$ npx degit <redacted> .claude/skills/carchitect
$ npx degit joshft/correctless/correctless/skills/caudit .claude/skills/caudit
$ npx degit joshft/correctless/correctless/skills/cauto .claude/skills/cauto
$ npx degit joshft/correctless/correctless/skills/cchores .claude/skills/cchores
$ npx degit <redacted> .claude/skills/ccontribute
$ npx degit <redacted> .claude/skills/cdashboard
$ npx degit joshft/correctless/correctless/skills/cdebug .claude/skills/cdebug
$ npx degit joshft/correctless/correctless/skills/cdevadv .claude/skills/cdevadv
$ npx degit joshft/correctless/correctless/skills/cdocs .claude/skills/cdocs
$ npx degit joshft/correctless/correctless/skills/cexplain .claude/skills/cexplain
$ npx degit joshft/correctless/correctless/skills/chelp .claude/skills/chelp
$ npx degit joshft/correctless/correctless/skills/cmaintain .claude/skills/cmaintain
$ npx degit joshft/correctless/correctless/skills/cmetrics .claude/skills/cmetrics
$ npx degit joshft/correctless/correctless/skills/cmodel .claude/skills/cmodel
$ npx degit <redacted> .claude/skills/cmodelupgrade
$ npx degit <redacted> .claude/skills/cpostmortem
$ npx degit joshft/correctless/correctless/skills/cpr-review .claude/skills/cpr-review
$ npx degit joshft/correctless/correctless/skills/cprune .claude/skills/cprune
$ npx degit joshft/correctless/correctless/skills/cquick .claude/skills/cquick
$ npx degit joshft/correctless/correctless/skills/credteam .claude/skills/credteam
$ npx degit joshft/correctless/correctless/skills/crefactor .claude/skills/crefactor
$ npx degit joshft/correctless/correctless/skills/crelease .claude/skills/crelease
$ npx degit joshft/correctless/correctless/skills/creview-spec .claude/skills/creview-spec
$ npx degit joshft/correctless/correctless/skills/creview .claude/skills/creview
$ npx degit joshft/correctless/correctless/skills/csetup .claude/skills/csetup
$ npx degit joshft/correctless/correctless/skills/cspec .claude/skills/cspec
$ npx degit joshft/correctless/correctless/skills/cstatus .claude/skills/cstatus
$ npx degit joshft/correctless/correctless/skills/csummary .claude/skills/csummary
$ npx degit joshft/correctless/correctless/skills/ctdd .claude/skills/ctdd
$ npx degit joshft/correctless/correctless/skills/ctriage .claude/skills/ctriage
$ npx degit joshft/correctless/correctless/skills/cupdate-arch .claude/skills/cupdate-arch
$ npx degit joshft/correctless/correctless/skills/cverify .claude/skills/cverify
$ npx degit joshft/correctless/correctless/skills/cwtf .claude/skills/cwtf
$ curl -fsSL --create-dirs -o .claude/agents/architecture-compliance-reviewer.md https://raw.githubusercontent.com/joshft/correctless/main/agents/architecture-compliance-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/architecture-reviewer.md https://raw.githubusercontent.com/joshft/correctless/main/agents/architecture-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/cchores-issue-classifier.md https://raw.githubusercontent.com/joshft/correctless/main/agents/cchores-issue-classifier.md
$ curl -fsSL --create-dirs -o .claude/agents/cdebug-fix.md https://raw.githubusercontent.com/joshft/correctless/main/agents/cdebug-fix.md
$ curl -fsSL --create-dirs -o .claude/agents/cspec-research.md https://raw.githubusercontent.com/joshft/correctless/main/agents/cspec-research.md
$ curl -fsSL --create-dirs -o .claude/agents/ctdd-green.md https://raw.githubusercontent.com/joshft/correctless/main/agents/ctdd-green.md
$ curl -fsSL --create-dirs -o .claude/agents/ctdd-red.md https://raw.githubusercontent.com/joshft/correctless/main/agents/ctdd-red.md
$ curl -fsSL --create-dirs -o .claude/agents/decision-agent.md https://raw.githubusercontent.com/joshft/correctless/main/agents/decision-agent.md
$ curl -fsSL --create-dirs -o .claude/agents/fix-diff-reviewer.md https://raw.githubusercontent.com/joshft/correctless/main/agents/fix-diff-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec-assumptions.md https://raw.githubusercontent.com/joshft/correctless/main/agents/review-spec-assumptions.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec-design-contract.md https://raw.githubusercontent.com/joshft/correctless/main/agents/review-spec-design-contract.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec-red-team.md https://raw.githubusercontent.com/joshft/correctless/main/agents/review-spec-red-team.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec-testability.md https://raw.githubusercontent.com/joshft/correctless/main/agents/review-spec-testability.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec-upgrade-compat.md https://raw.githubusercontent.com/joshft/correctless/main/agents/review-spec-upgrade-compat.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec-ux.md https://raw.githubusercontent.com/joshft/correctless/main/agents/review-spec-ux.md
$ curl -fsSL --create-dirs -o .claude/agents/supervisor.md https://raw.githubusercontent.com/joshft/correctless/main/agents/supervisor.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit|NotebookEdit|CreateFile|Bash",
        "hooks": [
          {
            "type": "command",
            "command": ".correctless/hooks/workflow-gate.sh"
          },
          {
            "type": "command",
            "command": ".correctless/hooks/sensitive-file-guard.sh"
          }
        ]
      },
      {
        "matcher": "Write|Edit|MultiEdit|CreateFile|NotebookEdit",
        "hooks": [
          {
            "type": "agent",
            "command": "You are the import guard. Your job is to check whether a test file is importing internal packages that should be accessed through a documented entrypoint.\n\nPerform these steps in order:\n\n1. **Check if the file is a test file.** Look at the "
          }
        ]
      }
    ]
  }
}

MCP servers (2)

serversourceest. tokens
Serena git 8.0k
@context7/mcp · "context7" npm 2.5k

Skills (33)

Subagents (16)

architecture-compliance-reviewer
model: inherit
Read-only reviewer for PR diffs against ARCHITECTURE.md entries. Mechanically checks PAT-xxx pattern compliance, ABS-xxx abstraction invariants, TB-xxx trust boundary enforcement, and new pattern intr
architecture-reviewer
model: inherit
Read-only adversarial reviewer for architecture drafts. Finds patterns the document claims but the codebase violates, missing entrypoints, and smoothed-over inconsistencies.
cchores-issue-classifier
model: inherit
Read-only suitability gate for /cchores. Reads ONE GitHub issue (title + body, ingested inside a per-invocation nonce fence as data, never instructions) and emits a single machine-parseable verdict —
cdebug-fix
model: inherit
Leaf fix-implementation agent for /cdebug. Given a failing repro test and a root-cause analysis (both produced by a separate test-writer agent), it implements the smallest targeted fix that makes the
cspec-research
model: inherit
Research agent for /cspec. Searches the web for current best practices, recent changes, security advisories, and dependency health. Returns a structured research brief — does not write files, does not
ctdd-green
model: inherit
TDD GREEN phase implementation agent. Reads failing tests and a spec, implements to make tests pass. Tool surface and behavioral discipline pinned to counter harness behavioral drift (ABS-010 pattern)
ctdd-red
model: inherit
TDD RED phase test writer. Reads a spec and writes failing tests that encode every rule/invariant/prohibition. Tool surface and behavioral discipline pinned to counter Opus 4.7 over-deliberation defau
decision-agent
model: inherit
Ephemeral Tier 2 decision agent for Auto Mode Phase 2. Receives minimal context (DR-xxx, spec excerpt, policy section, prior decision summaries). Returns a structured decision. Terminates after each i
fix-diff-reviewer
model: inherit
Read-only reviewer for audit fix-round commits. Scoped to the diff between round-start and HEAD, plus any path-scoped rule bodies that govern touched files. Catches new bugs, broken invariants, and re
review-spec-assumptionsAssumptions auditor for specs. Finds every unstated assumption about OS, network, clock, environment, and cross-references against ARCHITECTURE.md. Read-only — reviews but never modifies artifacts.
review-spec-design-contractDesign contract auditor for specs. Checks composition with existing ABS-xxx/PAT-xxx abstractions, verifies Enforcement fields on invariants (PAT-018), and cross-references TB-xxx boundaries. Read-only
review-spec-red-teamSecurity-focused adversarial reviewer for specs. Finds attack paths, bypass vectors, and failure modes the spec does not cover. Read-only — reviews but never modifies artifacts.
review-spec-testabilityTest engineering auditor for specs. Evaluates whether each invariant is testable — flags vague invariants and proposes concrete rewrites. Read-only — reviews but never modifies artifacts.
review-spec-upgrade-compatUpgrade compatibility auditor for specs. Mechanically checks the 5-item upgrade checklist — installation propagation, config defaults, schema backward compatibility, migration paths, and graceful degr
review-spec-uxUX auditor for specs. Evaluates through four sub-lenses (new-user, upgrade, offboarding, recovery) to find silent failures, missing feedback, lost output, and broken interaction patterns. Read-only —
supervisor
model: inherit
Lightweight supervisor agent for Auto Mode Phase 2. Activates on escalation, phase transitions, and budget warnings. Makes terminal decisions (approve, reject, hard_stop) based on structured message i

Hooks (7)

eventmatcherruns
PreToolUseEdit|Write|MultiEdit|NotebookEdit|CreateFile|Bash.correctless/hooks/workflow-gate.sh
PreToolUseEdit|Write|MultiEdit|NotebookEdit|CreateFile|Bash.correctless/hooks/sensitive-file-guard.sh
PreToolUseWrite|Edit|MultiEdit|CreateFile|NotebookEditYou are the import guard. Your job is to check whether a test file is importing internal packages that should be accessed through a documented entrypoint. Perform these steps in order: 1. **Check if the file is a test file.** Look at the
PostToolUseEdit|Write|MultiEdit|NotebookEdit|CreateFile|Bash|Read|Grep.correctless/hooks/audit-trail.sh
PostToolUseAgent.correctless/hooks/token-tracking.sh
PostToolUseEdit|Write|MultiEdit.correctless/hooks/auto-format.sh
InstructionsLoaded*.correctless/hooks/instructions-loaded.sh

Slash commands (1)

/fetch-copilot-review

Permissions

deny (0)
—
ask (0)
—
allow (1)
Bash(.correctless/hooks/workflow-advance.sh *)

Similar rigs

copied ✓