Correctless

/cwtf — Workflow Accountability

Audit the workflow itself: did agents actually follow their instructions, check every rule, and avoid shortcuts?

When to Use

How It Fits in the Workflow

This skill watches the agents watching the code. It sits outside the normal pipeline and can be invoked at any time after at least one phase has completed. It reads workflow state, spec rules, QA findings, audit trails, verification reports, and Claude Code session data to determine whether each agent did its job. Pair with /csummary for a complete post-feature picture: /csummary shows what was caught, /cwtf shows whether the catching was thorough.

What It Does

Example

User: /cwtf

[1/7] Loading workflow state and spec...
      Feature: rate-limiting. 7 spec rules (R-001 through R-007).
[2/7] Phase execution verified — all 8 phases ran. 0 overrides.
[3/7] Rule coverage...
[4/7] QA thoroughness: checked 5 of 7 rules.
[5/7] Review thoroughness: 4/4 applicable security checks ran.
[6/7] Deviation detection: 0 deviations found.
[7/7] Generating verdict...

## Workflow Accountability Report

### Rule Coverage: 5/7 rules covered
| Rule  | Test              | QA Checked | Verify Status |
|-------|-------------------|------------|---------------|
| R-001 | rateLimit.test:12 | Yes        | covered       |
| R-002 | rateLimit.test:34 | Yes        | covered       |
| R-003 | rateLimit.test:56 | Yes        | covered       |
| R-004 | audit.test:18     | NO         | UNCOVERED     |
| R-005 | rateLimit.test:78 | Yes        | covered       |
| R-006 | csrf.test:22      | Yes        | covered       |
| R-007 | deploy.test:9     | NO         | covered       |

### Agent Thoroughness
QA: Checked 5/7 rules. Token usage: 45k (82% of average).
- R-004 (audit logging) was not checked during QA. This may indicate
  the agent prioritized higher-risk rules or hit context limits.
- R-007 (deploy survival) was not checked during QA but was verified
  in the verification phase.

### Deviations (0 found)
No deviations detected.

### Verdict: ADEQUATE
All phases ran and 5 of 7 rules were checked by QA. The 2 unchecked
rules have tests and one was caught by verification. No gate bypasses
or shortcuts detected.

What It Reads / Writes

Reads Writes
.correctless/artifacts/workflow-state-*.json Nothing (read-only)
Spec file (.correctless/specs/{task-slug}.md)  
.correctless/artifacts/qa-findings-{task-slug}.json  
.correctless/artifacts/tdd-test-edits.log  
.correctless/artifacts/audit-trail-*.jsonl  
.correctless/artifacts/override-log.json  
docs/verification/{task-slug}-verification.md  
~/.claude/usage-data/session-meta/*.json  
Conversation JSONL (targeted queries only)  

Intensity Levels

Common Issues