@burdenoff/mcp-libs 2026.1101.5 → 2026.1101.7

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.
@@ -642,7 +642,12 @@ function registerLibraryTools(server, ctx, track) {
642
642
  {
643
643
  title: "Archive Work",
644
644
  description: "Archive a work (soft delete). Returns whether the archive succeeded.",
645
- inputSchema: { id: zod.z.string().describe("Work ID") }
645
+ inputSchema: { id: zod.z.string().describe("Work ID") },
646
+ // BOFF-6603: archiving removes a work from the active studio library,
647
+ // and `archive` is not in the name-inference verb set (tool-name.ts) —
648
+ // annotate explicitly so the confirmation gate that artistrybase-mcp
649
+ // enables (enforceDestructiveConfirmation) actually covers it.
650
+ annotations: { destructiveHint: true }
646
651
  },
647
652
  async ({ id }) => {
648
653
  try {
@@ -1074,7 +1079,12 @@ function registerProductionTools(server, ctx, track) {
1074
1079
  inputSchema: {
1075
1080
  id: zod.z.string().describe("Production ID"),
1076
1081
  status: ProductionStatusEnum.describe("Target lifecycle status")
1077
- }
1082
+ },
1083
+ // BOFF-6603: a lifecycle transition moves real studio execution state
1084
+ // (RELEASED/CANCELLED are consequential and not all transitions are
1085
+ // reversible), and `transition` is not in the name-inference verb set
1086
+ // (tool-name.ts) — gate it via explicit annotation.
1087
+ annotations: { destructiveHint: true }
1078
1088
  },
1079
1089
  async ({ id, status }) => {
1080
1090
  try {
@@ -1314,7 +1324,11 @@ function registerReviewTools(server, ctx, track) {
1314
1324
  inputSchema: {
1315
1325
  id: zod.z.string().describe("Review round ID"),
1316
1326
  status: ReviewStatusEnum.describe("Target review status")
1317
- }
1327
+ },
1328
+ // BOFF-6603: closing or approving a review round is a consequential
1329
+ // sign-off state change and `transition` is not in the name-inference
1330
+ // verb set (tool-name.ts) — gate it via explicit annotation.
1331
+ annotations: { destructiveHint: true }
1318
1332
  },
1319
1333
  async ({ id, status }) => {
1320
1334
  try {
@@ -1363,7 +1377,12 @@ function registerReviewTools(server, ctx, track) {
1363
1377
  inputSchema: {
1364
1378
  id: zod.z.string().describe("Feedback ID"),
1365
1379
  status: FeedbackStatusEnum.describe("New feedback status")
1366
- }
1380
+ },
1381
+ // BOFF-6603: resolving feedback records a human judgment (RESOLVED /
1382
+ // WONT_FIX) that gates release readiness — an agent must not make it
1383
+ // on its own initiative. `resolve` is not in the name-inference verb
1384
+ // set (tool-name.ts), so gate it via explicit annotation.
1385
+ annotations: { destructiveHint: true }
1367
1386
  },
1368
1387
  async ({ id, status }) => {
1369
1388
  try {
@@ -1625,7 +1644,11 @@ function registerPortfolioTools(server, ctx, track) {
1625
1644
  {
1626
1645
  title: "Archive Portfolio",
1627
1646
  description: "Archive a portfolio (soft delete). Returns whether the archive succeeded.",
1628
- inputSchema: { id: zod.z.string().describe("Portfolio ID") }
1647
+ inputSchema: { id: zod.z.string().describe("Portfolio ID") },
1648
+ // BOFF-6603: archiving takes a public portfolio offline and `archive`
1649
+ // is not in the name-inference verb set (tool-name.ts) — annotate
1650
+ // explicitly so the confirmation gate covers it.
1651
+ annotations: { destructiveHint: true }
1629
1652
  },
1630
1653
  async ({ id }) => {
1631
1654
  try {
@@ -1669,7 +1692,11 @@ function registerPortfolioTools(server, ctx, track) {
1669
1692
  {
1670
1693
  title: "Unfollow Portfolio",
1671
1694
  description: "Unfollow a portfolio as the calling actor (self-scoped). Returns whether the unfollow succeeded.",
1672
- inputSchema: { portfolioId: zod.z.string().describe("Portfolio ID to unfollow") }
1695
+ inputSchema: { portfolioId: zod.z.string().describe("Portfolio ID to unfollow") },
1696
+ // BOFF-6603: unfollowing silently drops the actor's subscription to a
1697
+ // portfolio's updates and `unfollow` is not in the name-inference verb
1698
+ // set (tool-name.ts) — gate it via explicit annotation.
1699
+ annotations: { destructiveHint: true }
1673
1700
  },
1674
1701
  async ({ portfolioId }) => {
1675
1702
  try {
@@ -2031,7 +2058,7 @@ function registerArtistrybasePrompts(server, ctx, track) {
2031
2058
  7. **Publish Version**: Use ${p}_works_publish_version to promote the approved version as current.
2032
2059
  8. **Release**: Use ${p}_releases_create (set channel/visibility), then ${p}_releases_publish.
2033
2060
 
2034
- Show results at each step and confirm before publishing.`
2061
+ Show results at each step and confirm before publishing. ${p}_reviews_resolve_feedback and ${p}_reviews_transition_round are gated destructive tools: resolving feedback and closing a round are human-owned judgments, so show the person exactly what will change, get their explicit approval, and only then re-call with confirm: true.`
2035
2062
  }
2036
2063
  }
2037
2064
  ]
@@ -2064,7 +2091,7 @@ Show results at each step and confirm before publishing.`
2064
2091
  4. **Review**: For works in IN_REVIEW, use ${p}_reviews_list_rounds and ${p}_reviews_get_round to triage open feedback.
2065
2092
  5. **Advance**: Use ${p}_productions_transition to move the production through PLANNING \u2192 IN_PRODUCTION \u2192 REVIEW \u2192 POST \u2192 RELEASED.
2066
2093
 
2067
- Summarize what needs attention after each step.`
2094
+ Summarize what needs attention after each step. ${p}_productions_transition is a gated destructive tool: show the person the current and target lifecycle state, get their explicit approval, and only then re-call with confirm: true.`
2068
2095
  }
2069
2096
  }
2070
2097
  ]