@burdenoff/mcp-libs 2026.1110.1 → 2026.1110.2

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.
@@ -613,7 +613,13 @@ function registerAssetTools(server, ctx, track) {
613
613
  {
614
614
  title: "Retire Asset",
615
615
  description: "Retire (decommission) an asset. Returns true on success.",
616
- inputSchema: { id: zod.z.string().describe("Asset ID") }
616
+ inputSchema: { id: zod.z.string().describe("Asset ID") },
617
+ // BOFF-5751: retiring an asset is terminal — the backend state machine
618
+ // (wspace-theglobalfuel-svc ASSET_TRANSITIONS) gives RETIRED no outgoing
619
+ // transitions. `retire` is not in the name-inference verb set
620
+ // (tool-name.ts), so the explicit annotation is what engages the
621
+ // confirmation gate theglobalfuel-mcp/src/index.ts enables.
622
+ annotations: { destructiveHint: true }
617
623
  },
618
624
  async ({ id }) => {
619
625
  try {
@@ -1040,7 +1046,14 @@ function registerShipmentTools(server, ctx, track) {
1040
1046
  {
1041
1047
  title: "Deliver Shipment",
1042
1048
  description: "Mark a shipment delivered and roll its volume into the contract's delivered total.",
1043
- inputSchema: { id: zod.z.string().describe("Shipment ID") }
1049
+ inputSchema: { id: zod.z.string().describe("Shipment ID") },
1050
+ // BOFF-5751: delivery is terminal (SHIPMENT_TRANSITIONS gives DELIVERED
1051
+ // no outgoing transitions) and rolls the shipment volume into the
1052
+ // parent contract's delivered total exactly once — an irreversible
1053
+ // commercial commitment an external agent must not auto-run. `deliver`
1054
+ // is not in the name-inference verb set, hence the explicit annotation
1055
+ // (same calibration as ggnomad bookings_create, BOFF-5746).
1056
+ annotations: { destructiveHint: true }
1044
1057
  },
1045
1058
  async ({ id }) => {
1046
1059
  try {
@@ -1227,7 +1240,13 @@ function registerEmissionTools(server, ctx, track) {
1227
1240
  {
1228
1241
  title: "Verify Emission",
1229
1242
  description: "Mark an emission figure third-party verified.",
1230
- inputSchema: { id: zod.z.string().describe("Emission record ID") }
1243
+ inputSchema: { id: zod.z.string().describe("Emission record ID") },
1244
+ // BOFF-5751: verification stamps verifiedAt as a third-party attestation
1245
+ // with no un-verify path in the backend — an irreversible compliance
1246
+ // claim (same class as labsofscience notebook_sign in the BOFF-3907
1247
+ // audit). `verify` is not in the name-inference verb set, hence the
1248
+ // explicit annotation.
1249
+ annotations: { destructiveHint: true }
1231
1250
  },
1232
1251
  async ({ id }) => {
1233
1252
  try {