Skip to content

docs: establish knowledge base (constitution, SPEC, ADRs, S0-S12, audit) - #4

Merged
PhysShell merged 2 commits into
mainfrom
claude/music-core-cli-setup-C2zXh
May 19, 2026
Merged

docs: establish knowledge base (constitution, SPEC, ADRs, S0-S12, audit)#4
PhysShell merged 2 commits into
mainfrom
claude/music-core-cli-setup-C2zXh

Conversation

@PhysShell

Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits May 19, 2026 00:45
Adds griff-core::classify with BarClass (Riff/Solo/Breakdown/Clean/Unknown),
BarFeatures (note count, avg velocity, pitch span), bar_features() for metric
extraction, and classify_bar() for heuristic labelling.

CLI gains `griff classify <file.mid>` which prints a bar-by-bar table showing
class, note count, average velocity, and pitch span for every track.

12 new unit tests; 52/52 pass.  cargo fmt and cargo clippy -D warnings clean.
Adds the constitutional documentation core before any refactor:

- docs/glossary.md: condensed English constitution (all terms preserved,
  prose tightened from the Russian source).
- docs/SPEC.md: scope and the non-negotiable hard rules.
- docs/adr/0001-0009 (Nygard, append-only) + index: workspace, canonical
  score model, master timeline, forbid unsafe, swancore-first, Standard E,
  CLAP-first, heuristic-before-ML, ADR format.
- docs/stages/S0-S12: canonical roadmap per glossary, one short doc each
  (goal / IO / approach / acceptance / open questions).
- docs/audit/2026-05-stage-label-reconciliation.md: honestly records that
  earlier feat(sN) commit labels predate this constitution and do not match
  the canonical roadmap; git history kept, canonical numbering mandatory
  forward, current code reclassified as pre-canonical baseline.
- docs/decisions.log.md, AGENTS.md, CLAUDE.md, README.md routing.

No code changes; test suite untouched and green.
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