@burdenoff/mcp-libs 2026.1110.1 → 2026.1110.3

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.
@@ -551,7 +551,13 @@ function registerAssetTools(server, ctx, track) {
551
551
  {
552
552
  title: "Retire Asset",
553
553
  description: "Retire (decommission) an asset. Returns true on success.",
554
- inputSchema: { id: z.string().describe("Asset ID") }
554
+ inputSchema: { id: z.string().describe("Asset ID") },
555
+ // BOFF-5751: retiring an asset is terminal — the backend state machine
556
+ // (wspace-theglobalfuel-svc ASSET_TRANSITIONS) gives RETIRED no outgoing
557
+ // transitions. `retire` is not in the name-inference verb set
558
+ // (tool-name.ts), so the explicit annotation is what engages the
559
+ // confirmation gate theglobalfuel-mcp/src/index.ts enables.
560
+ annotations: { destructiveHint: true }
555
561
  },
556
562
  async ({ id }) => {
557
563
  try {
@@ -978,7 +984,14 @@ function registerShipmentTools(server, ctx, track) {
978
984
  {
979
985
  title: "Deliver Shipment",
980
986
  description: "Mark a shipment delivered and roll its volume into the contract's delivered total.",
981
- inputSchema: { id: z.string().describe("Shipment ID") }
987
+ inputSchema: { id: z.string().describe("Shipment ID") },
988
+ // BOFF-5751: delivery is terminal (SHIPMENT_TRANSITIONS gives DELIVERED
989
+ // no outgoing transitions) and rolls the shipment volume into the
990
+ // parent contract's delivered total exactly once — an irreversible
991
+ // commercial commitment an external agent must not auto-run. `deliver`
992
+ // is not in the name-inference verb set, hence the explicit annotation
993
+ // (same calibration as ggnomad bookings_create, BOFF-5746).
994
+ annotations: { destructiveHint: true }
982
995
  },
983
996
  async ({ id }) => {
984
997
  try {
@@ -1165,7 +1178,13 @@ function registerEmissionTools(server, ctx, track) {
1165
1178
  {
1166
1179
  title: "Verify Emission",
1167
1180
  description: "Mark an emission figure third-party verified.",
1168
- inputSchema: { id: z.string().describe("Emission record ID") }
1181
+ inputSchema: { id: z.string().describe("Emission record ID") },
1182
+ // BOFF-5751: verification stamps verifiedAt as a third-party attestation
1183
+ // with no un-verify path in the backend — an irreversible compliance
1184
+ // claim (same class as labsofscience notebook_sign in the BOFF-3907
1185
+ // audit). `verify` is not in the name-inference verb set, hence the
1186
+ // explicit annotation.
1187
+ annotations: { destructiveHint: true }
1169
1188
  },
1170
1189
  async ({ id }) => {
1171
1190
  try {