@withpica/mcp-server 2.72.0 → 2.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +156 -0
  2. package/dist/index.js +0 -0
  3. package/dist/lib/changelog.generated.d.ts +2 -2
  4. package/dist/lib/changelog.generated.d.ts.map +1 -1
  5. package/dist/lib/changelog.generated.js +2 -2
  6. package/dist/lib/changelog.generated.js.map +1 -1
  7. package/dist/resources/agent-guide.d.ts +1 -1
  8. package/dist/resources/agent-guide.d.ts.map +1 -1
  9. package/dist/resources/agent-guide.js +1 -3
  10. package/dist/resources/agent-guide.js.map +1 -1
  11. package/dist/resources/index.d.ts.map +1 -1
  12. package/dist/resources/index.js.map +1 -1
  13. package/dist/resources/required-schemas.generated.d.ts +7 -3
  14. package/dist/resources/required-schemas.generated.d.ts.map +1 -1
  15. package/dist/resources/required-schemas.generated.js +12 -2
  16. package/dist/resources/required-schemas.generated.js.map +1 -1
  17. package/dist/resources/required-schemas.source.d.ts.map +1 -1
  18. package/dist/resources/required-schemas.source.js +7 -1
  19. package/dist/resources/required-schemas.source.js.map +1 -1
  20. package/dist/server-instructions.d.ts +2 -2
  21. package/dist/server-instructions.d.ts.map +1 -1
  22. package/dist/server-instructions.js +1 -1
  23. package/dist/skills/skills.generated.d.ts.map +1 -1
  24. package/dist/skills/skills.generated.js +13 -4
  25. package/dist/skills/skills.generated.js.map +1 -1
  26. package/dist/tools/audio-files.js +1 -1
  27. package/dist/tools/audio-files.js.map +1 -1
  28. package/dist/tools/bulk.d.ts +1 -0
  29. package/dist/tools/bulk.d.ts.map +1 -1
  30. package/dist/tools/bulk.js +81 -0
  31. package/dist/tools/bulk.js.map +1 -1
  32. package/dist/tools/credits.d.ts +11 -0
  33. package/dist/tools/credits.d.ts.map +1 -1
  34. package/dist/tools/credits.js +166 -0
  35. package/dist/tools/credits.js.map +1 -1
  36. package/dist/tools/dashboard.d.ts +6 -1
  37. package/dist/tools/dashboard.d.ts.map +1 -1
  38. package/dist/tools/dashboard.js +34 -31
  39. package/dist/tools/dashboard.js.map +1 -1
  40. package/dist/tools/discovery.d.ts +3 -3
  41. package/dist/tools/discovery.d.ts.map +1 -1
  42. package/dist/tools/discovery.js +13 -19
  43. package/dist/tools/discovery.js.map +1 -1
  44. package/dist/tools/duplicates.d.ts +11 -0
  45. package/dist/tools/duplicates.d.ts.map +1 -1
  46. package/dist/tools/duplicates.js +66 -2
  47. package/dist/tools/duplicates.js.map +1 -1
  48. package/dist/tools/explainability.d.ts.map +1 -1
  49. package/dist/tools/explainability.js +3 -1
  50. package/dist/tools/explainability.js.map +1 -1
  51. package/dist/tools/exports.d.ts.map +1 -1
  52. package/dist/tools/exports.js +23 -2
  53. package/dist/tools/exports.js.map +1 -1
  54. package/dist/tools/import.d.ts.map +1 -1
  55. package/dist/tools/import.js +5 -3
  56. package/dist/tools/import.js.map +1 -1
  57. package/dist/tools/index.d.ts +9 -0
  58. package/dist/tools/index.d.ts.map +1 -1
  59. package/dist/tools/index.js +9 -14
  60. package/dist/tools/index.js.map +1 -1
  61. package/dist/tools/labels.d.ts.map +1 -1
  62. package/dist/tools/labels.js +40 -2
  63. package/dist/tools/labels.js.map +1 -1
  64. package/dist/tools/metadata.js +37 -38
  65. package/dist/tools/metadata.js.map +1 -1
  66. package/dist/tools/my-reported-issues.d.ts +1 -1
  67. package/dist/tools/party-claims.d.ts +22 -0
  68. package/dist/tools/party-claims.d.ts.map +1 -0
  69. package/dist/tools/party-claims.js +133 -0
  70. package/dist/tools/party-claims.js.map +1 -0
  71. package/dist/tools/recording-custody.d.ts +7 -3
  72. package/dist/tools/recording-custody.d.ts.map +1 -1
  73. package/dist/tools/recording-custody.js +25 -9
  74. package/dist/tools/recording-custody.js.map +1 -1
  75. package/dist/tools/recordings.d.ts.map +1 -1
  76. package/dist/tools/recordings.js +9 -1
  77. package/dist/tools/recordings.js.map +1 -1
  78. package/dist/tools/recovery-hints.d.ts.map +1 -1
  79. package/dist/tools/recovery-hints.js +64 -22
  80. package/dist/tools/recovery-hints.js.map +1 -1
  81. package/dist/tools/releases.js +1 -1
  82. package/dist/tools/releases.js.map +1 -1
  83. package/dist/tools/uploads.d.ts.map +1 -1
  84. package/dist/tools/uploads.js +6 -5
  85. package/dist/tools/uploads.js.map +1 -1
  86. package/dist/tools/works.d.ts.map +1 -1
  87. package/dist/tools/works.js +26 -3
  88. package/dist/tools/works.js.map +1 -1
  89. package/package.json +1 -1
  90. package/server.json +2 -2
  91. package/.claude/settings.local.json +0 -5
  92. package/dist/tools/team.d.ts +0 -22
  93. package/dist/tools/team.d.ts.map +0 -1
  94. package/dist/tools/team.js +0 -169
  95. package/dist/tools/team.js.map +0 -1
@@ -18,6 +18,15 @@ export const SKILLS = {
18
18
  output: "Plain-language health summary (suitable for a non-technical stakeholder) + top 3 highest-impact improvements with specific steps + post-fix score estimate + any urgent issues.",
19
19
  body: "# catalog-audit\n\nAudit a music catalog for completeness, quality, and registration readiness. Use this when a user asks \"how's my catalog doing,\" \"what needs fixing,\" or wants a health check before a release / sync push / sale.\n\n## Step 1 — Orient\n\nCall `pica_dashboard_briefing` first. The briefing returns a single compressed snapshot of catalog state (counts, recent activity, upcoming deadlines, top priorities). This is the cheapest first call and sets the routing decision for everything that follows.\n\n## Step 2 — Pull the PICA Score\n\nCall `pica_works_inspect` with `sections: [\"score\"]` on a representative work, or read the `catalog://health` resource. The score is a 0-100 composite across four pillars (income, ownership, asset, verification). The pillar with the lowest score is the audit's primary subject.\n\nDo NOT speculate about how the score is calculated beyond what the tool returns. Treat it as a black box that reports a number and pillar breakdown.\n\n## Step 3 — Sample for quality\n\nCall `pica_works_query` with `health_filter: \"low_completeness\"` and pull up to 20 works. For a sample of those, call `pica_works_inspect` with `sections: [\"completeness\"]` to see per-work gaps.\n\nCommon patterns to look for (publishing side — writer credits on works):\n- Works with no credits at all\n- Works where writer splits don't total 100%\n- Works with no recordings\n- Recordings with no ISRC\n- People credited on works but missing IPI or ISNI\n\n**Recording-side / master-ownership health** (artist / producer / label splits) is a separate domain handled per-recording by `set-recording-splits` — not surfaced by the score pillars at present. If the user mentions producer points, label splits, or master royalties, flag that this audit doesn't cover them and point to `set-recording-splits` per-recording.\n\n## Step 4 — Duplicate sweep\n\nCall `pica_find_duplicates`. A clean catalog has zero or near-zero duplicate signals. High duplicate counts indicate an import that needs reconciliation before further work.\n\n## Step 5 — Report\n\nProduce three things, in this order:\n\n1. **One-paragraph plain-language summary.** Suitable for a non-technical stakeholder. Lead with \"your catalog has X works and is healthy / has gaps / needs attention\" — not raw numbers.\n2. **Top 3 improvements, prioritised by effort vs impact.** Each with the specific tool call that would address it (e.g. \"add IPI numbers to 12 writers — call `pica_people_query` filtered by `has_ipi: false`, then `pica_people_update` for each\").\n3. **Score forecast.** \"After those fixes, the score would likely rise from X to Y.\"\n\nIf urgent issues exist (e.g. missing ownership data on a work with active royalties, unverified works being licensed) flag them at the top.\n\n## What not to do\n\n- Don't run all sub-workflows at once. The audit is read-only — improvements are a separate user decision.\n- Don't recommend `pica_works_delete` or any destructive operation. The audit's job is to describe, not to mutate.\n- Don't quote raw `pica_works_query` results back at the user verbatim. Summarise.\n\n## Follow-on skills\n\nAfter the audit, the natural next skills are:\n- `register-my-works` if registration coverage is low\n- `prepare-for-sync` if sync-readiness is the user's goal\n- `close-the-loop` (prompt) if the user wants to fix specific works one at a time\n",
20
20
  },
21
+ "clean-up-artists": {
22
+ name: "clean-up-artists",
23
+ description: "Find and fix junk/placeholder artist records that have wrongly become the primary artist on many recordings — the \"unknown\" magnet pattern, YouTube \"X - Topic\" channel artists, and duplicate person rows. Diagnoses the mess, proposes a plain-language repoint plan, then fixes it safely with the bulk reassign tool.",
24
+ triggers: ["clean up my artists", "fix the unknown artist", "why are so many songs by \"unknown\"", "merge duplicate artists", "my recordings are on the wrong artist", "tidy up the people list"],
25
+ audience: "manager / label / artist",
26
+ tools_required: ["pica_people_query", "pica_recordings_query", "pica_recordings_bulk_reassign_artist", "pica_merge_duplicates", "pica_people_delete"],
27
+ output: "A plain-language summary of which artist records were junk, how many recordings each held, what each recording was repointed to (or cleared), and which junk records were retired. Nothing is changed without showing the plan first.",
28
+ body: "# clean-up-artists\n\nFix junk/placeholder **primary artists**. Use this when a user says \"why are 300 songs by 'unknown'\", \"my recordings are on the wrong artist\", or \"clean up the artist list.\"\n\nEvery recording has two artist fields: `primary_artist_id` (the structured link to a `people` row — the source of truth) and `artist_name` (the free-text display label). The bug class this skill fixes is a **junk `people` row that became the `primary_artist_id` for many recordings** — a \"magnet\" — even though each recording's own `artist_name` says who the real artist is.\n\nThe golden rule: **a recording's `primary_artist_id` should match its own `artist_name`, or be null.** This skill makes that true.\n\n## Step 1 — Find the junk magnets\n\nCall `pica_people_query` and look for person rows that are suspicious as artists:\n\n- a generic placeholder name: **\"unknown\"**, \"various artists\", \"n/a\", an untitled/UUID-shaped string;\n- a YouTube channel artefact: ends with **\" - Topic\"** or **\"VEVO\"**;\n- a near-duplicate of a real person (e.g. \"Fez\" and \"Féz\", or the same name twice) with **zero identifiers and zero credits**.\n\nFor each suspect, call `pica_recordings_query` (or inspect the person) to count how many recordings carry it as `primary_artist_id`. A junk row holding **many** recordings is a magnet — prioritise the biggest.\n\nDo NOT touch the legitimately auto-created artists: real names with real credits are correct, even if they were machine-created. Only the junk patterns above are in scope.\n\n## Step 2 — Build the repoint plan from each recording's own `artist_name`\n\nFor the recordings on a junk magnet, group them by their `artist_name`:\n\n- **Real name** (e.g. \"Bee Bakare\", \"Jules Rendell\"): resolve it to the matching real person via `pica_people_query` (exact, case-insensitive, on name or stage name). A single match → repoint there. For a \"X - Topic\" magnet, strip the \" - Topic\" suffix first, then resolve.\n- **Junk / empty / \"unknown\" name**: there is no real artist — the truthful state is **no link** (clear it to null).\n- **Ambiguous** (no match, or more than one match): leave it null rather than guess. Never invent a link.\n\nPresent this plan in plain language before changing anything, e.g.:\n\n> The \"unknown\" artist holds 304 recordings. 279 of them are genuinely unknown (I'll clear those). 25 name a real artist already in your catalog — I'll move 9 to Bee Bakare, 6 to Jules Rendell, 5 to G W C, 2 to Pyramid Park, 2 to Féz, 1 to Ryan Ofei. Then I'll retire the empty \"unknown\" record. OK?\n\n## Step 3 — Preview, then execute the repoints\n\nUse `pica_recordings_bulk_reassign_artist` — one atomic call per target, under normal write scope (no destructive permission needed; it only changes the link, never the label).\n\nFor each real-artist group, pass the explicit `recording_ids` and the resolved `to_person_id`. For the genuinely-unknown remainder, drain the rest off the magnet with `from_person_id: <magnet id>` and `to_person_id: null`.\n\nAlways run with `dry_run: true` first and confirm the `would_affect` count matches your plan, then run for real. When you drain a magnet with `from_person_id`, the response includes `source_now_empty` — that tells you the junk row is safe to retire.\n\n## Step 4 — Retire the emptied junk records\n\nOnce `source_now_empty` is true (no recordings reference it):\n\n- If the junk row is a **duplicate of a real person** (\"Féz\" → \"Fez\", \"Manor Collective - Topic\" → \"Manor Collective\"), prefer `pica_merge_duplicates` to fold it into the canonical person — that preserves any stray references.\n- If it is a pure placeholder with nothing worth keeping (\"unknown\", a UUID name), use `pica_people_delete` to remove it.\n\nNever delete a person that still has recordings, credits, or identifiers — repoint first, retire second.\n\n## Step 5 — Report\n\nSummarise plainly: which junk records were found and how big each was, what each recording was repointed to (or cleared), and which records were retired. End with the healthy state (\"0 recordings now sit on a junk artist\").\n\n## Guardrails\n\n- **Show the plan before acting.** This is a bulk change to identity data — the user confirms Step 2's plan before any write.\n- **Never guess a link.** Ambiguous names get null, not a best-guess person.\n- **The label is not the link.** This skill changes `primary_artist_id`; it leaves `artist_name` alone. If a label is also wrong, that's a separate per-recording edit.\n- The resolver guard already prevents NEW junk artists from being minted, so this should be a one-time cleanup, not a recurring chore.\n",
29
+ },
21
30
  "close-the-loop": {
22
31
  name: "close-the-loop",
23
32
  description: "Walk through a single work's gaps one at a time, offering the specific tool call to fix each. The compounding daily-use skill — pair with catalog-audit (which finds gap-heavy works) to fix them.",
@@ -43,7 +52,7 @@ export const SKILLS = {
43
52
  audience: "any agent connecting to PICA via MCP, especially on the first message of a session",
44
53
  tools_required: ["pica_get_agent_activity", "pica_dashboard_briefing", "pica_dashboard_attention", "pica_skill_list", "pica_report_issue"],
45
54
  output: "One line on who's acting for the user, then the few things most needing attention from the briefing, then one calibrated offer — the most worthwhile next move and the specialist skill behind it — leaving the user to choose.",
46
- body: "# first-session\n\nThe user just arrived — \"morning\", \"what should I do\", \"open my workspace\", or a quiet first message that names no task. They don't yet know what's waiting for them. Get them oriented fast and hand them one clear next move.\n\nThis skill finds what matters and offers it. It does NOT do the work — no auditing credits, registering a work, or preparing for sync here. It surfaces the most worthwhile next move and names the specialist skill behind it; the user decides where to start. This is the map, not the journey.\n\nRun it when the first message is an orientation phrase (\"morning\", \"where do I start\", \"what should I do\", \"open my workspace\") — not when the user names a single concrete action like \"register work X\" or \"log yesterday's session\". A task-specific prompt skips orientation; go straight to the work.\n\nWhere `set-up-workspace` helps a user configure a new account, `first-session` helps them re-enter an existing one and pick up where the catalog needs them.\n\nFive quick beats, none of them a wall of text: who's acting for the user, the standing reporting-discipline note, load what needs attention, rank and offer the top move, and a clean sweep at close-out.\n\n## Phase 1 — Who's at the keyboard\n\nBefore any work, make sure the user knows who's acting for them. Call `pica_get_agent_activity` once and read the auth shape:\n\n- **Working through a named agent** (`pica_grant_*` token):\n > _\"you're working through [label] here — it can [scope summary], last active [Y].\"_\n- **Acting directly** (cookie or API key):\n > _\"you're acting as yourself directly. if you'd ever want to hand specific work to a named agent, you can set one up from the web — just say the word.\"_\n\n (agent note: the path is `pica_create_agent_identity`, session-auth only, from the web.)\n- **Through a connector** (OAuth client, identified by `client_name`):\n > _\"you're connected through [client_name].\"_\n\nOne line, warm, no résumé. The point is trust — the user knows whose hands are on the catalog before anything moves.\n\n## Phase 2 — Reporting-discipline opening note\n\nOne standing paragraph, read at the top of every first session:\n\n> Throughout this session, if a tool errors, returns inconsistent data, or you cannot find an affordance you expect — file via `pica_report_issue`. The team treats agent-filed issues as P0 signal and dedupes by signature. Worth filing: tool errors with stable repro, schema gaps (e.g. _\"no first-class studio field on recordings\"_), missing skills, surprising defaults. Include request IDs where available.\n\nThis sets the contract early. The agent doing the work is the user reporting the gap — surface that loop at the start, not at the end.\n\n## Phase 3 — Load what needs attention\n\nTwo reads, in order:\n\n1. `pica_dashboard_briefing` — the headline counts, what's critical, recent activity, the top things needing attention\n2. `pica_dashboard_attention` — the actual rows behind those counts, with entity IDs to drill into\n\nThat's the whole default load. Don't call `pica_count_explain` unless a number looks surprising — it's a drill-down, not a default. If the briefing comes back empty (fresh org, no works or people yet), skip ranking and route straight to `set-up-workspace`.\n\n## Phase 4 — Rank, then offer one move\n\nMatch the live briefing against the routing map and rank by how much the user gets for the effort — usually `count × value`. 1,200 works missing credits outranks 3 pending statements on volume alone; but one large royalty cheque waiting to be reconciled can outrank a long tail of small gaps. Use judgement, and say why in a clause.\n\n| What the briefing shows | Specialist skill |\n| ------------------------------------------- | -------------------------- |\n| Works without credits | `audit-credits` |\n| Audio pending analysis | `prepare-for-sync` |\n| Unenriched or unverified writers | `close-the-loop` |\n| Works without registrations | `register-my-works` |\n| Recordings without splits | `set-recording-splits` |\n| Pending PRO statement to reconcile | `reconcile-pro-statement` |\n| Unregistered co-write in a recent source | `register-co-write` |\n| Session to log or pre-stage | `log-a-session` |\n| Sync brief to match | `match-sync-brief` |\n| Unconnected collaborators or stale contacts | _deferred — separate spec_ |\n| AI-disclosure or provenance gaps | _deferred — separate spec_ |\n\nSome of these composition skills (`reconcile-pro-statement`, `register-co-write`, `match-sync-brief`) ship in sequence and may not be live yet — call `pica_skill_list` once after Phase 3 to see which are.\n\nThen surface the top few and offer the lead — one calibrated question, with room for the user's own priority:\n\n> _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_\n\nName the skill, make the offer, and stop. Don't start the specialist skill yourself — the user picks the next move.\n\nIf the lead move needs a skill that isn't live yet, surface it anyway with the manual path:\n\n> _\"that one's on its way — for now the manual path is [one-line workflow]. want me to walk you through it, or move to [next priority]?\"_\n\nNever skip a priority silently just because its skill hasn't shipped — naming it shows the user where things are heading.\n\n## Phase 5 — Close-out sweep\n\nWhen the user signals they're done (\"that's it for today\", \"I'm done\", \"good night\"), ask once before wrapping:\n\n> _\"anything today that felt broken or caught you off guard? happy to flag it for the team while it's fresh — or we can leave it.\"_\n\nFile anything they raise via `pica_report_issue` with request IDs and the call shape. This bookends Phase 2: the contract you set at the start becomes one deliberate check at the end.\n\n## What not to do\n\n- Don't run the phases as one wall of text — Phase 1 is a line, Phase 3 is two calls, Phase 4 is one offer.\n- Don't start the specialist skill after Phase 4 — name it, offer it, wait.\n- Don't call `pica_count_explain` by default — only when a number looks off.\n- Don't offer a skill that isn't in `pica_skill_list` yet without the manual-path line — silent skips hide where the product is heading.\n- Don't speak in system terms (\"attention queue\", \"issue-class\", \"priority by class\") — say what the user would say (\"the things needing your attention\").\n\n## Follow-on skills\n\nOrder depends on the top-ranked priority:\n\n- `audit-credits` — when \"works without credits\" tops the list\n- `prepare-for-sync` — when \"audio pending analysis\" tops the list\n- `close-the-loop` — when \"unenriched or unverified writers\" or per-work cleanup tops the list\n- `register-my-works` — when \"works without registrations\" tops the list\n- `set-recording-splits` — when \"recordings without splits\" tops the list\n- `set-up-workspace` — when the briefing is empty (fresh org, no catalog yet)\n- composition skills (`reconcile-pro-statement`, `register-co-write`, `log-a-session`, `match-sync-brief`) — as they ship; check `pica_skill_list` first\n",
55
+ body: "# first-session\n\nThe user just arrived — \"morning\", \"what should I do\", \"open my workspace\", or a quiet first message that names no task. They don't yet know what's waiting for them. Get them oriented fast and hand them one clear next move.\n\nThis skill finds what matters and offers it. It does NOT do the work — no auditing credits, registering a work, or preparing for sync here. It surfaces the most worthwhile next move and names the specialist skill behind it; the user decides where to start. This is the map, not the journey.\n\nRun it when the first message is an orientation phrase (\"morning\", \"where do I start\", \"what should I do\", \"open my workspace\") — not when the user names a single concrete action like \"register work X\" or \"log yesterday's session\". A task-specific prompt skips orientation; go straight to the work.\n\nWhere `set-up-workspace` helps a user configure a new account, `first-session` helps them re-enter an existing one and pick up where the catalog needs them.\n\nFive quick beats, none of them a wall of text: who's acting for the user, the standing reporting-discipline note, load what needs attention, rank and offer the top move, and a clean sweep at close-out.\n\n## Phase 1 — Who's at the keyboard\n\nBefore any work, make sure the user knows who's acting for them. Call `pica_get_agent_activity` once and read the auth shape:\n\n- **Working through a named agent** (`pica_grant_*` token):\n > _\"you're working through [label] here — it can [scope summary], last active [Y].\"_\n- **Acting directly** (cookie or API key):\n > _\"you're acting as yourself directly. if you'd ever want to hand specific work to a named agent, you can set one up from the web — just say the word.\"_\n\n (agent note: the path is `pica_create_agent_identity`, session-auth only, from the web.)\n- **Through a connector** (OAuth client, identified by `client_name`):\n > _\"you're connected through [client_name].\"_\n\nOne line, warm, no résumé. The point is trust — the user knows whose hands are on the catalog before anything moves.\n\n## Phase 2 — Reporting-discipline opening note\n\nOne standing paragraph, read at the top of every first session:\n\n> Throughout this session, if a tool errors, returns inconsistent data, or you cannot find an affordance you expect — file via `pica_report_issue`. The team treats agent-filed issues as P0 signal and dedupes by signature. Worth filing: tool errors with stable repro, schema gaps (e.g. _\"no first-class studio field on recordings\"_), missing skills, surprising defaults. Include request IDs where available.\n\nThis sets the contract early. The agent doing the work is the user reporting the gap — surface that loop at the start, not at the end.\n\n## Phase 3 — Load what needs attention\n\nTwo reads, in order:\n\n1. `pica_dashboard_briefing` — the headline counts, what's critical, recent activity, the top things needing attention\n2. `pica_dashboard_attention` — the actual rows behind those counts, with entity IDs to drill into\n\nThat's the whole default load. Don't call `pica_count_explain` unless a number looks surprising — it's a drill-down, not a default. If the briefing comes back empty (fresh org, no works or people yet), skip ranking and route straight to `set-up-workspace`.\n\n## Phase 4 — Rank, then offer one move\n\nMatch the live briefing against the routing map and rank by how much the user gets for the effort — usually `count × value`. 1,200 works missing credits outranks 3 pending statements on volume alone; but one large royalty cheque waiting to be reconciled can outrank a long tail of small gaps. Use judgement, and say why in a clause.\n\n| What the briefing shows | Specialist skill |\n| ------------------------------------------- | -------------------------- |\n| Works without credits | `audit-credits` |\n| Audio pending analysis | `prepare-for-sync` |\n| Unenriched or unverified writers | `close-the-loop` |\n| Works without registrations | `register-my-works` |\n| Recordings without splits | `set-recording-splits` |\n| Pending PRO statement to reconcile | `reconcile-pro-statement` |\n| Unregistered co-write in a recent source | `register-co-write` |\n| Session to log or pre-stage | `log-a-session` |\n| Sync brief to match | `match-sync-brief` |\n| Unconnected collaborators or stale contacts | _deferred — separate spec_ |\n| AI-disclosure or provenance gaps | _deferred — separate spec_ |\n\nSome of these composition skills (`reconcile-pro-statement`, `register-co-write`, `match-sync-brief`) ship in sequence and may not be live yet — call `pica_skill_list` once after Phase 3 to see which are.\n\nThen surface the top few and offer the lead — one calibrated question, with room for the user's own priority:\n\n> _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_\n\nName the skill, make the offer, and stop. Don't start the specialist skill yourself — the user picks the next move.\n\nIf the lead move needs a skill that isn't live yet, surface it anyway with the manual path:\n\n> _\"that one's on its way — for now the manual path is [one-line workflow]. want me to walk you through it, or move to [next priority]?\"_\n\nNever skip a priority silently just because its skill hasn't shipped — naming it shows the user where things are heading.\n\n## Phase 5 — Close-out sweep\n\nWhen the user signals they're done (\"that's it for today\", \"I'm done\", \"good night\"), ask once before wrapping:\n\n> _\"anything today that felt broken or caught you off guard? happy to flag it for the team while it's fresh — or we can leave it.\"_\n\nFile anything they raise via `pica_report_issue` with request IDs and the call shape. This bookends Phase 2: the contract you set at the start becomes one deliberate check at the end.\n\n## Asking the user — the question library\n\nEvery question this skill (or any specialist skill it routes to) puts to the user follows the same grammar. These patterns are the distilled subset of PICA's voice contract; they apply even where a tool output carries no `decision` block.\n\n- **Open over closed.** Decision points open with how/what — _\"what would you like to happen to the older copy?\"_ — never a bare yes/no over something the user can't recognise.\n- **Label a diagnosis before delivering it.** _\"it seems like these two entries are the same song — one came in from Spotify, one from your upload.\"_ The label invites correction; a flat assertion invites defensiveness.\n- **No-oriented safety on destructive moves.** _\"would it be wrong to fold these two copies together? nothing is deleted — the older one's history moves across.\"_ \"No\" must be a safe, complete answer.\n- **Options carry consequences.** Never name a choice without saying what happens: _\"keep both (they'll stay listed separately), or fold them together (one entry, both histories).\"_ At most three options; always name the safe default.\n- **Stakes only on verified facts.** A confirmed problem may state plainly what it costs the user — and cites what was checked and when. An unchecked gap stays curious — _\"we don't know yet whether this one's registered — want us to check?\"_ — never fear. If PICA hasn't verified it, don't claim it.\n- **The user's words, never the system's.** Titles and human facts (\"the one from the march upload\"), never identifiers, table names, or status enums.\n\nWorked examples:\n\n| Moment | Ask it like this |\n| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Two copies of the same song | _\"these two look like the same recording — one from Spotify, one from your upload. would it be wrong to fold them into one? nothing is deleted; the upload's history moves across.\"_ |\n| Unchecked registration gap | _\"we haven't checked whether this song is registered anywhere — want us to look it up with the MLC?\"_ |\n| Confirmed missing registration | _\"this song is earning but its registration is confirmed missing — we checked the MLC on the date shown. registering it is how those royalties get claimed. want to start there?\"_ |\n| Offering the ranked lead (Phase 4) | _\"here's what's stacking up: [a] ([n] of them), then [b] and [c]. [a] looks most worth your time — [why in a clause]. want me to start there, or is something else on your mind?\"_ |\n\n## What not to do\n\n- Don't run the phases as one wall of text — Phase 1 is a line, Phase 3 is two calls, Phase 4 is one offer.\n- Don't start the specialist skill after Phase 4 — name it, offer it, wait.\n- Don't call `pica_count_explain` by default — only when a number looks off.\n- Don't offer a skill that isn't in `pica_skill_list` yet without the manual-path line — silent skips hide where the product is heading.\n- Don't speak in system terms (\"attention queue\", \"issue-class\", \"priority by class\") — say what the user would say (\"the things needing your attention\").\n- Don't ask a bare yes/no over something the user can't recognise — use the question library above.\n\n## Follow-on skills\n\nOrder depends on the top-ranked priority:\n\n- `audit-credits` — when \"works without credits\" tops the list\n- `prepare-for-sync` — when \"audio pending analysis\" tops the list\n- `close-the-loop` — when \"unenriched or unverified writers\" or per-work cleanup tops the list\n- `register-my-works` — when \"works without registrations\" tops the list\n- `set-recording-splits` — when \"recordings without splits\" tops the list\n- `set-up-workspace` — when the briefing is empty (fresh org, no catalog yet)\n- composition skills (`reconcile-pro-statement`, `register-co-write`, `log-a-session`, `match-sync-brief`) — as they ship; check `pica_skill_list` first\n",
47
56
  },
48
57
  "log-a-session": {
49
58
  name: "log-a-session",
@@ -86,10 +95,10 @@ export const SKILLS = {
86
95
  description: "Guide a new (or returning) user through PICA workspace setup — org profile, user identity (IPI/ISNI), privacy settings, storage configuration, billing, and team. Routes through 6 setup blocks in order of compound value, skipping the ones already done.",
87
96
  triggers: ["set up my workspace", "configure my workspace", "what settings do I need", "I just signed up — what should I do first", "set my identifiers", "complete my onboarding", "finish setting up"],
88
97
  audience: "new user / returning user reconfiguring / admin onboarding a team",
89
- tools_required: ["pica_organisation_profile", "pica_user_profile", "pica_update_organisation_profile", "pica_update_my_identity", "pica_get_privacy_settings", "pica_storage_status", "pica_storage_configure_start", "pica_subscription_status", "pica_team_list", "pica_team_invite", "pica_acknowledge_onboarding"],
98
+ tools_required: ["pica_organisation_profile", "pica_user_profile", "pica_update_organisation_profile", "pica_update_my_identity", "pica_get_privacy_settings", "pica_storage_status", "pica_storage_configure_start", "pica_subscription_status", "pica_acknowledge_onboarding"],
90
99
  output: "A 6-block setup walkthrough — each block returns \"already done\", \"missing\", or \"ready to do now\" with the specific tool call that completes it. Ends with a one-line summary of what's left and a call to pica_acknowledge_onboarding when the user is satisfied.",
91
- body: "# set-up-workspace\n\nHelp the user get their workspace properly configured. This skill is for the moment right after signup, and for returning users who want to fill gaps they skipped. It is NOT for importing music — that's `new-catalog-setup` (catalog content) or the import tools. This skill is purely about **settings, identifiers, and infrastructure**.\n\nSetup is high-value but low-glamour. Every block has a concrete payoff:\n\n- **No org identifiers** → registrations and exports will be missing critical metadata\n- **No user IPI** → if you write songs, your PRO can't pay you what your catalog earns\n- **No storage configured** → uploads land on PICA's bucket; for BYOC orgs that's a billing surprise\n- **No team invited** → if you're managing a roster, every collaborator is doing duplicate work\n\nPICA does NOT manage external service integrations (Gmail, Drive, Notion, etc.) — those live in the user's AI client (Claude Desktop, Cursor, ChatGPT). The cross-MCP composition workflow is a separate skill (`enrich-from-peer-mcps`) — surface it after setup if the user mentions they use other tools alongside PICA.\n\nThe skill walks 6 blocks in order of compound value. Each block has the same shape: **read current state → describe gap → offer the specific tool call**. Skip blocks where state is already complete.\n\n## Pre-flight\n\nCall `pica_organisation_profile` and `pica_user_profile` first. These two reads give you the orientation for everything that follows — what type of org this is, what role the user plays, what's already set.\n\nIf `pica_organisation_profile` indicates this org was created today (or the user's profile shows no identifiers), assume fresh-signup mode and go through all blocks in order. If the user says \"I want to update my settings\" assume returning-user mode and ask which block matters.\n\n## Block 1 — Org profile\n\nThe organisation's own metadata: legal name, country, business type (publisher / label / artist / management / sync agency / etc), contact, registered office.\n\nWhat to check from `pica_organisation_profile`:\n- Is `name` set to something other than the auto-generated default?\n- Is `country` set? (drives default territory on registrations and exports)\n- Is `business_type` set? (drives which tools are most relevant — e.g. publishers care more about IPI, labels care more about ISRC)\n- For publishers: is the publisher IPI set?\n- For labels: is the label proprietary number set?\n\nIf gaps, offer the specific update via `pica_update_organisation_profile`. Always show the user what you're about to change and ask before writing.\n\n## Block 2 — User identity (IPI / ISNI)\n\nThe connected user's own identifiers as a creator. This is where royalty leak happens — a songwriter without an IPI on their PICA profile will have works registered without the writer-side identifier, which means the PRO can't route royalties to them.\n\nWhat to check from `pica_user_profile`:\n- Is the user named correctly (legal name for registrations, plus any pseudonyms / stage names)\n- Is the user's IPI set?\n- Is the user's ISNI set?\n- Is the user's role/business posture set (writer / producer / artist / publisher rep / etc)\n\nIf missing identifiers and the user doesn't know their IPI:\n- For writers: it comes from their PRO (PRS, ASCAP, BMI, SACEM, etc) — they have it in their PRO portal\n- If they're not a PRO member yet, this block is also a flag to start that process (out of scope — but mention it)\n\nOffer the update via `pica_update_my_identity`. Treat IPI / ISNI as plain strings — the tool validates format.\n\n## Block 3 — Privacy & sharing defaults\n\nCall `pica_get_privacy_settings`. This controls what other PICA users see about the org's catalog by default. Common gotcha: the default is conservative — if the user expects their catalog to appear in PICA's public directory, this block is what turns it on.\n\nWhat to check:\n- Directory visibility — is the org opted into the public directory?\n- Sharing defaults — do new works inherit private or public defaults?\n- Email contact preferences — who can reach the user through PICA\n\nIf the user is a sync-pitch operation or wants their catalog discoverable, surface the directory opt-in clearly. If the user is a high-privacy operation (sale prep, M&A, working with sensitive sync briefs), reinforce the conservative default.\n\n## Block 4 — Storage configuration\n\nCall `pica_storage_status`. PICA supports BYOC storage (bring-your-own-cloud) — the user can wire their own S3/R2/GCS bucket so audio + multimedia live in infrastructure they control.\n\nThree states:\n- **Default (PICA-managed)** — fine for trial and small catalogs. Mention BYOC as an upgrade path for users with compliance needs or existing buckets.\n- **Configuring** — the user is partway through `pica_storage_configure_start` and hasn't completed credential setup. Offer to walk through the remaining steps.\n- **Connected** — confirmed working. Mention the disconnect tool exists if they need it.\n\nIf the user has compliance constraints, sensitive content, or a large existing audio library, call out BYOC as worth doing now (before upload). Cheaper to wire correctly than to migrate later.\n\n## Block 5 — Billing & team\n\nCall `pica_subscription_status` and `pica_team_list`.\n\nBilling:\n- If `billing_state` is `trial` with >3 days remaining, no action needed\n- If trial is ending (≤3 days) or already ended, surface `pica_subscription_manage` to mint a checkout URL\n- If active, confirm the tier matches the user's expected usage\n\nTeam:\n- If `pica_team_list` shows only the connected user, ask whether others need access (co-writers, manager, admin support, legal counsel)\n- For each new teammate, use `pica_team_invite` with the right role\n- Distinct from `pica_collaborators_invite` which is for **external** collaborators on specific works (writers, producers) — team is for **PICA-account access**\n\n## Block 6 — Acknowledge & close out\n\nWhen the user is satisfied with setup (whether they completed every block or deliberately skipped some), call `pica_acknowledge_onboarding`. This dismisses the onboarding nudges in the UI so they don't keep getting reminded.\n\nThen summarise:\n- What was set this session (3-5 line bullet list)\n- What's intentionally left for later (e.g. \"you'll add your IPI once your PRO registration finalises\")\n- The natural next step — probably `new-catalog-setup` if no catalog yet, or `catalog-audit` if catalog exists\n\n## What not to do\n\n- Don't run all 6 blocks in one giant message. Walk through them. Each block is a check + an offer; the user agrees or declines per block.\n- Don't change settings without showing the user what's about to change and asking confirmation\n- Don't push BYOC storage or paid tiers if the user hasn't asked — surface them, don't sell them\n- Don't speculate about which PRO the user should join — that's a business decision outside this skill\n- Don't try to set IPI/ISNI values you've guessed. If the user doesn't know, leave the field empty and explain where to look\n- Don't try to \"connect Gmail to PICA\" or similar — PICA doesn't manage peer-service integrations. The user wires Gmail/Drive/etc. into their AI client separately; PICA's role is to consume the resulting URIs during enrichment (see `enrich-from-peer-mcps`).\n\n## Follow-on skills\n\n- `new-catalog-setup` (prompt) — if the catalog is empty, this is the natural next move\n- `catalog-audit` — if there's already a catalog, audit it now that identifiers are in place\n- `register-my-works` — once identifiers are set, registration coverage tends to be the next thing the user wants to fix\n- `enrich-from-peer-mcps` (Stage 2) — if the user mentions they have other MCPs connected (Gmail, Drive, etc.), this is the cross-MCP workflow that consumes them\n",
100
+ body: "# set-up-workspace\n\nHelp the user get their workspace properly configured. This skill is for the moment right after signup, and for returning users who want to fill gaps they skipped. It is NOT for importing music — that's `new-catalog-setup` (catalog content) or the import tools. This skill is purely about **settings, identifiers, and infrastructure**.\n\nSetup is high-value but low-glamour. Every block has a concrete payoff:\n\n- **No org identifiers** → registrations and exports will be missing critical metadata\n- **No user IPI** → if you write songs, your PRO can't pay you what your catalog earns\n- **No storage configured** → uploads land on PICA's bucket; for BYOC orgs that's a billing surprise\n- **No team invited** → if you're managing a roster, every collaborator is doing duplicate work (team invites are managed by a human in /settings — see Block 5)\n\nPICA does NOT manage external service integrations (Gmail, Drive, Notion, etc.) — those live in the user's AI client (Claude Desktop, Cursor, ChatGPT). The cross-MCP composition workflow is a separate skill (`enrich-from-peer-mcps`) — surface it after setup if the user mentions they use other tools alongside PICA.\n\nThe skill walks 6 blocks in order of compound value. Each block has the same shape: **read current state → describe gap → offer the specific tool call**. Skip blocks where state is already complete.\n\n## Pre-flight\n\nCall `pica_organisation_profile` and `pica_user_profile` first. These two reads give you the orientation for everything that follows — what type of org this is, what role the user plays, what's already set.\n\nIf `pica_organisation_profile` indicates this org was created today (or the user's profile shows no identifiers), assume fresh-signup mode and go through all blocks in order. If the user says \"I want to update my settings\" assume returning-user mode and ask which block matters.\n\n## Block 1 — Org profile\n\nThe organisation's own metadata: legal name, country, business type (publisher / label / artist / management / sync agency / etc), contact, registered office.\n\nWhat to check from `pica_organisation_profile`:\n- Is `name` set to something other than the auto-generated default?\n- Is `country` set? (drives default territory on registrations and exports)\n- Is `business_type` set? (drives which tools are most relevant — e.g. publishers care more about IPI, labels care more about ISRC)\n- For publishers: is the publisher IPI set?\n- For labels: is the label proprietary number set?\n\nIf gaps, offer the specific update via `pica_update_organisation_profile`. Always show the user what you're about to change and ask before writing.\n\n## Block 2 — User identity (IPI / ISNI)\n\nThe connected user's own identifiers as a creator. This is where royalty leak happens — a songwriter without an IPI on their PICA profile will have works registered without the writer-side identifier, which means the PRO can't route royalties to them.\n\nWhat to check from `pica_user_profile`:\n- Is the user named correctly (legal name for registrations, plus any pseudonyms / stage names)\n- Is the user's IPI set?\n- Is the user's ISNI set?\n- Is the user's role/business posture set (writer / producer / artist / publisher rep / etc)\n\nIf missing identifiers and the user doesn't know their IPI:\n- For writers: it comes from their PRO (PRS, ASCAP, BMI, SACEM, etc) — they have it in their PRO portal\n- If they're not a PRO member yet, this block is also a flag to start that process (out of scope — but mention it)\n\nOffer the update via `pica_update_my_identity`. Treat IPI / ISNI as plain strings — the tool validates format.\n\n## Block 3 — Privacy & sharing defaults\n\nCall `pica_get_privacy_settings`. This controls what other PICA users see about the org's catalog by default. Common gotcha: the default is conservative — if the user expects their catalog to appear in PICA's public directory, this block is what turns it on.\n\nWhat to check:\n- Directory visibility — is the org opted into the public directory?\n- Sharing defaults — do new works inherit private or public defaults?\n- Email contact preferences — who can reach the user through PICA\n\nIf the user is a sync-pitch operation or wants their catalog discoverable, surface the directory opt-in clearly. If the user is a high-privacy operation (sale prep, M&A, working with sensitive sync briefs), reinforce the conservative default.\n\n## Block 4 — Storage configuration\n\nCall `pica_storage_status`. PICA supports BYOC storage (bring-your-own-cloud) — the user can wire their own S3/R2/GCS bucket so audio + multimedia live in infrastructure they control.\n\nThree states:\n- **Default (PICA-managed)** — fine for trial and small catalogs. Mention BYOC as an upgrade path for users with compliance needs or existing buckets.\n- **Configuring** — the user is partway through `pica_storage_configure_start` and hasn't completed credential setup. Offer to walk through the remaining steps.\n- **Connected** — confirmed working. Mention the disconnect tool exists if they need it.\n\nIf the user has compliance constraints, sensitive content, or a large existing audio library, call out BYOC as worth doing now (before upload). Cheaper to wire correctly than to migrate later.\n\n## Block 5 — Billing & team\n\nCall `pica_subscription_status`.\n\nBilling:\n- If `billing_state` is `trial` with >3 days remaining, no action needed\n- If trial is ending (≤3 days) or already ended, surface `pica_subscription_manage` to mint a checkout URL\n- If active, confirm the tier matches the user's expected usage\n\nTeam:\n- Team membership is human-only by design (ADR-248) there are no MCP tools for it. If the user is managing a roster, point them at the team section of https://withpica.com/settings to invite teammates and manage roles themselves\n- Distinct from `pica_collaborators_invite` which is for **external** collaborators on specific works (writers, producers) — team is for **PICA-account access**\n\n## Block 6 — Acknowledge & close out\n\nWhen the user is satisfied with setup (whether they completed every block or deliberately skipped some), call `pica_acknowledge_onboarding`. This dismisses the onboarding nudges in the UI so they don't keep getting reminded.\n\nThen summarise:\n- What was set this session (3-5 line bullet list)\n- What's intentionally left for later (e.g. \"you'll add your IPI once your PRO registration finalises\")\n- The natural next step — probably `new-catalog-setup` if no catalog yet, or `catalog-audit` if catalog exists\n\n## What not to do\n\n- Don't run all 6 blocks in one giant message. Walk through them. Each block is a check + an offer; the user agrees or declines per block.\n- Don't change settings without showing the user what's about to change and asking confirmation\n- Don't push BYOC storage or paid tiers if the user hasn't asked — surface them, don't sell them\n- Don't speculate about which PRO the user should join — that's a business decision outside this skill\n- Don't try to set IPI/ISNI values you've guessed. If the user doesn't know, leave the field empty and explain where to look\n- Don't try to \"connect Gmail to PICA\" or similar — PICA doesn't manage peer-service integrations. The user wires Gmail/Drive/etc. into their AI client separately; PICA's role is to consume the resulting URIs during enrichment (see `enrich-from-peer-mcps`).\n\n## Follow-on skills\n\n- `new-catalog-setup` (prompt) — if the catalog is empty, this is the natural next move\n- `catalog-audit` — if there's already a catalog, audit it now that identifiers are in place\n- `register-my-works` — once identifiers are set, registration coverage tends to be the next thing the user wants to fix\n- `enrich-from-peer-mcps` (Stage 2) — if the user mentions they have other MCPs connected (Gmail, Drive, etc.), this is the cross-MCP workflow that consumes them\n",
92
101
  },
93
102
  };
94
- export const SKILL_NAMES = ["audit-credits", "catalog-audit", "close-the-loop", "enrich-from-peer-mcps", "first-session", "log-a-session", "prepare-for-sync", "register-my-works", "set-recording-splits", "set-up-workspace"];
103
+ export const SKILL_NAMES = ["audit-credits", "catalog-audit", "clean-up-artists", "close-the-loop", "enrich-from-peer-mcps", "first-session", "log-a-session", "prepare-for-sync", "register-my-works", "set-recording-splits", "set-up-workspace"];
95
104
  //# sourceMappingURL=skills.generated.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"skills.generated.js","sourceRoot":"","sources":["../../src/skills/skills.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AA2B7D,MAAM,CAAC,MAAM,MAAM,GAA0B;IAC3C,eAAe,EAAE;QACf,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,4WAA4W;QACzX,QAAQ,EAAE,CAAC,kBAAkB,EAAC,iBAAiB,EAAC,kBAAkB,EAAC,uCAAuC,EAAC,qBAAqB,CAAC;QACjI,QAAQ,EAAE,6BAA6B;QACvC,cAAc,EAAE,CAAC,kBAAkB,EAAC,mBAAmB,EAAC,mBAAmB,EAAC,qBAAqB,CAAC;QAClG,MAAM,EAAE,4NAA4N;QACpO,IAA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AmB,EAAC,2BAA2B,EAAC,2BAA2B,EAAC,uBAAuB,CAAC;QACxO,MAAM,EAAE,mIAAmI;QAC3I,IAAI,EAAE,i5HAAi5H;KACx5H;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE,kBAAkB;QACxB,WAAW,EAAE,6PAA6P;QAC1Q,QAAQ,EAAE,CAAC,qBAAqB,EAAC,wBAAwB,EAAC,yBAAyB,EAAC,2CAA2C,EAAC,oBAAoB,EAAC,wBAAwB,EAAC,mBAAmB,CAAC;QAClM,QAAQ,EAAE,mEAAmE;QAC7E,cAAc,EAAE,CAAC,2BAA2B,EAAC,mBAAmB,EAAC,kCAAkC,EAAC,yBAAyB,EAAC,2BAA2B,EAAC,qBAAqB,EAAC,8BAA8B,EAAC,0BAA0B,EAAC,6BAA6B,CAAC;QACxQ,MAAM,EAAE,yQAAyQ;QACjR,IAAI,EAAE,quPAAquP;KAC5uP;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B,CAAC,eAAe,EAAC,eAAe,EAAC,kBAAkB,EAAC,gBAAgB,EAAC,uBAAuB,EAAC,eAAe,EAAC,eAAe,EAAC,kBAAkB,EAAC,mBAAmB,EAAC,sBAAsB,EAAC,kBAAkB,CAAC,CAAC"}
@@ -125,7 +125,7 @@ export class AudioFilesTools {
125
125
  description: "Generate a signed URL for uploading an audio file directly to storage. Returns an upload URL and upload ID. After uploading the file via HTTP PUT to the returned URL, call pica_audio_complete_upload to finalize. Supported formats: WAV, MP3, FLAC, AIFF, OGG, WebM. Max size: 800MB. " +
126
126
  "→ then: pica_audio_complete_upload (finalize upload), pica_audio_analyze (extract BPM, key, mood). " +
127
127
  "TIP: if you are in ChatGPT or another external client, users cannot upload audio " +
128
- "through the chat. Direct them to https://withpica.com/workspace where they can " +
128
+ "through the chat. Direct them to https://withpica.com/inspect where they can " +
129
129
  "drag and drop audio files (it auto-detects format and runs analysis). " +
130
130
  "If the user insists on using this tool, ask for the filename and file size — " +
131
131
  "you can detect the format from the file extension, no need to ask for content type.",
@@ -1 +1 @@
1
- {"version":3,"file":"audio-files.js","sourceRoot":"","sources":["../../src/tools/audio-files.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAU7D,OAAO,EACL,YAAY,EACZ,UAAU,EACV,aAAa,GAEd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,OAAO,eAAe;IAClB,IAAI,CAAa;IAEzB,YAAY,IAAgB;QAC1B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,QAAQ;QACN,OAAO;YACL;gBACE,UAAU,EAAE;oBACV,IAAI,EAAE,kBAAkB;oBACxB,KAAK,EAAE,YAAY;oBACnB,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;oBACtC,IAAI,EAAE,MAAM;oBACZ,WAAW,EACT,oEAAoE;wBACpE,0DAA0D;oBAC5D,SAAS,EAAE,gBAAgB;oBAC3B,eAAe,EAAE,YAAY;oBAC7B,iBAAiB,EACf,6IAA6I;oBAC/I,WAAW,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE;4BACV,OAAO,EAAE;gCACP,IAAI,EAAE,QAAQ;gCACd,WAAW,EACT,8DAA8D;6BACjE;4BACD,SAAS,EAAE;gCACT,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,qBAAqB;gCAClC,IAAI,EAAE,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC;6BAC5D;4BACD,WAAW,EAAE;gCACX,IAAI,EAAE,SAAS;gCACf,WAAW,EACT,8EAA8E;6BACjF;4BACD,KAAK,EAAE;gCACL,IAAI,EAAE,QAAQ;gCACd,WAAW,EAAE,yCAAyC;6BACvD;yBACF;qBACF;iBACF;gBACD,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;aAC1C;YACD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AAc,iBAAiB,CAAC;QAC7J,OAAO,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IACxC,CAAC;CACF"}
@@ -19,6 +19,7 @@ export declare class BulkTools {
19
19
  private bulkUpdateWorks;
20
20
  private bulkUpdatePeopleRoles;
21
21
  private bulkLinkArtist;
22
+ private bulkReassignRecordingArtist;
22
23
  private bulkAddCollaborator;
23
24
  private bulkCopyCredits;
24
25
  private bulkAddPeopleTags;
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/tools/bulk.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,cAAc,EACd,YAAY,EAGb,MAAM,YAAY,CAAC;AAepB,qBAAa,SAAS;IACpB,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YAmR3D,eAAe;YAyDf,qBAAqB;YA6CrB,cAAc;YA6Cd,mBAAmB;YA0DnB,eAAe;YAmDf,iBAAiB;CAsChC"}
1
+ {"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/tools/bulk.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,cAAc,EACd,YAAY,EAGb,MAAM,YAAY,CAAC;AAepB,qBAAa,SAAS;IACpB,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YAgU3D,eAAe;YAyDf,qBAAqB;YA6CrB,cAAc;YA6Cd,2BAA2B;YAkD3B,mBAAmB;YA0DnB,eAAe;YAmDf,iBAAiB;CAsChC"}
@@ -130,6 +130,45 @@ export class BulkTools {
130
130
  },
131
131
  executor: this.bulkLinkArtist.bind(this),
132
132
  },
133
+ {
134
+ definition: {
135
+ name: "pica_recordings_bulk_reassign_artist",
136
+ scope: "write:catalog",
137
+ audiences: ["stdio", "http", "public"],
138
+ tier: "write",
139
+ description: "Bulk-repoint recordings to a different primary artist (people.id) in one atomic call — the fix for a junk/placeholder 'magnet' person that absorbed many recordings' primary_artist_id. " +
140
+ "Pass exactly one selector: `recording_ids` (explicit set) or `from_person_id` (every recording currently on that person — ideal for draining a magnet). " +
141
+ "`to_person_id` is the target person (validated in your org) or null to CLEAR the link (truthful 'unknown'). The free-text artist_name label is left untouched. " +
142
+ "Returns { reassigned_count, source_now_empty } — when source_now_empty is true the source person is unreferenced and can be retired. Use dry_run:true to preview the count first.",
143
+ workflows: "infrastructure",
144
+ vernacular_kind: "specialist",
145
+ vernacular_reason: "Specialist context; not yet covered by the Creator Question Atlas — pending telemetry-driven addition per ADR-226 Phase 4 substrate writes.",
146
+ inputSchema: {
147
+ type: "object",
148
+ properties: {
149
+ recording_ids: {
150
+ type: "array",
151
+ items: { type: "string" },
152
+ description: "Explicit set of recording IDs to repoint. Mutually exclusive with from_person_id.",
153
+ },
154
+ from_person_id: {
155
+ type: "string",
156
+ description: "Repoint EVERY recording currently pointing at this person. Mutually exclusive with recording_ids.",
157
+ },
158
+ to_person_id: {
159
+ type: "string",
160
+ description: "Target person (people.id, must be in your org). Omit or pass null to CLEAR primary_artist_id.",
161
+ },
162
+ dry_run: {
163
+ type: "boolean",
164
+ description: "When true, returns { dry_run: true, would_affect } without writing. Preview before committing.",
165
+ },
166
+ },
167
+ },
168
+ previewMode: "dry_run",
169
+ },
170
+ executor: this.bulkReassignRecordingArtist.bind(this),
171
+ },
133
172
  {
134
173
  definition: {
135
174
  name: "pica_works_bulk_add_collaborator",
@@ -367,6 +406,48 @@ export class BulkTools {
367
406
  const result = await this.pica.bulk.linkArtist(args.work_ids, args.person_id, args.artist_name);
368
407
  return formatSuccess(`Bulk linked ${args.work_ids.length} work(s) to ${args.artist_name}`, result);
369
408
  }
409
+ async bulkReassignRecordingArtist(args, ctx) {
410
+ const hasIds = Array.isArray(args.recording_ids) && args.recording_ids.length > 0;
411
+ if (!hasIds && !args.from_person_id) {
412
+ return formatValidationError({
413
+ selector: "provide recording_ids (non-empty) or from_person_id",
414
+ });
415
+ }
416
+ if (hasIds && args.from_person_id) {
417
+ return formatValidationError({
418
+ selector: "provide either recording_ids or from_person_id, not both",
419
+ });
420
+ }
421
+ const toPersonId = args.to_person_id ?? null;
422
+ const targetLabel = toPersonId
423
+ ? `person ${toPersonId}`
424
+ : "no artist (cleared)";
425
+ const sdkInput = {
426
+ recordingIds: hasIds ? args.recording_ids : undefined,
427
+ fromPersonId: args.from_person_id,
428
+ toPersonId,
429
+ };
430
+ if (args.dry_run === true) {
431
+ const preview = await this.pica.bulk.reassignRecordingArtist({
432
+ ...sdkInput,
433
+ dryRun: true,
434
+ });
435
+ return formatSuccess("Dry run — preview of reassignment", preview);
436
+ }
437
+ const gate = await elicitBulkConfirmation({
438
+ server: ctx?.server,
439
+ args,
440
+ action: "Bulk-reassign recording artist",
441
+ impactSummary: hasIds
442
+ ? `${args.recording_ids.length} recording(s) → ${targetLabel}`
443
+ : `all recordings on ${args.from_person_id} → ${targetLabel}`,
444
+ warning: "Repoints primary_artist_id on the selected recordings. The artist_name label is unchanged. Pass to_person_id=null to clear.",
445
+ });
446
+ if (gate.kind === "abort")
447
+ return gate.result;
448
+ const result = await this.pica.bulk.reassignRecordingArtist(sdkInput);
449
+ return formatSuccess("Recordings repointed", result);
450
+ }
370
451
  async bulkAddCollaborator(args, ctx) {
371
452
  if (!args.work_ids?.length) {
372
453
  return formatValidationError({ work_ids: "must be a non-empty array" });
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../src/tools/bulk.ts"],"names":[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are class CreditsTools {
36
36
  * is set, mirroring the work-side updateCredits notification flow.
37
37
  */
38
38
  private updateRecordingCredits;
39
+ /**
40
+ * ADR-264 WS4 prerequisite — pica_recording_credits_bulk_update executor.
41
+ *
42
+ * Thin wrapper over POST /admin/recording-credits/bulk via
43
+ * RecordingCreditsResource.bulkUpdate. The route + service own validation
44
+ * (role enum, org scoping of release/recordings/people, caps, in-batch
45
+ * dedup) and return per-row created / skipped_existing results; the
46
+ * executor only pre-checks the target shape so agents get a crisp message
47
+ * without a round-trip.
48
+ */
49
+ private bulkUpdateRecordingCredits;
39
50
  /**
40
51
  * ADR-232 — pica_credit_add executor.
41
52
  *
@@ -1 +1 @@
1
- {"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../src/tools/credits.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAiEtE,qBAAa,YAAY;IACvB,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YAygB3D,kBAAkB;YA8DlB,WAAW;YA2BX,aAAa;IAyN3B;;;;;;;;;;;;;OAaG;YACW,sBAAsB;IAoHpC;;;;;;;;;OASG;YACW,SAAS;IAgJvB;;;;;;;OAOG;YACW,YAAY;CA2D3B"}
1
+ {"version":3,"file":"credits.d.ts","sourceRoot":"","sources":["../../src/tools/credits.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAiEtE,qBAAa,YAAY;IACvB,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YAynB3D,kBAAkB;YA8DlB,WAAW;YA2BX,aAAa;IAyN3B;;;;;;;;;;;;;OAaG;YACW,sBAAsB;IAqHpC;;;;;;;;;OASG;YACW,0BAA0B;IAoExC;;;;;;;;;OASG;YACW,SAAS;IAgJvB;;;;;;;OAOG;YACW,YAAY;CA2D3B"}