gabriel / musehub public
musehub-taxonomy.md markdown
958 lines 51.2 KB
e6fad116 Remove all Stori, Maestro, and AgentCeption references; rebrand to Muse VCS Gabriel Cardona <gabriel@tellurstori.com> 6d ago
1 # MuseHub Complete Taxonomy
2 ## Muse Protocol · MuseHub URL Structure · Page Feature Matrix · Seed Data Blueprint
3
4 > **Status:** Living document — each section generates a batch of GitHub issues.
5 > **Audience:** Agents, engineers, and product stakeholders.
6
7 ---
8
9 ## TABLE OF CONTENTS
10
11 1. [Muse CLI Command Index](#1-muse-cli-command-index)
12 2. [MuseHub URL Taxonomy — Current vs Missing](#2-musehub-url-taxonomy)
13 3. [Per-Page Feature Matrix](#3-per-page-feature-matrix)
14 4. [Seed Data Blueprint](#4-seed-data-blueprint)
15 5. [GitHub Issue Backlog](#5-github-issue-backlog)
16
17 ---
18
19 ## 1. MUSE CLI COMMAND INDEX
20
21 > Muse is Git for music. Every command maps to a musical dimension.
22 > **Porcelain** = human-facing composites. **Plumbing** = low-level primitives.
23
24 ### 1.1 Porcelain — Repository Lifecycle
25
26 | Command | Key Flags | Musical Meaning | MuseHub URL Exposed? |
27 |---|---|---|---|
28 | `muse init` | `--bare`, `--template` | Create a new Muse repo locally | POST `/repos` |
29 | `muse clone` | `--branch`, `--depth`, `--bare` | Clone from MuseHub remote | POST via sync |
30 | `muse commit` | `-m`, `--amend`, `--no-verify`, `--allow-empty` | Snapshot current DAW state | POST `/sync/push` |
31 | `muse amend` | `--no-edit`, `-m` | Rewrite the last commit message/contents | ❌ Missing UI |
32 | `muse push` | `--force`, `--tags`, `--set-upstream` | Upload commits to MuseHub | POST `/sync/push` |
33 | `muse pull` | `--rebase`, `--ff-only`, `--no-commit` | Download + integrate remote changes | POST `/sync/pull` |
34 | `muse fetch` | `--all`, `--tags`, `--prune` | Download refs without integrating | ❌ Missing API |
35 | `muse status` | `--short`, `--branch`, `--porcelain` | Show working-tree status | GET `/repos/{id}/status` |
36 | `muse log` | `--oneline`, `--graph`, `--since`, `--until`, `--author`, `--grep`, `--follow`, `-p` | Commit history | `/commits` page + graph |
37 | `muse show` | `--stat`, `--format`, `--name-only` | Inspect a single commit | `/commits/{id}` page |
38 | `muse diff` | `--stat`, `--cached`, `--word-diff`, `--name-only` | Multi-dimensional musical diff | `/compare/base...head` |
39 | `muse checkout` | `-b`, `--detach`, `--orphan`, `--track` | Switch branches / restore files | ❌ Missing UI |
40 | `muse restore` | `--staged`, `--source`, `--patch` | Discard working-tree changes | ❌ Missing UI |
41 | `muse reset` | `--soft`, `--mixed`, `--hard`, `--keep` | Move HEAD, optionally reset index | ❌ Missing UI |
42 | `muse revert` | `-n`, `--no-edit`, `--mainline` | Create inverse commit | ❌ Missing UI |
43 | `muse merge` | `--no-ff`, `--squash`, `--abort`, `--strategy` | Combine two branches | POST `/pull-requests/{id}/merge` |
44 | `muse rebase` | `-i`, `--onto`, `--abort`, `--continue`, `--exec` | Linearize commit history | ❌ Missing UI |
45 | `muse cherry-pick` | `-n`, `--continue`, `--abort`, `--edit` | Apply specific commit to current branch | ❌ Missing UI |
46 | `muse stash` | `push`, `pop`, `apply`, `drop`, `list`, `show` | Temporarily shelve changes | ❌ Missing API + UI |
47 | `muse tag` | `-a`, `-d`, `-l`, `--sort`, `-m`, `-f` | Semantic version milestones | GET/POST `/releases` |
48 | `muse remote` | `add`, `remove`, `set-url`, `-v`, `rename` | Manage remotes | ❌ Missing UI |
49 | `muse worktree` | `add`, `list`, `remove`, `prune` | Parallel branch workspaces | ❌ Missing UI |
50 | `muse bisect` | `start`, `good`, `bad`, `reset`, `log`, `replay` | Binary search through history for a change | ❌ Missing UI |
51
52 ### 1.2 Porcelain — Musical Analysis (Muse-Native)
53
54 | Command | Key Flags | Musical Meaning | MuseHub URL Exposed? |
55 |---|---|---|---|
56 | `muse arrange` | `--ref`, `--format` | Section × instrument density matrix | `/arrange/{ref}` ✅ |
57 | `muse ask` | `--ref`, `--model`, `--stream` | AI Q&A about a commit | `/context/{ref}` ✅ |
58 | `muse blame` | `--ref`, `--track`, `--region`, `--beat-range` | Who wrote which notes, when | ❌ Missing UI |
59 | `muse chord-map` | `--ref`, `--window`, `--resolution` | Chord progression over time | `/analysis/{ref}/chord-map` ✅ |
60 | `muse contour` | `--ref`, `--track`, `--smooth` | Melodic contour visualization | `/analysis/{ref}/contour` ✅ |
61 | `muse describe` | `--ref`, `--long`, `--abbrev` | Human-readable musical summary | ❌ Missing standalone UI |
62 | `muse dynamics` | `--ref`, `--track`, `--window` | Velocity/dynamics envelope | `/analysis/{ref}/dynamics` ✅ |
63 | `muse emotion-diff` | `--base`, `--head`, `--dimensions` | Emotional shift between two commits | ❌ Missing UI (analysis diff) |
64 | `muse form` | `--ref`, `--sections`, `--labels` | Formal structure (verse/chorus/bridge) | `/analysis/{ref}/form` ✅ |
65 | `muse groove-check` | `--ref`, `--track`, `--window` | Rhythmic groove analysis (swing ratio, microtiming) | `/analysis/{ref}/groove` ✅ |
66 | `muse harmony` | `--ref`, `--key`, `--mode` | Harmonic analysis (Roman numerals, cadences) | ❌ Missing standalone UI |
67 | `muse humanize` | `--amount`, `--velocity`, `--timing`, `--ref` | Add human-feel microtiming to a commit | ❌ Missing UI |
68 | `muse inspect` | `--ref`, `--track`, `--region`, `--verbose` | Deep inspection of a specific object | ❌ Missing UI |
69 | `muse key` | `--ref`, `--confidence`, `--algorithm` | Key detection + modulation map | `/analysis/{ref}/key` ✅ |
70 | `muse meter` | `--ref`, `--set`, `--detect` | Time signature detection + annotation | `/analysis/{ref}/meter` ✅ |
71 | `muse motif` | `--ref`, `--min-length`, `--threshold`, `--track` | Recurring motif browser | `/analysis/{ref}/motifs` ✅ |
72 | `muse play` | `--ref`, `--track`, `--loop`, `--from`, `--to` | Playback a commit | `/listen/{ref}` ✅ |
73 | `muse recall` | `--query`, `--k`, `--ref` | Semantic memory search over history | ❌ Missing UI |
74 | `muse render-preview` | `--ref`, `--track`, `--format`, `--stem` | Render audio preview | `/listen/{ref}/{path}` ✅ |
75 | `muse session` | `start`, `end`, `log`, `annotate` | Recording session lifecycle | `/sessions` ✅ |
76 | `muse similarity` | `--base`, `--head`, `--dimensions`, `--threshold` | Cross-commit musical similarity score | ❌ Missing UI |
77 | `muse swing` | `--ref`, `--track`, `--amount`, `--style` | Quantize swing ratio analysis | `/analysis/{ref}/groove` (partial) |
78 | `muse tempo` | `--ref`, `--set`, `--detect`, `--scale` | Tempo detection + annotation | `/analysis/{ref}/tempo` ✅ |
79 | `muse tempo-scale` | `--factor`, `--ref`, `--preserve-feel` | Time-stretch a commit | ❌ Missing UI |
80 | `muse timeline` | `--ref`, `--branches`, `--tags`, `--since`, `--until` | Chronological SVG timeline | `/timeline` ✅ |
81 | `muse transpose` | `--semitones`, `--key`, `--ref`, `--track` | Pitch transposition with key annotation | ❌ Missing UI |
82 | `muse validate` | `--ref`, `--strict`, `--schema` | Validate MIDI structure | ❌ Missing UI |
83
84 ### 1.3 Plumbing — Content-Addressed Store
85
86 | Command | Key Flags | Description | MuseHub Exposed? |
87 |---|---|---|---|
88 | `muse hash-object` | `-w`, `-t`, `--stdin` | Write blob to object store | POST `/objects` |
89 | `muse cat-object` | `-p`, `-t`, `-s`, `--batch` | Read object by hash | GET `/objects/{hash}` ✅ |
90 | `muse commit-tree` | `-p`, `-m`, `--no-gpg-sign` | Create commit from a tree | ❌ Plumbing only |
91 | `muse write-tree` | `--missing-ok`, `--prefix` | Write working tree to object store | ❌ Plumbing only |
92 | `muse read-tree` | `-m`, `--reset`, `-u` | Read a tree object into the index | ❌ Plumbing only |
93 | `muse rev-parse` | `--verify`, `--abbrev-ref`, `--symbolic` | Resolve refs to object hashes | GET `/repos/{id}/resolve/{ref}` |
94 | `muse symbolic-ref` | `--delete`, `-q`, `--short` | Read/write symbolic HEAD ref | ❌ Plumbing only |
95 | `muse update-ref` | `-d`, `--no-deref`, `--stdin` | Safely update a ref | ❌ Plumbing only |
96
97 ### 1.4 Plumbing — Querying & Analysis
98
99 | Command | Key Flags | Description | MuseHub Exposed? |
100 |---|---|---|---|
101 | `muse context` | `--ref`, `--tokens`, `--format` | Generate AI context blob | GET `/analysis/{ref}/context` |
102 | `muse divergence` | `--base`, `--head`, `--dimensions` | Compute branch divergence scores | `/divergence` ✅ |
103 | `muse find` | `--commit`, `--tag`, `--branch`, `--pattern` | Search refs/objects by pattern | GET `/search` ✅ |
104 | `muse grep` | `--ref`, `--track`, `--pattern`, `--note`, `--pitch` | Search musical content | GET `/search?mode=musical` ✅ |
105 | `muse export` | `--format`, `--ref`, `--track`, `--stems` | Export to MIDI/MusicXML/stems | GET `/releases/{tag}` (partial) |
106 | `muse import` | `--format`, `--branch`, `--message` | Import external MIDI into Muse | ❌ Missing UI |
107 | `muse open` | `--commit`, `--ref` | Open in DAW | ❌ macOS DAW only |
108 | `muse resolve` | `--ours`, `--theirs`, `--manual` | Resolve merge conflicts | ❌ Missing UI |
109
110 ### 1.5 Missing Commands — Not Yet Implemented
111
112 | Command | Description | Priority |
113 |---|---|---|
114 | `muse lock` | Lock a branch (require PR + review) | High |
115 | `muse sign` | GPG-sign a commit with artist identity | Medium |
116 | `muse verify` | Verify signed commit | Medium |
117 | `muse submodule` | Embed one Muse repo inside another (samples, loops) | High |
118 | `muse lfs` | Large file storage for audio stems | High |
119 | `muse bundle` | Package repo history for offline transfer | Low |
120 | `muse archive` | Export a snapshot as a tar/zip | Low |
121 | `muse clean` | Remove untracked working-tree files | Low |
122 | `muse maintenance` | Run background optimization tasks | Low |
123
124 ---
125
126 ## 2. MUSEHUB URL TAXONOMY
127
128 ### 2.1 Current URL Surface
129
130 ```
131 # Global
132 GET /musehub/ui/feed ← activity feed (current user)
133 GET /musehub/ui/search ← global cross-repo search
134 GET /musehub/ui/explore ← public repo discovery grid
135 GET /musehub/ui/trending ← repos sorted by stars
136
137 # User Profile
138 GET /musehub/ui/users/{username} ← profile (repos, starred, watching tabs)
139
140 # Repo — Core
141 GET /musehub/ui/{owner}/{repo} ← landing (README, stats, latest release)
142 GET /musehub/ui/{owner}/{repo}/commits ← commit list (branch filter, search)
143 GET /musehub/ui/{owner}/{repo}/commits/{id} ← commit detail + artifacts
144 GET /musehub/ui/{owner}/{repo}/commits/{id}/diff ← musical diff (radar, piano roll, A/B)
145 GET /musehub/ui/{owner}/{repo}/graph ← DAG commit graph
146 GET /musehub/ui/{owner}/{repo}/tree/{ref} ← file tree root
147 GET /musehub/ui/{owner}/{repo}/tree/{ref}/{path} ← file tree subdirectory
148 GET /musehub/ui/{owner}/{repo}/compare/{base}...{head} ← two-ref musical diff
149
150 # Repo — Collaboration
151 GET /musehub/ui/{owner}/{repo}/pulls ← PR list
152 GET /musehub/ui/{owner}/{repo}/pulls/{pr_id} ← PR detail (diff, comments, merge)
153 GET /musehub/ui/{owner}/{repo}/issues ← issue list
154 GET /musehub/ui/{owner}/{repo}/issues/{number} ← issue detail + close/comment
155
156 # Repo — Musical Analysis
157 GET /musehub/ui/{owner}/{repo}/analysis/{ref} ← dashboard (10 dimensions)
158 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/contour ← melodic contour
159 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/tempo ← tempo map
160 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/dynamics ← dynamics envelope
161 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/key ← key detection
162 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/meter ← time signature
163 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/chord-map ← chord progression
164 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/groove ← rhythmic groove
165 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/emotion ← emotion radar
166 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/form ← formal structure
167 GET /musehub/ui/{owner}/{repo}/analysis/{ref}/motifs ← motif browser
168
169 # Repo — Playback & Export
170 GET /musehub/ui/{owner}/{repo}/listen/{ref} ← full-mix playback
171 GET /musehub/ui/{owner}/{repo}/listen/{ref}/{path} ← single-stem playback
172 GET /musehub/ui/{owner}/{repo}/arrange/{ref} ← arrangement matrix
173 GET /musehub/ui/{owner}/{repo}/piano-roll/{ref} ← piano roll (all tracks)
174 GET /musehub/ui/{owner}/{repo}/piano-roll/{ref}/{path} ← piano roll (single track)
175 GET /musehub/ui/{owner}/{repo}/embed/{ref} ← iframe embeddable player
176
177 # Repo — Metadata
178 GET /musehub/ui/{owner}/{repo}/releases ← release list
179 GET /musehub/ui/{owner}/{repo}/releases/{tag} ← release detail + downloads
180 GET /musehub/ui/{owner}/{repo}/sessions ← recording session log
181 GET /musehub/ui/{owner}/{repo}/sessions/{id} ← session detail
182 GET /musehub/ui/{owner}/{repo}/timeline ← chronological SVG timeline
183 GET /musehub/ui/{owner}/{repo}/divergence ← branch divergence radar
184 GET /musehub/ui/{owner}/{repo}/insights ← repo analytics dashboard
185 GET /musehub/ui/{owner}/{repo}/credits ← liner notes / contributor credits
186 GET /musehub/ui/{owner}/{repo}/context/{ref} ← AI context viewer
187 GET /musehub/ui/{owner}/{repo}/search ← in-repo search (4 modes)
188 ```
189
190 ### 2.2 Missing URLs — High Priority
191
192 ```
193 # Repo — Missing Muse Commands
194 GET /musehub/ui/{owner}/{repo}/blame/{ref}/{path} ← muse blame (note-level authorship)
195 GET /musehub/ui/{owner}/{repo}/stash ← stash list + apply/drop
196 GET /musehub/ui/{owner}/{repo}/forks ← fork network visualization
197 GET /musehub/ui/{owner}/{repo}/milestones ← milestone list + progress
198 GET /musehub/ui/{owner}/{repo}/milestones/{number} ← milestone detail + linked issues
199 GET /musehub/ui/{owner}/{repo}/labels ← label management
200 GET /musehub/ui/{owner}/{repo}/similarity/{base}...{head} ← similarity score page
201 GET /musehub/ui/{owner}/{repo}/emotion-diff/{base}...{head} ← emotional delta viz
202 GET /musehub/ui/{owner}/{repo}/recall ← semantic memory search over history
203 GET /musehub/ui/{owner}/{repo}/harmony/{ref} ← full harmonic analysis (Roman numeral map)
204 GET /musehub/ui/{owner}/{repo}/webhooks ← webhook management (admin)
205 GET /musehub/ui/{owner}/{repo}/settings ← repo settings (visibility, description, tags)
206
207 # User — Missing
208 GET /musehub/ui/users/{username}/followers ← follower list
209 GET /musehub/ui/users/{username}/following ← following list
210
211 # Global — Missing
212 GET /musehub/ui/notifications ← notification inbox
213 GET /musehub/ui/new ← new repo wizard
214 GET /musehub/ui/topics/{tag} ← tag/topic browse page
215 GET /musehub/ui/collections ← curated repo collections
216 ```
217
218 ### 2.3 JSON API Parity Gaps (needed for agent consumers)
219
220 ```
221 # Missing endpoints
222 GET /api/v1/musehub/repos/{id}/blame/{ref} ← muse blame output as JSON
223 GET /api/v1/musehub/repos/{id}/stash ← stash list
224 POST /api/v1/musehub/repos/{id}/stash ← create stash
225 POST /api/v1/musehub/repos/{id}/stash/{stash_id}/pop
226 GET /api/v1/musehub/repos/{id}/milestones ← milestone list
227 POST /api/v1/musehub/repos/{id}/milestones
228 GET /api/v1/musehub/repos/{id}/milestones/{n}
229 PATCH /api/v1/musehub/repos/{id}/milestones/{n}
230 DELETE /api/v1/musehub/repos/{id}/milestones/{n}
231 GET /api/v1/musehub/repos/{id}/labels ← label management
232 POST /api/v1/musehub/repos/{id}/labels
233 PATCH /api/v1/musehub/repos/{id}/issues/{n}/labels ← assign labels to issue
234 GET /api/v1/musehub/repos/{id}/analysis/{ref}/similarity?compare={ref2}
235 GET /api/v1/musehub/repos/{id}/analysis/{ref}/emotion-diff?base={ref}
236 GET /api/v1/musehub/repos/{id}/analysis/{ref}/harmony
237 GET /api/v1/musehub/repos/{id}/analysis/{ref}/recall?q={query}
238 GET /api/v1/musehub/repos/{id}/settings
239 PATCH /api/v1/musehub/repos/{id}/settings
240 POST /api/v1/musehub/repos/{id}/transfer ← transfer repo ownership
241 DELETE /api/v1/musehub/repos/{id} ← delete repo
242 GET /api/v1/musehub/repos/{id}/collaborators ← collaborator list
243 POST /api/v1/musehub/repos/{id}/collaborators
244 DELETE /api/v1/musehub/repos/{id}/collaborators/{username}
245 GET /api/v1/musehub/topics/{tag}/repos ← repos by topic
246 GET /api/v1/musehub/users/{username}/activity ← public activity feed
247 ```
248
249 ---
250
251 ## 3. PER-PAGE FEATURE MATRIX
252
253 ### 3.1 `/musehub/ui/explore` — Discovery Grid
254
255 **Current:** Repo cards with name, owner, description, star count, tags.
256
257 **Missing / Wanted:**
258 - [ ] Filter by genre tag (Classical, EDM, Jazz, Rock, Ambient, etc.)
259 - [ ] Filter by key signature (C major, A minor, etc.)
260 - [ ] Filter by tempo range (BPM slider)
261 - [ ] Filter by time signature
262 - [ ] Filter by license (CC0, CC BY, CC BY-SA, All Rights Reserved)
263 - [ ] Sort by: stars, forks, watchers, recently updated, recently created, most commits
264 - [ ] "Trending this week" / "Trending this month" toggle
265 - [ ] Inline audio preview on card hover (oEmbed player)
266 - [ ] Fork count badge on card
267 - [ ] "Made with Muse" verified badge
268 - [ ] Language/instrument breakdown chip (shows dominant instrument)
269 - [ ] Pagination + infinite scroll
270 - [ ] Topic/tag browse sidebar
271 - [ ] Featured collections carousel (curated by Muse team)
272
273 ### 3.2 `/musehub/ui/{owner}/{repo}` — Repo Landing
274
275 **Current:** Branch selector, commit list preview, stats sidebar, README.
276
277 **Missing / Wanted:**
278 - [ ] README rendered as markdown (currently missing)
279 - [ ] "Latest release" banner with audio player
280 - [ ] Star / Watch / Fork action buttons with live counts
281 - [ ] Contributors list (avatar grid with commit counts)
282 - [ ] Activity graph (GitHub contribution-graph style, per-day commit heatmap)
283 - [ ] Language/instrument bar (% of MIDI by instrument family)
284 - [ ] Topics/tags as clickable chips → explore filter
285 - [ ] License badge
286 - [ ] Clone URL widget with copy button (`muse clone musehub://owner/repo`)
287 - [ ] Open in DAW button (deep link to Muse DAW)
288 - [ ] Branch picker with branch list + default branch indicator
289 - [ ] Last commit message + author + relative timestamp on branch selector
290 - [ ] File tree with MIDI file sizes
291 - [ ] "Used by" counter (repos that fork this)
292 - [ ] Pin to profile button (for own repos)
293 - [ ] Report / DMCA button
294 - [ ] Sponsor / support link (external URL from profile)
295 - [ ] oEmbed metadata `<meta>` tags for social previews
296
297 ### 3.3 `/musehub/ui/{owner}/{repo}/commits` — Commit List
298
299 **Current:** Commit list with message, author, timestamp, hash.
300
301 **Missing / Wanted:**
302 - [ ] Branch / tag / commit selector dropdown
303 - [ ] Filter by author dropdown
304 - [ ] Filter by date range picker
305 - [ ] Search by commit message
306 - [ ] Filter by tag annotation (emotion:*, stage:*, key:*, tempo:*)
307 - [ ] Commit graph mini-lane on left (like GitHub's dot-and-line)
308 - [ ] Grouped by day headers
309 - [ ] Per-commit: changed instruments badge
310 - [ ] Per-commit: tempo_bpm badge if annotated
311 - [ ] Per-commit: key annotation badge if set
312 - [ ] Per-commit: emotional character chip (from `emotion:*` tag)
313 - [ ] Per-commit: musical summary from `muse describe` output
314 - [ ] "Compare" checkbox mode → compare two selected commits
315 - [ ] Copy commit hash button
316 - [ ] Download commit as MIDI button
317 - [ ] Verified/signed badge if commit is GPG-signed
318 - [ ] Merge commit visual indicator (two parents)
319 - [ ] Cherry-pick indicator badge
320
321 ### 3.4 `/musehub/ui/{owner}/{repo}/commits/{id}` — Commit Detail
322
323 **Current:** Commit metadata, artifact list, diff link.
324
325 **Missing / Wanted:**
326 - [ ] Inline audio player (render_preview for this commit)
327 - [ ] Instrument breakdown pie/bar
328 - [ ] Full commit message with markdown rendering
329 - [ ] Parent commit link(s) (shows two for merge commits)
330 - [ ] All tags attached to this commit (emotion, stage, key, etc.)
331 - [ ] Metadata badges: tempo_bpm, key, time_signature, duration
332 - [ ] `muse describe` prose summary
333 - [ ] Changed files (MIDI tracks) with +/- change indicators
334 - [ ] Cherry-pick button (apply to another branch)
335 - [ ] Revert button
336 - [ ] Browse tree at this commit button
337 - [ ] Download button (MIDI bundle)
338 - [ ] Reactions (emoji reactions on the commit)
339 - [ ] Comments thread (general comments on the commit)
340 - [ ] Sessions that produced this commit (back-link to session)
341 - [ ] "Mentioned in PRs/Issues" cross-reference
342
343 ### 3.5 `/musehub/ui/{owner}/{repo}/compare/{base}...{head}` — Multi-Diff
344
345 **Current:** Radar chart, piano roll, audio A/B.
346
347 **Missing / Wanted:**
348 - [ ] Similarity score percentage badge
349 - [ ] Emotion delta visualization (before/after radar)
350 - [ ] Changed instrument list with diff stats per instrument
351 - [ ] Merge/PR creation button from this view
352 - [ ] Note-level diff table (added/removed/changed notes)
353 - [ ] CC event diff (expression, modulation, sustain changes)
354 - [ ] Tempo change indicator
355 - [ ] Key change indicator
356 - [ ] Time signature change indicator
357 - [ ] `muse blame` panel showing per-note authorship in the diff
358 - [ ] Export diff as JSON button (for agents)
359 - [ ] "Open in DAW" button to load both refs for A/B comparison
360
361 ### 3.6 `/musehub/ui/{owner}/{repo}/pulls` — PR List
362
363 **Current:** PR list with state filter.
364
365 **Missing / Wanted:**
366 - [ ] Filter by: Open / Merged / Closed / Draft
367 - [ ] Filter by: author, assignee, label, milestone
368 - [ ] Sort by: newest, oldest, most commented, recently updated
369 - [ ] Search PRs by title / body
370 - [ ] Assignee avatars on card
371 - [ ] Label chips on card
372 - [ ] Milestone indicator on card
373 - [ ] Comment count badge
374 - [ ] Reaction count badge
375 - [ ] Approval status (approved / changes requested / pending)
376 - [ ] CI/checks status badge
377 - [ ] "Draft PR" indicator
378 - [ ] Bulk actions (close multiple, assign milestone)
379
380 ### 3.7 `/musehub/ui/{owner}/{repo}/pulls/{pr_id}` — PR Detail
381
382 **Current:** Diff, merge button, PR comments.
383
384 **Missing / Wanted:**
385 - [ ] PR description (markdown rendered)
386 - [ ] Labels
387 - [ ] Milestone link
388 - [ ] Assignees
389 - [ ] Reviewers + approval status per reviewer
390 - [ ] Linked issues (closes #N cross-reference)
391 - [ ] Check/CI status panel
392 - [ ] Conversation timeline (comments, reviews, events interspersed)
393 - [ ] Line-level (beat-level) review comments with threading
394 - [ ] Review summary ("Changes requested by X", "Approved by Y")
395 - [ ] Diff: note-level additions/deletions colour-coded
396 - [ ] Diff: CC event changes highlighted
397 - [ ] `muse emotion-diff` panel inline on PR
398 - [ ] Audio A/B player (base vs head) inline
399 - [ ] Merge options: merge commit / squash / rebase
400 - [ ] Auto-merge checkbox (merge when all checks pass)
401 - [ ] "Close and delete branch" button after merge
402 - [ ] Reopen PR button
403 - [ ] Edit PR title/body
404 - [ ] @mention notifications
405 - [ ] Reactions on PR body and on individual comments
406
407 ### 3.8 `/musehub/ui/{owner}/{repo}/issues` — Issue List
408
409 **Current:** Issue list with open/closed filter.
410
411 **Missing / Wanted:**
412 - [ ] Filter by label
413 - [ ] Filter by milestone
414 - [ ] Filter by assignee
415 - [ ] Filter by author
416 - [ ] Search issues by title / body
417 - [ ] Sort by: newest, oldest, most commented, most reactions, recently updated
418 - [ ] Milestone progress bars in sidebar
419 - [ ] Label legend sidebar
420 - [ ] Bulk assign / bulk label / bulk close
421 - [ ] "No milestone" filter
422 - [ ] Issue templates (pre-filled forms for bug, feature, musical feedback)
423 - [ ] Duplicate detection (show similar open issues)
424 - [ ] Sub-issues / task lists (markdown checkboxes tracked as tasks)
425 - [ ] Lock/unlock issue button
426
427 ### 3.9 `/musehub/ui/{owner}/{repo}/issues/{number}` — Issue Detail
428
429 **Current:** Issue body, close button.
430
431 **Missing / Wanted:**
432 - [ ] Markdown rendered body
433 - [ ] Labels display
434 - [ ] Milestone link
435 - [ ] Assignees
436 - [ ] Comments thread with full markdown
437 - [ ] Reactions on issue body and comments
438 - [ ] Threaded replies on comments
439 - [ ] Edit comment / delete comment
440 - [ ] Cross-references (linked PRs, linked commits)
441 - [ ] Timeline (comment/event interspersed: "closed by PR #5", "label added")
442 - [ ] Lock issue
443 - [ ] Pin issue to top of list
444 - [ ] Convert to PR
445 - [ ] @mention with notification
446 - [ ] Subscribe / unsubscribe to notifications
447
448 ### 3.10 `/musehub/ui/{owner}/{repo}/milestones` — Milestones ❌ MISSING
449
450 **Wanted:**
451 - [ ] Milestone list with title, due date, open/closed issue count, progress bar
452 - [ ] Filter: open / closed
453 - [ ] Sort: due date, completeness, title
454 - [ ] Create milestone form
455 - [ ] Edit / delete milestone
456 - [ ] Per-milestone: link to filtered issue list
457
458 ### 3.11 `/musehub/ui/{owner}/{repo}/releases` — Release List
459
460 **Current:** Release list with tag, title, commit link.
461
462 **Missing / Wanted:**
463 - [ ] Release description (markdown rendered)
464 - [ ] Embedded audio player per release
465 - [ ] Download stats per release
466 - [ ] Pre-release / latest badge
467 - [ ] Compare with previous release link
468 - [ ] Verify GPG signature badge
469 - [ ] RSS feed link for releases
470 - [ ] "Subscribe to releases" button (watch notifications)
471 - [ ] Draft release creation form
472 - [ ] Release assets panel (MIDI bundle, stems, MusicXML, MP3, metadata.json)
473
474 ### 3.12 `/musehub/ui/{owner}/{repo}/sessions` — Recording Sessions
475
476 **Current:** Session log list.
477
478 **Missing / Wanted:**
479 - [ ] Session duration display
480 - [ ] Participants avatars
481 - [ ] Linked commits from session
482 - [ ] Session intent / notes rendered as markdown
483 - [ ] Timeline of events within session
484 - [ ] Filter by: participant, date range, active/ended
485 - [ ] Export session notes
486
487 ### 3.13 `/musehub/ui/{owner}/{repo}/analysis/{ref}` — Analysis Dashboard
488
489 **Current:** 10-dimension panel with links to sub-pages.
490
491 **Missing / Wanted:**
492 - [ ] Historical trend charts (analysis over commit history)
493 - [ ] Compare with another ref inline
494 - [ ] "Analysis changed since last commit" delta indicators
495 - [ ] Export analysis as JSON
496 - [ ] Share analysis card (social preview)
497 - [ ] Annotation layer (add notes to analysis — saved as commit metadata)
498 - [ ] `muse similarity` score vs parent commit
499 - [ ] Harmonic analysis sub-page (`/analysis/{ref}/harmony`)
500 - [ ] Emotion-diff vs parent (`/analysis/{ref}/emotion-diff`)
501 - [ ] Recall search panel (`/analysis/{ref}/recall`)
502
503 ### 3.14 `/musehub/ui/{owner}/{repo}/blame/{ref}/{path}` — Blame ❌ MISSING
504
505 **Wanted:**
506 - [ ] Per-note row: author avatar + username + commit hash + message
507 - [ ] Colour-coded by author
508 - [ ] Click on row → go to commit
509 - [ ] Filter by instrument/track
510 - [ ] Hover tooltip: full commit info
511 - [ ] Beat-range selector (zoom in on a region)
512
513 ### 3.15 `/musehub/ui/{owner}/{repo}/forks` — Fork Network ❌ MISSING
514
515 **Wanted:**
516 - [ ] Fork tree visualization (original + fork children + their forks)
517 - [ ] Each node: owner avatar, star count, last updated, divergence score
518 - [ ] Filter: only show "active" forks (committed in last 90 days)
519 - [ ] "Compare my fork" shortcut
520 - [ ] "Contribute upstream" → create PR shortcut
521
522 ### 3.16 `/musehub/ui/users/{username}` — User Profile
523
524 **Current:** Overview / Repositories / Starred / Watching tabs.
525
526 **Missing / Wanted:**
527 - [ ] Contribution graph (GitHub-style heatmap of commit activity)
528 - [ ] Pinned repos section (up to 6, from `musehub_profiles.pinned_repo_ids`)
529 - [ ] Bio + avatar + location + links
530 - [ ] Followers / following counts with links to lists
531 - [ ] Activity feed tab (recent commits, PRs, issues, stars)
532 - [ ] Achievement badges (e.g. "100 commits", "First fork", "Genre Pioneer")
533 - [ ] Organisations / collaborations section
534 - [ ] Sponsor / support link
535 - [ ] Follow / Unfollow button
536 - [ ] Block user button
537 - [ ] Recent releases section
538
539 ### 3.17 `/musehub/ui/notifications` — Notification Inbox ❌ MISSING
540
541 **Wanted:**
542 - [ ] Grouped by repo
543 - [ ] Filter: unread / all / participating / mentioned
544 - [ ] Type icons (PR, issue, commit, review, mention)
545 - [ ] Mark as read individually
546 - [ ] Mark all read button
547 - [ ] Mute thread button
548 - [ ] Notification settings link
549
550 ### 3.18 `/musehub/ui/{owner}/{repo}/insights` — Repo Analytics
551
552 **Current:** View counts, download events, star history.
553
554 **Missing / Wanted:**
555 - [ ] Commit frequency chart (daily/weekly/monthly toggle)
556 - [ ] Top contributors leaderboard
557 - [ ] Issues opened/closed trend
558 - [ ] PR merge rate
559 - [ ] Fork growth chart
560 - [ ] Watcher count history
561 - [ ] Most-referenced commits
562 - [ ] Most-downloaded releases
563 - [ ] Geographic origin of listeners (if available)
564 - [ ] Traffic sources (referrers)
565 - [ ] Instrument popularity over time (which instruments used most across commits)
566 - [ ] Tempo/key distribution histograms across commit history
567 - [ ] Average session duration trend
568
569 ### 3.19 oEmbed / Embed Player
570
571 **Current:** Basic iframe embed exists.
572
573 **Missing / Wanted:**
574 - [ ] oEmbed endpoint returning rich metadata (title, author, thumbnail, duration)
575 - [ ] Open Graph `<meta>` tags on all repo/commit/release pages
576 - [ ] Twitter/X card metadata
577 - [ ] Spotify-style "Now Playing" card (shareable static image)
578 - [ ] Waveform thumbnail generation from render_job assets
579
580 ---
581
582 ## 4. SEED DATA BLUEPRINT
583
584 ### 4.1 Real Creative Commons MIDI Artists
585
586 The following are public domain or Creative Commons licensed and suitable for attribution in seed data:
587
588 | Artist | Era / Genre | CC License | Source | Key Characteristics |
589 |---|---|---|---|---|
590 | **J.S. Bach** | Baroque, Classical | Public Domain | piano-midi.de, Mutopia | Complex counterpoint, fugues, all 24 keys, CC voicings |
591 | **Ludwig van Beethoven** | Classical, Romantic | Public Domain | piano-midi.de | Wide dynamic range, dramatic velocity changes, complex pedal |
592 | **Frédéric Chopin** | Romantic | Public Domain | piano-midi.de | Rubato, expressive CC1 (mod wheel), dense chord voicings |
593 | **Claude Debussy** | Impressionist | Public Domain | various | Whole tone scales, lush pedal, free meter, color harmony |
594 | **Scott Joplin** | Ragtime | Public Domain | multiple | Syncopated rhythm, ragtime groove, steady bass + ornate RH |
595 | **Kevin MacLeod** | Modern / Multi-genre | CC BY 4.0 | incompetech.com | Wide variety: cinematic, jazz, ambient, uptempo; MIDI available |
596 | **Kai Engel** | Ambient / Modern Classical | CC BY 4.0 | Free Music Archive | Long-form ambient, subtle dynamics, quiet velocity curves |
597 | **Broke for Free** | Electronic / Lo-fi | CC BY | Free Music Archive | Electronic textures, drum machine patterns, synth basslines |
598 | **Brad Sucks** | Indie Rock | CC BY | braadsucks.net | Guitar-driven, power chords, verse/chorus form, rock drumming |
599 | **Chris Zabriskie** | Ambient / Cinematic | CC BY 4.0 | chriszabriskie.com | Cinematic pads, slow evolution, minimal note changes |
600
601 ### 4.2 Seed Users
602
603 | Username | Real-world Archetype | Role in Seed |
604 |---|---|---|
605 | `bach` | J.S. Bach (historical CC) | Source of classical repos |
606 | `chopin` | Frédéric Chopin (historical CC) | Source of romantic piano repos |
607 | `scott_joplin` | Scott Joplin (historical CC) | Source of ragtime repos |
608 | `kevin_macleod` | Kevin MacLeod (modern CC) | Multi-genre repos |
609 | `gabriel` | Primary active user | Forks, PRs, issues, collaborations |
610 | `sofia` | Active collaborator | Co-author on merge commits |
611 | `marcus` | EDM producer archetype | Electronic repos, forks Bach |
612 | `yuki` | Classical scholar | Studies Bach, opens analysis issues |
613 | `aaliya` | Jazz fusion artist | Forks Chopin, adds jazz voicings |
614 | `chen` | Film composer | Uses MacLeod as base, adds arrangements |
615 | `fatou` | Afrobeats producer | Cross-genre forks, unique rhythmic commits |
616 | `pierre` | French academic | Analysis-heavy commits, theory annotations |
617
618 ### 4.3 Seed Repositories
619
620 | Repo | Owner | Genre | Description | Branches |
621 |---|---|---|---|---|
622 | `well-tempered-clavier` | `bach` | Baroque / Classical | All 48 preludes + fugues in all 24 keys | main, prelude-bk1, fugue-bk1, prelude-bk2, fugue-bk2 |
623 | `goldberg-variations` | `bach` | Baroque | 30 variations + aria | main, aria-only, variation-13-experimental |
624 | `nocturnes` | `chopin` | Romantic Piano | 21 nocturnes | main, op9, op15, op27, extended |
625 | `maple-leaf-rag` | `scott_joplin` | Ragtime | Maple Leaf Rag + variations | main, slow-version, marcus-edm-remix |
626 | `cinematic-strings` | `kevin_macleod` | Cinematic | Orchestral string pieces | main, orchestral, stripped-piano |
627 | `ambient-textures` | `kai_engel` | Ambient | Long-form ambient works | main, v1, v2-extended |
628 | `gabriel-neo-baroque` | `gabriel` | Cross-genre | Bach WTC fork with modern production | main, experiment/jazz-voicings, experiment/edm-bassline |
629 | `aaliya-jazz-chopin` | `aaliya` | Jazz Fusion | Chopin nocturnes fork with jazz reharmonisation | main, reharmonized, trio-arrangement |
630 | `marcus-ragtime-edm` | `marcus` | Electronic | Joplin fork with 808 drums + synth bass | main, trap-version, house-version |
631 | `chen-film-score` | `chen` | Cinematic | MacLeod fork adapted for film scenes | main, act1, act2, act3 |
632 | `fatou-polyrhythm` | `fatou` | Afrobeats | Original polyrhythmic compositions | main, 7-over-4, 5-over-3-experiment |
633 | `community-collab` | `gabriel` | Multi-genre | Open collaboration repo, all users contribute | main, sofias-counterpoint, yukis-ornaments, pierres-analysis |
634
635 ### 4.4 Commit Data Requirements
636
637 Per repo, generate commits exercising:
638 - [ ] Simple single-instrument changes (velocity edits, note moves)
639 - [ ] Multi-instrument commits (bass + keys + drums changed together)
640 - [ ] Commits with `tempo_bpm` metadata annotation
641 - [ ] Commits with `key` metadata annotation
642 - [ ] Commits with `emotion:*` tags (emotion:melancholic, emotion:joyful, emotion:tense, etc.)
643 - [ ] Commits with `stage:*` tags (stage:rough-mix, stage:arrangement, stage:production, stage:mastering)
644 - [ ] Commits with `ref:*` tags (ref:bach, ref:coltrane, ref:daft-punk)
645 - [ ] Commits with CC event data (CC1 modulation, CC7 volume, CC11 expression, CC64 sustain, CC91 reverb)
646 - [ ] Commits with full pitch_bends data
647 - [ ] Commits with aftertouch data
648 - [ ] Merge commits with two parents (cross-genre merges that should show conflicts)
649 - [ ] Empty commits (muse commit --allow-empty for session markers)
650 - [ ] Amend commits (shows --amend in history)
651 - [ ] Commits that revert previous commits
652 - [ ] Cherry-pick commits (applied from another branch)
653
654 Minimum: **50 commits per repo**, **12 repos** = **600+ commits total**
655
656 ### 4.5 Branch Data Requirements
657
658 Per repo:
659 - [ ] `main` (default)
660 - [ ] At least 2 feature branches (active/merged)
661 - [ ] At least 1 abandoned branch (closed PR)
662 - [ ] At least 1 long-running branch with many commits (shows realistic divergence)
663 - [ ] At least 1 branch created from a tag (hotfix-like)
664
665 ### 4.6 Muse CLI Data (Currently Unseeded)
666
667 #### muse_objects
668 - [ ] 50+ unique content-addressed blobs (MIDI file bytes, sha256-keyed)
669 - [ ] Objects with varying sizes (small loops 2KB → large orchestral pieces 200KB)
670 - [ ] Deduplicated objects (same MIDI file on two branches → same object_id)
671
672 #### muse_snapshots
673 - [ ] One snapshot per commit (manifest: `{path: object_id}`)
674 - [ ] Snapshots with 1 file (single instrument)
675 - [ ] Snapshots with 8-16 files (full ensemble)
676 - [ ] Snapshots with nested paths (e.g. `strings/violin.mid`, `brass/trumpet.mid`)
677
678 #### muse_commits
679 - [ ] Single-parent commits (linear history)
680 - [ ] Merge commits with `parent2_commit_id` populated
681 - [ ] Commits with `metadata.tempo_bpm` set
682 - [ ] Commits with `metadata.key` set
683 - [ ] Commits with `metadata.time_signature` set (future extension point)
684 - [ ] Commits by multiple authors on the same repo
685
686 #### muse_tags
687 - [ ] `emotion:melancholic`, `emotion:joyful`, `emotion:tense`, `emotion:serene`, `emotion:triumphant`, `emotion:mysterious`, `emotion:playful`
688 - [ ] `stage:sketch`, `stage:rough-mix`, `stage:arrangement`, `stage:production`, `stage:mixing`, `stage:mastering`, `stage:released`
689 - [ ] `key:C`, `key:Am`, `key:G`, `key:Em`, `key:Bb`, `key:F#`, `key:Db`, `key:Abm`
690 - [ ] `tempo:60bpm`, `tempo:80bpm`, `tempo:120bpm`, `tempo:140bpm`, `tempo:160bpm`
691 - [ ] `ref:bach`, `ref:chopin`, `ref:debussy`, `ref:coltrane`, `ref:daft-punk`, `ref:beethoven`
692 - [ ] `genre:baroque`, `genre:romantic`, `genre:ragtime`, `genre:edm`, `genre:ambient`, `genre:jazz`, `genre:afrobeats`
693 - [ ] Free-form: `needs-work`, `favourite`, `breakout`, `experimental`, `send-to-band`
694
695 #### muse_variations (DAW-level variation history)
696 - [ ] 20+ variations per active repo (accepted + discarded + pending)
697 - [ ] Variations with multiple phrases each
698 - [ ] Phrases with note_changes (add, remove, modify)
699 - [ ] Variations showing lineage (parent → child chain)
700 - [ ] Merge-type variations (parent2_variation_id set)
701 - [ ] Variations with CC event data in phrases
702 - [ ] Variations with pitch_bend data in phrases
703 - [ ] Variations with aftertouch data in phrases
704
705 ### 4.7 MuseHub Social Data (10x Current Scale)
706
707 #### musehub_issues
708 Minimum **15 issues per repo** with:
709 - [ ] Mix of open / closed / locked
710 - [ ] Issues with labels: `bug`, `enhancement`, `question`, `analysis`, `merge-conflict`, `needs-arrangement`, `help-wanted`, `good-first-issue`, `musical-theory`, `performance`
711 - [ ] Issues assigned to multiple users
712 - [ ] Issues linked to milestones
713 - [ ] Issues with sub-tasks (markdown checkboxes in body)
714 - [ ] Cross-repo references (`owner/repo#N`)
715 - [ ] Issues closed by PR ("Closes #N" in PR body)
716
717 #### musehub_issue_comments
718 Minimum **5 comments per issue**:
719 - [ ] Comments with markdown formatting
720 - [ ] Comments with code blocks (MIDI snippet representations)
721 - [ ] Comments with musical notation references
722 - [ ] Threaded replies (`parent_id` set)
723 - [ ] Comments with @mentions
724 - [ ] Comments with reactions
725
726 #### musehub_milestones
727 Per repo:
728 - [ ] 3-5 milestones (v0.1, v0.2, v1.0, "Bach Complete", "EDM Edition", etc.)
729 - [ ] Mix of open / closed
730 - [ ] With and without `due_on` dates
731 - [ ] Linked to multiple issues
732
733 #### musehub_pull_requests
734 Minimum **8 PRs per repo**:
735 - [ ] Open PRs (awaiting review)
736 - [ ] Merged PRs (`merged_at` set, `merge_commit_id` set)
737 - [ ] Closed PRs (rejected without merge)
738 - [ ] Cross-genre "merge conflict" PRs (EDM bassline into classical piece)
739 - [ ] PRs with detailed musical diff descriptions
740 - [ ] PRs with linked issues (Closes #N)
741 - [ ] PRs with multiple review comments
742
743 #### musehub_pr_comments
744 Per PR, 3-8 inline review comments:
745 - [ ] General comments (`target_type: "general"`)
746 - [ ] Track-specific comments (`target_type: "track"`, `target_track: "piano"`)
747 - [ ] Region comments with beat range (`target_type: "region"`, `target_beat_start`, `target_beat_end`)
748 - [ ] Note-specific comments (`target_type: "note"`, `target_note_pitch: 60`)
749 - [ ] Threaded replies (`parent_comment_id` set)
750
751 #### musehub_releases
752 Per repo, 3-5 releases:
753 - [ ] Semantic versions: v0.1.0, v0.2.0, v1.0.0
754 - [ ] Release notes with markdown (what changed musically)
755 - [ ] `download_urls` with all package types: `midi_bundle`, `stems`, `mp3`, `musicxml`, `metadata`
756 - [ ] Pre-release and latest badges
757 - [ ] Releases linked to commits
758
759 #### musehub_sessions
760 Per repo, 5-10 sessions:
761 - [ ] Solo sessions (1 participant)
762 - [ ] Duo sessions (2 participants)
763 - [ ] Full-band sessions (4-6 participants)
764 - [ ] Sessions with `intent` (what the session was trying to achieve)
765 - [ ] Sessions with `notes` (what happened, discoveries, blockers)
766 - [ ] Sessions linked to commits (commits made during that session)
767 - [ ] Active sessions (1 per repo marked `is_active: true`)
768 - [ ] Sessions at different locations (home studio, studio, remote collaboration)
769
770 #### musehub_webhooks
771 Per repo, 1-3 webhooks:
772 - [ ] Webhook for `push` events (CI simulation)
773 - [ ] Webhook for `pull_request` events
774 - [ ] Webhook for `release` events (notify downstream consumers)
775 - [ ] Fernet-encrypted secrets
776 - [ ] Mix of active / inactive
777
778 #### musehub_webhook_deliveries
779 Per webhook, 5-20 deliveries:
780 - [ ] Successful deliveries (response_status: 200)
781 - [ ] Failed deliveries (response_status: 500, 404, 0 for timeout)
782 - [ ] Multiple retry attempts (`attempt`: 1, 2, 3)
783
784 #### musehub_render_jobs
785 Per repo, 5-15 render jobs:
786 - [ ] Completed jobs (status: "done", mp3_object_ids populated)
787 - [ ] Failed jobs (status: "failed", error_message set)
788 - [ ] Pending jobs (status: "pending")
789 - [ ] Jobs with multiple MIDI files (midi_count > 1)
790
791 #### musehub_events
792 Per repo, 20+ activity events:
793 - [ ] `push` events
794 - [ ] `pull_request.opened`, `pull_request.merged`, `pull_request.closed`
795 - [ ] `issue.opened`, `issue.closed`
796 - [ ] `release.published`
797 - [ ] `star` events (when users star)
798 - [ ] `fork` events
799 - [ ] `member.added` events (collaborator added)
800 - [ ] `session.started`, `session.ended`
801
802 #### Social Tables
803 - [ ] **musehub_stars**: Every user stars 3-8 repos (not their own)
804 - [ ] **musehub_watches**: Every user watches 4-10 repos
805 - [ ] **musehub_follows**: Rich follow graph (each user follows 3-6 others)
806 - [ ] **musehub_forks**: 2-4 forks per public repo, cross-genre where possible
807 - [ ] **musehub_comments**: 3-8 comments per commit/release/PR
808 - [ ] **musehub_reactions**: Full emoji set on commits, issues, comments (👍 ❤️ 🎵 🔥 🎹 👏 🤔 😢)
809 - [ ] **musehub_notifications**: 10-20 unread notifications per user
810 - [ ] **musehub_view_events**: 30-100 view events per repo (simulates real traffic)
811 - [ ] **musehub_download_events**: 5-20 download events per release
812
813 ### 4.8 Dramatic Narrative Scenarios (for Rich Seed Data)
814
815 The seed data should tell actual stories:
816
817 1. **"The Bach Remix War"** — `marcus` forks `bach/well-tempered-clavier`, adds trap drums and 808 bass, opens PR back to `bach`. `yuki` leaves detailed analysis comments about harmonic integrity. `bach` (auto) closes the PR. Heated issue thread ensues. Eventually a compromise branch emerges.
818
819 2. **"Chopin Meets Coltrane"** — `aaliya` forks `chopin/nocturnes`, reharmonises Nocturne Op.9 No.2 with Coltrane changes. 3-way merge conflict when `gabriel` also forks and adds jazz voicings. Beautiful merge commit resolves the conflict.
820
821 3. **"The Ragtime EDM Collab"** — `marcus` and `fatou` open a collaborative session on `marcus/ragtime-edm`. 8-commit session, 3 participants, ends with a release "v1.0.0 - Maple Leaf Drops".
822
823 4. **"Community Collab Chaos"** — `gabriel/community-collab` has all 10 users contributing. Multiple open PRs from different users, some conflicting, some cleanly merged. An open issue "Resolve the key signature — are we in G major or E minor?" with 20+ comments and a heated debate.
824
825 5. **"The Goldberg Milestone"** — `bach/goldberg-variations` has milestone "All 30 Variations Complete". Issues track each variation as a task. 28/30 closed. 2 still open and hotly debated.
826
827 ---
828
829 ## 5. GITHUB ISSUE BACKLOG
830
831 > Each item below should become one GitHub issue with appropriate labels.
832 > Labels: `feature`, `missing-url`, `seed-data`, `analysis`, `ui`, `api`, `muse-command`
833
834 ### GROUP A — Missing MuseHub URLs (UI Implementation)
835
836 - [ ] **A-01**: `GET /{owner}/{repo}/blame/{ref}/{path}` — Implement muse blame UI page with per-note authorship visualization
837 - [ ] **A-02**: `GET /{owner}/{repo}/milestones` — Milestone list page with progress bars and issue linking
838 - [ ] **A-03**: `GET /{owner}/{repo}/milestones/{number}` — Milestone detail page with filtered issue list
839 - [ ] **A-04**: `GET /{owner}/{repo}/labels` — Label management page (create, edit, delete, colour picker)
840 - [ ] **A-05**: `GET /{owner}/{repo}/stash` — Stash list page with apply/pop/drop actions
841 - [ ] **A-06**: `GET /{owner}/{repo}/forks` — Fork network visualization page
842 - [ ] **A-07**: `GET /{owner}/{repo}/settings` — Repo settings page (visibility, description, tags, danger zone)
843 - [ ] **A-08**: `GET /{owner}/{repo}/webhooks` — Webhook management UI (list, create, test, delete)
844 - [ ] **A-09**: `GET /{owner}/{repo}/similarity/{base}...{head}` — Musical similarity score page
845 - [ ] **A-10**: `GET /{owner}/{repo}/emotion-diff/{base}...{head}` — Emotional delta visualization page
846 - [ ] **A-11**: `GET /{owner}/{repo}/analysis/{ref}/harmony` — Full harmonic analysis sub-page (Roman numerals, cadences)
847 - [ ] **A-12**: `GET /{owner}/{repo}/recall` — Semantic memory search over commit history
848 - [ ] **A-13**: `GET /notifications` — Notification inbox page with group/filter/mark-read
849 - [ ] **A-14**: `GET /users/{username}/followers` — Follower list page
850 - [ ] **A-15**: `GET /users/{username}/following` — Following list page
851 - [ ] **A-16**: `GET /topics/{tag}` — Topic browse page (repos grouped by tag)
852 - [ ] **A-17**: `GET /new` — New repo wizard UI
853
854 ### GROUP B — Missing API Endpoints
855
856 - [ ] **B-01**: `GET/POST/PATCH/DELETE /api/v1/musehub/repos/{id}/milestones/{n}` — Full milestone CRUD API
857 - [ ] **B-02**: `GET/POST /api/v1/musehub/repos/{id}/labels` + `PATCH /issues/{n}/labels` — Label management API
858 - [ ] **B-03**: `GET /api/v1/musehub/repos/{id}/analysis/{ref}/harmony` — Harmonic analysis endpoint
859 - [ ] **B-04**: `GET /api/v1/musehub/repos/{id}/analysis/{ref}/similarity?compare={ref2}` — Similarity score endpoint
860 - [ ] **B-05**: `GET /api/v1/musehub/repos/{id}/analysis/{ref}/emotion-diff?base={ref}` — Emotion delta endpoint
861 - [ ] **B-06**: `GET /api/v1/musehub/repos/{id}/analysis/{ref}/recall?q={query}` — Semantic recall endpoint
862 - [ ] **B-07**: `GET/PATCH /api/v1/musehub/repos/{id}/settings` — Repo settings read/write
863 - [ ] **B-08**: `DELETE /api/v1/musehub/repos/{id}` — Repo deletion with cascade
864 - [ ] **B-09**: `POST /api/v1/musehub/repos/{id}/transfer` — Transfer repo ownership
865 - [ ] **B-10**: `GET/POST/DELETE /api/v1/musehub/repos/{id}/collaborators` — Collaborator management
866 - [ ] **B-11**: `GET /api/v1/musehub/repos/{id}/blame/{ref}` — Blame output as JSON for agents
867 - [ ] **B-12**: `GET/POST/DELETE /api/v1/musehub/repos/{id}/stash` + pop endpoint — Stash API
868 - [ ] **B-13**: `GET /api/v1/musehub/users/{username}/activity` — Public activity feed for a user
869 - [ ] **B-14**: `GET /api/v1/musehub/topics/{tag}/repos` — Repos by topic tag
870
871 ### GROUP C — Per-Page UI Enhancements
872
873 - [ ] **C-01**: Explore page — Add filter sidebar (genre, key, tempo range, license, instrument)
874 - [ ] **C-02**: Explore page — Inline audio preview on repo card hover
875 - [ ] **C-03**: Repo landing — Contributor avatar grid with commit counts
876 - [ ] **C-04**: Repo landing — Activity contribution heatmap graph
877 - [ ] **C-05**: Repo landing — Instrument breakdown bar chart
878 - [ ] **C-06**: Repo landing — Clone URL widget with copy button
879 - [ ] **C-07**: Repo landing — README markdown rendering
880 - [ ] **C-08**: Commits list — Filter by author, date range, tag annotation
881 - [ ] **C-09**: Commits list — Per-commit instrument change badges + tempo/key metadata chips
882 - [ ] **C-10**: Commits list — "Compare" multi-select mode for picking two commits to diff
883 - [ ] **C-11**: Commit detail — Inline audio player (render_preview for the commit)
884 - [ ] **C-12**: Commit detail — Reactions and comments thread on commit
885 - [ ] **C-13**: PR list — Filter by assignee, label, milestone; sort options
886 - [ ] **C-14**: PR detail — Approval status per reviewer; review request workflow
887 - [ ] **C-15**: PR detail — Audio A/B inline player (base vs head)
888 - [ ] **C-16**: PR detail — Merge options: merge commit / squash / rebase selector
889 - [ ] **C-17**: Issue list — Filter by label, milestone, assignee; bulk actions
890 - [ ] **C-18**: Issue detail — Reactions on body and comments; threaded replies
891 - [ ] **C-19**: Issue detail — Timeline view (events + comments interspersed)
892 - [ ] **C-20**: Release detail — Embedded audio player + download stats
893 - [ ] **C-21**: Releases — RSS feed link + subscribe to releases button
894 - [ ] **C-22**: Analysis dashboard — Historical trend charts over commit history
895 - [ ] **C-23**: Analysis dashboard — "Analysis delta since parent commit" indicators
896 - [ ] **C-24**: User profile — Contribution heatmap graph (GitHub-style)
897 - [ ] **C-25**: User profile — Achievement badges system
898 - [ ] **C-26**: Insights — Full analytics suite (commit frequency, PR merge rate, fork growth)
899
900 ### GROUP D — Muse Command UI Exposure (Missing)
901
902 - [ ] **D-01**: `muse amend` — UI button on commit detail page: "Amend last commit"
903 - [ ] **D-02**: `muse cherry-pick` — UI button on commit detail: "Apply to branch…"
904 - [ ] **D-03**: `muse revert` — UI button on commit detail: "Revert this commit"
905 - [ ] **D-04**: `muse rebase -i` — Interactive rebase UI (drag-to-reorder commits)
906 - [ ] **D-05**: `muse stash` — Stash panel in sidebar: push, list, apply, drop
907 - [ ] **D-06**: `muse bisect` — Bisect wizard UI: "Find the bad commit" binary search workflow
908 - [ ] **D-07**: `muse transpose` — UI control on commit/branch: "Transpose to key…"
909 - [ ] **D-08**: `muse tempo-scale` — UI control: "Time-stretch by factor…"
910 - [ ] **D-09**: `muse humanize` — UI toggle on commit: "Apply humanization"
911 - [ ] **D-10**: `muse validate` — UI badge on commit: "MIDI structure valid ✓"
912 - [ ] **D-11**: `muse import` — Repo UI: "Import MIDI file" → creates commit
913 - [ ] **D-12**: `muse describe` — Standalone page at `/{owner}/{repo}/describe/{ref}` with AI prose summary
914 - [ ] **D-13**: `muse recall` — Search UI: "Search musical memory" (semantic search over history)
915 - [ ] **D-14**: `muse resolve` — Merge conflict resolution UI with ours/theirs/manual options
916 - [ ] **D-15**: `muse worktree` — Worktree list UI: see all active worktrees for a repo
917 - [ ] **D-16**: `muse similarity` — Show similarity score on PR detail page (head vs base)
918 - [ ] **D-17**: `muse emotion-diff` — Show emotional delta on PR detail page inline
919
920 ### GROUP E — Seed Data
921
922 - [ ] **E-01**: Implement muse_objects / muse_snapshots / muse_commits / muse_tags seed data (all currently zero)
923 - [ ] **E-02**: Implement muse_variations / muse_phrases / muse_note_changes seed data (all currently zero)
924 - [ ] **E-03**: Create 12 artist/user profiles with bio, avatar, pinned repos (Bach, Chopin, Joplin, MacLeod, gabriel, sofia, marcus, yuki, aaliya, chen, fatou, pierre)
925 - [ ] **E-04**: Seed 12 repos across genres (well-tempered-clavier, nocturnes, maple-leaf-rag, etc.) with 50+ commits each
926 - [ ] **E-05**: Seed all muse_tags variants (emotion:*, stage:*, key:*, tempo:*, ref:*, genre:*)
927 - [ ] **E-06**: Seed milestones + milestone-linked issues for each repo (3-5 milestones per repo)
928 - [ ] **E-07**: Seed musehub_issue_comments (5+ per issue, with threading)
929 - [ ] **E-08**: Seed musehub_pr_comments (review comments with track/region/note targeting)
930 - [ ] **E-09**: Seed musehub_milestones + link to issues
931 - [ ] **E-10**: Seed musehub_webhooks + musehub_webhook_deliveries (success and failure cases)
932 - [ ] **E-11**: Seed musehub_render_jobs (pending, done, failed states)
933 - [ ] **E-12**: Seed musehub_events (push, PR, issue, release, star, fork, session events)
934 - [ ] **E-13**: Implement "Bach Remix War" narrative scenario (fork, PR, conflict, resolution)
935 - [ ] **E-14**: Implement "Chopin Meets Coltrane" narrative scenario (cross-genre 3-way merge)
936 - [ ] **E-15**: Implement "Ragtime EDM Collab" narrative scenario (multi-user session + release)
937 - [ ] **E-16**: Implement "Community Collab Chaos" narrative scenario (10 users, open PRs, debates)
938 - [ ] **E-17**: Implement "Goldberg Milestone" narrative scenario (milestone completion tracking)
939 - [ ] **E-18**: Seed CC MIDI content — download and embed real MIDI data from piano-midi.de for Bach/Chopin/Joplin pieces
940 - [ ] **E-19**: Seed full social graph — stars, watches, follows, forks, reactions (emojis including 🎵 🎹 🔥 👏)
941 - [ ] **E-20**: Seed notifications for all users (10-20 unread each, all types)
942
943 ### GROUP F — Agent & Machine Readability
944
945 - [ ] **F-01**: All HTML pages must have `Accept: application/json` equivalent JSON endpoint — audit and add any missing
946 - [ ] **F-02**: Add `Link: rel=alternate type=application/json` headers on all UI pages
947 - [ ] **F-03**: oEmbed endpoint — return rich metadata (title, author, thumbnail URL, audio URL, duration, BPM, key)
948 - [ ] **F-04**: Open Graph + Twitter card meta tags on repo/commit/release/profile pages
949 - [ ] **F-05**: `GET /musehub/ui/{owner}/{repo}/analysis/{ref}` → machine-readable `analysis.json` schema at same path with `Accept: application/json`
950 - [ ] **F-06**: RSS/Atom feeds for: releases, commits, issues opened (per repo)
951 - [ ] **F-07**: `robots.txt` + `sitemap.xml` generation for public repos
952 - [ ] **F-08**: JSON-LD structured data (`schema.org/MusicComposition`) on repo landing pages
953 - [ ] **F-09**: Pagination via `Link: rel=next/prev` headers on all list endpoints (RFC 8288)
954 - [ ] **F-10**: Cursor-based pagination option alongside offset (better for agents with large datasets)
955
956 ---
957
958 *Generated: 2026-03-01 | Version: 1.0 | Next review: after E-series issues are implemented*