Skip to content

feat(#1135): native review, tech-debt and testing rubrics as skill references; ADR convention; drop TodoWrite - #1206

Merged
admarble merged 9 commits into
mainfrom
feat/1135-native-rubric-references
Sep 28, 2026
Merged

admarble merged 9 commits into
mainfrom
feat/1135-native-rubric-references

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

Track B of #1135 (AC-3 to AC-8, plus the lint and build parts of AC-12). Track C (AC-9, AC-10) is in a separate PR, so #1135 stays open until both land.

Anthropic's engineering rubrics are added as small references/ files that skills load on demand. They are mirrored to all three skill dirs, with no plugin dependency. The TodoWrite question is settled with evidence.

AC-3: TodoWrite. Evidence says remove it

Real phase transcript: the #1179 exec phase (~/.claude/projects/-Users-tony-Projects-worktrees-feature-1179-…/564b345d-….jsonl, entrypoint sdk-cli, CLI 2.1.278, model claude-sonnet-5). Its allowedTools listed TodoWrite, it made 0 TodoWrite calls, and TodoWrite does not appear in deferred_tools_delta.

Tool list at session start: that transcript doesn't record it, so a probe ran the driver's exact query() options (project setting sources, claude_code presets, the model pin) and printed the system/init tools:

sonnet: {"model":"claude-sonnet-5","claude_code_version":"2.1.280","tools":["Task","Bash","CronCreate","CronDelete","CronList","DesignSync","Edit","EnterWorktree","ExitWorktree","ListAgents","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ReportFindings","ScheduleWakeup","SendMessage","Skill","TaskStop","ToolSearch","WebFetch","WebSearch","Workflow","Write"],"hasTodoWrite":false,"hasTaskCreate":false}
opus:   {"model":"claude-opus-5-5","claude_code_version":"2.1.280","tools":[same 25],"hasTodoWrite":false,"hasTaskCreate":false}
sonnet + CLAUDE_CODE_ENABLE_TODO_TOOLS=1: {…,"tools":[… "TaskCreate","TaskGet","TaskList","TaskStop","TaskUpdate" …],"hasTodoWrite":false,"hasTaskCreate":true}

The env flag enables the Task* tools, not TodoWrite, so setting it could never make the references valid. The - TodoWrite frontmatter line is removed from exec, fullsolve, loop and test in all three dirs, and /test's TodoWrite plan becomes a markdown checklist.

AC-4: qa/references/review-dimensions.md, the diff against §2

These were already in §2e and are left out: SQL injection ("SQL concatenation"), secrets ("Hardcoded secrets"), N+1 ("N+1 query"), and timer leaks ("Uncleared interval/timeout").

These are added:

  • Security: XSS, CSRF, command injection, authn/authz flaws (IDOR), insecure deserialization, path traversal, SSRF.
  • Performance: unnecessary allocations, hot-path algorithmic complexity, missing DB indexes, unbounded queries/loops, and resource leaks other than timers.

The pointer is folded into §2's existing code-review-checklist.md line, so qa gains no lines. Note that the issue's Context paragraph calls N+1 and resource leaks "the gap", but §2e already carries N+1 and timer leaks.

AC-8: line counts (.claude/skills/, compared with origin/main)

File origin/main this branch
qa/SKILL.md 3837 3837 (bytes +239, from the longer pointer line)
exec/SKILL.md 2278 2277

For the owner: docs/adr/ publishes

sequant-landing/scripts/sync-docs.js EXCLUDED_PREFIXES does not include adr/, so docs/adr/README.md and 0001-adopt-adrs.md will appear on sequant.io on the next landing build. Both are written to be public. If you'd rather keep ADRs off the site, add adr/ to that list in the landing repo.

Acceptance criteria

Mutation records

Mutation-verified: AC-4 — removed the review-dimensions.md pointer from .claude/skills/qa/SKILL.md §2; src/lib/tests/qa-review-dimensions-skill.test.ts failed; restored.

Mutation-verified: AC-5 — deleted the "Rank candidates with [tech-debt-scoring.md]" line from .claude/skills/improve/SKILL.md Phase 3; src/lib/tests/improve-tech-debt-scoring-skill.test.ts failed; restored.

Mutation-verified: AC-6 — deleted the no-test-level consult paragraph from .claude/skills/testgen/SKILL.md Step 2; src/lib/tests/testgen-testing-pyramid-skill.test.ts failed; restored.

Mutation-verified: AC-7 — deleted the ADR instruction line from .claude/skills/spec/SKILL.md Design Review; src/lib/tests/adr-convention.test.ts failed; restored.

I re-ran the AC-7 mutation independently of the implementing agent: exactly that test failed and the other 2 passed.

Test plan

  • The four gate tests (13 passed) and the skill lints, run after merging main
  • CI test + canary

🤖 Generated with Claude Code

…ent under Sonnet 5 / Opus 5.5 pins)

Entire-Checkpoint: 1eecd13323d5
…skill references; add ADR convention

Entire-Checkpoint: 0573d38473f3
…ting pyramid, and ADR convention

Entire-Checkpoint: ce110ae52479
…rite removal

Entire-Checkpoint: 4ac5296b2d5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant