altimate-receipts 0.12.0 → 0.13.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.
@@ -7,7 +7,7 @@ import {
7
7
  loadSession,
8
8
  selectSummary,
9
9
  upsertSection
10
- } from "./chunk-EY3FFYN6.js";
10
+ } from "./chunk-G3YX5FUS.js";
11
11
 
12
12
  // src/report/sessions.ts
13
13
  async function deriveTargets(opts) {
@@ -259,4 +259,4 @@ export {
259
259
  renderTrends,
260
260
  upsertTrendsSection
261
261
  };
262
- //# sourceMappingURL=chunk-D4RJFPLT.js.map
262
+ //# sourceMappingURL=chunk-55AJDHKF.js.map
@@ -2727,7 +2727,11 @@ function deriveFindings(sum) {
2727
2727
  id: `destructive-${sp.spanId}`,
2728
2728
  severity: "critical",
2729
2729
  title: snippet ? `Destructive op: ${snippet}${times}` : `Destructive operation ran: ${sp.name}${times}`,
2730
- detail: `\`${clause.slice(0, 100)}\` is irreversible${sp.status === "error" ? " (it errored)" : ""}${count > 1 ? ` and ran ${count}\xD7` : ""}. Was this intended?`,
2730
+ // M89 scope-frame the largest noise bucket: a destructive op is a command the
2731
+ // agent RAN (in its workspace / against infra), not an edit to a reviewed file —
2732
+ // say so, and show the FULL command (not a 44-char title fragment) so the reviewer
2733
+ // can verify what ran. R2: mechanism + "confirm it was intended", never a verdict.
2734
+ detail: `The agent ran \`${truncateClause(clause, 200)}\` during the session \u2014 a command it executed, not an edit to a file in this PR. It's irreversible${sp.status === "error" ? " (it errored)" : ""}${count > 1 ? ` and ran ${count}\xD7` : ""} \u2014 confirm it was intended (e.g. a scratch/sandbox target), not a mistake on real data.`,
2731
2735
  impactLabel: "data-loss risk",
2732
2736
  confidence: 1,
2733
2737
  score: scoreOf("critical", 1, 1),
@@ -5211,4 +5215,4 @@ export {
5211
5215
  redact,
5212
5216
  redactReceipt
5213
5217
  };
5214
- //# sourceMappingURL=chunk-EY3FFYN6.js.map
5218
+ //# sourceMappingURL=chunk-G3YX5FUS.js.map