@burdenoff/mcp-libs 2026.1101.6 → 2026.1101.8

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.
@@ -580,7 +580,12 @@ function registerLibraryTools(server, ctx, track) {
580
580
  {
581
581
  title: "Archive Work",
582
582
  description: "Archive a work (soft delete). Returns whether the archive succeeded.",
583
- inputSchema: { id: z.string().describe("Work ID") }
583
+ inputSchema: { id: z.string().describe("Work ID") },
584
+ // BOFF-6603: archiving removes a work from the active studio library,
585
+ // and `archive` is not in the name-inference verb set (tool-name.ts) —
586
+ // annotate explicitly so the confirmation gate that artistrybase-mcp
587
+ // enables (enforceDestructiveConfirmation) actually covers it.
588
+ annotations: { destructiveHint: true }
584
589
  },
585
590
  async ({ id }) => {
586
591
  try {
@@ -1012,7 +1017,12 @@ function registerProductionTools(server, ctx, track) {
1012
1017
  inputSchema: {
1013
1018
  id: z.string().describe("Production ID"),
1014
1019
  status: ProductionStatusEnum.describe("Target lifecycle status")
1015
- }
1020
+ },
1021
+ // BOFF-6603: a lifecycle transition moves real studio execution state
1022
+ // (RELEASED/CANCELLED are consequential and not all transitions are
1023
+ // reversible), and `transition` is not in the name-inference verb set
1024
+ // (tool-name.ts) — gate it via explicit annotation.
1025
+ annotations: { destructiveHint: true }
1016
1026
  },
1017
1027
  async ({ id, status }) => {
1018
1028
  try {
@@ -1252,7 +1262,11 @@ function registerReviewTools(server, ctx, track) {
1252
1262
  inputSchema: {
1253
1263
  id: z.string().describe("Review round ID"),
1254
1264
  status: ReviewStatusEnum.describe("Target review status")
1255
- }
1265
+ },
1266
+ // BOFF-6603: closing or approving a review round is a consequential
1267
+ // sign-off state change and `transition` is not in the name-inference
1268
+ // verb set (tool-name.ts) — gate it via explicit annotation.
1269
+ annotations: { destructiveHint: true }
1256
1270
  },
1257
1271
  async ({ id, status }) => {
1258
1272
  try {
@@ -1301,7 +1315,12 @@ function registerReviewTools(server, ctx, track) {
1301
1315
  inputSchema: {
1302
1316
  id: z.string().describe("Feedback ID"),
1303
1317
  status: FeedbackStatusEnum.describe("New feedback status")
1304
- }
1318
+ },
1319
+ // BOFF-6603: resolving feedback records a human judgment (RESOLVED /
1320
+ // WONT_FIX) that gates release readiness — an agent must not make it
1321
+ // on its own initiative. `resolve` is not in the name-inference verb
1322
+ // set (tool-name.ts), so gate it via explicit annotation.
1323
+ annotations: { destructiveHint: true }
1305
1324
  },
1306
1325
  async ({ id, status }) => {
1307
1326
  try {
@@ -1563,7 +1582,11 @@ function registerPortfolioTools(server, ctx, track) {
1563
1582
  {
1564
1583
  title: "Archive Portfolio",
1565
1584
  description: "Archive a portfolio (soft delete). Returns whether the archive succeeded.",
1566
- inputSchema: { id: z.string().describe("Portfolio ID") }
1585
+ inputSchema: { id: z.string().describe("Portfolio ID") },
1586
+ // BOFF-6603: archiving takes a public portfolio offline and `archive`
1587
+ // is not in the name-inference verb set (tool-name.ts) — annotate
1588
+ // explicitly so the confirmation gate covers it.
1589
+ annotations: { destructiveHint: true }
1567
1590
  },
1568
1591
  async ({ id }) => {
1569
1592
  try {
@@ -1607,7 +1630,11 @@ function registerPortfolioTools(server, ctx, track) {
1607
1630
  {
1608
1631
  title: "Unfollow Portfolio",
1609
1632
  description: "Unfollow a portfolio as the calling actor (self-scoped). Returns whether the unfollow succeeded.",
1610
- inputSchema: { portfolioId: z.string().describe("Portfolio ID to unfollow") }
1633
+ inputSchema: { portfolioId: z.string().describe("Portfolio ID to unfollow") },
1634
+ // BOFF-6603: unfollowing silently drops the actor's subscription to a
1635
+ // portfolio's updates and `unfollow` is not in the name-inference verb
1636
+ // set (tool-name.ts) — gate it via explicit annotation.
1637
+ annotations: { destructiveHint: true }
1611
1638
  },
1612
1639
  async ({ portfolioId }) => {
1613
1640
  try {
@@ -1969,7 +1996,7 @@ function registerArtistrybasePrompts(server, ctx, track) {
1969
1996
  7. **Publish Version**: Use ${p}_works_publish_version to promote the approved version as current.
1970
1997
  8. **Release**: Use ${p}_releases_create (set channel/visibility), then ${p}_releases_publish.
1971
1998
 
1972
- Show results at each step and confirm before publishing.`
1999
+ 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.`
1973
2000
  }
1974
2001
  }
1975
2002
  ]
@@ -2002,7 +2029,7 @@ Show results at each step and confirm before publishing.`
2002
2029
  4. **Review**: For works in IN_REVIEW, use ${p}_reviews_list_rounds and ${p}_reviews_get_round to triage open feedback.
2003
2030
  5. **Advance**: Use ${p}_productions_transition to move the production through PLANNING \u2192 IN_PRODUCTION \u2192 REVIEW \u2192 POST \u2192 RELEASED.
2004
2031
 
2005
- Summarize what needs attention after each step.`
2032
+ 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.`
2006
2033
  }
2007
2034
  }
2008
2035
  ]