bassclef
Config

Directory layout

Every substrate-managed directory in your repo, what populates it, and what lives inside.

Use this when

You are trying to figure out where a bassclef artifact lives — where the last chronicle ended up, where a new ADR goes, where the state markers you keep hearing about actually sit on disk. This page names each directory and what fills it.

Skip this when

You are looking for one specific config file's schema. See Config for the per-file pages.

The layout

bassclef writes to a small number of directories in your repo. Everything is a file; every file is browsable; every artifact belongs to a specific concern.

Substrate directories (.claude/)

The Claude Code harness reads from .claude/ on every session. bassclef copies its shipped substrate into these subdirectories when you run npm install bassclef or bassclef sync.

DirectoryPopulated byAsset typeExample
.claude/hooks/bassclef sync + adopter opt-inShell scripts firing at Claude Code lifecycle eventsbassclef-sync.sh, pre-commit-gate.sh
.claude/skills/bassclef sync + adopter authoringNamed slash commands with SKILL.md frontmatter/riff, /launch, /build, /kiss
.claude/rules/bassclef sync + adopter authoringMarkdown rules auto-loaded via additionalDirectoriesplain-english-discipline.md, pr-body-shape.md
.claude/luminaries/bassclef syncPractitioner profile markdown (Norman, Beck, Cockburn, ...)don-norman.md, kent-beck.md
.claude/agents/bassclef sync + adopter opt-inAgent role definitions (Builder, Reviewer, ...)Builder.md, Reviewer.md
.claude/settings.jsonClaude Code harness + bassclef syncHook wiring + additionalDirectories + permissionsSee /docs/config/settings
.claude/bassclef-configs.jsoncAdopter authoringAdopter-facing config (plan tier, testing tiers, model routing)See /docs/config/bassclef-configs

Session artifacts (chronicle/ + docs/chronicles/)

Session-end paragraphs pinned to state. Read at session-start to restore context.

DirectoryPopulated byAsset typeExample
chronicle//session-end skillSession log markdown (bassclef itself)2026-08-25-docs-polish-trio-option-a.md
docs/chronicles//session-end skillSession log markdown (adopter repos)2026-08-25-*.md

Only one of these applies to your repo — bassclef writes to chronicle/ at root; adopter repos write to docs/chronicles/.

Product artifacts (docs/)

Where bassclef writes the reusable products of a session — the canvas you shaped, the goal doc you committed to, the audit you ran.

DirectoryPopulated byAsset typeExample
docs/canvases//canvas, /lean-canvas, /value-prop-canvasProduct strategy canvases2026-07-29-npm-distribution-phase-1.md
docs/iteration-bets//longrun prep, /canvas (goal docs — also called bets)Scope contracts for a session2026-07-29-npm-phase-1-buildout-spine.md
docs/decompositions//decomposeGRASP + pattern decomposition2026-07-01-d83e23-grasp.md
docs/specs//spec, /launchBuildable spec docs2026-07-01-d83e23.md
docs/personas//personas, /empathy-mapOne file per persona your product servesengineer.md, operator.md
docs/user-stories//user-storiesINVEST-shaped storiesStory batches by feature
docs/use-cases//use-caseCockburn use casesPer-feature use case files
docs/jtbd//jtbd-tasksJobs-to-be-done + task analysisPer-persona JTBD files
docs/ia-models//ia-modelInformation architecture modelsPer-surface IA models
docs/interaction-designs//interaction-designState diagrams + sequence diagramsPer-flow interaction docs
docs/audits/Ad-hoc audits (/architect-review, this ticket)Audit doc markdown2026-08-25-landing-docs-consistency.md
docs/deferred-actions//session-end (rescue), skill deferralsHandoff notes to next session<timestamp>-session-rescue.md
docs/retros//retroSession retrospectivesPer-session retro files
docs/whereami.md/session-end, /whereamiThe current project-state snapshotSingle file (schema-validated)
docs/session-friction-log.mdpost-skill-friction-check.sh hookFriction findings from long sessionsSingle append-only log

Architecture (architecture/)

Design decisions and discoveries that outlive any one session.

DirectoryPopulated byAsset typeExample
architecture/decisions//architect-review, manual ADRsArchitecture decision records (ADRs)ADR-001-docs-framework.md, ADR-002-docs-theming-strategy.md
architecture/audits//architect-reviewDeep architecture audits2026-06-27-mechanism-fidelity.md
design/discoveries/Ad-hoc discovery writeupsEarned-wisdom docs2026-07-26-cf-token-outage-narrative-flip.md

State (state/)

Machine-readable state that bassclef reads and writes for gate enforcement. Adopters rarely edit these by hand; the hooks do.

DirectoryPopulated byAsset typeExample
state/markers/temperance/pre-commit-gate.sh hook + /temperancePer-branch scope-decision markers<branch-slug>.marker
state/markers/luminary/pre-commit-gate.sh hook + /luminaryPer-branch design-lens markers<branch-slug>.marker
state/markers/pre-mortem/pre-commit-gate.sh hook + /pre-mortemPer-branch risk-ledger markers<branch-slug>.marker
state/markers/lead-lens-signoff/pre-commit-gate.sh hookPer-branch lead-luminary sign-off<branch-slug>.marker
state/markers/adr-deviation/adr-deviation-challenge.sh hookPer-branch ADR-consult markers<branch-slug>.marker
state/markers/orientation-gate/session-reflection.d/ hooksPer-branch orientation gate<branch-slug>.marker
state/markers/verify//verify skill + pre-commit-gate.shPer-branch verify markers<branch-slug>.marker

Standards + references

Where bassclef ships the reference material rules cite.

DirectoryPopulated byAsset typeExample
standards/bassclef syncReference standards markdownbassclef-internal-jargon.md, pr-body-discipline.md
substrate.config.mdAdopter authoringExternal resource references (doc IDs, URLs, env-var names)Single file per adopter

What is NOT in this list

  • Your app source (src/, app/, lib/) — bassclef does not populate these; you do.
  • Vendor directories (node_modules/, .next/) — dependencies and build output.
  • Git internals (.git/) — the version control system.
  • Adopter-private (docs/operator-private/, operator-private/) — gitignored operator content. Never ships publicly.

Where to look next

On this page

© 2025–2026 Sunjay Pandey·Privacy·Apache-2.0 code