{
  "briefID": "B84-04",
  "kind": "ORIGINAL_FICTIONAL_FILE_INVENTORY_NOT_GIT_CAPTURE",
  "baseline": {
    "summary.mjs": "export function totalUnits(rows) {\n  return rows.reduce((sum, row) => sum + row.quantity, 0);\n}\n\nexport function rowCount(rows) {\n  return rows.length;\n}\n",
    "labels.mjs": "export const REPORT_TITLE = \"Weekly summary\";\n",
    "README.md": "# Tiny summary\n\nThe report shows a row count and unit total.\n"
  },
  "humanWorkingFiles": {
    "summary.mjs": "export function totalUnits(rows) {\n  // Human draft: missing quantities need a decision.\n  return rows.reduce((sum, row) => sum + (row.quantity ?? 0), 0);\n}\n\nexport function rowCount(rows) {\n  return rows.length;\n}\n",
    "labels.mjs": "export const REPORT_TITLE = \"Weekly summary — preview\";\n",
    "README.md": "# Tiny summary\n\nThe report shows a row count and unit total.\n",
    "notes/release-draft.md": "# Release draft\n\nKeep the headline provisional.\nDo not publish this draft.\n"
  },
  "proposedFiles": {
    "summary.mjs": "export function totalUnits(rows) {\n  // Human draft: missing quantities need a decision.\n  return rows.reduce((sum, row) => sum + (row.quantity ?? 0), 0);\n}\n\nexport function rowCount(rows) {\n  return rows.filter(row => row.archived !== true).length;\n}\n",
    "labels.mjs": "export const REPORT_TITLE = \"Weekly summary — preview\";\n",
    "README.md": "# Tiny summary\n\nThe report shows a row count and unit total.\n",
    "notes/release-draft.md": "# Release draft\n\nKeep the headline provisional.\nDo not publish this draft.\n"
  },
  "suppliedTrackingInventory": {
    "summary.mjs": "tracked modified by human,totalUnits only",
    "labels.mjs": "tracked modified by human,unrelated title",
    "README.md": "tracked unchanged",
    "notes/release-draft.md": "untracked human draft"
  },
  "allowedChange": "summary.mjs:rowCount only;exclude archived exactlytrue,missing flag counted;preserve all other bytes",
  "ambiguousOverlapRequest": "Also fix missing-quantity behavior in totalUnits. Intended policy not supplied;hold that hunk.",
  "rowCountCases": [
    {
      "rows": [],
      "expected": 0
    },
    {
      "rows": [
        {
          "quantity": 9,
          "archived": true
        }
      ],
      "expected": 0
    },
    {
      "rows": [
        {
          "quantity": 2,
          "archived": false
        }
      ],
      "expected": 1
    },
    {
      "rows": [
        {
          "quantity": 4
        }
      ],
      "expected": 1
    },
    {
      "rows": [
        {
          "quantity": 2,
          "archived": false
        },
        {
          "quantity": 9,
          "archived": true
        },
        {
          "quantity": 4
        }
      ],
      "expected": 2
    }
  ],
  "isolatedBaselineWarning": "Baseline-only inventory lacks the untracked draft and both human tracked edits;not a candidate substitute."
}
