{
  "snapshot": {
    "capturedAt": "2026-11-01T11:12:19.143424+00:00",
    "costCapturedAt": "2026-11-01T11:14:50.600925+00:00",
    "transcriptCapturedAt": "2026-10-29",
    "repositoryHead": "d72e6ce1ea5bf9c0dae781ccb5b290781025304a",
    "repositoryHref": "https://github.com/Homie-Improvement/miru",
    "implementationIssueHref": "https://github.com/Homie-Improvement/miru/issues/8",
    "completeMigration": false
  },
  "cohorts": {
    "mergedPRs": 101,
    "implementationPRs": 99,
    "designPRs": 2,
    "implementationIssues": 136,
    "completedIssues": 111,
    "retiredIssues": 8,
    "closedIssues": 119,
    "openIssues": 17,
    "campaignRuns": 127,
    "method": "Costs and learning changes cover 101 merged PRs, including 2 design PRs. Review quality covers the 99 merged implementation PRs, including PRs with no findings. Issue charts cover assignment #8 and its 136 linked implementation, decomposition and follow-up issues. Unmerged work is excluded from cost and quality totals."
  },
  "cost": {
    "currency": "USD",
    "customerCharge": 3463.801452,
    "chargePerMergedPR": 34.29506388118812,
    "mergedPRs": 101,
    "excludedUnmergedAndUnlinkedCharge": 539.873585,
    "method": "Recorded customer charges, margin included, for explicitly linked runs whose PR merged. Excludes charges for open or closed-unmerged PRs and runs without a PR; excluded costs are not redistributed."
  },
  "timeline": {
    "implementationStartedAt": "2026-10-25T07:32:48Z",
    "latestMergedAt": "2026-10-27T13:49:49Z",
    "latestIssueEventAt": "2026-10-27T13:49:52Z",
    "elapsedHoursToLatestMerge": 54.283611111111114,
    "method": "Wall-clock from implementation issue #8 pickup to the latest merged Descant PR. Includes pauses and waiting. This bounds completed work; it does not assert that the full implementation scope is complete.",
    "compressedPauseHours": 9.216666666666667,
    "pauseMethod": "The work chart compresses the two owner-recorded pauses: 3 h 28 m for the test environment and 5 h 45 m for the spending cap. Elapsed wall-clock cost/time metrics retain these pauses."
  },
  "reviews": {
    "internal": {
      "findings": 611,
      "planningFindings": 407,
      "buildFindings": 204,
      "fixed": 560,
      "deferred": 31,
      "declined": 20,
      "scope": "Recorded author-side plan and build review before each merged implementation PR received its first independent review."
    },
    "independent": {
      "fixed": 196,
      "highImpactFixed": 69,
      "worthFixingFixed": 127,
      "prsImproved": 63,
      "highImpactPRsImproved": 27,
      "findingsRaised": 223,
      "highImpactRaised": 76,
      "deferred": 22,
      "declined": 5,
      "highImpactCodeOrTestFixed": 67,
      "highImpactOperationalDocumentFixed": 2,
      "scope": "Blocking, Important and Worth fixing independent-review findings with author-recorded fixes before merge; Minor findings excluded. Counts are finding records, not separately reproduced unique defects or observed production incidents."
    },
    "recurringDefects": {
      "affectedPRs": 27,
      "internalFixesBeforeIndependentReview": 264,
      "independentHighImpactFixes": 69,
      "families": [
        {
          "label": "Transaction, concurrency and recovery boundaries",
          "fixed": 24,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/223#discussion_r4386161458"
        },
        {
          "label": "Serialization, response shape and retry compatibility",
          "fixed": 15,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/223#discussion_r4386161465"
        },
        {
          "label": "Reconciliation completeness and matching",
          "fixed": 8,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/244#discussion_r4387417610"
        },
        {
          "label": "Reference identity and authorization semantics",
          "fixed": 7,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/170#discussion_r4382175489"
        },
        {
          "label": "Rollout, rollback and interrupted migration",
          "fixed": 7,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/197#discussion_r4384019135"
        },
        {
          "label": "Credential admission and log handling",
          "fixed": 6,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/63#discussion_r4373689094"
        },
        {
          "label": "Billing behavior across service boundaries",
          "fixed": 2,
          "findingHref": "https://github.com/Homie-Improvement/miru/pull/170#discussion_r4382175510"
        }
      ],
      "method": "One analyst-assigned primary family per high-impact independent finding. Recurring patterns are not a measured error-correlation coefficient. Internal and independent finding counts can be summed as records, but not as unique defects; stages can revisit the same underlying problem."
    },
    "structuredEvidence": {
      "testChangeAccountingPRs": 98,
      "testChangeAccountingDenominator": 99,
      "findingsWithDisposition": 266,
      "findingsWithDispositionDenominator": 266,
      "buildReviewPRs": 99,
      "buildReviewDenominator": 99,
      "method": "Disposition count includes Minor findings. Test-change accounting is absent from one lockfile-only PR (#193). Recorded review/accounting coverage does not by itself prove every assertion was adequate or executed.",
      "inventoryHref": "https://github.com/Homie-Improvement/miru/blob/13e46ed8ca21ea923c653ecb48c7485da4072ffb/docs/architecture/timekeeping-soa.md#L312-L332",
      "testAccountingHref": "https://github.com/Homie-Improvement/miru/pull/152"
    },
    "method": "All review metrics use 99 merged implementation PRs. Author-side totals stop before first independent review. Independent counts use unique root finding threads and recorded pre-merge dispositions. Stages can address the same underlying concern and must not be summed into a unique-bug count."
  },
  "followUps": {
    "filed": 58,
    "completed": 52,
    "open": 4,
    "retired": 2,
    "consolidation": 38,
    "strongerVerification": 16,
    "designImprovements": 4,
    "sharedRuleSets": 1,
    "writeOwners": 2,
    "commandPaths": 10,
    "remainingLegacyRuleLocations": 4,
    "sharedRulesHref": "https://github.com/Homie-Improvement/miru/pull/148",
    "testFilesBefore": 23,
    "testSuitesAfter": 7,
    "examples": [
      {
        "pr": 94,
        "issue": 68,
        "title": "6 ProjectionConsumer spec files consolidated into 1.",
        "description": "One home per rule with distinct assertions retained; merged mismatch check requires 409 and stale_generation rather than merely not200.",
        "href": "https://github.com/Homie-Improvement/miru/pull/94",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/68"
      },
      {
        "pr": 84,
        "issue": 81,
        "title": "5 checkpoint spec files consolidated into 1, with shared row builders.",
        "description": "Fewer places to maintain one rule; not fewer required guarantees.",
        "href": "https://github.com/Homie-Improvement/miru/pull/84",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/81"
      },
      {
        "pr": 189,
        "issue": 184,
        "title": "8 LocalOwner spec files consolidated into 4; shared state checks cover all 4 written tables.",
        "description": "Removed duplicate setup and inconsistent state accounting; no application code changed.",
        "href": "https://github.com/Homie-Improvement/miru/pull/189",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/184"
      },
      {
        "pr": 42,
        "issue": 29,
        "title": "20 refused calls now verify stored fields stay unchanged:5 commands × 4 credentials.",
        "description": "Stronger assertions catch a provider that writes and then returns the correct denial.",
        "href": "https://github.com/Homie-Improvement/miru/pull/42",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/29"
      },
      {
        "pr": 185,
        "issue": 183,
        "title": "3 locking guarantees tested with 2 real database connections; 6 regression examples.",
        "description": "Tests observe actual database blockers and were reported to fail when matching locks were removed; these are captured author validation reports, not a fresh rerun.",
        "href": "https://github.com/Homie-Improvement/miru/pull/185",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/183"
      },
      {
        "pr": 153,
        "issue": 110,
        "title": "1 bulk-deletion rule moved out of the controller into a reusable service.",
        "description": "The controller authorizes, invokes the service and renders; the business rule can be tested without HTTP.",
        "href": "https://github.com/Homie-Improvement/miru/pull/153",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/110"
      },
      {
        "pr": 152,
        "issue": 145,
        "title": "4 HTTP-client spec files consolidated into 1 route-table-based suite.",
        "description": "Retains literal paths and failure checks so an incorrect production path cannot also change its test expectation.",
        "href": "https://github.com/Homie-Improvement/miru/pull/152",
        "issueHref": "https://github.com/Homie-Improvement/miru/issues/145"
      }
    ],
    "method": "Review-origin consolidation, stronger verification and code/test design follow-ups, classified separately from feature decomposition, correctness fixes and CI repairs. Completion requires a linked merged PR. Examples use merged diffs and recorded validation, not a fresh test execution. The 23-to-7 result combines test suites from PRs #84, #94, #152 and #189; these were test files, not five application implementations or four HTTP clients."
  },
  "learnings": {
    "createdDocuments": 106,
    "createdInPRs": 63,
    "editedDocuments": 22,
    "editedInPRs": 24,
    "amendments": 27,
    "bothCreatedAndEditedPRs": 16,
    "anyChangePRs": 71,
    "implementationCreatedDocuments": 104,
    "implementationCreatedInPRs": 62,
    "successfulReadCalls": 2475,
    "retainedContentReadCalls": 2076,
    "compactedSuccessfulReadRecords": 399,
    "failedReadCallsExcluded": 24,
    "priorLearningReadCalls": 2220,
    "priorLearningAuthorReads": 818,
    "priorLearningReviewerReads": 1402,
    "priorLearningsConsulted": 93,
    "implementationPRsConsultingPriorLearnings": 96,
    "implementationPRs": 99,
    "implementationPRsConsultingPriorLearningsPercent": 96.96969696969697,
    "uniquePRLearningPairs": 882,
    "explicitReferences": 26,
    "explicitReferencePRs": 22,
    "explicitReferenceLearningFiles": 18,
    "documentedCodeOrTestFixes": 23,
    "documentedApplicationPRs": 20,
    "documentedAppliedLearnings": 15,
    "examples": [
      {
        "pr": 91,
        "title": "Preserving exact numeric metadata",
        "description": "An earlier lossless-copy lesson was used to identify decimal rounding across the new correction/relay path. The final fix changed the reader, batch encoder, receiver parser and writer to preserve exact JSON numbers.",
        "learningHref": "https://github.com/Homie-Improvement/miru/blob/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions/conventions/read-jsonb-as-text-and-quote-floats-for-lossless-postgres-copies.md",
        "findingHref": "https://github.com/Homie-Improvement/miru/pull/91#discussion_r4374677030",
        "responseHref": "https://github.com/Homie-Improvement/miru/pull/91#discussion_r4374966409",
        "fixHref": "https://github.com/Homie-Improvement/miru/commit/ffb1b942076e089f951805bd1575cce1616b5304"
      },
      {
        "pr": 223,
        "title": "Testing a real database lock wait",
        "description": "A prior lesson distinguished a sleeping thread from a real lock wait. The new race test records backend process IDs and requires PostgreSQL to report one connection blocked by the other.",
        "learningHref": "https://github.com/Homie-Improvement/miru/blob/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions/conventions/prove-a-lock-wait-with-blocked-by-backend-pids-not-a-join-timeout.md",
        "findingHref": "https://github.com/Homie-Improvement/miru/pull/223#discussion_r4386161474",
        "responseHref": "https://github.com/Homie-Improvement/miru/pull/223#discussion_r4386217676",
        "fixHref": "https://github.com/Homie-Improvement/miru/commit/4693b331b20259c9f26b901a24bb84452edf5ec9"
      },
      {
        "pr": 148,
        "title": "Reusing one business rule across write owners",
        "description": "The reviewer applied a stored lesson to remove a separately restated ownership check. The local writer now calls the shared EntryRules.agent_owner rule with the committed user/agent pair.",
        "learningHref": "https://github.com/Homie-Improvement/miru/blob/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions/design-patterns/check-the-committed-pair-and-fetch-facts-that-cover-stored-values.md",
        "findingHref": "https://github.com/Homie-Improvement/miru/pull/148#discussion_r4380394849",
        "responseHref": "https://github.com/Homie-Improvement/miru/pull/148#discussion_r4380504793",
        "fixHref": "https://github.com/Homie-Improvement/miru/commit/676351f2ec962a772dbed99960db6af07c924806"
      },
      {
        "pr": 239,
        "title": "Keeping narrow assertions during test consolidation",
        "description": "A stored lesson exposed a lost guarantee: a company-wide count could pass with a snapshot on the wrong entry. The fix restores per-entry SQL counts, including explicit zero snapshots for untouched entries.",
        "learningHref": "https://github.com/Homie-Improvement/miru/blob/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions/conventions/keep-the-narrow-check-when-folding-a-duplicate-into-a-grouped-or-broader-assertion.md",
        "findingHref": "https://github.com/Homie-Improvement/miru/pull/239#discussion_r4386869899",
        "responseHref": "https://github.com/Homie-Improvement/miru/pull/239#discussion_r4386928654",
        "fixHref": "https://github.com/Homie-Improvement/miru/commit/671817a49ee31daf6b65b93569924cd7f6a424a4"
      },
      {
        "pr": 104,
        "title": "Checking state after each refused operation",
        "description": "A prior baseline lesson was applied when two refused requests were consolidated. Stored links and locks are now checked after each request, so a later call cannot conceal damage from the earlier one.",
        "learningHref": "https://github.com/Homie-Improvement/miru/blob/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions/conventions/assert-the-baseline-before-proving-a-refused-command-changed-nothing.md",
        "findingHref": "https://github.com/Homie-Improvement/miru/pull/104#discussion_r4375062751",
        "responseHref": "https://github.com/Homie-Improvement/miru/pull/104#discussion_r4375102080",
        "fixHref": "https://github.com/Homie-Improvement/miru/commit/8c89c52f954a22779225377b9033f99fdb6f64e4"
      }
    ],
    "documentsHref": "https://github.com/Homie-Improvement/miru/tree/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions",
    "method": "Creation/amendment counts are net changes in 101 merge commits against their first parents. Reads cover the same merged-PR cohort in the October 29 transcript archive; one event per run and tool-call ID removes inherited history copies. Failed reads and listing/search calls are excluded. Prior-learning reads require a different PR to have committed the document before the calling thread began. Successful compacted-read records are included. Consultation is distinct from demonstrated application; the 23 code/test fixes are a conservative explicit-citation minimum checked against recorded pre-merge responses, with example commit diffs inspected."
  },
  "scale": {
    "peakConcurrentIssueRuns": 20,
    "recordedCampaignRuns": 127,
    "storedThreads": 3095,
    "storedMessagesAndToolEvents": 59425,
    "toolCalls": 64034,
    "corpusMethod": "Inventory of all 127 archived campaign runs, including unmerged and PR-less runs. Counts describe the recorded corpus and do not assert that every message was semantically reviewed. Cost and quality metrics use their narrower merged cohorts.",
    "method": "Concurrent issue run lifetimes, including review, CI, queued time and waits; not proof of simultaneous coding/model requests. Linked-run cohort only. Restarts can extend a run lifetime.",
    "assignmentHref": "https://github.com/Homie-Improvement/miru/issues/8"
  },
  "efficiency": {
    "modelAssignmentSeats": 36,
    "singleRoles": 11,
    "panelPositions": 25,
    "seatInventoryCapturedAt": "2026-10-27T03:25:37.373319+00:00",
    "seatMethod": "Distinct callable model-assignment positions, including optional and fallback paths. Seats are configurable roles, not simultaneous agents. Inventory recorded October 27, 2026.",
    "cacheReadPercent": 92.6945010121518,
    "implementationCacheReadPercent": 96.67752514166446,
    "cachedInputTokens": 3270239521,
    "recordedInputTokens": 3527975754,
    "mergedRuns": 101,
    "refreshedRuns": 50,
    "olderSavedRuns": 51,
    "captureWindow": {
      "earliest": "2026-10-27T09:42:33.609371+00:00",
      "latest": "2026-11-01T11:29:49.873687+00:00"
    },
    "method": "Weighted share of recorded input tokens served from cache: cache reads divided by cache reads, cache writes and uncached input. Includes nondebited usage; excludes output tokens. Uses latest available saved observation per merged-PR run: 50 from November 1 and 51 from October 27. Not a fully refreshed or final token total."
  },
  "sources": [
    {
      "label": "Repository and implementation",
      "href": "https://github.com/Homie-Improvement/miru"
    },
    {
      "label": "Original technical design assignment",
      "href": "https://github.com/Homie-Improvement/miru/issues/3"
    },
    {
      "label": "Implementation seed issue",
      "href": "https://github.com/Homie-Improvement/miru/issues/8"
    },
    {
      "label": "Merged pull requests",
      "href": "https://github.com/Homie-Improvement/miru/pulls?q=is%3Apr+is%3Amerged"
    },
    {
      "label": "Pinned architecture design",
      "href": "https://github.com/Homie-Improvement/miru/blob/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/architecture/timekeeping-soa.md"
    },
    {
      "label": "Saved learning documents",
      "href": "https://github.com/Homie-Improvement/miru/tree/d72e6ce1ea5bf9c0dae781ccb5b290781025304a/docs/solutions"
    }
  ]
}
