agentleFS
MokammelTanvirMokammelTanvir/VibeDiscipline/CLAUDE.md

VibeDiscipline

CLAUDE.md1 starsChanged 19 days agoMITView on GitHub

See AGENTS.md — the constitution for this repository. Do not duplicate its content here; edit AGENTS.md instead. Live state: .agent/state.md · tasks: docs/tasks/BOARD.md · full design: VibeDiscipline-Full-Plan.md (gitignored, §45 roadmap, §45A readiness). Overall ≈ 45% of v1.0 (v0.1 100%, v0.2 ~45%, v0.3 ~30%, v1.0 ~12%). Repo is PUBLIC; v0.3.0 tagged 2026-11-16; npm has 0.2.1 until the owner publishes. Site: https://mokammeltanvir.github.io/VibeDiscipline/ - 2026-11-16, v0.2.0: second-model eval (ambiguity gap replicates on Haiku 0/3 vs 3/3, closes on Sonnet 3/3 vs 3/3), issue/PR…

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not duplicate its content here.

    line 2
  2. Distinctive:

    Use the node and python presets on a real project and report wrong lines.

    line 63
  3. Distinctive:

    Stop-and-ask vs finish-the-task in non-interactive runs (TRAP-01/04 cost).

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

See AGENTS.md — the constitution for this repository. Do not duplicate its content here; edit AGENTS.md instead.

<!-- MAINTAINER SECTION: status of the VibeDiscipline repo itself. Strip everything below this line when installing into another project. -->

Project status and roadmap (audited 2026-11-15)

Live state: .agent/state.md · tasks: docs/tasks/BOARD.md · full design: VibeDiscipline-Full-Plan.md (gitignored, §45 roadmap, §45A readiness). Overall ≈ 45% of v1.0 (v0.1 100%, v0.2 ~45%, v0.3 ~30%, v1.0 ~12%). Repo is PUBLIC; v0.3.0 tagged 2026-11-16; npm has 0.2.1 until the owner publishes. Site: https://mokammeltanvir.github.io/VibeDiscipline/

Done

  • v0.1 core: AGENTS.md (72 lines), 6 skills (recon, planning, implement, code-review, git, handoff), 4 _shared docs, PHP pack, Laravel adapter.
  • permissions.yml → .claude/settings.json + git hooks + CI (idempotent).
  • scripts/check.sh (secrets, leftovers, dependency, tests, methodology).
  • Evals: 6 traps, 2 cycles, 36 scored runs (baseline 12/18 vs VD 18/18, n=3, haiku).
  • TASK-001, TASK-002 done and committed.
  • Steps 1-7 of list A, done 2026-11-15: public docs/ROADMAP.md replaces the dead plan links; <org> filled in and the degit command verified; dead .agent/rules/ line removed; check.sh has scope, --task and honours check.*; the compiler handles mode, files.allow, file-deny edits and network (advisory); workflow.* flags defined in config-resolution.md; headless enforcement run recorded in evals/results/enforcement-2026-11-15.md.
  • CHANGELOG.md written; v0.1.0 tagged and pushed.
  • Step 8: TRAP-07 run headless, 18 runs (evals/results/trap-07-2026-11-15.md); evals/run/headless.sh is the first automated runner.
  • Step 10 (TASK-003): scripts/install.sh.
  • Step 11 (TASK-004): guard hook scripts/vibe-guard.cjs (closes the bash -c "..." bypass, observed and re-tested), scripts/bridge-claude.cjs (.claude/skills/vibe-* stubs), .claude-plugin/ manifest (validated).
  • Step 13, partly: PRD, TRD, ADR templates in planning/templates/.
  • Step 17, partly: tests/ (guard, check, install) wired into CI.
  • Step 18, partly: README quickstart and evidence table (no demo, no FAQ).
  • TASK-005: vibe CLI (bin/vibe.cjs + package.json; init, upgrade, doctor, check, compile, methodology; verified through npx from a packed tarball), permission presets (node, python, generic) with stack detection, install.sh --upgrade, clean config template for installs, docs/GUIDE.md.
  • TRAP-08 (IDOR), 12 runs: baseline and VD both 6/6, so no security skill was written. Third eval in a row where a classic code-level failure does not reproduce on haiku; the measured gains are process and enforcement.
  • 2026-11-16, v0.2.0: second-model eval (ambiguity gap replicates on Haiku 0/3 vs 3/3, closes on Sonnet 3/3 vs 3/3), issue/PR templates, code of conduct, FAQ, repo topics. Decisions taken on the owner's "do it all": skills are evidence-gated (the list of ten is dropped), hybrid Tier L drafts documents only where the docs tree exists, TRAP-06 retired.
  • 2026-11-16, v0.2.1: init no longer half-updates an existing install, doctor compares files instead of trusting VERSION, coloured interactive CLI, vibe uninstall, published to npm as vibediscipline.
  • 2026-11-16, v0.3.0 (TASK-006): vibe new runs the framework's own scaffolder then installs (9 recipes, all run for real), second bin name vibediscipline, landing page docs/index.html.

A — What only the owner can do before a public launch

  • npm publish each release (npm asks for a one-time password).
  • One interactive Claude Code session on a real project after install: trust dialog, allow-list, confirm prompt, tier line. All evidence so far is headless.
  • Use the node and python presets on a real project and report wrong lines.
  • A demo GIF or video for the README; then drop the pre-release flag. Note: .agent/stack.lock.yml is deliberately absent here; a template repo must not ship its own detected stack. recon writes it per project.

B — v0.2 Broaden (the bulk)

Rule for every skill and adapter below (CONTRIBUTING.md): it ships with a trap that shows the failure it fixes. Do not write them in bulk. 12. Skills: none planned. Add one only when a trap shows a failure the existing six do not prevent (candidates: testing, debug, database, ui-ux). 13. Templates: API-SPEC, UI-UX (with the ui-ux and architecture skills). 14. JavaScript pack + Next.js adapter (second stack proves universality); then python, react, vue, nestjs, django. 15. Full vibe check: scope, size, duplication, error-handling, docs. 16. Evals: automated claude -p runner, 2+ models, n≥5, blinded grading, retained transcripts, traps 7 → 15. Fix the memory-leak isolation issue. 17. Adapter contract: _TEMPLATE, schema validation in CI. Tests still missing for compile-permissions, set-methodology, bridge-claude. 18. README: 60-second quickstart, before/after demo, eval table, FAQ.

C — v0.3 Tooling, then v1.0

  1. vibe CLI: done and on npm. Left: Node port of install.sh and check.sh for native Windows.
  2. Bridges: Cursor, Copilot, Windsurf, Codex. Replace hand-rolled YAML parser.
  3. Remaining packs (ruby, go, jvm, dotnet, rust); upgrade path with merge.
  4. v1.0: spec freeze + compatibility promise, docs site, governance, 10+ Tier-A adapters, issue/PR templates, CODE_OF_CONDUCT.

Model assignment (step numbers refer to the lists above)

An agent cannot switch its own model. Before starting a step, compare the model you are running on with this table. If it differs, say so in one line and name the model to switch to (/model fable|opus|sonnet|haiku), then wait for the owner; do not silently continue on the wrong model.

ModelStepsKind of work
Sonnet1, 2, 3, 4, 6, 9, 10, 13, 18, 21Mechanical edits, links, CHANGELOG, templates, README, install script, pack boilerplate
Fable5, 7, 8, 11, 12, 15, 16 (design + grading), 17, 19 (design), 20, 22Skill wording, enforcement/hook design, check.sh rules, eval design, CLI architecture, spec freeze, audits
Sonnet after a Fable design14, 19 (implementation)Adapters and CLI code built from an approved design
Haiku + Sonnet8, 16 (as eval subjects only)Run the traps; never the model that wrote the skill under test
OpusfallbackUse for Fable rows when Fable's usage limit is hit

Switch up to Fable mid-task when: the change touches AGENTS.md, a SKILL.md, permissions.yml semantics or a trap's pass criteria; a requirement is ambiguous; the same fix has failed twice; or the tier escalates to M/L. Switch down to Sonnet when: the plan is approved and what remains is executing it, or the work is Tier XS/S docs and config.

Eval rules: subjects are Haiku and Sonnet (a strong model hides the gap); the grader is a different model from the subject, reading blind; every new or changed skill is re-run on Sonnet before it counts as done.

Open decisions (owner)

  • Methodology default when unset (assumed hybrid, no forced prompt).
  • Stop-and-ask vs finish-the-task in non-interactive runs (TRAP-01/04 cost).
  • Publish the full plan, or only a trimmed ROADMAP.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.