Skip to content

Light by default, strict where it matters; one /workflow entry (0.7.0) - #7

Merged
davidxiaobj merged 1 commit into
mainfrom
claude/light-by-default
Nov 22, 2026
Merged

davidxiaobj merged 1 commit into
mainfrom
claude/light-by-default

Conversation

@davidxiaobj

Copy link
Copy Markdown
Collaborator

Summary

Makes daily use light. The developer describes the change; small, non-risky changes need only passing checks, and the strict path is chosen by risk, not size.

entry      /workflow: understand → plan → implement → verify → complete
size       agent judges:  Small (no files) · Medium (.verify/acceptance.md) · Large (spec + architecture + tasks)
level      diff decides:  light   ≤40 lines, ≤3 files, nothing risky → checks pass, done
                          standard → acceptance + one independent review (evidence made by the gate)
                          strict   auth/payments/permissions/migrations/contracts/native/sensitive/changed checks,
                                   found by config or by path and code heuristics → deep review + security, tier 3
reviews    code always; UI only if something visual changed; contract compatibility; security when risky; ≤2 rounds
skills     superpowers + Matt Pocock do the work inside steps; dx-workflow keeps gates, review, evidence, ratchet
day one    init.mjs → .verify/config.json from existing package.json / pyproject / go.mod commands

Evidence

  • npm test: 85 pass (13 new). Level: light, standard past the limits, strict for a one-line auth path or a Stripe call with no config, configured sensitive paths, heuristics off. Gate: a light change ends on passing checks with no acceptance or review; the gate writes a missing evidence pack; strict requires a deep review and is tier 3. Brief: no screenshot review for non-visual frontend changes, a security review for risky code, 2 rounds. Init: a Next.js app, a pnpm monorepo (web, Expo, Fastify, Python) without the workspace root, Go, and a generated config that run-verify passes on first run.

Merge Danger

Door: two-way.

Blast Radius: behaviour of the Stop gate and the tiers: light changes now merge on their checks alone (tier 1, no review); strict changes always need a deep review and tier 3. flow is now workflow; agent-skills is no longer routed.

How to revert

Revert the commit. Tag v0.7.0 after merging (the CI template pins it).


Generated by Claude Code

- lib/level.mjs + level.mjs: light / standard / strict from the diff.
  Light: at most 40 lines and 3 files, nothing risky. Strict: contracts,
  migrations, sensitive or native paths, changed checks, and without any
  config risky paths (auth, payments, permissions, migrations, .env) and
  risky code (payments, auth libraries, secrets, destructive SQL, raw HTML,
  authorisation). Tunable under "risk" in the config.
- Stop gate: light needs only passing checks; standard as before; strict
  needs "Depth: deep". The gate makes the evidence pack itself when that
  is all that is missing.
- review-brief: at most 2 rounds; reviews by what changed (code always,
  UI only when something visual changed, contract compatibility, security
  for risky changes); depth from the level.
- make-evidence: light changes are tier 1 without review; strict is tier 3;
  the level is in the pack.
- workflow skill (was flow): understand, plan, implement, verify,
  complete; size by the agent, risk by the script; when to ask a person;
  no files for Small, acceptance only for Medium, spec with architecture
  and tasks for Large (workflow/large.md; flow-check requires the
  architecture section).
- skill-packs: superpowers and Matt Pocock's skills only; agent-skills is
  no longer routed. debug.md shortened.
- init.mjs: lanes and checks from package.json, pyproject, go.mod;
  monorepos; negative check with cwd. Full setup is for when a change
  needs it.
- README rewritten around a quick start; ADR 0007.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
@davidxiaobj
davidxiaobj merged commit 063f4ff into main Nov 22, 2026
4 checks passed
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.

2 participants