[
  {
    "file": "server/internal/handlers/handlers_access_cast_test.go",
    "line": 263,
    "name": "TestHandleAccess_CastShareInviteLockGrant",
    "purpose": "Handle Access Cast Share Invite Lock Grant",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Access Cast Share Invite Lock Grant. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: t.Fatalf(\"dave scratch caps = %+v\", item.Capabilities); if shared.Code != http.StatusCreated {; t.Fatalf(\"share status=%d body=%s\", shared.Code, shared.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Fatalf(\"dave scratch caps = %+v\", item.Capabilities); if shared.Code != http.StatusCreated {; t.Fatalf(\"share status=%d body=%s\", shared.Code, shared.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_access_cast_test.go",
    "line": 430,
    "name": "TestHandleAccess_CastDeathClaimExport",
    "purpose": "Handle Access Cast Death Claim Export",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Access Cast Death Claim Export. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if staffAfter != staffBefore {; t.Fatalf(\"active staff after the cast = %s, before = %s\", staffAfter, staffBefore); if exec.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if staffAfter != staffBefore {; t.Fatalf(\"active staff after the cast = %s, before = %s\", staffAfter, staffBefore); if exec.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 369,
    "name": "TestHandleAdminExtractJobs_ForbiddenForNonAdmin",
    "purpose": "Handle Admin Extract Jobs Forbidden For Non Admin",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Extract Jobs Forbidden For Non Admin. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusForbidden {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusForbidden {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 379,
    "name": "TestHandleAdminExtractJobs_SummaryAndListPlantedBands",
    "purpose": "Handle Admin Extract Jobs Summary And List Planted Bands",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Extract Jobs Summary And List Planted Bands. The test checks the returned/domain behavior at its boundary. Assertion evidence: if sumW.Code != http.StatusOK {; t.Fatalf(\"summary status=%d body=%s\", sumW.Code, sumW.Body.String()); if err := json.Unmarshal(sumW.Body.Bytes(), &summary); err != nil { Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if sumW.Code != http.StatusOK {; t.Fatalf(\"summary status=%d body=%s\", sumW.Code, sumW.Body.String()); if err := json.Unmarshal(sumW.Body.Bytes(), &summary); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 468,
    "name": "TestHandleAdminExtractJobs_FailedBandIncludesCancelled",
    "purpose": "Handle Admin Extract Jobs Failed Band Includes Cancelled",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Extract Jobs Failed Band Includes Cancelled. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &list); err != nil { Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &list); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 492,
    "name": "TestHandleAdminIngestFailure_Gone",
    "purpose": "Handle Admin Ingest Failure Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Ingest Failure Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusGone {; t.Fatalf(\"%s %s status=%d body=%s\", tc.method, tc.path, w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusGone {; t.Fatalf(\"%s %s status=%d body=%s\", tc.method, tc.path, w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 510,
    "name": "TestHandleAdminExtractJobs_UnknownBand",
    "purpose": "Handle Admin Extract Jobs Unknown Band",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Extract Jobs Unknown Band. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 519,
    "name": "TestHandleAdminExtractJobGet_StatusesAndNoDumps",
    "purpose": "Handle Admin Extract Job Get Statuses And No Dumps",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Extract Job Get Statuses And No Dumps. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &detail); err != nil { Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &detail); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_extract_test.go",
    "line": 597,
    "name": "TestHandleAdminExtractJobs_LogStageOnlyOnStoreError",
    "purpose": "Handle Admin Extract Jobs Log Stage Only On Store Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Extract Jobs Log Stage Only On Store Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: if sum.Code != http.StatusServiceUnavailable {; t.Fatalf(\"summary status=%d\", sum.Code); if list.Code != http.StatusServiceUnavailable { Relevant implementation: server/internal/handlers/handlers_admin_extract.go. Relevant implementation: server/internal/handlers/handlers_admin_extract.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if sum.Code != http.StatusServiceUnavailable {; t.Fatalf(\"summary status=%d\", sum.Code); if list.Code != http.StatusServiceUnavailable {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_proposed_test.go",
    "line": 55,
    "name": "TestHandleAdminListProposedPromotions",
    "purpose": "Handle Admin List Proposed Promotions",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin List Proposed Promotions. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &got); err != nil { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &got); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_proposed_test.go",
    "line": 74,
    "name": "TestHandleAdminPromoteMergeDiscardProposedTerm",
    "purpose": "Handle Admin Promote Merge Discard Proposed Term",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Promote Merge Discard Proposed Term. The test checks the returned/domain behavior at its boundary. Assertion evidence: if promote.Code != http.StatusOK {; t.Fatalf(\"promote=%d %s\", promote.Code, promote.Body.String()); if merge.Code != http.StatusOK { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if promote.Code != http.StatusOK {; t.Fatalf(\"promote=%d %s\", promote.Code, promote.Body.String()); if merge.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_admin_proposed_test.go",
    "line": 106,
    "name": "TestHandleAdminMergeProposedTermRequiresTarget",
    "purpose": "Handle Admin Merge Proposed Term Requires Target",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Merge Proposed Term Requires Target. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_bundle281_cast_test.go",
    "line": 132,
    "name": "TestBundle281_RemovedHelenLeavesListsAndKeepsPaper",
    "purpose": "Bundle281 Removed Helen Leaves Lists And Keeps Paper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bundle281 Removed Helen Leaves Lists And Keeps Paper. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"no paper for Helen: %q\", paperID); if plantedBinding != \"\" {; if person.DisplayName == \"Helen Kessler\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"no paper for Helen: %q\", paperID); if plantedBinding != \"\" {; if person.DisplayName == \"Helen Kessler\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_bundle281_cast_test.go",
    "line": 304,
    "name": "TestBundle281_RemovedEmilyDropsEdgesWithOneEnd",
    "purpose": "Bundle281 Removed Emily Drops Edges With One End",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bundle281 Removed Emily Drops Edges With One End. The test checks the returned/domain behavior at its boundary. Assertion evidence: if graceBefore == nil || owenBefore == nil || !rosterHasEntity(before.People, emilyID) {; t.Fatalf(\"roster missing Emily/Grace/Owen before removal\"); t.Fatalf(\"expected family from the Emily edge: grace=%v owen=%v\", graceBefore.Categories, owenBefore.Categories) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if graceBefore == nil || owenBefore == nil || !rosterHasEntity(before.People, emilyID) {; t.Fatalf(\"roster missing Emily/Grace/Owen before removal\"); t.Fatalf(\"expected family from the Emily edge: grace=%v owen=%v\", graceBefore.Categories, owenBefore.Categories)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_bundle281_cast_test.go",
    "line": 380,
    "name": "TestBundle281_ShareFollowsPickedPersonID",
    "purpose": "Bundle281 Share Follows Picked Person ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bundle281 Share Follows Picked Person ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(parts) != 2 || !looksLikeUUID(parts[0]) || !looksLikeUUID(parts[1]) {; t.Fatalf(\"planted people: %q\", ids); if rowA == nil || rowB == nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(parts) != 2 || !looksLikeUUID(parts[0]) || !looksLikeUUID(parts[1]) {; t.Fatalf(\"planted people: %q\", ids); if rowA == nil || rowB == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_bundle281_cast_test.go",
    "line": 426,
    "name": "TestBundle302_ExplicitPeopleShareToThePickedRow",
    "purpose": "Bundle302 Explicit People Share To The Picked Row",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bundle302 Explicit People Share To The Picked Row. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"cast Frank: %q\", frankPerson); t.Fatalf(\"extra Frank: %q\", extra); if authID != \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"cast Frank: %q\", frankPerson); t.Fatalf(\"extra Frank: %q\", extra); if authID != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_cast_guard_test.go",
    "line": 10,
    "name": "TestCastAPIParserRefusesUnsafeTargets",
    "purpose": "Reject non-loopback or credential-bearing cast API targets without leaking secrets",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reject non-loopback or credential-bearing cast API targets without leaking secrets. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil {; if strings.Contains(err.Error(), \"private-test-secret\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_cast_guard_test.go",
    "line": 30,
    "name": "TestCastAPISQLStackMustMatch",
    "purpose": "Reject cast API and SQL targets that point at different local stacks",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reject cast API and SQL targets that point at different local stacks. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if (err == nil) != tc.ok {; t.Fatalf(\"stack validation acceptance = %v, want %v\", err == nil, tc.ok) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_cast_guard_test.go",
    "line": 50,
    "name": "TestCastAPIRefusesConflictingCredentialAliases",
    "purpose": "Reject conflicting credential environment aliases without exposing values",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reject conflicting credential environment aliases without exposing values. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || strings.Contains(err.Error(), \"private-test-secret\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_estate_packet_upload_test.go",
    "line": 1055,
    "name": "TestHandleItems_CastDaveEstatePacketUploadPipeline",
    "purpose": "Exercise an estate-packet upload through extraction, typed summary, and published item reads",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Exercise an estate-packet upload through extraction, typed summary, and published item reads. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_estate_packet_upload_test.go",
    "line": 1059,
    "name": "TestHandleItems_CastDaveEstatePacketUploadCitationPipeline",
    "purpose": "Exercise an estate-packet upload and verify citations survive into the published result",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Exercise an estate-packet upload and verify citations survive into the published result. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_cast_test.go",
    "line": 86,
    "name": "TestHandlePeople_CastRosterUsesResolvedReachablePeople",
    "purpose": "Handle People Cast Roster Uses Resolved Reachable People",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Cast Roster Uses Resolved Reachable People. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"people status=%d body=%s\", got.Code, got.Body.String()); if err := json.Unmarshal(got.Body.Bytes(), &roster); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"people status=%d body=%s\", got.Code, got.Body.String()); if err := json.Unmarshal(got.Body.Bytes(), &roster); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_cast_test.go",
    "line": 188,
    "name": "TestHandleFacts_CastPinVersusNewerAndEmilyIsolation",
    "purpose": "Handle Facts Cast Pin Versus Newer And Emily Isolation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Facts Cast Pin Versus Newer And Emily Isolation. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if listed.Code != http.StatusOK {; t.Fatalf(\"list entities status=%d body=%s\", listed.Code, listed.Body.String()); if err := json.Unmarshal(listed.Body.Bytes(), &listPayload); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if listed.Code != http.StatusOK {; t.Fatalf(\"list entities status=%d body=%s\", listed.Code, listed.Body.String()); if err := json.Unmarshal(listed.Body.Bytes(), &listPayload); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_cast_test.go",
    "line": 322,
    "name": "TestHandleFacts_CastManualWritePinConfirm",
    "purpose": "Handle Facts Cast Manual Write Pin Confirm",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Facts Cast Manual Write Pin Confirm. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if createdItem.Code != http.StatusCreated {; t.Fatalf(\"create item status=%d body=%s\", createdItem.Code, createdItem.Body.String()); if err := json.Unmarshal(createdItem.Body.Bytes(), &item); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if createdItem.Code != http.StatusCreated {; t.Fatalf(\"create item status=%d body=%s\", createdItem.Code, createdItem.Body.String()); if err := json.Unmarshal(createdItem.Body.Bytes(), &item); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 58,
    "name": "TestHandleListItemCatalogHoles_Unauthenticated",
    "purpose": "Handle List Item Catalog Holes Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Item Catalog Holes Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 65,
    "name": "TestHandleListItemFacts_Unauthenticated",
    "purpose": "Handle List Item Facts Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Item Facts Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 72,
    "name": "TestHandleListItemBindCreateOffers_Unauthenticated",
    "purpose": "Handle List Item Bind Create Offers Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Item Bind Create Offers Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 79,
    "name": "TestHandleListMemberBindCreateOffers_Unauthenticated",
    "purpose": "Handle List Member Bind Create Offers Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Member Bind Create Offers Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 86,
    "name": "TestHandleListMemberBindCreateOffers_EmptyIsEmpty",
    "purpose": "Handle List Member Bind Create Offers Empty Is Empty",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Member Bind Create Offers Empty Is Empty. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 102,
    "name": "TestHandleListMemberBindCreateOffers_CreateAndWillAttach",
    "purpose": "Handle List Member Bind Create Offers Create And Will Attach",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Member Bind Create Offers Create And Will Attach. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 134,
    "name": "TestBindOptionalJSON_EmptyBodyPreserved",
    "purpose": "Accept an absent optional JSON body while leaving generation unset",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accept an absent optional JSON body while leaving generation unset. The test checks the returned/domain behavior at its boundary. Assertion evidence: if req.ExpectedGenerationID != \"\" {; t.Fatalf(\"generation=%q\", req.ExpectedGenerationID) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 147,
    "name": "TestBindOptionalJSON_ReadsExpectedGeneration",
    "purpose": "Decode expected-generation from the optional JSON body",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Decode expected-generation from the optional JSON body. The test checks the returned/domain behavior at its boundary. Assertion evidence: if req.ExpectedGenerationID != \"job-1\" {; t.Fatalf(\"generation=%q\", req.ExpectedGenerationID) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 207,
    "name": "TestAttachSelfPrincipalRefusalIsHTTP400OnBothRoutes",
    "purpose": "Attach Self Principal Refusal Is HTTP400 On Both Routes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Attach Self Principal Refusal Is HTTP400 On Both Routes. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(path, func(t *testing.T) {; if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=path Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(path, func(t *testing.T) {; if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 232,
    "name": "TestHandleAttachBindCreateOffer_Unauthenticated",
    "purpose": "Handle Attach Bind Create Offer Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Attach Bind Create Offer Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 240,
    "name": "TestHandleAttachBindCreateOffer_UnauthenticatedNoOffer",
    "purpose": "Handle Attach Bind Create Offer Unauthenticated No Offer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Attach Bind Create Offer Unauthenticated No Offer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 248,
    "name": "TestHandleAcceptDocumentInstrument_Unauthenticated",
    "purpose": "Handle Accept Document Instrument Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Accept Document Instrument Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 256,
    "name": "TestHandleDetachDocumentInstrument_Unauthenticated",
    "purpose": "Handle Detach Document Instrument Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Detach Document Instrument Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 318,
    "name": "TestHandleDetachDocumentInstrument_ForwardsExpectedBindingID",
    "purpose": "Handle Detach Document Instrument Forwards Expected Binding ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Detach Document Instrument Forwards Expected Binding ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastDetach[\"p_expected_binding_id\"] != \"60000000-0000-0000-0000-000000000099\" { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastDetach[\"p_expected_binding_id\"] != \"60000000-0000-0000-0000-000000000099\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 336,
    "name": "TestHandleDetachDocumentInstrument_DoesNotTreatEntityIDAsCAS",
    "purpose": "Handle Detach Document Instrument Does Not Treat Entity IDAs CAS",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Detach Document Instrument Does Not Treat Entity IDAs CAS. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); t.Fatalf(\"entity_id became expected_binding_id: %v\", backend.lastDetach) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); t.Fatalf(\"entity_id became expected_binding_id: %v\", backend.lastDetach)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 348,
    "name": "TestHandleDetachDocumentInstrument_StaleBindingConflict",
    "purpose": "Handle Detach Document Instrument Stale Binding Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Detach Document Instrument Stale Binding Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"stale selected instrument binding\") { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"stale selected instrument binding\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 360,
    "name": "TestHandleListItemPeopleReview_Unauthenticated",
    "purpose": "Handle List Item People Review Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Item People Review Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 367,
    "name": "TestHandleGetEntity_UnknownJWTDoesNotMint",
    "purpose": "Handle Get Entity Unknown JWTDoes Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Entity Unknown JWTDoes Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 378,
    "name": "TestHandleListEntities_UnknownJWTDoesNotMint",
    "purpose": "Handle List Entities Unknown JWTDoes Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Entities Unknown JWTDoes Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 483,
    "name": "TestHandleAttachPrincipalByAddingPerson",
    "purpose": "Handle Attach Principal By Adding Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Attach Principal By Adding Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(\"success\", func(t *testing.T) {; if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=7; case names=\"success\", \"structured name and nickname\", \"relationship reaches the service\", \"unknown relationship is the shared 400\", \"blank paper own words stays a code\", \"refusal\", \"stale generation\" Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(\"success\", func(t *testing.T) {; if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 638,
    "name": "TestHandleAttachPrincipalToSpouseLink",
    "purpose": "Handle Attach Principal To Spouse Link",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Attach Principal To Spouse Link. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastFn != \"attach_principal_to_spouse_link\" { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastFn != \"attach_principal_to_spouse_link\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 675,
    "name": "TestHandleAttachBindCreateOfferReturnsPostWriteShownName",
    "purpose": "Handle Attach Bind Create Offer Returns Post Write Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Attach Bind Create Offer Returns Post Write Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_facts_test.go",
    "line": 701,
    "name": "TestHandleConfirmPrincipalIsMineReturnsPostWriteShownName",
    "purpose": "Handle Confirm Principal Is Mine Returns Post Write Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Confirm Principal Is Mine Returns Post Write Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_facts.go. Relevant implementation: server/internal/handlers/handlers_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_first72_test.go",
    "line": 14,
    "name": "TestHandleSaveFirst72HoursGuide_BadKindIs400",
    "purpose": "Handle Save First72 Hours Guide Bad Kind Is400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Save First72 Hours Guide Bad Kind Is400. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadGateway); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {; w.WriteHeader(http.StatusNotFound) Relevant implementation: server/internal/handlers/handlers_first72.go. Relevant implementation: server/internal/handlers/handlers_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadGateway); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {; w.WriteHeader(http.StatusNotFound)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_first72_test.go",
    "line": 71,
    "name": "TestHandleSaveFirst72HoursGuide_TooLongIs400",
    "purpose": "Handle Save First72 Hours Guide Too Long Is400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Save First72 Hours Guide Too Long Is400. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadGateway); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {; w.WriteHeader(http.StatusNotFound) Relevant implementation: server/internal/handlers/handlers_first72.go. Relevant implementation: server/internal/handlers/handlers_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadGateway); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {; w.WriteHeader(http.StatusNotFound)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_first72_test.go",
    "line": 129,
    "name": "TestHandleSaveFirst72HoursGuide_LongPhoneIs400",
    "purpose": "Handle Save First72 Hours Guide Long Phone Is400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Save First72 Hours Guide Long Phone Is400. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadGateway); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {; w.WriteHeader(http.StatusNotFound) Relevant implementation: server/internal/handlers/handlers_first72.go. Relevant implementation: server/internal/handlers/handlers_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadGateway); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {; w.WriteHeader(http.StatusNotFound)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g1_gone_test.go",
    "line": 14,
    "name": "TestHandleGetSpouseInvitation_Gone",
    "purpose": "Handle Get Spouse Invitation Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Spouse Invitation Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Errorf(\"must not call FutureVault or households: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if w.Code != http.StatusGone { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Errorf(\"must not call FutureVault or households: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if w.Code != http.StatusGone {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g1_gone_test.go",
    "line": 39,
    "name": "TestHandleAcceptSpouseInvitation_Gone",
    "purpose": "Handle Accept Spouse Invitation Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Accept Spouse Invitation Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Errorf(\"must not call FutureVault or households: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if w.Code != http.StatusGone { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Errorf(\"must not call FutureVault or households: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if w.Code != http.StatusGone {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g1_gone_test.go",
    "line": 64,
    "name": "TestHandleDocumentTypes_GoneDoesNotTouchCategories",
    "purpose": "Handle Document Types Gone Does Not Touch Categories",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Document Types Gone Does Not Touch Categories. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"document_type_categories\") {; t.Errorf(\"must not touch document_type_categories: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK) Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"document_type_categories\") {; t.Errorf(\"must not touch document_type_categories: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g1_gone_test.go",
    "line": 92,
    "name": "TestHandleEmergencyContacts_GoneDoesNotTouchTable",
    "purpose": "Handle Emergency Contacts Gone Does Not Touch Table",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Emergency Contacts Gone Does Not Touch Table. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Errorf(\"must not query emergency_contacts or households: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if tc.body != \"\" { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Errorf(\"must not query emergency_contacts or households: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if tc.body != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g1_gone_test.go",
    "line": 142,
    "name": "TestHandleAdminStuckSummaries_GoneDoesNotTouchFiles",
    "purpose": "Handle Admin Stuck Summaries Gone Does Not Touch Files",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Admin Stuck Summaries Gone Does Not Touch Files. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Errorf(\"must not call dropped tables: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if count.Code != http.StatusGone { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Errorf(\"must not call dropped tables: %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusOK); if count.Code != http.StatusGone {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 135,
    "name": "TestStepIn_ShannonCopyOfDaveIsTheExplicitPerson",
    "purpose": "Step In Shannon Copy Of Dave Is The Explicit Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Shannon Copy Of Dave Is The Explicit Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: if uid != \"person:\"+dave {; t.Fatalf(\"Shannon copy of Dave = %q, want person:%s\", uid, dave); if viewer != \"Dave Whitfield\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if uid != \"person:\"+dave {; t.Fatalf(\"Shannon copy of Dave = %q, want person:%s\", uid, dave); if viewer != \"Dave Whitfield\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 170,
    "name": "TestG6Read_PeopleRosterMatchesShownName",
    "purpose": "G6 Read People Roster Matches Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read People Roster Matches Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal([]byte(raw), &want); err != nil {; t.Fatalf(\"shown names %s: %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal([]byte(raw), &want); err != nil {; t.Fatalf(\"shown names %s: %v\", raw, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 215,
    "name": "TestG6Read_GetEntityResolvedMatchesGen5",
    "purpose": "G6 Read Get Entity Resolved Matches Gen5",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Get Entity Resolved Matches Gen5. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 225,
    "name": "TestG6Read_ListEntityFactsMatchGen5",
    "purpose": "G6 Read List Entity Facts Match Gen5",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read List Entity Facts Match Gen5. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 235,
    "name": "TestG6Read_ListEntitiesResolvedMatchesGen5",
    "purpose": "G6 Read List Entities Resolved Matches Gen5",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read List Entities Resolved Matches Gen5. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if shannon == nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if shannon == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 249,
    "name": "TestG6Read_CoreRelationsFromOntoRelation",
    "purpose": "G6 Read Core Relations From Onto Relation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Core Relations From Onto Relation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal([]byte(raw), &want); err != nil {; t.Fatalf(\"onto_relation %s: %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal([]byte(raw), &want); err != nil {; t.Fatalf(\"onto_relation %s: %v\", raw, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 280,
    "name": "TestG6Read_AddEntityRelationShowsOnBoth",
    "purpose": "G6 Read Add Entity Relation Shows On Both",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Add Entity Relation Shows On Both. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"left missing sibling_of right: %+v\", fromLeft); t.Fatalf(\"right missing sibling_of left: %+v\", fromRight) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"left missing sibling_of right: %+v\", fromLeft); t.Fatalf(\"right missing sibling_of left: %+v\", fromRight)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 372,
    "name": "TestG6Read_RelationCardinalityAndDocumentRole",
    "purpose": "G6 Read Relation Cardinality And Document Role",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Relation Cardinality And Document Role. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"second spouse want conflict, got %v\", err); if itemID == \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"second spouse want conflict, got %v\", err); if itemID == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 449,
    "name": "TestG6Read_ParentOfUndoPreservesOrientation",
    "purpose": "G6 Read Parent Of Undo Preserves Orientation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Parent Of Undo Preserves Orientation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if label := relationLabelTo(fromParent, child.ID); label != \"Parent of G6Par Child\"+stamp {; t.Fatalf(\"parent label got %q\", label) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if label := relationLabelTo(fromParent, child.ID); label != \"Parent of G6Par Child\"+stamp {; t.Fatalf(\"parent label got %q\", label)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 567,
    "name": "TestG6Read_NonFamilyFriendRoundTripAndCategories",
    "purpose": "G6 Read Non Family Friend Round Trip And Categories",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Non Family Friend Round Trip And Categories. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if fromFriend[i].PredicateKey == \"friend\" {; if friendEdge == nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if fromFriend[i].PredicateKey == \"friend\" {; if friendEdge == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_g6_read_cast_test.go",
    "line": 717,
    "name": "TestG6Read_RelationAddConcurrency",
    "purpose": "G6 Read Relation Add Concurrency",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Relation Add Concurrency. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if n != 1 {; t.Fatalf(\"concurrent spouse left %d edges A=%s (%v) B=%s (%v)\", n, outA, errA, outB, errB) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if n != 1 {; t.Fatalf(\"concurrent spouse left %d edges A=%s (%v) B=%s (%v)\", n, outA, errA, outB, errB)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_graph_alerts_test.go",
    "line": 12,
    "name": "TestHandleGraphAlerts_Gone",
    "purpose": "Handle Graph Alerts Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Graph Alerts Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"/api/me/worth-a-look\") { Relevant implementation: server/internal/handlers/handlers_graph.go:213 HandleGraphAlerts. Relevant implementation: server/internal/handlers/handlers_graph.go:213 HandleGraphAlerts.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"/api/me/worth-a-look\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_graph_alerts_test.go",
    "line": 29,
    "name": "TestHandleGraphConflicts_Gone",
    "purpose": "Handle Graph Conflicts Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Graph Conflicts Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_graph.go:225 HandleGraphConflicts. Relevant implementation: server/internal/handlers/handlers_graph.go:225 HandleGraphConflicts.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_graph_alerts_test.go",
    "line": 43,
    "name": "TestHandleGraphScore_Gone",
    "purpose": "Handle Graph Score Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Graph Score Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"/api/me/worth-a-look\") { Relevant implementation: server/internal/handlers/handlers_graph.go:219 HandleGraphScore. Relevant implementation: server/internal/handlers/handlers_graph.go:219 HandleGraphScore.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"/api/me/worth-a-look\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_home_test.go",
    "line": 28,
    "name": "TestHandleHomeRecentDocuments_Unauthenticated",
    "purpose": "Handle Home Recent Documents Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Home Recent Documents Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_home.go. Relevant implementation: server/internal/handlers/handlers_home.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_home_test.go",
    "line": 35,
    "name": "TestHandleHomeRecentDocuments_EmptyVaultIsOK",
    "purpose": "Handle Home Recent Documents Empty Vault Is OK",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Home Recent Documents Empty Vault Is OK. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &payload); err != nil { Relevant implementation: server/internal/handlers/handlers_home.go. Relevant implementation: server/internal/handlers/handlers_home.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &payload); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 20,
    "name": "TestIncapacityAccess_DownloadWritesOneAuditRow",
    "purpose": "Incapacity Access Download Writes One Audit Row",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Download Writes One Audit Row. The test checks the returned/domain behavior at its boundary. Assertion evidence: if frankGot.Code != http.StatusOK {; t.Fatalf(\"frank download status=%d body=%s\", frankGot.Code, frankGot.Body.String()); if frankRows != \"1\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if frankGot.Code != http.StatusOK {; t.Fatalf(\"frank download status=%d body=%s\", frankGot.Code, frankGot.Body.String()); if frankRows != \"1\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 140,
    "name": "TestIncapacityAccess_BodyFetchAlwaysLogsAndStatusDoesNot",
    "purpose": "Incapacity Access Body Fetch Always Logs And Status Does Not",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Body Fetch Always Logs And Status Does Not. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"view count %q: %v\", raw, err); if got := views(); got != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"view count %q: %v\", raw, err); if got := views(); got != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 407,
    "name": "TestIncapacityAccess_FactsAndSnapshotLogOneView",
    "purpose": "Incapacity Access Facts And Snapshot Log One View",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Facts And Snapshot Log One View. The test checks the returned/domain behavior at its boundary. Assertion evidence: if written.Code != http.StatusCreated {; t.Fatalf(\"write fact status=%d body=%s\", written.Code, written.Body.String()); if stepInViews(t, item.ID, frank.Person.ID, \"view\") != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if written.Code != http.StatusCreated {; t.Fatalf(\"write fact status=%d body=%s\", written.Code, written.Body.String()); if stepInViews(t, item.ID, frank.Person.ID, \"view\") != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 463,
    "name": "TestIncapacityAccess_OneLookIsOneActivityRow",
    "purpose": "Incapacity Access One Look Is One Activity Row",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access One Look Is One Activity Row. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"%s status=%d body=%s\", path, got.Code, got.Body.String()); t.Fatalf(\"raw views=%d\", got) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"%s status=%d body=%s\", path, got.Code, got.Body.String()); t.Fatalf(\"raw views=%d\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 491,
    "name": "TestIncapacityAccess_LooksOutsideTheWindowAreTwoRows",
    "purpose": "Incapacity Access Looks Outside The Window Are Two Rows",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Looks Outside The Window Are Two Rows. The test checks the returned/domain behavior at its boundary. Assertion evidence: if opened.Code != http.StatusOK {; t.Fatalf(\"second look status=%d body=%s\", opened.Code, opened.Body.String()); t.Fatalf(\"raw views=%d\", got) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if opened.Code != http.StatusOK {; t.Fatalf(\"second look status=%d body=%s\", opened.Code, opened.Body.String()); t.Fatalf(\"raw views=%d\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 533,
    "name": "TestIncapacityAccess_ReopensDoNotChain",
    "purpose": "Incapacity Access Reopens Do Not Chain",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Reopens Do Not Chain. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := stepInViews(t, item.ID, frank.Person.ID, \"view\"); got != 3 {; t.Fatalf(\"raw views=%d\", got); if len(opens) != 2 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := stepInViews(t, item.ID, frank.Person.ID, \"view\"); got != 3 {; t.Fatalf(\"raw views=%d\", got); if len(opens) != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 587,
    "name": "TestIncapacityAccess_ChatLogsOneView",
    "purpose": "Incapacity Access Chat Logs One View",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Chat Logs One View. The test checks the returned/domain behavior at its boundary. Assertion evidence: if stepInViews(t, item.ID, frank.Person.ID, \"view\") != 0 {; if chat.Code != http.StatusConflict {; t.Fatalf(\"chat status=%d body=%s\", chat.Code, chat.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if stepInViews(t, item.ID, frank.Person.ID, \"view\") != 0 {; if chat.Code != http.StatusConflict {; t.Fatalf(\"chat status=%d body=%s\", chat.Code, chat.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 604,
    "name": "TestIncapacityAccess_ScopeDoesNotLog",
    "purpose": "Incapacity Access Scope Does Not Log",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Scope Does Not Log. The test checks the returned/domain behavior at its boundary. Assertion evidence: if frankScope.Code != http.StatusOK {; t.Fatalf(\"frank scope status=%d body=%s\", frankScope.Code, frankScope.Body.String()); if strings.Contains(frankScope.Body.String(), \"g5-api-access fixture\") || strings.Contains(frankScope.Body.String(), `\"body\"`) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if frankScope.Code != http.StatusOK {; t.Fatalf(\"frank scope status=%d body=%s\", frankScope.Code, frankScope.Body.String()); if strings.Contains(frankScope.Body.String(), \"g5-api-access fixture\") || strings.Contains(frankScope.Body.String(), `\"body\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_incapacity_access_cast_test.go",
    "line": 645,
    "name": "TestIncapacityAccess_ExtractStatusGateHidesExistence",
    "purpose": "Incapacity Access Extract Status Gate Hides Existence",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Incapacity Access Extract Status Gate Hides Existence. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hidden.Code != http.StatusNotFound || missing.Code != http.StatusNotFound {; t.Fatalf(\"hidden=%d missing=%d\", hidden.Code, missing.Code); if hidden.Body.String() != missing.Body.String() { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hidden.Code != http.StatusNotFound || missing.Code != http.StatusNotFound {; t.Fatalf(\"hidden=%d missing=%d\", hidden.Code, missing.Code); if hidden.Body.String() != missing.Body.String() {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_item_invite_email_test.go",
    "line": 18,
    "name": "TestCreateItemInviteEmailDelivery",
    "purpose": "Create Item Invite Email Delivery",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Item Invite Email Delivery. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if err := json.NewDecoder(r.Body).Decode(&body); err != nil {; if tokenHash == \"\" || body[\"p_actor\"] != davePersonID || body[\"p_item\"] != willItemID { Relevant implementation: server/internal/handlers/handlers_access.go:197 HandleCreateItemInvite, server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers_access.go:197 HandleCreateItemInvite, server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if err := json.NewDecoder(r.Body).Decode(&body); err != nil {; if tokenHash == \"\" || body[\"p_actor\"] != davePersonID || body[\"p_item\"] != willItemID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_cast_test.go",
    "line": 82,
    "name": "TestHandleItems_CastDaveListsAndOpensSeed",
    "purpose": "Handle Items Cast Dave Lists And Opens Seed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Items Cast Dave Lists And Opens Seed. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if len(listed) == 0 {; if will == nil {; if listed[i].Mark == \"mine\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if len(listed) == 0 {; if will == nil {; if listed[i].Mark == \"mine\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_cast_test.go",
    "line": 150,
    "name": "TestHandleItems_CastDaveCreateDeleteNote",
    "purpose": "Handle Items Cast Dave Create Delete Note",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Items Cast Dave Create Delete Note. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if created.Code != http.StatusCreated {; t.Fatalf(\"create status=%d body=%s\", created.Code, created.Body.String()); if err := json.Unmarshal(created.Body.Bytes(), &item); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if created.Code != http.StatusCreated {; t.Fatalf(\"create status=%d body=%s\", created.Code, created.Body.String()); if err := json.Unmarshal(created.Body.Bytes(), &item); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_cast_test.go",
    "line": 208,
    "name": "TestHandleItems_CastDaveUploadsPDF",
    "purpose": "Handle Items Cast Dave Uploads PDF",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Items Cast Dave Uploads PDF. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if err := writer.WriteField(\"document_name\", title); err != nil {; if err := writer.WriteField(\"visibility\", \"mine\"); err != nil {; if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err := writer.WriteField(\"document_name\", title); err != nil {; if err := writer.WriteField(\"visibility\", \"mine\"); err != nil {; if err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 25,
    "name": "TestHandleItemChat_Unauthenticated",
    "purpose": "Handle Item Chat Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 33,
    "name": "TestHandleItemChat_GroundsInStoredTextWithoutFutureVault",
    "purpose": "Handle Item Chat Grounds In Stored Text Without Future Vault",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Grounds In Stored Text Without Future Vault. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 71,
    "name": "TestHandleItemChat_EmilyCannotSeeDeed",
    "purpose": "Handle Item Chat Emily Cannot See Deed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Emily Cannot See Deed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 80,
    "name": "TestHandleItemChat_NoStoredText",
    "purpose": "Handle Item Chat No Stored Text",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat No Stored Text. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 88,
    "name": "TestHandleItemChat_UnknownDocumentIsNotFound",
    "purpose": "Handle Item Chat Unknown Document Is Not Found",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Unknown Document Is Not Found. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 96,
    "name": "TestHandleItemChat_EmptyMessage",
    "purpose": "Handle Item Chat Empty Message",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Empty Message. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 104,
    "name": "TestHandleItemChat_EvidenceIsNotFound",
    "purpose": "Handle Item Chat Evidence Is Not Found",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Evidence Is Not Found. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"Item not found\") { Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"Item not found\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_chat_test.go",
    "line": 132,
    "name": "TestHandleItemChat_LunaFailureIsBadGatewayWithoutPayload",
    "purpose": "Handle Item Chat Luna Failure Is Bad Gateway Without Payload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Chat Luna Failure Is Bad Gateway Without Payload. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadGateway {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), chatSecret) || strings.Contains(logs.String(), chatSecret) { Relevant implementation: server/internal/handlers/handlers_items_chat.go. Relevant implementation: server/internal/handlers/handlers_items_chat.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if w.Code != http.StatusBadGateway {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), chatSecret) || strings.Contains(logs.String(), chatSecret) {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 21,
    "name": "TestHandleListItems_Unauthenticated",
    "purpose": "Handle List Items Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Items Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 28,
    "name": "TestHandleGetItem_UnknownJWTDoesNotMint",
    "purpose": "Handle Get Item Unknown JWTDoes Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Item Unknown JWTDoes Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 { Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 76,
    "name": "TestHandleItems_DaveListGetDownloadAndEmilyIsolation",
    "purpose": "Handle Items Dave List Get Download And Emily Isolation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Items Dave List Get Download And Emily Isolation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if list.Code != http.StatusOK {; t.Fatalf(\"list status=%d body=%s\", list.Code, list.Body.String()); if err := json.Unmarshal(list.Body.Bytes(), &listed); err != nil { Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if list.Code != http.StatusOK {; t.Fatalf(\"list status=%d body=%s\", list.Code, list.Body.String()); if err := json.Unmarshal(list.Body.Bytes(), &listed); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 149,
    "name": "TestHandleUploadItem_Unauthenticated",
    "purpose": "Handle Upload Item Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Upload Item Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 156,
    "name": "TestHandleUploadItem_MissingFile",
    "purpose": "Handle Upload Item Missing File",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Upload Item Missing File. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 163,
    "name": "TestHandlePublishedDocumentTypesAndReclassify",
    "purpose": "Handle Published Document Types And Reclassify",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Published Document Types And Reclassify. The test checks the returned/domain behavior at its boundary. Assertion evidence: if unauth.Code != http.StatusUnauthorized {; t.Fatalf(\"unauth types status=%d\", unauth.Code); if types.Code != http.StatusOK || !strings.Contains(types.Body.String(), `\"key\":\"will\"`) { Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if unauth.Code != http.StatusUnauthorized {; t.Fatalf(\"unauth types status=%d\", unauth.Code); if types.Code != http.StatusOK || !strings.Contains(types.Body.String(), `\"key\":\"will\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 202,
    "name": "TestHandleRetryItemExtractionContracts",
    "purpose": "Handle Retry Item Extraction Contracts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Retry Item Extraction Contracts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if unauth.Code != http.StatusUnauthorized {; t.Fatalf(\"unauth retry status=%d\", unauth.Code); if badJSON.Code != http.StatusBadRequest { Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if unauth.Code != http.StatusUnauthorized {; t.Fatalf(\"unauth retry status=%d\", unauth.Code); if badJSON.Code != http.StatusBadRequest {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 234,
    "name": "TestHandleItemMode_GetAndChangeMineToOurs",
    "purpose": "Handle Item Mode Get And Change Mine To Ours",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Mode Get And Change Mine To Ours. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK || !strings.Contains(got.Body.String(), `\"current_mode\":\"mine\"`) {; t.Fatalf(\"get mode status=%d body=%s\", got.Code, got.Body.String()); if changed.Code != http.StatusOK { Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code != http.StatusOK || !strings.Contains(got.Body.String(), `\"current_mode\":\"mine\"`) {; t.Fatalf(\"get mode status=%d body=%s\", got.Code, got.Body.String()); if changed.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_items_test.go",
    "line": 260,
    "name": "TestHandleItemScope_GetAndShareMine",
    "purpose": "Handle Item Scope Get And Share Mine",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Item Scope Get And Share Mine. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"get scope status=%d body=%s\", got.Code, got.Body.String()); if err := json.Unmarshal(got.Body.Bytes(), &preview); err != nil { Relevant implementation: server/internal/handlers/handlers_items.go. Relevant implementation: server/internal/handlers/handlers_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"get scope status=%d body=%s\", got.Code, got.Body.String()); if err := json.Unmarshal(got.Body.Bytes(), &preview); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_journal_cast_test.go",
    "line": 46,
    "name": "TestHandleJournal_CastDaveCRUDShannonCannotRead",
    "purpose": "Handle Journal Cast Dave CRUDShannon Cannot Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Journal Cast Dave CRUDShannon Cannot Read. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if daveSub == shannonSub {; if created.Code != http.StatusCreated {; t.Fatalf(\"create status=%d body=%s\", created.Code, created.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if daveSub == shannonSub {; if created.Code != http.StatusCreated {; t.Fatalf(\"create status=%d body=%s\", created.Code, created.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_journal_test.go",
    "line": 20,
    "name": "TestJournalAuthorOnlySQL_FixtureUUIDsAreHex",
    "purpose": "Checks author-only pgTAP fixture UUIDs use valid, distinct hexadecimal values.",
    "classification": "internals",
    "restates": "no",
    "reason": "Reviewed focus: Validate UUID fixtures embedded in the author-only SQL test file. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if err != nil {; t.Fatalf(\"expected at least 4 uuid literals, got %v\", matches); if err := requireHexUUID(lit); err != nil { Relevant implementation: server/internal/handlers/handlers_journal.go. Relevant implementation: server/internal/handlers/handlers_journal.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "restates_review": "Validates independent test fixture UUID syntax and uniqueness; does not compare against production source."
  },
  {
    "file": "server/internal/handlers/handlers_journal_test.go",
    "line": 71,
    "name": "TestHandleSetJournalEntryScope_Gone",
    "purpose": "Handle Set Journal Entry Scope Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Set Journal Entry Scope Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"author-only\") { Relevant implementation: server/internal/handlers/handlers_journal.go. Relevant implementation: server/internal/handlers/handlers_journal.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusGone {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"author-only\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_journal_test.go",
    "line": 91,
    "name": "TestHandleJournal_UnknownJWTSameAsMe",
    "purpose": "Handle Journal Unknown JWTSame As Me",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Journal Unknown JWTSame As Me. The test checks the returned/domain behavior at its boundary. Assertion evidence: if me.Code != http.StatusNotFound {; t.Fatalf(\"GET /api/me status=%d body=%s\", me.Code, me.Body.String()); if list.Code != http.StatusNotFound { Relevant implementation: server/internal/handlers/handlers_journal.go. Relevant implementation: server/internal/handlers/handlers_journal.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if me.Code != http.StatusNotFound {; t.Fatalf(\"GET /api/me status=%d body=%s\", me.Code, me.Body.String()); if list.Code != http.StatusNotFound {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_journal_test.go",
    "line": 144,
    "name": "TestHandleSetJournalEntryScope_Unauthorized",
    "purpose": "Handle Set Journal Entry Scope Unauthorized",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Set Journal Entry Scope Unauthorized. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_journal.go. Relevant implementation: server/internal/handlers/handlers_journal.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_kind_test.go",
    "line": 9,
    "name": "TestHandleDocumentKindsUnauthenticated",
    "purpose": "Handle Document Kinds Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Document Kinds Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_kind_test.go",
    "line": 17,
    "name": "TestHandleKindWritesUnauthenticated",
    "purpose": "Handle Kind Writes Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Kind Writes Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"%s status=%d body=%s\", path, w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"%s status=%d body=%s\", path, w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 443,
    "name": "TestHandleMe_CastDaveAndEmilyIsolation",
    "purpose": "Handle Me Cast Dave And Emily Isolation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Cast Dave And Emily Isolation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveSub == emilySub {; if dave.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", dave.Person) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 479,
    "name": "TestHandleMe_CastUnknownJWTDoesNotMint",
    "purpose": "Handle Me Cast Unknown JWTDoes Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Cast Unknown JWTDoes Not Mint. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if err != nil {; if createResp.StatusCode != http.StatusOK && createResp.StatusCode != http.StatusCreated {; t.Fatalf(\"create unknown user: HTTP %d %s\", createResp.StatusCode, createRaw) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if createResp.StatusCode != http.StatusOK && createResp.StatusCode != http.StatusCreated {; t.Fatalf(\"create unknown user: HTTP %d %s\", createResp.StatusCode, createRaw)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 548,
    "name": "TestHandleMe_TriggerOnlyAuthProvisionsAccount",
    "purpose": "Handle Me Trigger Only Auth Provisions Account",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Trigger Only Auth Provisions Account. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if createResp.StatusCode != http.StatusOK && createResp.StatusCode != http.StatusCreated {; t.Fatalf(\"create trigger user: HTTP %d %s\", createResp.StatusCode, createRaw) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if createResp.StatusCode != http.StatusOK && createResp.StatusCode != http.StatusCreated {; t.Fatalf(\"create trigger user: HTTP %d %s\", createResp.StatusCode, createRaw)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 644,
    "name": "TestMergeEnvFilePreservesExplicitExports",
    "purpose": "Merge Env File Preserves Explicit Exports",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Env File Preserves Explicit Exports. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := os.WriteFile(envFile, []byte(\"MERGE_PROBE_SET=file_value\\nMERGE_PROBE_UNSET=file_value\\n\"), 0o600); err != nil {; if err := os.Unsetenv(\"MERGE_PROBE_UNSET\"); err != nil {; if got := os.Getenv(\"MERGE_PROBE_SET\"); got != \"explicit_value\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := os.WriteFile(envFile, []byte(\"MERGE_PROBE_SET=file_value\\nMERGE_PROBE_UNSET=file_value\\n\"), 0o600); err != nil {; if err := os.Unsetenv(\"MERGE_PROBE_UNSET\"); err != nil {; if got := os.Getenv(\"MERGE_PROBE_SET\"); got != \"explicit_value\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 666,
    "name": "TestMergeEnvFileEmptyExportCountsAsExplicit",
    "purpose": "Merge Env File Empty Export Counts As Explicit",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Env File Empty Export Counts As Explicit. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := os.WriteFile(envFile, []byte(\"MERGE_PROBE_EMPTY=file_value\\n\"), 0o600); err != nil {; if got, ok := os.LookupEnv(\"MERGE_PROBE_EMPTY\"); !ok || got != \"\" {; t.Fatalf(\"empty export treated as unset: %q present=%v\", got, ok) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := os.WriteFile(envFile, []byte(\"MERGE_PROBE_EMPTY=file_value\\n\"), 0o600); err != nil {; if got, ok := os.LookupEnv(\"MERGE_PROBE_EMPTY\"); !ok || got != \"\" {; t.Fatalf(\"empty export treated as unset: %q present=%v\", got, ok)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 681,
    "name": "TestMergeEnvFileLocalWinsOverDotenvForUnsetKeys",
    "purpose": "Merge Env File Local Wins Over Dotenv For Unset Keys",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Env File Local Wins Over Dotenv For Unset Keys. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if err := os.WriteFile(envFile, []byte(\"MERGE_PROBE_LOCAL=local_value\\n\"), 0o600); err != nil {; if got := os.Getenv(\"MERGE_PROBE_LOCAL\"); got != \"local_value\" {; t.Fatalf(\".env.local did not win over .env for unset key: %q\", got) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err := os.WriteFile(envFile, []byte(\"MERGE_PROBE_LOCAL=local_value\\n\"), 0o600); err != nil {; if got := os.Getenv(\"MERGE_PROBE_LOCAL\"); got != \"local_value\" {; t.Fatalf(\".env.local did not win over .env for unset key: %q\", got)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 697,
    "name": "TestMergeEnvFileMissingIsNoop",
    "purpose": "Merge Env File Missing Is Noop",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Env File Missing Is Noop. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_cast_test.go",
    "line": 701,
    "name": "TestLoadCastEnvKeepsExportedSupabaseURL",
    "purpose": "Load Cast Env Keeps Exported Supabase URL",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Load Cast Env Keeps Exported Supabase URL. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if got := os.Getenv(\"SUPABASE_URL\"); got != sentinel {; t.Fatalf(\"loadCastEnv stomped exported SUPABASE_URL: %q\", got) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if got := os.Getenv(\"SUPABASE_URL\"); got != sentinel {; t.Fatalf(\"loadCastEnv stomped exported SUPABASE_URL: %q\", got)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1078,
    "name": "TestPutStepsInRereadErrorKeepsSave",
    "purpose": "Put Steps In Reread Error Keeps Save",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Reread Error Keeps Save. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String()) Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1108,
    "name": "TestPutStepsInNilRereadKeepsSave",
    "purpose": "Put Steps In Nil Reread Keeps Save",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Nil Reread Keeps Save. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String()) Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1163,
    "name": "TestHandleMe_Unauthenticated",
    "purpose": "Handle Me Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1170,
    "name": "TestHandleMe_DaveIsDave",
    "purpose": "Handle Me Dave Is Dave",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Dave Is Dave. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1200,
    "name": "TestHandleMe_IsAdminTrue",
    "purpose": "Handle Me Is Admin True",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Is Admin True. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1216,
    "name": "TestHandleMe_IsAdminFalseWhenProfileMissing",
    "purpose": "Handle Me Is Admin False When Profile Missing",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Is Admin False When Profile Missing. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1232,
    "name": "TestHandleMe_OwnGivenNameIsOneEntityRead",
    "purpose": "Handle Me Own Given Name Is One Entity Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Own Given Name Is One Entity Read. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.entityReads != 1 { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.entityReads != 1 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1255,
    "name": "TestHandleMe_EmilyCannotBecomeDave",
    "purpose": "Handle Me Emily Cannot Become Dave",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Emily Cannot Become Dave. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1272,
    "name": "TestHandleMe_UnknownJWTDoesNotMint",
    "purpose": "Handle Me Unknown JWTDoes Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Unknown JWTDoes Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1287,
    "name": "TestHandleMe_IncompleteOnboardingSidecar",
    "purpose": "Handle Me Incomplete Onboarding Sidecar",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Me Incomplete Onboarding Sidecar. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1308,
    "name": "TestHandleCompleteOnboarding",
    "purpose": "Handle Complete Onboarding",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Complete Onboarding. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastRPC == \"complete_signup_onboarding\" { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastRPC == \"complete_signup_onboarding\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1339,
    "name": "TestHandleCompleteOnboarding_AcknowledgesWithoutAName",
    "purpose": "Handle Complete Onboarding Acknowledges Without AName",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Complete Onboarding Acknowledges Without AName. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastRPC != \"complete_signup_onboarding\" { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastRPC != \"complete_signup_onboarding\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1378,
    "name": "TestHandleCompleteOnboarding_RequiresLegalName",
    "purpose": "Handle Complete Onboarding Requires Legal Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Complete Onboarding Requires Legal Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_me_test.go",
    "line": 1403,
    "name": "TestHandleCompleteOnboarding_NoAccountIs404",
    "purpose": "Handle Complete Onboarding No Account Is404",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Complete Onboarding No Account Is404. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 { Relevant implementation: server/internal/handlers/handlers_me.go. Relevant implementation: server/internal/handlers/handlers_me.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.writes != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_cast_test.go",
    "line": 23,
    "name": "TestM1_MemberBankAccountVertical",
    "purpose": "M1 Member Bank Account Vertical",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 Member Bank Account Vertical. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"jwks: %v\", err); if unauth.Code != http.StatusUnauthorized { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"jwks: %v\", err); if unauth.Code != http.StatusUnauthorized {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 19,
    "name": "TestM1B_ReplayAuthorizesCurrentRecord",
    "purpose": "M1 B Replay Authorizes Current Record",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Replay Authorizes Current Record. The test checks the returned/domain behavior at its boundary. Assertion evidence: if edited.Institution != \"M1B Replay Bank Later\" || edited.AccountKind != \"savings\" {; t.Fatalf(\"edit did not commit: %+v\", edited); if replay.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if edited.Institution != \"M1B Replay Bank Later\" || edited.AccountKind != \"savings\" {; t.Fatalf(\"edit did not commit: %+v\", edited); if replay.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 73,
    "name": "TestM1B_GenericWriterInvalidatesBankToken",
    "purpose": "M1 B Generic Writer Invalidates Bank Token",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Generic Writer Invalidates Bank Token. The test checks the returned/domain behavior at its boundary. Assertion evidence: if fact.Code != http.StatusOK && fact.Code != http.StatusCreated {; t.Fatalf(\"generic fact write status=%d body=%s\", fact.Code, fact.Body.String()); if stale.Code != http.StatusConflict { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if fact.Code != http.StatusOK && fact.Code != http.StatusCreated {; t.Fatalf(\"generic fact write status=%d body=%s\", fact.Code, fact.Body.String()); if stale.Code != http.StatusConflict {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 119,
    "name": "TestM1B_SparseUnknownBankAccount",
    "purpose": "M1 B Sparse Unknown Bank Account",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Sparse Unknown Bank Account. The test checks the returned/domain behavior at its boundary. Assertion evidence: if resp.Code != http.StatusOK {; t.Fatalf(\"empty sheet status=%d body=%s\", resp.Code, resp.Body.String()); if err := json.Unmarshal(resp.Body.Bytes(), &empty); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if resp.Code != http.StatusOK {; t.Fatalf(\"empty sheet status=%d body=%s\", resp.Code, resp.Body.String()); if err := json.Unmarshal(resp.Body.Bytes(), &empty); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 190,
    "name": "TestM1B_PatchPreservesOmittedAndClearsExplicit",
    "purpose": "M1 B Patch Preserves Omitted And Clears Explicit",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Patch Preserves Omitted And Clears Explicit. The test checks the returned/domain behavior at its boundary. Assertion evidence: if kept.IdentifierSuffix != \"4417\" || kept.AccountKind != \"checking\" || kept.Owner != \"me\" {; t.Fatalf(\"omitted fields were cleared: %+v\", kept); if cleared.IdentifierSuffix != \"\" || cleared.Institution != \"M1B Patch Bank\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if kept.IdentifierSuffix != \"4417\" || kept.AccountKind != \"checking\" || kept.Owner != \"me\" {; t.Fatalf(\"omitted fields were cleared: %+v\", kept); if cleared.IdentifierSuffix != \"\" || cleared.Institution != \"M1B Patch Bank\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 242,
    "name": "TestM1B_StrictJSONRejectsTrailingAndAliases",
    "purpose": "M1 B Strict JSONRejects Trailing And Aliases",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Strict JSONRejects Trailing And Aliases. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if trailing.Code != http.StatusBadRequest {; t.Fatalf(\"trailing JSON status=%d body=%s\", trailing.Code, trailing.Body.String()); if alias.Code != http.StatusBadRequest { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if trailing.Code != http.StatusBadRequest {; t.Fatalf(\"trailing JSON status=%d body=%s\", trailing.Code, trailing.Body.String()); if alias.Code != http.StatusBadRequest {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 269,
    "name": "TestM1B_DisallowedManualSourceCannotWrite",
    "purpose": "M1 B Disallowed Manual Source Cannot Write",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Disallowed Manual Source Cannot Write. The test checks the returned/domain behavior at its boundary. Assertion evidence: if denied.Code != http.StatusBadRequest {; t.Fatalf(\"disallowed institution status=%d body=%s\", denied.Code, denied.Body.String()); if bankFixtureCount(t, daveID) != before { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if denied.Code != http.StatusBadRequest {; t.Fatalf(\"disallowed institution status=%d body=%s\", denied.Code, denied.Body.String()); if bankFixtureCount(t, daveID) != before {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 306,
    "name": "TestM1B_PartnerReadIsNotAnyShare",
    "purpose": "M1 B Partner Read Is Not Any Share",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Partner Read Is Not Any Share. The test checks the returned/domain behavior at its boundary. Assertion evidence: if share.Code != http.StatusCreated && share.Code != http.StatusOK {; t.Fatalf(\"share status=%d body=%s\", share.Code, share.Body.String()); t.Fatalf(\"access flags = %+v\", fresh) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if share.Code != http.StatusCreated && share.Code != http.StatusOK {; t.Fatalf(\"share status=%d body=%s\", share.Code, share.Body.String()); t.Fatalf(\"access flags = %+v\", fresh)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1b_test.go",
    "line": 345,
    "name": "TestM1B_FreshReadSuppliesEditToken",
    "purpose": "M1 B Fresh Read Supplies Edit Token",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 B Fresh Read Supplies Edit Token. The test checks the returned/domain behavior at its boundary. Assertion evidence: if fresh.Code != http.StatusOK {; t.Fatalf(\"fresh read status=%d body=%s\", fresh.Code, fresh.Body.String()); if err := json.Unmarshal(fresh.Body.Bytes(), &read); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if fresh.Code != http.StatusOK {; t.Fatalf(\"fresh read status=%d body=%s\", fresh.Code, fresh.Body.String()); if err := json.Unmarshal(fresh.Body.Bytes(), &read); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 20,
    "name": "TestM1F_ProtectedBankSaveRollsBack",
    "purpose": "M1 F Protected Bank Save Rolls Back",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F Protected Bank Save Rolls Back. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local stack tests are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if saved.ItemID == \"\" || saved.EntityID == \"\" || saved.Institution != \"M1F Rollback Tracer\" {; t.Fatalf(\"protected save did not return the complete result: %s\", raw) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"local stack tests are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local stack tests are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if saved.ItemID == \"\" || saved.EntityID == \"\" || saved.Institution != \"M1F Rollback Tracer\" {; t.Fatalf(\"protected save did not return the complete result: %s\", raw)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 38,
    "name": "TestM1F_PublicationLockRollsBack",
    "purpose": "M1 F Publication Lock Rolls Back",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F Publication Lock Rolls Back. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := hold.waitFile(dir+\"/hold-share\", 8*time.Second); err != nil {; t.Fatalf(\"publication share was not acknowledged: %v\", err); if text, err := runs[i].session.waitFile(dir+\"/role-\"+runs[i].session.app, 8*time.Second); err != nil || !strings.Contains(text, \"role\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := hold.waitFile(dir+\"/hold-share\", 8*time.Second); err != nil {; t.Fatalf(\"publication share was not acknowledged: %v\", err); if text, err := runs[i].session.waitFile(dir+\"/role-\"+runs[i].session.app, 8*time.Second); err != nil || !strings.Contains(text, \"role\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 107,
    "name": "TestM1F_AdmissionWithdrawalAborts",
    "purpose": "M1 F Admission Withdrawal Aborts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F Admission Withdrawal Aborts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := hold.waitFile(dir+\"/share\", 8*time.Second); err != nil {; t.Fatalf(\"admission holder was not acknowledged: %v\", err); if _, err := save.waitFile(dir+\"/role\", 8*time.Second); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := hold.waitFile(dir+\"/share\", 8*time.Second); err != nil {; t.Fatalf(\"admission holder was not acknowledged: %v\", err); if _, err := save.waitFile(dir+\"/role\", 8*time.Second); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 147,
    "name": "TestM1F_GenericWriterOverlapRefusesStaleToken",
    "purpose": "M1 F Generic Writer Overlap Refuses Stale Token",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F Generic Writer Overlap Refuses Stale Token. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := writer.waitFile(dir+\"/write\", 8*time.Second); err != nil {; t.Fatalf(\"generic writer was not acknowledged: %v\", err); if _, err := edit.waitFile(dir+\"/edit-role\", 8*time.Second); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := writer.waitFile(dir+\"/write\", 8*time.Second); err != nil {; t.Fatalf(\"generic writer was not acknowledged: %v\", err); if _, err := edit.waitFile(dir+\"/edit-role\", 8*time.Second); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 183,
    "name": "TestM1F_ConnectionCloseAbortsUncommittedSave",
    "purpose": "M1 F Connection Close Aborts Uncommitted Save",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F Connection Close Aborts Uncommitted Save. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := save.waitFile(dir+\"/role\", 8*time.Second); err != nil {; t.Fatalf(\"setup failed before the uncommitted save: %v\", err); if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := save.waitFile(dir+\"/role\", 8*time.Second); err != nil {; t.Fatalf(\"setup failed before the uncommitted save: %v\", err); if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 213,
    "name": "TestM1F_SQLFailureAbortsUncommittedSave",
    "purpose": "M1 F SQLFailure Aborts Uncommitted Save",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F SQLFailure Aborts Uncommitted Save. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if _, err := save.waitFile(dir+\"/role\", 8*time.Second); err != nil {; t.Fatalf(\"setup failed before the injected SQL error: %v\", err); if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if _, err := save.waitFile(dir+\"/role\", 8*time.Second); err != nil {; t.Fatalf(\"setup failed before the injected SQL error: %v\", err); if err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_lock_test.go",
    "line": 240,
    "name": "TestM1F_WriterReleasedBeforeFixtureDelete",
    "purpose": "M1 F Writer Released Before Fixture Delete",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 F Writer Released Before Fixture Delete. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := writer.waitFile(dir+\"/write\", 8*time.Second); err != nil {; t.Fatalf(\"writer did not hold the item: %v\", err); if observeCount(t, target, fmt.Sprintf(\"SELECT count(*)::text FROM pg_stat_activity WHERE application_name = %s AND state = 'idle in transaction'\", sqlQuote(writer.app))) == \"0\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := writer.waitFile(dir+\"/write\", 8*time.Second); err != nil {; t.Fatalf(\"writer did not hold the item: %v\", err); if observeCount(t, target, fmt.Sprintf(\"SELECT count(*)::text FROM pg_stat_activity WHERE application_name = %s AND state = 'idle in transaction'\", sqlQuote(writer.app))) == \"0\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_test.go",
    "line": 14,
    "name": "TestM1C_SetupStaysOwnerScoped",
    "purpose": "M1 C Setup Stays Owner Scoped",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 C Setup Stays Owner Scoped. The test checks the returned/domain behavior at its boundary. Assertion evidence: if share.Code != http.StatusCreated && share.Code != http.StatusOK {; t.Fatalf(\"share status=%d body=%s\", share.Code, share.Body.String()); if setup.Code != http.StatusNotFound { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if share.Code != http.StatusCreated && share.Code != http.StatusOK {; t.Fatalf(\"share status=%d body=%s\", share.Code, share.Body.String()); if setup.Code != http.StatusNotFound {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_test.go",
    "line": 61,
    "name": "TestM1C_PatchPinsOnlySetFacts",
    "purpose": "M1 C Patch Pins Only Set Facts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 C Patch Pins Only Set Facts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if institution == nil {; if unpin.Code != http.StatusOK {; t.Fatalf(\"unpin status=%d body=%s\", unpin.Code, unpin.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if institution == nil {; if unpin.Code != http.StatusOK {; t.Fatalf(\"unpin status=%d body=%s\", unpin.Code, unpin.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1c_test.go",
    "line": 119,
    "name": "TestM1C_SharedSparseRecords",
    "purpose": "M1 C Shared Sparse Records",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 C Shared Sparse Records. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if share.Code != http.StatusCreated && share.Code != http.StatusOK {; t.Fatalf(\"share status=%d body=%s\", share.Code, share.Body.String()); if hub.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if share.Code != http.StatusCreated && share.Code != http.StatusOK {; t.Fatalf(\"share status=%d body=%s\", share.Code, share.Body.String()); if hub.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1d_test.go",
    "line": 31,
    "name": "TestM1D_MalformedIDsDoNotCallBankRPC",
    "purpose": "M1 D Malformed IDs Do Not Call Bank RPC",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 D Malformed IDs Do Not Call Bank RPC. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if err != nil {; if badCreate.Code != http.StatusBadRequest {; t.Fatalf(\"bad request_id status=%d body=%s\", badCreate.Code, badCreate.Body.String()) Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if badCreate.Code != http.StatusBadRequest {; t.Fatalf(\"bad request_id status=%d body=%s\", badCreate.Code, badCreate.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1d_test.go",
    "line": 70,
    "name": "TestM1D_OlderTransactionCommitInvalidatesSnapshot",
    "purpose": "M1 D Older Transaction Commit Invalidates Snapshot",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 D Older Transaction Commit Invalidates Snapshot. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := writer.finish(true); err != nil {; t.Errorf(\"release older writer: %v\", err); if itemID != \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := writer.finish(true); err != nil {; t.Errorf(\"release older writer: %v\", err); if itemID != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1d_test.go",
    "line": 113,
    "name": "TestM1D_ConfirmChangesBankToken",
    "purpose": "M1 D Confirm Changes Bank Token",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 D Confirm Changes Bank Token. The test checks the returned/domain behavior at its boundary. Assertion evidence: if institution == nil {; if fresh.Code != http.StatusOK {; t.Fatalf(\"read status=%d body=%s\", fresh.Code, fresh.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if institution == nil {; if fresh.Code != http.StatusOK {; t.Fatalf(\"read status=%d body=%s\", fresh.Code, fresh.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1e_test.go",
    "line": 20,
    "name": "TestM1E_WhitespaceEditIsNotCreate",
    "purpose": "M1 E Whitespace Edit Is Not Create",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 E Whitespace Edit Is Not Create. The test checks the returned/domain behavior at its boundary. Assertion evidence: if item != \"\" {; if resp.Code != http.StatusNotFound {; t.Fatalf(\"malformed edit target should be 404, not create: status=%d body=%s\", resp.Code, resp.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if item != \"\" {; if resp.Code != http.StatusNotFound {; t.Fatalf(\"malformed edit target should be 404, not create: status=%d body=%s\", resp.Code, resp.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_bank_m1e_test.go",
    "line": 41,
    "name": "TestM1E_RawInvalidIdentifiersDoNotCallBankRPC",
    "purpose": "M1 E Raw Invalid Identifiers Do Not Call Bank RPC",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 E Raw Invalid Identifiers Do Not Call Bank RPC. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if err != nil {; {http.MethodPatch, \"/api/onboarding/financial-accounts/%20\", map[string]any{\"request_id\": newTestUUID(t), \"institution\": \"space\"}, http.StatusNotFound},; {http.MethodPatch, \"/api/onboarding/financial-accounts/%09\", map[string]any{\"request_id\": newTestUUID(t), \"institution\": \"tab\"}, http.StatusNotFound}, Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; {http.MethodPatch, \"/api/onboarding/financial-accounts/%20\", map[string]any{\"request_id\": newTestUUID(t), \"institution\": \"space\"}, http.StatusNotFound},; {http.MethodPatch, \"/api/onboarding/financial-accounts/%09\", map[string]any{\"request_id\": newTestUUID(t), \"institution\": \"tab\"}, http.StatusNotFound},",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_onboarding_member_entered_cast_test.go",
    "line": 29,
    "name": "TestM1_AccountListCarriesMemberEntered",
    "purpose": "M1 Account List Carries Member Entered",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M1 Account List Carries Member Entered. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"jwks: %v\", err); if createdResp.Code != http.StatusCreated { Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"jwks: %v\", err); if createdResp.Code != http.StatusCreated {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 294,
    "name": "TestHandlePeople_OverlayUsesSpousePreferredName_Live",
    "purpose": "Handle People Overlay Uses Spouse Preferred Name Live",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Overlay Uses Spouse Preferred Name Live. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); }); code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); }); code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 386,
    "name": "TestHandlePeople_InviteMintsGraphPerson_Live",
    "purpose": "Handle People Invite Mints Graph Person Live",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Invite Mints Graph Person Live. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if daveMe.ActiveSpouse != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if daveMe.ActiveSpouse != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 524,
    "name": "TestHandlePeople_ExpireThenReinviteReusesPerson_Live",
    "purpose": "Handle People Expire Then Reinvite Reuses Person Live",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Expire Then Reinvite Reuses Person Live. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if first.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if first.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 594,
    "name": "TestHandlePeople_PostAcceptReinviteReusesLoginUID_Live",
    "purpose": "Handle People Post Accept Reinvite Reuses Login UID Live",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Post Accept Reinvite Reuses Login UID Live. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if entityID == \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if entityID == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 680,
    "name": "TestHandleAddPerson_CastWritesAssertionTwins",
    "purpose": "Handle Add Person Cast Writes Assertion Twins",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Person Cast Writes Assertion Twins. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if created.Code != http.StatusCreated { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if created.Code != http.StatusCreated {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 820,
    "name": "TestHandlePeople_TypedSpouseCopyWins_Live",
    "purpose": "Handle People Typed Spouse Copy Wins Live",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Typed Spouse Copy Wins Live. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if code, body := saveSelfNameLive(t, router, step.token, step.body); code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if code, body := saveSelfNameLive(t, router, step.token, step.body); code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 946,
    "name": "TestHandlePeople_GracePendingInviteSaysYourSpouse",
    "purpose": "Handle People Grace Pending Invite Says Your Spouse",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Grace Pending Invite Says Your Spouse. The test checks the returned/domain behavior at its boundary. Assertion evidence: if created.Code != http.StatusOK {; t.Fatalf(\"create spouse invite status=%d body=%s\", created.Code, created.Body.String()); if err := json.Unmarshal(created.Body.Bytes(), &invite); err != nil || invite.InviteID == \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if created.Code != http.StatusOK {; t.Fatalf(\"create spouse invite status=%d body=%s\", created.Code, created.Body.String()); if err := json.Unmarshal(created.Body.Bytes(), &invite); err != nil || invite.InviteID == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 1056,
    "name": "TestHandleAddPerson_SpouseAlreadyNamed",
    "purpose": "Handle Add Person Spouse Already Named",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Person Spouse Already Named. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if created.Code != http.StatusConflict { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if created.Code != http.StatusConflict {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 1083,
    "name": "TestHandleAttachPrincipal_SpouseAlreadyNamed",
    "purpose": "Handle Attach Principal Spouse Already Named",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Attach Principal Spouse Already Named. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if len(parts) != 2 || !validUUID(parts[0]) || !validUUID(parts[1]) { Relevant implementation: server/internal/handlers/handlers_value_review.go:97 validUUID. Relevant implementation: server/internal/handlers/handlers_value_review.go:97 validUUID.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if len(parts) != 2 || !validUUID(parts[0]) || !validUUID(parts[1]) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 1135,
    "name": "TestHandleAddPerson_SpouseAlreadyUnnamed",
    "purpose": "Handle Add Person Spouse Already Unnamed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Person Spouse Already Unnamed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if existing != \"0\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if existing != \"0\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_cast_test.go",
    "line": 1210,
    "name": "TestHandleAddPerson_SpouseAlreadyTypedNickname",
    "purpose": "Handle Add Person Spouse Already Typed Nickname",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Person Spouse Already Typed Nickname. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if existing != \"0\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"host psql not found\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := exec.LookPath(\"psql\"); err != nil {; t.Skip(\"host psql not found\"); if existing != \"0\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_relationships_test.go",
    "line": 15,
    "name": "TestSavePersonPassed_OverlayIs403AndNonUUIDIs404",
    "purpose": "Save Person Passed Overlay Is403 And Non UUIDIs404",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Save Person Passed Overlay Is403 And Non UUIDIs404. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"save_person_passed\") {; w.WriteHeader(http.StatusInternalServerError); if r.Method == http.MethodGet { Relevant implementation: server/internal/handlers/handlers_people.go:265 HandleSavePersonPassed. Relevant implementation: server/internal/handlers/handlers_people.go:265 HandleSavePersonPassed.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"save_person_passed\") {; w.WriteHeader(http.StatusInternalServerError); if r.Method == http.MethodGet {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_relationships_test.go",
    "line": 74,
    "name": "TestPeopleP0001MessagesUseMemberSentences",
    "purpose": "People P0001 Messages Use Member Sentences",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People P0001 Messages Use Member Sentences. The test checks the returned/domain behavior at its boundary. Assertion evidence: code: \"P0001\", status: http.StatusBadRequest,; rpc:  \"add_person_manual\", code: \"P0001\", status: http.StatusBadRequest,; rpc:  \"add_entity_relation\", code: \"P0001\", status: http.StatusBadRequest, Relevant implementation: server/internal/handlers/handlers_relations.go:87 HandleAddEntityRelation, server/internal/handlers/handlers_people.go:265 HandleSavePersonPassed. Relevant implementation: server/internal/handlers/handlers_relations.go:87 HandleAddEntityRelation, server/internal/handlers/handlers_people.go:265 HandleSavePersonPassed.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "code: \"P0001\", status: http.StatusBadRequest,; rpc:  \"add_person_manual\", code: \"P0001\", status: http.StatusBadRequest,; rpc:  \"add_entity_relation\", code: \"P0001\", status: http.StatusBadRequest,",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_relationships_test.go",
    "line": 185,
    "name": "TestRemovedPersonP0001StaysConflict",
    "purpose": "Removed Person P0001 Stays Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Removed Person P0001 Stays Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; case strings.Contains(r.URL.Path, \"/rest/v1/rpc/\"+tc.rpc):; w.WriteHeader(http.StatusBadRequest) Relevant implementation: server/internal/handlers/handlers_relations.go:87 HandleAddEntityRelation, server/internal/handlers/handlers_people.go:265 HandleSavePersonPassed. Relevant implementation: server/internal/handlers/handlers_relations.go:87 HandleAddEntityRelation, server/internal/handlers/handlers_people.go:265 HandleSavePersonPassed.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; case strings.Contains(r.URL.Path, \"/rest/v1/rpc/\"+tc.rpc):; w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_removal_test.go",
    "line": 16,
    "name": "TestRemovePerson_TokensMapToStatus",
    "purpose": "Remove Person Tokens Map To Status",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Person Tokens Map To Status. The test checks the returned/domain behavior at its boundary. Assertion evidence: {\"not_allowed\", &services.RemoveNotAllowedError{Kind: \"not_you\"}, http.StatusConflict, \"remove_not_allowed\"},; {\"blocked\", &services.RemoveBlockedError{Blockers: json.RawMessage(`[{\"kind\":\"share\",\"ref_id\":\"00000000-0000-4000-8000-000000000001\"}]`)}, http.StatusConflict, \"remove_blocked\"},; {\"window\", services.ErrRestoreClosed, http.StatusConflict, \"restore_window_closed\"}, Relevant implementation: server/internal/handlers/handlers_people.go:196 writePersonRemovalError. Relevant implementation: server/internal/handlers/handlers_people.go:196 writePersonRemovalError.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "{\"not_allowed\", &services.RemoveNotAllowedError{Kind: \"not_you\"}, http.StatusConflict, \"remove_not_allowed\"},; {\"blocked\", &services.RemoveBlockedError{Blockers: json.RawMessage(`[{\"kind\":\"share\",\"ref_id\":\"00000000-0000-4000-8000-000000000001\"}]`)}, http.StatusConflict, \"remove_blocked\"},; {\"window\", services.ErrRestoreClosed, http.StatusConflict, \"restore_window_closed\"},",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_removal_test.go",
    "line": 57,
    "name": "TestRemovePerson_SQLNotFoundAndNonUUID",
    "purpose": "Remove Person SQLNot Found And Non UUID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Person SQLNot Found And Non UUID. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if strings.Contains(r.URL.Path, \"/rpc/\") {; w.WriteHeader(http.StatusBadRequest); case strings.Contains(r.URL.Path, \"/rest/v1/account_onboarding\"), Relevant implementation: server/internal/handlers/handlers_people.go:239 HandleRemovePerson. Relevant implementation: server/internal/handlers/handlers_people.go:239 HandleRemovePerson.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/rpc/\") {; w.WriteHeader(http.StatusBadRequest); case strings.Contains(r.URL.Path, \"/rest/v1/account_onboarding\"),",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_roles_cast_test.go",
    "line": 142,
    "name": "TestHandlePeople_CastAcceptedExecutorSafeNameAndPlansRole",
    "purpose": "Handle People Cast Accepted Executor Safe Name And Plans Role",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Cast Accepted Executor Safe Name And Plans Role. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if accept.Code != http.StatusOK {; t.Fatalf(\"accept status=%d body=%s\", accept.Code, accept.Body.String()); if err := json.Unmarshal(accept.Body.Bytes(), &minted); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if accept.Code != http.StatusOK {; t.Fatalf(\"accept status=%d body=%s\", accept.Code, accept.Body.String()); if err := json.Unmarshal(accept.Body.Bytes(), &minted); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_roles_cast_test.go",
    "line": 328,
    "name": "TestHandlePeople_CastOursTwoOwnerEvidenceDoesNotCross",
    "purpose": "Handle People Cast Ours Two Owner Evidence Does Not Cross",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Cast Ours Two Owner Evidence Does Not Cross. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if len(parts) != 3 {; t.Fatalf(\"two-owner fixture output %q\", line); if davePeople.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if len(parts) != 3 {; t.Fatalf(\"two-owner fixture output %q\", line); if davePeople.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_roles_cast_test.go",
    "line": 396,
    "name": "TestHandlePeople_CastPublishedRoleFamilies",
    "purpose": "Handle People Cast Published Role Families",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Cast Published Role Families. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if line == \"\" || !strings.Contains(line, \"|\") {; if len(parts) != 4 {; t.Fatalf(\"family line %q\", line) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if line == \"\" || !strings.Contains(line, \"|\") {; if len(parts) != 4 {; t.Fatalf(\"family line %q\", line)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_roles_cast_test.go",
    "line": 458,
    "name": "TestHandlePeople_CastWrongSubjectDoesNotInventExecutor",
    "purpose": "Handle People Cast Wrong Subject Does Not Invent Executor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Cast Wrong Subject Does Not Invent Executor. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if line == \"\" || !strings.Contains(line, \"|\") {; if len(parts) != 4 {; t.Fatalf(\"wrong-subject line %q\", line) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if line == \"\" || !strings.Contains(line, \"|\") {; if len(parts) != 4 {; t.Fatalf(\"wrong-subject line %q\", line)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_test.go",
    "line": 43,
    "name": "TestHandlePeople_OverlayUsesSpousePreferredName",
    "purpose": "Handle People Overlay Uses Spouse Preferred Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Overlay Uses Spouse Preferred Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if me.Code != http.StatusOK {; t.Fatalf(\"GET /api/me status=%d body=%s\", me.Code, me.Body.String()); if err := json.Unmarshal(me.Body.Bytes(), &session); err != nil { Relevant implementation: server/internal/handlers/handlers_people.go. Relevant implementation: server/internal/handlers/handlers_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if me.Code != http.StatusOK {; t.Fatalf(\"GET /api/me status=%d body=%s\", me.Code, me.Body.String()); if err := json.Unmarshal(me.Body.Bytes(), &session); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_test.go",
    "line": 134,
    "name": "TestHandlePeople_OverlayPeekErrorFailsTheRoster",
    "purpose": "Handle People Overlay Peek Error Fails The Roster",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle People Overlay Peek Error Fails The Roster. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code == http.StatusOK {; t.Fatalf(\"spouse shown-name error must fail the roster, got %s\", got.Body.String()) Relevant implementation: server/internal/handlers/handlers_people.go. Relevant implementation: server/internal/handlers/handlers_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code == http.StatusOK {; t.Fatalf(\"spouse shown-name error must fail the roster, got %s\", got.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_test.go",
    "line": 179,
    "name": "TestHandleKeepPersonName_ForwardsAssertionID",
    "purpose": "Handle Keep Person Name Forwards Assertion ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Keep Person Name Forwards Assertion ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastFn != \"keep_person_name\" || backend.lastPayload[\"p_assertion\"] != assertionID { Relevant implementation: server/internal/handlers/handlers_people.go. Relevant implementation: server/internal/handlers/handlers_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.lastFn != \"keep_person_name\" || backend.lastPayload[\"p_assertion\"] != assertionID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_test.go",
    "line": 200,
    "name": "TestHandleKeepPersonName_MissingAssertionIDIs400",
    "purpose": "Handle Keep Person Name Missing Assertion IDIs400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Keep Person Name Missing Assertion IDIs400. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s payload=%v\", w.Code, w.Body.String(), backend.lastPayload) Relevant implementation: server/internal/handlers/handlers_people.go. Relevant implementation: server/internal/handlers/handlers_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s payload=%v\", w.Code, w.Body.String(), backend.lastPayload)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_people_test.go",
    "line": 213,
    "name": "TestHandleSetUpSharing_MarksReadyWithoutMintingPerson",
    "purpose": "Handle Set Up Sharing Marks Ready Without Minting Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Set Up Sharing Marks Ready Without Minting Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"share-setup status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"set_up_graph_sharing\" { Relevant implementation: server/internal/handlers/handlers_people.go. Relevant implementation: server/internal/handlers/handlers_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"share-setup status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"set_up_graph_sharing\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_records_hub_cast_test.go",
    "line": 127,
    "name": "TestG6Read_RecordsHubFiveCoreSections",
    "purpose": "G6 Read Records Hub Five Core Sections",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Records Hub Five Core Sections. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_records_hub_cast_test.go",
    "line": 221,
    "name": "TestG6Read_RecordsHubUnboundProposedTheirsAndConfirm",
    "purpose": "G6 Read Records Hub Unbound Proposed Theirs And Confirm",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Records Hub Unbound Proposed Theirs And Confirm. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_records_hub_cast_test.go",
    "line": 331,
    "name": "TestG6Read_RecordsHubOursViewerGraph",
    "purpose": "G6 Read Records Hub Ours Viewer Graph",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Records Hub Ours Viewer Graph. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_records_hub_cast_test.go",
    "line": 366,
    "name": "TestG6Read_RecordsHubProposedSameKeyDoesNotGroup",
    "purpose": "G6 Read Records Hub Proposed Same Key Does Not Group",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Records Hub Proposed Same Key Does Not Group. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if daveGot.Code != http.StatusOK {; t.Fatalf(\"dave hub status=%d body=%s\", daveGot.Code, daveGot.Body.String()); if err := json.Unmarshal(daveGot.Body.Bytes(), &daveHub); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_records_hub_cast_test.go",
    "line": 431,
    "name": "TestG6Read_RecordsHubBoundMoneyCarriesEntityID",
    "purpose": "G6 Read Records Hub Bound Money Carries Entity ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Records Hub Bound Money Carries Entity ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hubGot.Code != http.StatusOK {; t.Fatalf(\"hub status=%d body=%s\", hubGot.Code, hubGot.Body.String()); if err := json.Unmarshal(hubGot.Body.Bytes(), &hub); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hubGot.Code != http.StatusOK {; t.Fatalf(\"hub status=%d body=%s\", hubGot.Code, hubGot.Body.String()); if err := json.Unmarshal(hubGot.Body.Bytes(), &hub); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_records_hub_cast_test.go",
    "line": 574,
    "name": "TestG6Read_RecordsHubBoundWillCarriesEntityID",
    "purpose": "G6 Read Records Hub Bound Will Carries Entity ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G6 Read Records Hub Bound Will Carries Entity ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hubGot.Code != http.StatusOK {; t.Fatalf(\"hub status=%d body=%s\", hubGot.Code, hubGot.Body.String()); if err := json.Unmarshal(hubGot.Body.Bytes(), &hub); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hubGot.Code != http.StatusOK {; t.Fatalf(\"hub status=%d body=%s\", hubGot.Code, hubGot.Body.String()); if err := json.Unmarshal(hubGot.Body.Bytes(), &hub); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 15,
    "name": "TestHandleListCoreRelations_Unauthenticated",
    "purpose": "Handle List Core Relations Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Core Relations Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 26,
    "name": "TestHandleListCoreRelations_ReturnsCoreSet",
    "purpose": "Handle List Core Relations Returns Core Set",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle List Core Relations Returns Core Set. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &payload); err != nil { Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &payload); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 64,
    "name": "TestHandleAddEntityRelation_Unauthenticated",
    "purpose": "Handle Add Entity Relation Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Entity Relation Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 77,
    "name": "TestHandleRetractEntityRelation_Unauthenticated",
    "purpose": "Handle Retract Entity Relation Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Retract Entity Relation Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 89,
    "name": "TestHandleRetractEntityRelation_NotFound",
    "purpose": "Handle Retract Entity Relation Not Found",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Retract Entity Relation Not Found. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 106,
    "name": "TestHandleAddEntityRelation_Created",
    "purpose": "Handle Add Entity Relation Created",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Entity Relation Created. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusCreated {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusCreated {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 124,
    "name": "TestHandleAddEntityRelation_Conflict",
    "purpose": "Handle Add Entity Relation Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Add Entity Relation Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 144,
    "name": "TestHandleRetractEntityRelation_DocumentRoleConflict",
    "purpose": "Handle Retract Entity Relation Document Role Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Retract Entity Relation Document Role Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_relations_test.go",
    "line": 169,
    "name": "TestHandleRetractEntityRelation_OK",
    "purpose": "Handle Retract Entity Relation OK",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Retract Entity Relation OK. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_relations.go. Relevant implementation: server/internal/handlers/handlers_relations.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_search_cast_test.go",
    "line": 37,
    "name": "TestHandleSearch_DaveSeedHasNoEntityHrefs",
    "purpose": "Handle Search Dave Seed Has No Entity Hrefs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Search Dave Seed Has No Entity Hrefs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if code != http.StatusOK {; t.Fatalf(\"status %d\", code); if len(got.Results) == 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if code != http.StatusOK {; t.Fatalf(\"status %d\", code); if len(got.Results) == 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_search_cast_test.go",
    "line": 73,
    "name": "TestHandleSearch_PersonHitIsRosterScoped",
    "purpose": "Handle Search Person Hit Is Roster Scoped",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Search Person Hit Is Roster Scoped. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if person.EntityID == shannonID {; if code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if person.EntityID == shannonID {; if code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_search_cast_test.go",
    "line": 149,
    "name": "TestHandleSearch_EmilyFindsGraceByHerShownName",
    "purpose": "Handle Search Emily Finds Grace By Her Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Search Emily Finds Grace By Her Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(fields) == 0 || fields[0] == \"\" {; if err != nil {; if roster != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(fields) == 0 || fields[0] == \"\" {; if err != nil {; if roster != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_search_test.go",
    "line": 28,
    "name": "TestHandleSearch_Unauthenticated",
    "purpose": "Handle Search Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Search Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_search.go. Relevant implementation: server/internal/handlers/handlers_search.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_search_test.go",
    "line": 35,
    "name": "TestHandleSearch_SessionLookupFailureIs500",
    "purpose": "Handle Search Session Lookup Failure Is500",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Search Session Lookup Failure Is500. The test checks the returned/domain behavior at its boundary. Assertion evidence: http.Error(w, `{\"message\":\"down\"}`, http.StatusInternalServerError); if w.Code != http.StatusInternalServerError {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_search.go. Relevant implementation: server/internal/handlers/handlers_search.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "http.Error(w, `{\"message\":\"down\"}`, http.StatusInternalServerError); if w.Code != http.StatusInternalServerError {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_cast_test.go",
    "line": 19,
    "name": "TestM2A_FirstNameSignupAndSelfNameSheet",
    "purpose": "M2 A First Name Signup And Self Name Sheet",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 A First Name Signup And Self Name Sheet. The test checks the returned/domain behavior at its boundary. Assertion evidence: if signup.Code != http.StatusOK {; t.Fatalf(\"first-name signup status=%d body=%s\", signup.Code, signup.Body.String()); if err := json.Unmarshal(signup.Body.Bytes(), &created); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if signup.Code != http.StatusOK {; t.Fatalf(\"first-name signup status=%d body=%s\", signup.Code, signup.Body.String()); if err := json.Unmarshal(signup.Body.Bytes(), &created); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_cast_test.go",
    "line": 80,
    "name": "TestM2A_InviteSignupKeepsStructuredParts",
    "purpose": "M2 A Invite Signup Keeps Structured Parts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 A Invite Signup Keeps Structured Parts. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if invite.Code != http.StatusOK {; t.Fatalf(\"invite status=%d body=%s\", invite.Code, invite.Body.String()); if err := json.Unmarshal(invite.Body.Bytes(), &issued); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if invite.Code != http.StatusOK {; t.Fatalf(\"invite status=%d body=%s\", invite.Code, invite.Body.String()); if err := json.Unmarshal(invite.Body.Bytes(), &issued); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_cast_test.go",
    "line": 120,
    "name": "TestM2A_SelfNameDoesNotCrossAccounts",
    "purpose": "M2 A Self Name Does Not Cross Accounts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 A Self Name Does Not Cross Accounts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if resp.Code == http.StatusOK {; if saved.FirstName != \"Right\" {; t.Fatalf(\"other login save did not stay on its own sheet: %+v\", saved) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if resp.Code == http.StatusOK {; if saved.FirstName != \"Right\" {; t.Fatalf(\"other login save did not stay on its own sheet: %+v\", saved)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2ar_test.go",
    "line": 14,
    "name": "TestM2AR_PartialNameIsNotStrongIdentity",
    "purpose": "M2 AR Partial Name Is Not Strong Identity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AR Partial Name Is Not Strong Identity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hit := nameStrongHit(t, partial.UserID, \"ada byron gordon\"); hit != \"false\" {; t.Fatalf(\"partial name was strong proof: %s\", hit); if hit := nameStrongHit(t, complete.UserID, \"mary buren\"); hit != \"true\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hit := nameStrongHit(t, partial.UserID, \"ada byron gordon\"); hit != \"false\" {; t.Fatalf(\"partial name was strong proof: %s\", hit); if hit := nameStrongHit(t, complete.UserID, \"mary buren\"); hit != \"true\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2ar_test.go",
    "line": 32,
    "name": "TestM2AR_SignupSeedPreservesCommittedEdit",
    "purpose": "M2 AR Signup Seed Preserves Committed Edit",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AR Signup Seed Preserves Committed Edit. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if _, err := holder.waitFile(dir+\"/held\", 8*time.Second); err != nil {; t.Fatalf(\"person lock was not acknowledged: %v\", err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if _, err := holder.waitFile(dir+\"/held\", 8*time.Second); err != nil {; t.Fatalf(\"person lock was not acknowledged: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2ar_test.go",
    "line": 83,
    "name": "TestM2AR_NicknameEditDoesNotRepinLegalName",
    "purpose": "M2 AR Nickname Edit Does Not Repin Legal Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AR Nickname Edit Does Not Repin Legal Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: }, http.StatusOK); if saved.Nickname != \"Dee\" || saved.FirstName != \"Ada\" || saved.LastName != \"Lovelace\" {; t.Fatalf(\"nickname save = %+v\", saved) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "}, http.StatusOK); if saved.Nickname != \"Dee\" || saved.FirstName != \"Ada\" || saved.LastName != \"Lovelace\" {; t.Fatalf(\"nickname save = %+v\", saved)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2as_test.go",
    "line": 19,
    "name": "TestM2AS_PreserveCannotCompleteMissingFirstName",
    "purpose": "M2 AS Preserve Cannot Complete Missing First Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AS Preserve Cannot Complete Missing First Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if _, err := session.waitFile(dir+\"/incomplete\", 8*time.Second); err != nil {; t.Fatalf(\"fixture setup failed: %v\", err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if _, err := session.waitFile(dir+\"/incomplete\", 8*time.Second); err != nil {; t.Fatalf(\"fixture setup failed: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2as_test.go",
    "line": 49,
    "name": "TestM2AS_SignupSeedLocksPersonBeforeAccount",
    "purpose": "M2 AS Signup Seed Locks Person Before Account",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AS Signup Seed Locks Person Before Account. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if _, err := holder.waitFile(dir+\"/held\", 8*time.Second); err != nil {; t.Fatalf(\"person lock was not acknowledged: %v\", err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if _, err := holder.waitFile(dir+\"/held\", 8*time.Second); err != nil {; t.Fatalf(\"person lock was not acknowledged: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2as_test.go",
    "line": 90,
    "name": "TestM2AS_SelfNameAuthorityMatchesPeopleRoute",
    "purpose": "M2 AS Self Name Authority Matches People Route",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AS Self Name Authority Matches People Route. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if contact.Code != http.StatusCreated {; t.Fatalf(\"contact create status=%d body=%s\", contact.Code, contact.Body.String()); if err := json.Unmarshal(contact.Body.Bytes(), &entity); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if contact.Code != http.StatusCreated {; t.Fatalf(\"contact create status=%d body=%s\", contact.Code, contact.Body.String()); if err := json.Unmarshal(contact.Body.Bytes(), &entity); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2at_test.go",
    "line": 11,
    "name": "TestM2AT_FirstNameSignupFinishesWithoutALegacyRewrite",
    "purpose": "M2 AT First Name Signup Finishes Without ALegacy Rewrite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AT First Name Signup Finishes Without ALegacy Rewrite. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !me.Onboarding.Completed || me.SelfName == nil || me.SelfName.FirstName != \"Ada\" || me.SelfName.LastName != \"\" {; t.Fatalf(\"signup session = completed:%v name:%+v\", me.Onboarding.Completed, me.SelfName); if legacy.Code != http.StatusBadRequest { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !me.Onboarding.Completed || me.SelfName == nil || me.SelfName.FirstName != \"Ada\" || me.SelfName.LastName != \"\" {; t.Fatalf(\"signup session = completed:%v name:%+v\", me.Onboarding.Completed, me.SelfName); if legacy.Code != http.StatusBadRequest {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2au_test.go",
    "line": 16,
    "name": "TestM2AU_JSONOnlySheetDoesNotInventSurname",
    "purpose": "M2 AU JSONOnly Sheet Does Not Invent Surname",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AU JSONOnly Sheet Does Not Invent Surname. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &sheet); err != nil {; t.Fatalf(\"sheet %s: %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &sheet); err != nil {; t.Fatalf(\"sheet %s: %v\", raw, err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2au_test.go",
    "line": 44,
    "name": "TestM2AU_SeedPreservesCanonicalName",
    "purpose": "M2 AU Seed Preserves Canonical Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AU Seed Preserves Canonical Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &sheet); err != nil {; t.Fatalf(\"json seed sheet %s: %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &sheet); err != nil {; t.Fatalf(\"json seed sheet %s: %v\", raw, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2au_test.go",
    "line": 87,
    "name": "TestM2AU_PunctuationSurnameIsNotStrongIdentity",
    "purpose": "M2 AU Punctuation Surname Is Not Strong Identity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AU Punctuation Surname Is Not Strong Identity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if response.Code != http.StatusBadRequest && response.Code != http.StatusUnprocessableEntity && response.Code != http.StatusOK {; t.Fatalf(\"surname status=%d body=%s\", response.Code, response.Body.String()); if after.FirstName != \"Ada\" || after.MiddleName != \"Byron\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if response.Code != http.StatusBadRequest && response.Code != http.StatusUnprocessableEntity && response.Code != http.StatusOK {; t.Fatalf(\"surname status=%d body=%s\", response.Code, response.Body.String()); if after.FirstName != \"Ada\" || after.MiddleName != \"Byron\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2av_test.go",
    "line": 16,
    "name": "TestM2AV_JSONPreserveAndRecompose",
    "purpose": "M2 AV JSONPreserve And Recompose",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AV JSONPreserve And Recompose. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &sheet); err != nil {; t.Fatalf(\"nickname sheet %s: %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &sheet); err != nil {; t.Fatalf(\"nickname sheet %s: %v\", raw, err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2av_test.go",
    "line": 81,
    "name": "TestM2AV_GenericWriterRejectsUnusableSelfFirst",
    "purpose": "M2 AV Generic Writer Rejects Unusable Self First",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AV Generic Writer Rejects Unusable Self First. The test checks the returned/domain behavior at its boundary. Assertion evidence: if response.Code != http.StatusBadRequest && response.Code != http.StatusUnprocessableEntity {; t.Fatalf(\"status=%d body=%s\", response.Code, response.Body.String()); if after.FirstName != \"Original\" || after.Revision != before.Revision { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if response.Code != http.StatusBadRequest && response.Code != http.StatusUnprocessableEntity {; t.Fatalf(\"status=%d body=%s\", response.Code, response.Body.String()); if after.FirstName != \"Original\" || after.Revision != before.Revision {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_self_name_m2av_test.go",
    "line": 103,
    "name": "TestM2AV_LateSeedDoesNotRestoreClearedName",
    "purpose": "M2 AV Late Seed Does Not Restore Cleared Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AV Late Seed Does Not Restore Cleared Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if strings.TrimSpace(raw) != \"|done\" {; t.Fatalf(\"late seed restored a cleared name: %s\", raw) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if strings.TrimSpace(raw) != \"|done\" {; t.Fatalf(\"late seed restored a cleared name: %s\", raw)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 16,
    "name": "TestM2AW_AuthenticatedOwnRowUpdateDenied",
    "purpose": "M2 AW Authenticated Own Row Update Denied",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Authenticated Own Row Update Denied. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err == nil || !strings.Contains(err.Error(), \"permission denied\") {; t.Fatalf(\"own-row setup update was not denied: %v\", err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err == nil || !strings.Contains(err.Error(), \"permission denied\") {; t.Fatalf(\"own-row setup update was not denied: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 41,
    "name": "TestM2AW_BrowserCannotExecuteSetupCommand",
    "purpose": "M2 AW Browser Cannot Execute Setup Command",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Browser Cannot Execute Setup Command. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err == nil || !strings.Contains(err.Error(), \"permission denied\") {; t.Fatalf(\"browser role executed setup command: %v\", err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err == nil || !strings.Contains(err.Error(), \"permission denied\") {; t.Fatalf(\"browser role executed setup command: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 62,
    "name": "TestM2AW_LegacyExemptStartKeepsExemption",
    "purpose": "M2 AW Legacy Exempt Start Keeps Exemption",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Legacy Exempt Start Keeps Exemption. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &got); err != nil {; t.Fatalf(\"start result %s: %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal([]byte(strings.TrimSpace(raw)), &got); err != nil {; t.Fatalf(\"start result %s: %v\", raw, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 105,
    "name": "TestM2AW_SnapshotReadbackAndStaleCAS",
    "purpose": "M2 AW Snapshot Readback And Stale CAS",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Snapshot Readback And Stale CAS. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: }, http.StatusOK); if saved.Revision != before.Revision+1 || textOrEmpty(saved.Activity.Cursor) != \"bank\" || !saved.Activity.SourcesExplained {; t.Fatalf(\"command snapshot = %+v\", saved) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "}, http.StatusOK); if saved.Revision != before.Revision+1 || textOrEmpty(saved.Activity.Cursor) != \"bank\" || !saved.Activity.SourcesExplained {; t.Fatalf(\"command snapshot = %+v\", saved)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 153,
    "name": "TestM2AW_InvalidActivityAndForeignReference",
    "purpose": "M2 AW Invalid Activity And Foreign Reference",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Invalid Activity And Foreign Reference. The test checks the returned/domain behavior at its boundary. Assertion evidence: if resp.Code != http.StatusBadRequest || !strings.Contains(resp.Body.String(), tc.want) {; t.Fatalf(\"invalid setup: status=%d body=%s, want %s\", resp.Code, resp.Body.String(), tc.want); if !bytes.Equal(mustJSON(t, before), mustJSON(t, after)) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if resp.Code != http.StatusBadRequest || !strings.Contains(resp.Body.String(), tc.want) {; t.Fatalf(\"invalid setup: status=%d body=%s, want %s\", resp.Code, resp.Body.String(), tc.want); if !bytes.Equal(mustJSON(t, before), mustJSON(t, after)) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 221,
    "name": "TestM2AW_LifecycleAndBodyCannotChooseActor",
    "purpose": "M2 AW Lifecycle And Body Cannot Choose Actor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Lifecycle And Body Cannot Choose Actor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if resp.Code != http.StatusOK {; t.Fatalf(\"own save status=%d body=%s\", resp.Code, resp.Body.String()); if setupRevision(t, other.UserID) != otherBefore { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if resp.Code != http.StatusOK {; t.Fatalf(\"own save status=%d body=%s\", resp.Code, resp.Body.String()); if setupRevision(t, other.UserID) != otherBefore {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2aw_test.go",
    "line": 271,
    "name": "TestM2AW_ReadAndSeedDoNotResetProgress",
    "purpose": "M2 AW Read And Seed Do Not Reset Progress",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AW Read And Seed Do Not Reset Progress. The test checks the returned/domain behavior at its boundary. Assertion evidence: if setupFromMe(t, router, token).Status == \"\" {; if beforeRows != \"1\" || afterRows != beforeRows {; t.Fatalf(\"read minted setup rows: before=%s after=%s\", beforeRows, afterRows) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if setupFromMe(t, router, token).Status == \"\" {; if beforeRows != \"1\" || afterRows != beforeRows {; t.Fatalf(\"read minted setup rows: before=%s after=%s\", beforeRows, afterRows)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2ax_test.go",
    "line": 14,
    "name": "TestM2AX_FinalAdmissionRejectsStaleCursorNullStatusAndDuplicateUUID",
    "purpose": "M2 AX Final Admission Rejects Stale Cursor Null Status And Duplicate UUID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AX Final Admission Rejects Stale Cursor Null Status And Duplicate UUID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err != nil || strings.TrimSpace(raw) != \"denied-unchanged\" {; t.Fatalf(\"admission: %s %v\", raw, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err != nil || strings.TrimSpace(raw) != \"denied-unchanged\" {; t.Fatalf(\"admission: %s %v\", raw, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2ax_test.go",
    "line": 48,
    "name": "TestM2AX_HTTPNullAndReset",
    "purpose": "M2 AX HTTPNull And Reset",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AX HTTPNull And Reset. The test checks the returned/domain behavior at its boundary. Assertion evidence: saved := patchSetup(t, router, token, map[string]any{\"expected_revision\": before.Revision, \"status\": \"pending\", \"section\": \"import\", \"categories\": []string{\"bank\"}, \"activity\": map; if response.Code != http.StatusBadRequest {; t.Fatalf(\"null activity: %d %s\", response.Code, response.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "saved := patchSetup(t, router, token, map[string]any{\"expected_revision\": before.Revision, \"status\": \"pending\", \"section\": \"import\", \"categories\": []string{\"bank\"}, \"activity\": map; if response.Code != http.StatusBadRequest {; t.Fatalf(\"null activity: %d %s\", response.Code, response.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_setup_m2ax_test.go",
    "line": 70,
    "name": "TestM2AX_FinalSnapshotRetainsAndRevalidatesFiles",
    "purpose": "M2 AX Final Snapshot Retains And Revalidates Files",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: M2 AX Final Snapshot Retains And Revalidates Files. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if _, err = db.waitFile(dir+\"/save\", 8*time.Second); err != nil {; if err != nil || strings.TrimSpace(raw) != \"discovery\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if _, err = db.waitFile(dir+\"/save\", 8*time.Second); err != nil {; if err != nil || strings.TrimSpace(raw) != \"discovery\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_cast_test.go",
    "line": 99,
    "name": "TestHandleSignup_LiveUniqueUserOnboardingAndDaveRegression",
    "purpose": "Handle Signup Live Unique User Onboarding And Dave Regression",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Live Unique User Onboarding And Dave Regression. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveSession.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", daveSession.Person); t.Fatalf(\"mapped Dave must already be onboarded: %+v\", daveSession.Onboarding) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"apply supabase/migrations/20260906000000_g5_signup_onboarding_account.sql locally\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if daveSession.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", daveSession.Person); t.Fatalf(\"mapped Dave must already be onboarded: %+v\", daveSession.Onboarding)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_cast_test.go",
    "line": 195,
    "name": "TestHandleSignup_LiveDisplayNameCollisionAndDuplicateEmail",
    "purpose": "Handle Signup Live Display Name Collision And Duplicate Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Live Display Name Collision And Duplicate Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if daveSession.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", daveSession.Person); if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"apply supabase/migrations/20260907000000_g5_signup_display_name_collision.sql locally\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if daveSession.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", daveSession.Person); if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 24,
    "name": "TestHandleSignupInvite_D6AdminCreatesConfirmedIdentityWithoutConfirmationDeadEnd",
    "purpose": "Handle Signup Invite D6 Admin Creates Confirmed Identity Without Confirmation Dead End",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Invite D6 Admin Creates Confirmed Identity Without Confirmation Dead End. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 44,
    "name": "TestHandleSignupInvite_DoesNotTouchExistingIdentityOnAdminCreateConflict",
    "purpose": "Handle Signup Invite Does Not Touch Existing Identity On Admin Create Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Invite Does Not Touch Existing Identity On Admin Create Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.adminCreateStatus = http.StatusUnprocessableEntity; if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "backend.adminCreateStatus = http.StatusUnprocessableEntity; if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 58,
    "name": "TestHandleSignup_ProvisionsGen5Account",
    "purpose": "Handle Signup Provisions Gen5 Account",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Provisions Gen5 Account. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 90,
    "name": "TestHandleSignupInvite_CleansUpOwnedAuthUserWhenProvisionFails",
    "purpose": "Handle Signup Invite Cleans Up Owned Auth User When Provision Fails",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Invite Cleans Up Owned Auth User When Provision Fails. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadGateway {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); t.Fatalf(\"expected provision write plus DeleteUser, writes=%d\", backend.writes) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadGateway {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); t.Fatalf(\"expected provision write plus DeleteUser, writes=%d\", backend.writes)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 110,
    "name": "TestHandleSignup_DoesNotCallFutureVault",
    "purpose": "Handle Signup Does Not Call Future Vault",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Does Not Call Future Vault. The test checks the returned/domain behavior at its boundary. Assertion evidence: if h.FutureVault != nil {; if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if h.FutureVault != nil {; if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 128,
    "name": "TestSignupDisplayLabelIgnoresEmailLocalPart",
    "purpose": "Signup Display Label Ignores Email Local Part",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Signup Display Label Ignores Email Local Part. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := signupDisplayLabel(\"\", \"\", \"\"); got != \"\" {; t.Fatalf(\"empty label = %q\", got); if got := signupDisplayLabel(\"Ada\", \"\", \"dave\"); got != \"Ada\" { Relevant implementation: server/internal/handlers/handlers.go:391 signupDisplayLabel. Relevant implementation: server/internal/handlers/handlers.go:391 signupDisplayLabel.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := signupDisplayLabel(\"\", \"\", \"\"); got != \"\" {; t.Fatalf(\"empty label = %q\", got); if got := signupDisplayLabel(\"Ada\", \"\", \"dave\"); got != \"Ada\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 140,
    "name": "TestHandleSignup_RequiresNames",
    "purpose": "Handle Signup Requires Names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Requires Names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 152,
    "name": "TestHandleSignup_ObfuscatedDuplicateAuthResponseNeverProvisionsOrDeletesExistingUser",
    "purpose": "Handle Signup Obfuscated Duplicate Auth Response Never Provisions Or Deletes Existing User",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Obfuscated Duplicate Auth Response Never Provisions Or Deletes Existing User. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict || !strings.Contains(strings.ToLower(w.Body.String()), \"email\") {; t.Fatalf(\"obfuscated duplicate must return safe collision: status=%d body=%s\", w.Code, w.Body.String()); if backend.lastRPC != \"\" || backend.writes != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict || !strings.Contains(strings.ToLower(w.Body.String()), \"email\") {; t.Fatalf(\"obfuscated duplicate must return safe collision: status=%d body=%s\", w.Code, w.Body.String()); if backend.lastRPC != \"\" || backend.writes != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 165,
    "name": "TestHandleSignup_DuplicateEmailIsHonestError",
    "purpose": "Handle Signup Duplicate Email Is Honest Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Duplicate Email Is Honest Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: if first.Code != http.StatusOK {; t.Fatalf(\"first signup status=%d body=%s\", first.Code, first.Body.String()); if second.Code != http.StatusConflict { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if first.Code != http.StatusOK {; t.Fatalf(\"first signup status=%d body=%s\", first.Code, first.Body.String()); if second.Code != http.StatusConflict {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 191,
    "name": "TestHandleSignup_DuplicatePhoneFromProvisionIsHonestError",
    "purpose": "Handle Signup Duplicate Phone From Provision Is Honest Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Duplicate Phone From Provision Is Honest Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(strings.ToLower(w.Body.String()), \"phone\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(strings.ToLower(w.Body.String()), \"phone\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 215,
    "name": "TestHandleSignup_DuplicateEmailFromProvisionIsHonestError",
    "purpose": "Handle Signup Duplicate Email From Provision Is Honest Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Duplicate Email From Provision Is Honest Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(strings.ToLower(w.Body.String()), \"email\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(strings.ToLower(w.Body.String()), \"email\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 235,
    "name": "TestHandleSignup_DisplayNameUniqueViolationIsNotEmailTaken",
    "purpose": "Handle Signup Display Name Unique Violation Is Not Email Taken",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Display Name Unique Violation Is Not Email Taken. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.signupStatus = http.StatusBadGateway; if w.Code != http.StatusBadGateway {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "backend.signupStatus = http.StatusBadGateway; if w.Code != http.StatusBadGateway {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 255,
    "name": "TestHandleSignupRejectsLegacyPartnerInviteFields",
    "purpose": "Handle Signup Rejects Legacy Partner Invite Fields",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Rejects Legacy Partner Invite Fields. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"Create an individual login\") {; t.Fatalf(\"legacy signup invite should be rejected: status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 || len(backend.spouseInvites) != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"Create an individual login\") {; t.Fatalf(\"legacy signup invite should be rejected: status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 || len(backend.spouseInvites) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 267,
    "name": "TestHandleSignup_ManagedProfileDoesNotCreateInvite",
    "purpose": "Handle Signup Managed Profile Does Not Create Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Managed Profile Does Not Create Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 297,
    "name": "TestHandleSignup_TwoIndependentSignupsRemainUnlinked",
    "purpose": "Handle Signup Two Independent Signups Remain Unlinked",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Two Independent Signups Remain Unlinked. The test checks the returned/domain behavior at its boundary. Assertion evidence: if dave.Code != http.StatusOK || ada.Code != http.StatusOK {; t.Fatalf(\"dave=%d ada=%d\", dave.Code, ada.Code); if backend.createdInvites != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if dave.Code != http.StatusOK || ada.Code != http.StatusOK {; t.Fatalf(\"dave=%d ada=%d\", dave.Code, ada.Code); if backend.createdInvites != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 325,
    "name": "TestHandleSignupRejectsUnverifiedInviteTokenBeforeCreatingAuthUser",
    "purpose": "Handle Signup Rejects Unverified Invite Token Before Creating Auth User",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Rejects Unverified Invite Token Before Creating Auth User. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), \"invitation_not_found\") {; t.Fatalf(\"unverified invitation should fail closed: status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 || len(backend.spouses) != linksBefore { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), \"invitation_not_found\") {; t.Fatalf(\"unverified invitation should fail closed: status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 || len(backend.spouses) != linksBefore {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 338,
    "name": "TestHandleSignup_JSONRoundTripOmitsLegacyIDs",
    "purpose": "Keep legacy IDs out of the signup JSON response",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Keep legacy IDs out of the signup JSON response. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(buf.String(), \"household_id\") || strings.Contains(buf.String(), \"futurevault\") {; t.Fatalf(\"legacy ids leaked: %s\", buf.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_signup_test.go",
    "line": 351,
    "name": "TestHandleSignup_ExistingUnconfirmedIdentityIsNeverDeletedOnProvisionFailure",
    "purpose": "Handle Signup Existing Unconfirmed Identity Is Never Deleted On Provision Failure",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Signup Existing Unconfirmed Identity Is Never Deleted On Provision Failure. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadGateway || backend.writes != 1 {; t.Fatalf(\"expected provision failure without Auth deletion: status=%d writes=%d\", w.Code, backend.writes) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadGateway || backend.writes != 1 {; t.Fatalf(\"expected provision failure without Auth deletion: status=%d writes=%d\", w.Code, backend.writes)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 47,
    "name": "TestConfiguredCreateSpouseInviteUsesShownNameAndHonestDelivery",
    "purpose": "Configured Create Spouse Invite Uses Shown Name And Honest Delivery",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Configured Create Spouse Invite Uses Shown Name And Honest Delivery. The test checks the returned/domain behavior at its boundary. Assertion evidence: {name: \"shown-name accepted\", shown: \"Nora Lane\", status: http.StatusOK, wantName: \"Nora Lane\", sent: true},; {name: \"missing-name rejected\", status: http.StatusBadGateway, wantName: \"\", sent: false},; t.Run(tc.name, func(t *testing.T) { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "{name: \"shown-name accepted\", shown: \"Nora Lane\", status: http.StatusOK, wantName: \"Nora Lane\", sent: true},; {name: \"missing-name rejected\", status: http.StatusBadGateway, wantName: \"\", sent: false},; t.Run(tc.name, func(t *testing.T) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 104,
    "name": "TestResendAndReminderLettersUseShownName",
    "purpose": "Resend And Reminder Letters Use Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend And Reminder Letters Use Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"resend status=%d body=%s\", w.Code, w.Body.String()); t.Fatalf(\"reminder status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"resend status=%d body=%s\", w.Code, w.Body.String()); t.Fatalf(\"reminder status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 175,
    "name": "TestHandleDeclineSpouseInviteTokenDoesNotReportChangedInviteAsSuccess",
    "purpose": "Handle Decline Spouse Invite Token Does Not Report Changed Invite As Success",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Decline Spouse Invite Token Does Not Report Changed Invite As Success. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"changed invite decline status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), `\"transitioned\":true`) { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"changed invite decline status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), `\"transitioned\":true`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 189,
    "name": "TestHandleCreateSpouseInvite_Unauthenticated",
    "purpose": "Handle Create Spouse Invite Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 196,
    "name": "TestHandleCreateSpouseInvite_CreatesForProvisionedInviter",
    "purpose": "Handle Create Spouse Invite Creates For Provisioned Inviter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Creates For Provisioned Inviter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 258,
    "name": "TestHandleCreateSpouseInvite_RefusesWhenActiveSpouse",
    "purpose": "Handle Create Spouse Invite Refuses When Active Spouse",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Refuses When Active Spouse. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"active spouse\") || !strings.Contains(w.Body.String(), `\"code\":\"spouse_already_linked\"`) { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"active spouse\") || !strings.Contains(w.Body.String(), `\"code\":\"spouse_already_linked\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 275,
    "name": "TestHandleCreateSpouseInvite_RefusesSecondPending",
    "purpose": "Handle Create Spouse Invite Refuses Second Pending",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Refuses Second Pending. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"outgoing_invite_pending\") { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"outgoing_invite_pending\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 298,
    "name": "TestHandleCreateSpouseInvite_DoesNotClaimEmailWithoutSMTP",
    "purpose": "Handle Create Spouse Invite Does Not Claim Email Without SMTP",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Does Not Claim Email Without SMTP. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &resp); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 318,
    "name": "TestHandleCreateSpouseInvite_DoesNotClaimSentWhenRPCFails",
    "purpose": "Handle Create Spouse Invite Does Not Claim Sent When RPCFails",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Does Not Claim Sent When RPCFails. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), \"Invitation sent\") { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), \"Invitation sent\") {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 334,
    "name": "TestHandleCreateSpouseInvite_RequiresBothNames",
    "purpose": "Handle Create Spouse Invite Requires Both Names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Requires Both Names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"first and last name are required\") { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"first and last name are required\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 348,
    "name": "TestHandleCreateSpouseInvite_RequiresEmail",
    "purpose": "Handle Create Spouse Invite Requires Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Requires Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 359,
    "name": "TestHandleCreateSpouseInvite_SameEmailAsInviter",
    "purpose": "Handle Create Spouse Invite Same Email As Inviter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Same Email As Inviter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if backend.createdInvites != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 384,
    "name": "TestHandleCreateSpouseInvite_EarlyAndRPCPendingMatch",
    "purpose": "Handle Create Spouse Invite Early And RPCPending Match",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Early And RPCPending Match. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if early.Code != http.StatusConflict || rpc.Code != http.StatusConflict {; t.Fatalf(\"early=%d rpc=%d\", early.Code, rpc.Code); if err := json.Unmarshal(early.Body.Bytes(), &earlyBody); err != nil { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if early.Code != http.StatusConflict || rpc.Code != http.StatusConflict {; t.Fatalf(\"early=%d rpc=%d\", early.Code, rpc.Code); if err := json.Unmarshal(early.Body.Bytes(), &earlyBody); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 426,
    "name": "TestHandleCreateSpouseInvite_MatrixReasonsKeepStatusAndContract",
    "purpose": "Handle Create Spouse Invite Matrix Reasons Keep Status And Contract",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Matrix Reasons Keep Status And Contract. The test checks the returned/domain behavior at its boundary. Assertion evidence: {\"outgoing_invite_pending\", http.StatusConflict, \"waiting for a response\", \"already has an account\"},; {\"crossed_invite\", http.StatusConflict, \"already invited you\", \"already has an account\"},; {\"incoming_invite_pending\", http.StatusConflict, \"incoming partner invitation\", \"\"}, Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.code Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "{\"outgoing_invite_pending\", http.StatusConflict, \"waiting for a response\", \"already has an account\"},; {\"crossed_invite\", http.StatusConflict, \"already invited you\", \"already has an account\"},; {\"incoming_invite_pending\", http.StatusConflict, \"incoming partner invitation\", \"\"},",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 482,
    "name": "TestHandleCreateSpouseInvite_ActorOwnedGuardsKeepErrorField",
    "purpose": "Handle Create Spouse Invite Actor Owned Guards Keep Error Field",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Spouse Invite Actor Owned Guards Keep Error Field. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 501,
    "name": "TestHandleResendSpouseInvite_CooldownKeepsStatus",
    "purpose": "Handle Resend Spouse Invite Cooldown Keeps Status",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Resend Spouse Invite Cooldown Keeps Status. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusTooManyRequests {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusTooManyRequests {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 524,
    "name": "TestWriteInviteeRemovedKeepsFredsLine",
    "purpose": "Write Invitee Removed Keeps Freds Line",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Write Invitee Removed Keeps Freds Line. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil { Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &body); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_spouse_invite_test.go",
    "line": 546,
    "name": "TestSpouseInviteCopyHasNoPronoun",
    "purpose": "Checks spouse-invite messages and handler copy avoid gendered pronouns and retain clear fallback wording.",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Keep spouse-invite email copy free of gendered pronouns. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"pronoun in %q\", sample); if spouseInviteEmailedMessage(\"Ada\", \"Whitfield\") != \"Invitation emailed. Share the link if Ada Whitfield does not see it.\" {; t.Fatalf(\"emailed=%q\", spouseInviteEmailedMessage(\"Ada\", \"Whitfield\")) Relevant implementation: server/internal/handlers/handlers_spouse_invite.go. Relevant implementation: server/internal/handlers/handlers_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 16,
    "name": "TestDecodeStepInJSONRejectsUnknownFields",
    "purpose": "Decode Step In JSONRejects Unknown Fields",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Decode Step In JSONRejects Unknown Fields. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := decodeStepInJSON(c, &req); err == nil { Relevant implementation: server/internal/handlers/handlers_step_in.go:31 decodeStepInJSON. Relevant implementation: server/internal/handlers/handlers_step_in.go:31 decodeStepInJSON.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err := decodeStepInJSON(c, &req); err == nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 25,
    "name": "TestWriteStepInErrorUploadIs400",
    "purpose": "Write Step In Error Upload Is400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Write Step In Error Upload Is400. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), tc.want) {; t.Fatalf(\"code=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_step_in.go:733 writeStepInError. Relevant implementation: server/internal/handlers/handlers_step_in.go:733 writeStepInError.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), tc.want) {; t.Fatalf(\"code=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 101,
    "name": "TestIssueStepInCodeRateLimitIs429",
    "purpose": "Issue Step In Code Rate Limit Is429",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Issue Step In Code Rate Limit Is429. The test checks the returned/domain behavior at its boundary. Assertion evidence: body := w.Body.String(); if w.Code != http.StatusTooManyRequests || !strings.Contains(body, stepInPasswordLimitedCopy) {; t.Fatalf(\"code=%d body=%s\", w.Code, body) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "body := w.Body.String(); if w.Code != http.StatusTooManyRequests || !strings.Contains(body, stepInPasswordLimitedCopy) {; t.Fatalf(\"code=%d body=%s\", w.Code, body)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 141,
    "name": "TestIssueStepInCodeReserveErrorIs502",
    "purpose": "Issue Step In Code Reserve Error Is502",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Issue Step In Code Reserve Error Is502. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadGateway); body := w.Body.String(); if w.Code != http.StatusBadGateway || !strings.Contains(body, stepInCodeUnavailable) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadGateway); body := w.Body.String(); if w.Code != http.StatusBadGateway || !strings.Contains(body, stepInCodeUnavailable) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 176,
    "name": "TestIssueStepInCodeBlockedNullRetryAtIs502",
    "purpose": "Issue Step In Code Blocked Null Retry At Is502",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Issue Step In Code Blocked Null Retry At Is502. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 180,
    "name": "TestIssueStepInCodeEmptyReserveIs502",
    "purpose": "Issue Step In Code Empty Reserve Is502",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Issue Step In Code Empty Reserve Is502. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_bind_test.go",
    "line": 184,
    "name": "TestIssueStepInCodeClearErrorContinues",
    "purpose": "Issue Step In Code Clear Error Continues",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Issue Step In Code Clear Error Continues. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(path, \"/auth/v1/token\"):; w.WriteHeader(http.StatusOK); case strings.Contains(path, \"/rest/v1/rpc/reserve_step_in_password_attempt\"): Relevant implementation: server/internal/handlers/handlers_step_in.go:78 HandleIssueStepInCode. Relevant implementation: server/internal/handlers/handlers_step_in.go:78 HandleIssueStepInCode.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(path, \"/auth/v1/token\"):; w.WriteHeader(http.StatusOK); case strings.Contains(path, \"/rest/v1/rpc/reserve_step_in_password_attempt\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 14,
    "name": "TestStepInRaiseRejectsUnknownKeyWithoutRPC",
    "purpose": "Step In Raise Rejects Unknown Key Without RPC",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Raise Rejects Unknown Key Without RPC. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if strings.Contains(r.URL.Path, \"raise_step_in_block\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusBadRequest { Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"raise_step_in_block\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusBadRequest {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 40,
    "name": "TestStepInOpenBlockedIs409",
    "purpose": "Step In Open Blocked Is409",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Open Blocked Is409. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 59,
    "name": "TestStepInOpenRefusalReasons",
    "purpose": "Step In Open Refusal Reasons",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Open Refusal Reasons. The test checks the returned/domain behavior at its boundary. Assertion evidence: {\"blocked\", \"an unresolved block stands\", http.StatusConflict, \"blocked\", \"A block stands on this request.\"},; {\"not active\", \"request is not active\", http.StatusConflict, \"not_active\", \"Open was refused.\"},; {\"phone\", \"a phone attempt is required\", http.StatusConflict, \"phone_attempt\", \"Open was refused.\"}, Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "{\"blocked\", \"an unresolved block stands\", http.StatusConflict, \"blocked\", \"A block stands on this request.\"},; {\"not active\", \"request is not active\", http.StatusConflict, \"not_active\", \"Open was refused.\"},; {\"phone\", \"a phone attempt is required\", http.StatusConflict, \"phone_attempt\", \"Open was refused.\"},",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 113,
    "name": "TestStepInBlocksCanConfirmClearBothWays",
    "purpose": "Step In Blocks Can Confirm Clear Both Ways",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Blocks Can Confirm Clear Both Ways. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"list_step_in_blocks\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusOK { Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"list_step_in_blocks\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 142,
    "name": "TestStepInBlockProposedAtTag",
    "purpose": "Step In Block Proposed At Tag",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Block Proposed At Tag. The test checks the returned/domain behavior at its boundary. Assertion evidence: if field.Tag.Get(\"json\") != \"proposed_at\" {; t.Fatalf(\"json tag = %q\", field.Tag.Get(\"json\")) Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if field.Tag.Get(\"json\") != \"proposed_at\" {; t.Fatalf(\"json tag = %q\", field.Tag.Get(\"json\"))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 152,
    "name": "TestStepInCaseKeepsCanSendBack",
    "purpose": "Step In Case Keeps Can Send Back",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Case Keeps Can Send Back. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"get_step_in_case\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusOK || !strings.Contains(w.Body.String(), `\"can_send_back\":true`) { Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"get_step_in_case\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusOK || !strings.Contains(w.Body.String(), `\"can_send_back\":true`) {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 171,
    "name": "TestStepInPlainRefusals",
    "purpose": "Step In Plain Refusals",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Plain Refusals. The test checks the returned/domain behavior at its boundary. Assertion evidence: status: http.StatusBadRequest, errText: \"Confirm the name and date of death before you record the funeral home's answer.\",; status: http.StatusForbidden, errText: \"Take this case before you log a call.\",; status: http.StatusForbidden, errText: \"Take this case before you ask for that.\", Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "status: http.StatusBadRequest, errText: \"Confirm the name and date of death before you record the funeral home's answer.\",; status: http.StatusForbidden, errText: \"Take this case before you log a call.\",; status: http.StatusForbidden, errText: \"Take this case before you ask for that.\",",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_block_test.go",
    "line": 331,
    "name": "TestStepInQueueOpenBlockCountTag",
    "purpose": "Step In Queue Open Block Count Tag",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Queue Open Block Count Tag. The test checks the returned/domain behavior at its boundary. Assertion evidence: if field.Tag.Get(\"json\") != \"open_block_count\" {; t.Fatalf(\"json tag = %q\", field.Tag.Get(\"json\")) Relevant implementation: server/internal/handlers/handlers_step_in_block.go. Relevant implementation: server/internal/handlers/handlers_step_in_block.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if field.Tag.Get(\"json\") != \"open_block_count\" {; t.Fatalf(\"json tag = %q\", field.Tag.Get(\"json\"))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_medical_test.go",
    "line": 12,
    "name": "TestMedicalBoxMapsDeathOnlyAndOwner",
    "purpose": "Medical Box Maps Death Only And Owner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Medical Box Maps Death Only And Owner. The test checks the returned/domain behavior at its boundary. Assertion evidence: {message: \"That's only for an incapacity case.\", status: http.StatusBadRequest},; {message: \"That's only for a death case.\", status: http.StatusBadRequest},; {message: \"Take this case first.\", status: http.StatusForbidden}, Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.message Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "{message: \"That's only for an incapacity case.\", status: http.StatusBadRequest},; {message: \"That's only for a death case.\", status: http.StatusBadRequest},; {message: \"Take this case first.\", status: http.StatusForbidden},",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_password_limit_test.go",
    "line": 95,
    "name": "TestStepInPasswordLimitSurvivesNewInstance",
    "purpose": "Step In Password Limit Survives New Instance",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Password Limit Survives New Instance. The test checks the returned/domain behavior at its boundary. Assertion evidence: if code != http.StatusBadRequest || !strings.Contains(body, stepInPasswordMismatch) {; t.Fatalf(\"try %d: code=%d body=%s\", i+1, code, body); if code != http.StatusTooManyRequests || !strings.Contains(body, stepInPasswordLimitedCopy) || strings.Contains(body, stepInPasswordMismatch) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if code != http.StatusBadRequest || !strings.Contains(body, stepInPasswordMismatch) {; t.Fatalf(\"try %d: code=%d body=%s\", i+1, code, body); if code != http.StatusTooManyRequests || !strings.Contains(body, stepInPasswordLimitedCopy) || strings.Contains(body, stepInPasswordMismatch) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_password_limit_test.go",
    "line": 119,
    "name": "TestStepInPasswordLimitHoldsAcrossTwoServers",
    "purpose": "Step In Password Limit Holds Across Two Servers",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Password Limit Holds Across Two Servers. The test checks the returned/domain behavior at its boundary. Assertion evidence: if code != http.StatusBadRequest || !strings.Contains(body, stepInPasswordMismatch) {; t.Fatalf(\"try %d on server %d: code=%d body=%s\", i+1, i%2, code, body); if code != http.StatusTooManyRequests || !strings.Contains(body, stepInPasswordLimitedCopy) || strings.Contains(body, stepInPasswordMismatch) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if code != http.StatusBadRequest || !strings.Contains(body, stepInPasswordMismatch) {; t.Fatalf(\"try %d on server %d: code=%d body=%s\", i+1, i%2, code, body); if code != http.StatusTooManyRequests || !strings.Contains(body, stepInPasswordLimitedCopy) || strings.Contains(body, stepInPasswordMismatch) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_password_limit_test.go",
    "line": 157,
    "name": "TestStepInPasswordLimitConcurrentReserves",
    "purpose": "Step In Password Limit Concurrent Reserves",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Password Limit Concurrent Reserves. The test checks the returned/domain behavior at its boundary. Assertion evidence: if i%2 == 1 {; if errs[i] != nil {; t.Errorf(\"reserve %d: %v\", i, errs[i]) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if i%2 == 1 {; if errs[i] != nil {; t.Errorf(\"reserve %d: %v\", i, errs[i])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 17,
    "name": "TestStepInSafetyRoutes_NonStaffIs403",
    "purpose": "Step In Safety Routes Non Staff Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Safety Routes Non Staff Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusForbidden || !strings.Contains(w.Body.String(), \"This page is for Persynl staff.\") {; t.Errorf(\"%s %s status=%d body=%s\", tc.method, tc.path, w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusForbidden || !strings.Contains(w.Body.String(), \"This page is for Persynl staff.\") {; t.Errorf(\"%s %s status=%d body=%s\", tc.method, tc.path, w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 56,
    "name": "TestStepInSafetyBarredGetAndLeadRoutesAre400",
    "purpose": "Step In Safety Barred Get And Lead Routes Are400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Safety Barred Get And Lead Routes Are400. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"get_step_in_case\") {; w.WriteHeader(http.StatusBadRequest); if path == \"/safety\" { Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"get_step_in_case\") {; w.WriteHeader(http.StatusBadRequest); if path == \"/safety\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 87,
    "name": "TestVerifierSetsHoldThenLiftIs403",
    "purpose": "Verifier Sets Hold Then Lift Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Verifier Sets Hold Then Lift Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"get_step_in_case\"):; case strings.Contains(r.URL.Path, \"set_account_safety_hold\"):; case strings.Contains(r.URL.Path, \"lift_account_safety_hold\"): Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"get_step_in_case\"):; case strings.Contains(r.URL.Path, \"set_account_safety_hold\"):; case strings.Contains(r.URL.Path, \"lift_account_safety_hold\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 126,
    "name": "TestVerifierFullLockIs403",
    "purpose": "Verifier Full Lock Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Verifier Full Lock Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"get_step_in_case\"):; case strings.Contains(r.URL.Path, \"set_account_full_lock\"):; w.WriteHeader(http.StatusBadRequest) Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"get_step_in_case\"):; case strings.Contains(r.URL.Path, \"set_account_full_lock\"):; w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 152,
    "name": "TestDuplicateSafetyHoldIs409",
    "purpose": "Duplicate Safety Hold Is409",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Duplicate Safety Hold Is409. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"get_step_in_case\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), \"A safety hold is already on this account.\") { Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"get_step_in_case\") {; w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), \"A safety hold is already on this account.\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 175,
    "name": "TestDetailsOnHoldIs409",
    "purpose": "Details On Hold Is409",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Details On Hold Is409. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), \"This can't change right now.\") {; t.Errorf(\"%s %s status=%d body=%s\", tc.method, tc.path, w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), \"This can't change right now.\") {; t.Errorf(\"%s %s status=%d body=%s\", tc.method, tc.path, w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_safety_test.go",
    "line": 244,
    "name": "TestIssueStepInCodeFullLockSkipsPassword",
    "purpose": "Issue Step In Code Full Lock Skips Password",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Issue Step In Code Full Lock Skips Password. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/auth/v1/token\") || strings.Contains(r.URL.Path, \"token\") && strings.Contains(r.URL.Path, \"grant\") {; if strings.Contains(r.URL.Path, \"reserve_step_in_password_attempt\") {; w.WriteHeader(http.StatusBadRequest) Relevant implementation: server/internal/handlers/handlers_step_in_safety.go. Relevant implementation: server/internal/handlers/handlers_step_in_safety.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/auth/v1/token\") || strings.Contains(r.URL.Path, \"token\") && strings.Contains(r.URL.Path, \"grant\") {; if strings.Contains(r.URL.Path, \"reserve_step_in_password_attempt\") {; w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 84,
    "name": "TestStepInStaffRoutes_NonStaffIs403",
    "purpose": "Step In Staff Routes Non Staff Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Staff Routes Non Staff Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(body, davePersonID) {; t.Errorf(\"rpc %s missing caller %s\", r.URL.Path, davePersonID); w.WriteHeader(http.StatusBadRequest) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if !strings.Contains(body, davePersonID) {; t.Errorf(\"rpc %s missing caller %s\", r.URL.Path, davePersonID); w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 144,
    "name": "TestStepInReportersP8",
    "purpose": "Step In Reporters P8",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Reporters P8. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"list_step_in_reporters\") {; t.Errorf(\"path %s\", r.URL.Path); if !strings.Contains(body, davePersonID) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"list_step_in_reporters\") {; t.Errorf(\"path %s\", r.URL.Path); if !strings.Contains(body, davePersonID) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 192,
    "name": "TestStepInAudit_NonStaffSeesOnlyCallerEvents",
    "purpose": "Step In Audit Non Staff Sees Only Caller Events",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Audit Non Staff Sees Only Caller Events. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"list_step_in_audit\") {; w.WriteHeader(http.StatusBadRequest); if !strings.Contains(body, davePersonID) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"list_step_in_audit\") {; w.WriteHeader(http.StatusBadRequest); if !strings.Contains(body, davePersonID) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 220,
    "name": "TestStepInQueueAndCaseShowPendingRefusal",
    "purpose": "Step In Queue And Case Show Pending Refusal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Queue And Case Show Pending Refusal. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(body, davePersonID) {; t.Errorf(\"rpc %s missing caller %s\", r.URL.Path, davePersonID); case strings.Contains(r.URL.Path, \"list_step_in_queue\"): Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if !strings.Contains(body, davePersonID) {; t.Errorf(\"rpc %s missing caller %s\", r.URL.Path, davePersonID); case strings.Contains(r.URL.Path, \"list_step_in_queue\"):",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 290,
    "name": "TestStepInEvidenceDownload_BarredStaffIs403",
    "purpose": "Step In Evidence Download Barred Staff Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Evidence Download Barred Staff Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"get_step_in_evidence_download\") {; t.Errorf(\"path %s\", r.URL.Path); w.WriteHeader(http.StatusBadRequest) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"get_step_in_evidence_download\") {; t.Errorf(\"path %s\", r.URL.Path); w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 312,
    "name": "TestStepInEvidenceDownload_AllowedStaffGetsTheFile",
    "purpose": "Step In Evidence Download Allowed Staff Gets The File",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Evidence Download Allowed Staff Gets The File. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/rest/v1/rpc/get_step_in_evidence_download\") {; if r.Method == http.MethodGet && r.URL.Path == \"/storage/v1/object/user-files/blobs/proof\" {; if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/rest/v1/rpc/get_step_in_evidence_download\") {; if r.Method == http.MethodGet && r.URL.Path == \"/storage/v1/object/user-files/blobs/proof\" {; if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 361,
    "name": "TestStepInListReads_BarredStaffIs403",
    "purpose": "Step In List Reads Barred Staff Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In List Reads Barred Staff Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadRequest); if res.Code != http.StatusForbidden {; t.Errorf(\"%s status=%d body=%s\", path, res.Code, res.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadRequest); if res.Code != http.StatusForbidden {; t.Errorf(\"%s status=%d body=%s\", path, res.Code, res.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 384,
    "name": "TestStepInCase_BarredViewerIs403",
    "purpose": "Step In Case Barred Viewer Is403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Case Barred Viewer Is403. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"get_step_in_case\") {; t.Errorf(\"path %s\", r.URL.Path); w.WriteHeader(http.StatusBadRequest) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"get_step_in_case\") {; t.Errorf(\"path %s\", r.URL.Path); w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 405,
    "name": "TestStepInHomeCloseSource",
    "purpose": "Step In Home Close Source",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Home Close Source. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"list_step_in_home\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, davePersonID) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"list_step_in_home\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, davePersonID) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 438,
    "name": "TestStepInHomeActiveClaimantNames",
    "purpose": "Step In Home Active Claimant Names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Home Active Claimant Names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"list_step_in_home\") {; t.Fatalf(\"path %s\", r.URL.Path); if res.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"list_step_in_home\") {; t.Fatalf(\"path %s\", r.URL.Path); if res.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 461,
    "name": "TestStepInHomeStoppedClaimantNames",
    "purpose": "Step In Home Stopped Claimant Names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Home Stopped Claimant Names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"list_step_in_home\") {; t.Fatalf(\"path %s\", r.URL.Path); if res.Code != http.StatusOK { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"list_step_in_home\") {; t.Fatalf(\"path %s\", r.URL.Path); if res.Code != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 484,
    "name": "TestStepInStop_WrongStateStays400",
    "purpose": "Step In Stop Wrong State Stays400",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Stop Wrong State Stays400. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"That request was not accepted\") {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusBadRequest); if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"That request was not accepted\") {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 500,
    "name": "TestStepInStop_NotOKSaysCouldNotClose",
    "purpose": "Step In Stop Not OKSays Could Not Close",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Stop Not OKSays Could Not Close. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"stop_step_in_request\") {; t.Fatalf(\"path %s\", r.URL.Path); if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"Could not close the request\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"stop_step_in_request\") {; t.Fatalf(\"path %s\", r.URL.Path); if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"Could not close the request\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 518,
    "name": "TestStepInFile_RefusesMemberThePersonCannotFileFor",
    "purpose": "Step In File Refuses Member The Person Cannot File For",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In File Refuses Member The Person Cannot File For. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"file_step_in_request\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, memberID) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"file_step_in_request\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, memberID) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 541,
    "name": "TestStepInFile_RequiresEvent",
    "purpose": "Step In File Requires Event",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In File Requires Event. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"file rpc must not run without an event: %s\", body); if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"That request was not accepted\") {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"file rpc must not run without an event: %s\", body); if w.Code != http.StatusBadRequest || !strings.Contains(w.Body.String(), \"That request was not accepted\") {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 558,
    "name": "TestStepInFile_UnwellPostsEventAndPlace",
    "purpose": "Step In File Unwell Posts Event And Place",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In File Unwell Posts Event And Place. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"file_step_in_request\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, `\"p_event\":\"incapacity\"`) || !strings.Contains(body, `\"p_unwell_where\":\"home\"`) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"file_step_in_request\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, `\"p_event\":\"incapacity\"`) || !strings.Contains(body, `\"p_unwell_where\":\"home\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_step_in_staff_test.go",
    "line": 584,
    "name": "TestStepInTold_SomeoneElseIs404",
    "purpose": "Step In Told Someone Else Is404",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Told Someone Else Is404. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"get_step_in_told_history\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, davePersonID) || !strings.Contains(body, requestID) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"get_step_in_told_history\") {; t.Fatalf(\"path %s\", r.URL.Path); if !strings.Contains(body, davePersonID) || !strings.Contains(body, requestID) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_choices_test.go",
    "line": 12,
    "name": "TestPutStepsInChoicesMaps400And403",
    "purpose": "Put Steps In Choices Maps400 And403",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Choices Maps400 And403. The test checks the returned/domain behavior at its boundary. Assertion evidence: {message: \"Choose at least one.\", status: http.StatusBadRequest, body: \"Choose at least one.\"},; {message: \"Name someone first.\", status: http.StatusBadRequest, body: \"Name someone first.\"},; {message: \"details are on hold\", status: http.StatusForbidden, body: \"This can't change right now.\"}, Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.message Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "{message: \"Choose at least one.\", status: http.StatusBadRequest, body: \"Choose at least one.\"},; {message: \"Name someone first.\", status: http.StatusBadRequest, body: \"Name someone first.\"},; {message: \"details are on hold\", status: http.StatusForbidden, body: \"This can't change right now.\"},",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_live_test.go",
    "line": 39,
    "name": "TestSetStepsInLiveChoicesResolve",
    "purpose": "Set Steps In Live Choices Resolve",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Steps In Live Choices Resolve. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if shannon == \"\" {; t.Fatalf(\"person-only: %v\", err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if shannon == \"\" {; t.Fatalf(\"person-only: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_live_test.go",
    "line": 134,
    "name": "TestStepsInChoicesReleaseLive",
    "purpose": "Steps In Choices Release Live",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Choices Release Live. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; t.Errorf(\"mail body: %v\", err) Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers. Relevant implementation: server/internal/handlers/handlers.go:92 NewHandlers.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; t.Errorf(\"mail body: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 66,
    "name": "TestHandleOwnStepsIn_NamesReadyPersonWithoutMinting",
    "purpose": "Handle Own Steps In Names Ready Person Without Minting",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Own Steps In Names Ready Person Without Minting. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"GET steps-in status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"get_steps_in_spouse_suggestion\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"GET steps-in status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"get_steps_in_spouse_suggestion\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 129,
    "name": "TestHandlePartnerStepsIn_OmitsContactOnOurs",
    "purpose": "Handle Partner Steps In Omits Contact On Ours",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Partner Steps In Omits Contact On Ours. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"partner steps-in status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"get_partner_steps_in_on_ours_item\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"partner steps-in status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"get_partner_steps_in_on_ours_item\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 170,
    "name": "TestHandleStepsInPackage_PreviewConfirmPending",
    "purpose": "Handle Steps In Package Preview Confirm Pending",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Steps In Package Preview Confirm Pending. The test checks the returned/domain behavior at its boundary. Assertion evidence: if preview.Code != http.StatusOK {; t.Fatalf(\"preview status=%d body=%s\", preview.Code, preview.Body.String()); if backend.lastRPC != \"preview_steps_in_package\" { Relevant implementation: server/internal/handlers/handlers_access.go:749 HandleConfirmStepsInPackage. Relevant implementation: server/internal/handlers/handlers_access.go:749 HandleConfirmStepsInPackage.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if preview.Code != http.StatusOK {; t.Fatalf(\"preview status=%d body=%s\", preview.Code, preview.Body.String()); if backend.lastRPC != \"preview_steps_in_package\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 245,
    "name": "TestHandleRevokeOursDefault_DoesNotTouchExplicitGrants",
    "purpose": "Handle Revoke Ours Default Does Not Touch Explicit Grants",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Revoke Ours Default Does Not Touch Explicit Grants. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Code != http.StatusOK {; t.Fatalf(\"ours package status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"get_ours_steps_in_default\" { Relevant implementation: server/internal/handlers/handlers_access.go:784 HandleRevokeStepsInOursDefault. Relevant implementation: server/internal/handlers/handlers_access.go:784 HandleRevokeStepsInOursDefault.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Code != http.StatusOK {; t.Fatalf(\"ours package status=%d body=%s\", got.Code, got.Body.String()); if backend.lastRPC != \"get_ours_steps_in_default\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 408,
    "name": "TestListPeopleStepsInEntityMatchKeepsAccountOff",
    "purpose": "List People Steps In Entity Match Keeps Account Off",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Steps In Entity Match Keeps Account Off. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if owner.Person.ID == \"\" || owner.Account.AccountType != \"full\" {; t.Fatalf(\"owner session = %+v\", owner) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if owner.Person.ID == \"\" || owner.Account.AccountType != \"full\" {; t.Fatalf(\"owner session = %+v\", owner)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 544,
    "name": "TestPutStepsInResponseIsAskedAfterSend",
    "purpose": "Put Steps In Response Is Asked After Send",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Response Is Asked After Send. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 570,
    "name": "TestPutStepsInSendsOneInvite",
    "purpose": "Put Steps In Sends One Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Sends One Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if first.Code != http.StatusOK {; t.Fatalf(\"first status=%d body=%s\", first.Code, first.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if first.Code != http.StatusOK {; t.Fatalf(\"first status=%d body=%s\", first.Code, first.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 658,
    "name": "TestPutStepsInNamingSendsTheChoices",
    "purpose": "Put Steps In Naming Sends The Choices",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Naming Sends The Choices. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK); if refused.Code != http.StatusBadRequest || sends != 0 || !strings.Contains(refused.Body.String(), \"Send both choices together.\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK); if refused.Code != http.StatusBadRequest || sends != 0 || !strings.Contains(refused.Body.String(), \"Send both choices together.\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 693,
    "name": "TestHandleStepsInSuggestionsAndShowNow",
    "purpose": "Handle Steps In Suggestions And Show Now",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Steps In Suggestions And Show Now. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.Unmarshal(got.Body.Bytes(), &body); err != nil {; if got.Code != http.StatusOK || body.Suggestion == nil || body.Suggestion.FirstName != \"Shannon\" {; t.Fatalf(\"spouse suggestion: status=%d body=%s\", got.Code, got.Body.String()) Relevant implementation: server/internal/handlers/handlers_access.go:679 HandleShowStepsInNow. Relevant implementation: server/internal/handlers/handlers_access.go:679 HandleShowStepsInNow.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.Unmarshal(got.Body.Bytes(), &body); err != nil {; if got.Code != http.StatusOK || body.Suggestion == nil || body.Suggestion.FirstName != \"Shannon\" {; t.Fatalf(\"spouse suggestion: status=%d body=%s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 733,
    "name": "TestMemberAccessMessage",
    "purpose": "Member Access Message",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Member Access Message. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := memberAccessMessage(\"request is no longer available\"); got != \"Request is no longer available.\" {; t.Fatalf(\"stale=%q\", got); if got := memberAccessMessage(\"person not found\"); got != \"Person not found.\" { Relevant implementation: server/internal/handlers/handlers_access.go:58 memberAccessMessage. Relevant implementation: server/internal/handlers/handlers_access.go:58 memberAccessMessage.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := memberAccessMessage(\"request is no longer available\"); got != \"Request is no longer available.\" {; t.Fatalf(\"stale=%q\", got); if got := memberAccessMessage(\"person not found\"); got != \"Person not found.\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 751,
    "name": "TestPutStepsInEmailUsesStoredChoices",
    "purpose": "Put Steps In Email Uses Stored Choices",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Email Uses Stored Choices. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK || sends != 1 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK || sends != 1 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 806,
    "name": "TestSetStepsInChoicesPayloadKeepsEveryKey",
    "purpose": "Set Steps In Choices Payload Keeps Every Key",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Steps In Choices Payload Keeps Every Key. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 890,
    "name": "TestPutStepsInChoicesSendsNoInvite",
    "purpose": "Put Steps In Choices Sends No Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Choices Sends No Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if named.Code != http.StatusOK || sends != 1 || backend.inviteMarks != 1 {; t.Fatalf(\"named status=%d sends=%d marks=%d body=%s\", named.Code, sends, backend.inviteMarks, named.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if named.Code != http.StatusOK || sends != 1 || backend.inviteMarks != 1 {; t.Fatalf(\"named status=%d sends=%d marks=%d body=%s\", named.Code, sends, backend.inviteMarks, named.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 923,
    "name": "TestPutStepsInChoicesAfterFailedInviteDoesNotSend",
    "purpose": "Put Steps In Choices After Failed Invite Does Not Send",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Choices After Failed Invite Does Not Send. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusInternalServerError); if err := json.Unmarshal(named.Body.Bytes(), &namedResp); err != nil {; if named.Code != http.StatusOK || namedResp.EmailSent || namedResp.InviteURL == \"\" || sends != 1 || backend.inviteMarks != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusInternalServerError); if err := json.Unmarshal(named.Body.Bytes(), &namedResp); err != nil {; if named.Code != http.StatusOK || namedResp.EmailSent || namedResp.InviteURL == \"\" || sends != 1 || backend.inviteMarks != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_steps_in_test.go",
    "line": 957,
    "name": "TestPutStepsInLineMarksEveryPendingInvite",
    "purpose": "Put Steps In Line Marks Every Pending Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Put Steps In Line Marks Every Pending Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if got.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_todos_cast_test.go",
    "line": 54,
    "name": "TestHandleTodos_CastDaveCRUDShannonCannotRead",
    "purpose": "Handle Todos Cast Dave CRUDShannon Cannot Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Todos Cast Dave CRUDShannon Cannot Read. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if daveSub == shannonSub {; if created.Code != http.StatusCreated {; t.Fatalf(\"create status=%d body=%s\", created.Code, created.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if daveSub == shannonSub {; if created.Code != http.StatusCreated {; t.Fatalf(\"create status=%d body=%s\", created.Code, created.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_todos_test.go",
    "line": 14,
    "name": "TestTodosAuthorOnlySQL_FixtureUUIDsAreHex",
    "purpose": "Checks author-only pgTAP fixture UUIDs use valid, distinct hexadecimal values.",
    "classification": "internals",
    "restates": "no",
    "reason": "Reviewed focus: Validate UUID fixtures embedded in the author-only SQL test file. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if err != nil {; t.Fatalf(\"expected at least 4 uuid literals, got %v\", matches); if err := requireHexUUID(lit); err != nil { Relevant implementation: server/internal/handlers/handlers_todos.go. Relevant implementation: server/internal/handlers/handlers_todos.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "restates_review": "Validates independent test fixture UUID syntax and uniqueness; does not compare against production source."
  },
  {
    "file": "server/internal/handlers/handlers_todos_test.go",
    "line": 42,
    "name": "TestHandleTodos_UnknownJWTSameAsMe",
    "purpose": "Handle Todos Unknown JWTSame As Me",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Todos Unknown JWTSame As Me. The test checks the returned/domain behavior at its boundary. Assertion evidence: if me.Code != http.StatusNotFound {; t.Fatalf(\"GET /api/me status=%d body=%s\", me.Code, me.Body.String()); if list.Code != http.StatusNotFound { Relevant implementation: server/internal/handlers/handlers_todos.go. Relevant implementation: server/internal/handlers/handlers_todos.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if me.Code != http.StatusNotFound {; t.Fatalf(\"GET /api/me status=%d body=%s\", me.Code, me.Body.String()); if list.Code != http.StatusNotFound {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 126,
    "name": "TestHandleGetDocumentReviewSnapshot_Unauthenticated",
    "purpose": "Handle Get Document Review Snapshot Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Document Review Snapshot Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 135,
    "name": "TestHandleGetDocumentReviewSnapshot_OK",
    "purpose": "Handle Get Document Review Snapshot OK",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Document Review Snapshot OK. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if payload[\"p_actor\"] != davePersonID { Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if payload[\"p_actor\"] != davePersonID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 200,
    "name": "TestHandleGetDocumentReviewSnapshot_HiddenItem",
    "purpose": "Handle Get Document Review Snapshot Hidden Item",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Document Review Snapshot Hidden Item. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 213,
    "name": "TestHandleGetDocumentReviewSnapshot_BadHistoryCursor",
    "purpose": "Handle Get Document Review Snapshot Bad History Cursor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Document Review Snapshot Bad History Cursor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 222,
    "name": "TestHandleCreateValueReview_Unauthenticated",
    "purpose": "Handle Create Value Review Unauthenticated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Value Review Unauthenticated. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnauthorized {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 231,
    "name": "TestHandleCreateValueReview_RejectsUnknownFields",
    "purpose": "Handle Create Value Review Rejects Unknown Fields",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Value Review Rejects Unknown Fields. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusBadRequest {; t.Fatalf(\"a client-supplied actor must be rejected, status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusBadRequest {; t.Fatalf(\"a client-supplied actor must be rejected, status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 244,
    "name": "TestHandleCreateValueReview_MissingOperationID",
    "purpose": "Handle Create Value Review Missing Operation ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Value Review Missing Operation ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnprocessableEntity {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnprocessableEntity {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 254,
    "name": "TestHandleCreateValueReview_ViewerForbidden",
    "purpose": "Handle Create Value Review Viewer Forbidden",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Create Value Review Viewer Forbidden. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusForbidden {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusForbidden {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 267,
    "name": "TestHandleResolveValueReview_StaleConflictIsRedacted",
    "purpose": "Handle Resolve Value Review Stale Conflict Is Redacted",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Resolve Value Review Stale Conflict Is Redacted. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"Refresh and try again\") { Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusConflict {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if !strings.Contains(w.Body.String(), \"Refresh and try again\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 284,
    "name": "TestHandleResolveValueReview_InactiveSurfaceFailsClosed",
    "purpose": "Handle Resolve Value Review Inactive Surface Fails Closed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Resolve Value Review Inactive Surface Fails Closed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusUnprocessableEntity {; t.Fatalf(\"inactive mutations must fail closed, status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), \"unsupported_surface\") { Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusUnprocessableEntity {; t.Fatalf(\"inactive mutations must fail closed, status=%d body=%s\", w.Code, w.Body.String()); if strings.Contains(w.Body.String(), \"unsupported_surface\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 298,
    "name": "TestHandleWithdrawValueReview_NotFoundIs404",
    "purpose": "Handle Withdraw Value Review Not Found Is404",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Withdraw Value Review Not Found Is404. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 309,
    "name": "TestHandleGetValueReviewOperationResult_PassesThroughReceipt",
    "purpose": "Handle Get Value Review Operation Result Passes Through Receipt",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Value Review Operation Result Passes Through Receipt. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &receipt); err != nil || receipt[\"review_id\"] != reviewID { Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusOK {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()); if err := json.Unmarshal(w.Body.Bytes(), &receipt); err != nil || receipt[\"review_id\"] != reviewID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_value_review_test.go",
    "line": 325,
    "name": "TestHandleGetValueReviewOperationResult_AbsentIs404",
    "purpose": "Handle Get Value Review Operation Result Absent Is404",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Get Value Review Operation Result Absent Is404. The test checks the returned/domain behavior at its boundary. Assertion evidence: if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers_value_review.go. Relevant implementation: server/internal/handlers/handlers_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if w.Code != http.StatusNotFound {; t.Fatalf(\"status=%d body=%s\", w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 31,
    "name": "TestWorthALook_DaveSeedPinVsNewer",
    "purpose": "Worth ALook Dave Seed Pin Vs Newer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Dave Seed Pin Vs Newer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if report == nil {; if len(pins) == 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if report == nil {; if len(pins) == 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 69,
    "name": "TestWorthALook_EmilyDoesNotSeeDavesPin",
    "purpose": "Worth ALook Emily Does Not See Daves Pin",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Emily Does Not See Daves Pin. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"emily session: %v\", err); if strings.Contains(f.Evidence, \"Cedar\") || strings.Contains(f.Evidence, \"Riverside\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"emily session: %v\", err); if strings.Contains(f.Evidence, \"Cedar\") || strings.Contains(f.Evidence, \"Riverside\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 92,
    "name": "TestWorthALook_PlantedHiddenAndProposed",
    "purpose": "Worth ALook Planted Hidden And Proposed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Planted Hidden And Proposed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if pinItem == \"\" || newerItem == \"\" {; if strings.Contains(f.Evidence, \"Hidden Lane\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if pinItem == \"\" || newerItem == \"\" {; if strings.Contains(f.Evidence, \"Hidden Lane\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 199,
    "name": "TestHandleWorthALook_SecondSpouseLinkStays200",
    "purpose": "Handle Worth ALook Second Spouse Link Stays200",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Worth ALook Second Spouse Link Stays200. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(fields) == 0 || fields[0] == \"\" {; if w.Code != http.StatusOK {; t.Fatalf(\"%s status %d body %s\", member.email, w.Code, w.Body.String()) Relevant implementation: server/internal/handlers/handlers.go:297 HandleWorthALook. Relevant implementation: server/internal/handlers/handlers.go:297 HandleWorthALook.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(fields) == 0 || fields[0] == \"\" {; if w.Code != http.StatusOK {; t.Fatalf(\"%s status %d body %s\", member.email, w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 236,
    "name": "TestHandleWorthALook_QueryDTO",
    "purpose": "Handle Worth ALook Query DTO",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Handle Worth ALook Query DTO. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if w.Code == http.StatusOK {; if lastCode != http.StatusOK {; t.Fatalf(\"status %d body %s\", lastCode, body) Relevant implementation: server/internal/handlers/handlers.go:297 HandleWorthALook. Relevant implementation: server/internal/handlers/handlers.go:297 HandleWorthALook.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if w.Code == http.StatusOK {; if lastCode != http.StatusOK {; t.Fatalf(\"status %d body %s\", lastCode, body)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 281,
    "name": "TestWorthALook_DaveSeedDeceasedExecutor",
    "purpose": "Worth ALook Dave Seed Deceased Executor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Dave Seed Deceased Executor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if strings.Contains(f.Headline, \"Robert Whitfield\") && strings.Contains(strings.ToLower(f.Headline), \"executor\") {; if !strings.Contains(f.Headline, \"2019\") && !strings.Contains(f.Evidence, \"2019\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if strings.Contains(f.Headline, \"Robert Whitfield\") && strings.Contains(strings.ToLower(f.Headline), \"executor\") {; if !strings.Contains(f.Headline, \"2019\") && !strings.Contains(f.Evidence, \"2019\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 310,
    "name": "TestWorthALook_PlantedDeceasedExecutor",
    "purpose": "Worth ALook Planted Deceased Executor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Planted Deceased Executor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if itemID == \"\" {; if strings.Contains(f.Headline, \"WalDead \"+stamp) && strings.Contains(f.Headline, \"executor\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if itemID == \"\" {; if strings.Contains(f.Headline, \"WalDead \"+stamp) && strings.Contains(f.Headline, \"executor\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 403,
    "name": "TestWorthALook_PlantedBeneficiaryShares",
    "purpose": "Worth ALook Planted Beneficiary Shares",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Planted Beneficiary Shares. The test checks the returned/domain behavior at its boundary. Assertion evidence: if itemID == \"\" {; if err != nil {; if strings.Contains(f.Headline, \"wal-w2-shares \"+stamp) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if itemID == \"\" {; if err != nil {; if strings.Contains(f.Headline, \"wal-w2-shares \"+stamp) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_cast_test.go",
    "line": 472,
    "name": "TestWorthALook_NoPerRecordSoleAccess",
    "purpose": "Worth ALook No Per Record Sole Access",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook No Per Record Sole Access. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := hostPsql(t, fmt.Sprintf(`SELECT count(*) FROM steps_in_designation WHERE owner_person_id = %s::uuid`, sqlQuote(session.Person.ID))); got != \"0\" {; if len(itemIDs) != 12 || itemIDs[0] == \"\" {; t.Fatalf(\"expected twelve eligible records, got %q\", planted) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := hostPsql(t, fmt.Sprintf(`SELECT count(*) FROM steps_in_designation WHERE owner_person_id = %s::uuid`, sqlQuote(session.Person.ID))); got != \"0\" {; if len(itemIDs) != 12 || itemIDs[0] == \"\" {; t.Fatalf(\"expected twelve eligible records, got %q\", planted)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/handlers_worth_a_look_snooze_test.go",
    "line": 15,
    "name": "TestSnoozeAfterDeathWeekIsMonthOnly",
    "purpose": "Snooze After Death Week Is Month Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Snooze After Death Week Is Month Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.HasPrefix(r.URL.Path, \"/rest/v1/account\") && strings.Contains(r.URL.RawQuery, \"auth_user_id\"):; case strings.HasPrefix(r.URL.Path, \"/rest/v1/person\") && strings.Contains(r.URL.RawQuery, \"id=eq.\"+member):; if err != nil || len(report.Findings) == 0 { Relevant implementation: server/internal/handlers/handlers_worth_a_look.go:39 HandleWorthALookSnooze. Relevant implementation: server/internal/handlers/handlers_worth_a_look.go:39 HandleWorthALookSnooze.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.HasPrefix(r.URL.Path, \"/rest/v1/account\") && strings.Contains(r.URL.RawQuery, \"auth_user_id\"):; case strings.HasPrefix(r.URL.Path, \"/rest/v1/person\") && strings.Contains(r.URL.RawQuery, \"id=eq.\"+member):; if err != nil || len(report.Findings) == 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/person_removal_spouse_test.go",
    "line": 15,
    "name": "TestSpouseConflictAfterRemoval",
    "purpose": "Spouse Conflict After Removal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Conflict After Removal. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local stack tests are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if beaEntity == \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"local stack tests are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local stack tests are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if beaEntity == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/seed_person_test.go",
    "line": 35,
    "name": "TestCastFixturePeopleRetireOnlyNewRows",
    "purpose": "Cast Fixture People Retire Only New Rows",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Cast Fixture People Retire Only New Rows. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: t.Run(\"fixture\", func(t *testing.T) {; if got := hostPsql(t, fmt.Sprintf(`SELECT (removed_at IS NULL)::text FROM entity WHERE id=%s::uuid`, sqlQuote(preexisting))); got != \"true\" {; if got := hostPsql(t, fmt.Sprintf(`SELECT (removed_at IS NOT NULL AND removed_by_person_id=owner_person_id)::text FROM entity WHERE id=%s::uuid`, sqlQuote(minted))); got != \"true\"  Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=\"fixture\" Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(\"fixture\", func(t *testing.T) {; if got := hostPsql(t, fmt.Sprintf(`SELECT (removed_at IS NULL)::text FROM entity WHERE id=%s::uuid`, sqlQuote(preexisting))); got != \"true\" {; if got := hostPsql(t, fmt.Sprintf(`SELECT (removed_at IS NOT NULL AND removed_by_person_id=owner_person_id)::text FROM entity WHERE id=%s::uuid`, sqlQuote(minted))); got != \"true\"",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/staff_signin_limit_test.go",
    "line": 10,
    "name": "TestAllowStaffPerIPWaitUsesTheIPWindow",
    "purpose": "Allow Staff Per IPWait Uses The IPWindow",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Allow Staff Per IPWait Uses The IPWindow. The test checks the returned/domain behavior at its boundary. Assertion evidence: if wait := allowStaff(perEmail, perIP, \"ada@persynl.com\", \"203.0.113.8\"); wait != 0 {; t.Fatalf(\"first wait %d\", wait); if wait != 300 { Relevant implementation: server/internal/handlers/handlers_staff_signin.go:102 allowStaff. Relevant implementation: server/internal/handlers/handlers_staff_signin.go:102 allowStaff.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if wait := allowStaff(perEmail, perIP, \"ada@persynl.com\", \"203.0.113.8\"); wait != 0 {; t.Fatalf(\"first wait %d\", wait); if wait != 300 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/handlers/tod_deed_bind_295_test.go",
    "line": 21,
    "name": "TestTODDeedReadBindsOntoDaveOcalaLot",
    "purpose": "TODDeed Read Binds Onto Dave Ocala Lot",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: TODDeed Read Binds Onto Dave Ocala Lot. The test checks the returned/domain behavior at its boundary. Assertion evidence: if existedDesig == \"\" {; if opensAfter != opensBefore {; t.Errorf(\"step-in opens before=%d after=%d\", opensBefore, opensAfter) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if existedDesig == \"\" {; if opensAfter != opensBefore {; t.Errorf(\"step-in opens before=%d after=%d\", opensBefore, opensAfter)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/financial_accounts_http_test.go",
    "line": 14,
    "name": "TestMemberFinancialAccountHTTPRequiresAuthentication",
    "purpose": "Member Financial Account HTTPRequires Authentication",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Member Financial Account HTTPRequires Authentication. The test checks the returned/domain behavior at its boundary. Assertion evidence: c.AbortWithStatus(http.StatusUnauthorized); t.Run(scenario.method, func(t *testing.T) {; if response.Code != http.StatusUnauthorized { Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=scenario.method Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "c.AbortWithStatus(http.StatusUnauthorized); t.Run(scenario.method, func(t *testing.T) {; if response.Code != http.StatusUnauthorized {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/inbound_mail_test.go",
    "line": 19,
    "name": "TestNoInboundMailImportPath",
    "purpose": "Scans production Go code to ensure inbound-mail APIs are not imported or called.",
    "classification": "internals",
    "restates": "yes",
    "reason": "Reviewed focus: Ensure the server package does not import the retired inbound-mail path. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if walkErr != nil {; if entry.Name() == \"vendor\" || entry.Name() == \"testdata\" {; if err != nil { Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "restates_review": "AST-scans production Go files for exact forbidden imports and calls; source-structure assertion."
  },
  {
    "file": "server/internal/router/router_add_spouse_test.go",
    "line": 12,
    "name": "TestNewRouterOmitsHouseholdAddSpouse",
    "purpose": "New Router Omits Household Add Spouse",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: New Router Omits Household Add Spouse. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(rt.Path, \"/household/add-spouse\") {; t.Fatalf(\"POST /api/household/add-spouse must not be mounted: %s %s\", rt.Method, rt.Path) Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(rt.Path, \"/household/add-spouse\") {; t.Fatalf(\"POST /api/household/add-spouse must not be mounted: %s %s\", rt.Method, rt.Path)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/router_emergency_contacts_test.go",
    "line": 11,
    "name": "TestNewRouterMountsGoneHouseholdEmergencyContacts",
    "purpose": "New Router Mounts Gone Household Emergency Contacts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: New Router Mounts Gone Household Emergency Contacts. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Errorf(\"%s must stay mounted as 410\", key) Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Errorf(\"%s must stay mounted as 410\", key)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/router_files_gone_test.go",
    "line": 14,
    "name": "TestFilesRoutesAreGone",
    "purpose": "Files Routes Are Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Files Routes Are Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"%s %s is still mounted\", rt.Method, rt.Path); if w.Code != http.StatusNotFound {; t.Fatalf(\"%s %s status=%d body=%s\", check.method, check.path, w.Code, w.Body.String()) Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Fatalf(\"%s %s is still mounted\", rt.Method, rt.Path); if w.Code != http.StatusNotFound {; t.Fatalf(\"%s %s status=%d body=%s\", check.method, check.path, w.Code, w.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/router_graph_score_test.go",
    "line": 12,
    "name": "TestNewRouterOmitsGraphRoutes",
    "purpose": "New Router Omits Graph Routes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: New Router Omits Graph Routes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(rt.Path, \"/\"+\"graph/\") {; t.Fatalf(\"graph route must stay unmounted: %s %s\", rt.Method, rt.Path) Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(rt.Path, \"/\"+\"graph/\") {; t.Fatalf(\"graph route must stay unmounted: %s %s\", rt.Method, rt.Path)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/router_home_summary_test.go",
    "line": 13,
    "name": "TestHomeSummaryRouteIsGone",
    "purpose": "Home Summary Route Is Gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Home Summary Route Is Gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if rt.Path == \"/api/home/summary\" {; t.Fatalf(\"GET /api/home/summary is mounted: %s %s\", rt.Method, rt.Path); if w.Code != http.StatusNotFound { Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if rt.Path == \"/api/home/summary\" {; t.Fatalf(\"GET /api/home/summary is mounted: %s %s\", rt.Method, rt.Path); if w.Code != http.StatusNotFound {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/router_merge_test.go",
    "line": 12,
    "name": "TestNewRouterOmitsGraphEntitiesMerge",
    "purpose": "Keep the destructive graph entity merge route absent",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Keep the destructive graph entity merge route absent. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(rt.Path, \"/\"+ \"graph/entities/merge\") {; t.Fatalf(\"POST /api/graph/entities/merge must not be mounted: %s %s\", rt.Method, rt.Path) Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/router/router_merge_test.go",
    "line": 22,
    "name": "TestNewRouterMountsGoneMetadataDocumentTypes",
    "purpose": "Keep the retired metadata document-type route mounted as gone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Keep the retired metadata document-type route mounted as gone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if rt.Method == \"GET\" && rt.Path == \"/api/metadata/document-types\" { Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/router/router_people_removal_test.go",
    "line": 21,
    "name": "TestPeopleRoutesReachTheHandlers",
    "purpose": "People Routes Reach The Handlers",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Routes Reach The Handlers. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/list_removed_people\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):; w.WriteHeader(http.StatusBadRequest) Relevant implementation: server/internal/router/router.go:18 NewRouter. Relevant implementation: server/internal/router/router.go:18 NewRouter.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/list_removed_people\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):; w.WriteHeader(http.StatusBadRequest)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/router_test.go",
    "line": 14,
    "name": "TestMemberFinancialAccountIsTheOnlyWriterFamily",
    "purpose": "Expose financial-account write routes and keep retired bank-account routes absent",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Expose financial-account write routes and keep retired bank-account routes absent. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"retired bank route is still mounted: %s\", key); t.Fatalf(\"financial route not mounted: %s\", key) Relevant implementation: server/internal/router/router.go. Relevant implementation: server/internal/router/router.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/router/router_test.go",
    "line": 48,
    "name": "TestNewRouterOmitsStepsInNudge",
    "purpose": "Keep the retired steps-in nudge route absent",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Keep the retired steps-in nudge route absent. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(rt.Path, \"/steps-in/nudge\") {; t.Fatalf(\"steps-in nudge must not be mounted: %s %s\", rt.Method, rt.Path) Relevant implementation: server/internal/router/router.go. Relevant implementation: server/internal/router/router.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/router/staff_http_test.go",
    "line": 220,
    "name": "TestStaffSignInChecks",
    "purpose": "Staff Sign In Checks",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Staff Sign In Checks. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(\"H1\", func(t *testing.T) {; if wrong.Code != http.StatusNotFound || !strings.Contains(wrong.Body.String(), `\"error\":\"not_found\"`) {; t.Fatalf(\"wrong host %d %s\", wrong.Code, wrong.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=7; case names=\"H1\", \"H2\", \"H3\", \"H4\", \"H5\", \"H6\", \"H9\" Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(\"H1\", func(t *testing.T) {; if wrong.Code != http.StatusNotFound || !strings.Contains(wrong.Body.String(), `\"error\":\"not_found\"`) {; t.Fatalf(\"wrong host %d %s\", wrong.Code, wrong.Body.String())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/staff_http_test.go",
    "line": 382,
    "name": "TestStaffSignInLimits",
    "purpose": "Staff Sign In Limits",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Staff Sign In Limits. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(\"H7 domain\", func(t *testing.T) {; if got.Code != http.StatusNoContent || fake.authCalls != 0 {; t.Fatalf(\"non-staff %d calls %d\", got.Code, fake.authCalls) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=6; case names=\"H7 domain\", \"H7 code email\", \"H7 code ip\", \"H7 verify\", \"H7 verify ip\", \"H7 forwarded for\" Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(\"H7 domain\", func(t *testing.T) {; if got.Code != http.StatusNoContent || fake.authCalls != 0 {; t.Fatalf(\"non-staff %d calls %d\", got.Code, fake.authCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/router/staff_http_test.go",
    "line": 505,
    "name": "TestStaffRoleRoutes",
    "purpose": "Staff Role Routes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Staff Role Routes. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(\"R1\", func(t *testing.T) {; if got.Code != http.StatusForbidden || !strings.Contains(got.Body.String(), `\"error\":\"lead_only\"`) {; t.Fatalf(\"%d %s\", got.Code, got.Body.String()) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=9; case names=\"R1\", \"R2\", \"R3\", \"R4\", \"R5\", \"R6\", \"R9\", \"R8\" Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(\"R1\", func(t *testing.T) {; if got.Code != http.StatusForbidden || !strings.Contains(got.Body.String(), `\"error\":\"lead_only\"`) {; t.Fatalf(\"%d %s\", got.Code, got.Body.String())",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/bundle295_test.go",
    "line": 14,
    "name": "TestSavePersonPassed_OverlayAndNonUUIDDoNotCallPostgREST",
    "purpose": "Save Person Passed Overlay And Non UUIDDo Not Call Postg REST",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Save Person Passed Overlay And Non UUIDDo Not Call Postg REST. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Errorf(\"unexpected %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusInternalServerError); t.Fatalf(\"overlay err = %v\", err) Relevant implementation: server/internal/services/supabase_people.go:1970 SavePersonPassed. Relevant implementation: server/internal/services/supabase_people.go:1970 SavePersonPassed.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Errorf(\"unexpected %s %s\", r.Method, r.URL.Path); w.WriteHeader(http.StatusInternalServerError); t.Fatalf(\"overlay err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/bundle295_test.go",
    "line": 41,
    "name": "TestListPeople_PendingInviteSaysYourSpouse",
    "purpose": "List People Pending Invite Says Your Spouse",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Pending Invite Says Your Spouse. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/\"):; if err != nil {; if row.Relationship != \"Your spouse\" || !row.PendingInvite { Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/\"):; if err != nil {; if row.Relationship != \"Your spouse\" || !row.PendingInvite {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/bundle295_test.go",
    "line": 137,
    "name": "TestListEntityRelations_UsesShownName",
    "purpose": "List Entity Relations Uses Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Entity Relations Uses Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"):; case strings.Contains(id, child): Relevant implementation: server/internal/services/supabase_relations.go:340 ListEntityRelations. Relevant implementation: server/internal/services/supabase_relations.go:340 ListEntityRelations.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"):; case strings.Contains(id, child):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/bundle295_test.go",
    "line": 208,
    "name": "TestAssembleEntities_VisibleItemsOnce",
    "purpose": "Assemble Entities Visible Items Once",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Assemble Entities Visible Items Once. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/visible_items\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/\"): Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople, server/internal/services/supabase_graph_user_ops.go:379 GetEntity. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople, server/internal/services/supabase_graph_user_ops.go:379 GetEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/visible_items\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 18,
    "name": "TestG5SpouseInvitePath",
    "purpose": "G5 Spouse Invite Path",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G5 Spouse Invite Path. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := G5SpouseInvitePath(\" raw-token \"); got != \"/signup?invite=raw-token\" {; t.Fatalf(\"path=%q\", got); if G5SpouseInvitePath(\"\") != \"\" { Relevant implementation: server/internal/services/email.go:92 G5SpouseInvitePath. Relevant implementation: server/internal/services/email.go:92 G5SpouseInvitePath.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := G5SpouseInvitePath(\" raw-token \"); got != \"/signup?invite=raw-token\" {; t.Fatalf(\"path=%q\", got); if G5SpouseInvitePath(\"\") != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 27,
    "name": "TestSpouseDeclineNoticeDoesNotPromiseReinvitation",
    "purpose": "Spouse Decline Notice Does Not Promise Reinvitation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Decline Notice Does Not Promise Reinvitation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if payload.Subject != \"Your Persynl invitation was declined\" || payload.Text != \"Someone declined your Persynl invitation.\" || payload.HTML != \"<p>Someone declined your Persynl inv; w.WriteHeader(http.StatusOK) Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if payload.Subject != \"Your Persynl invitation was declined\" || payload.Text != \"Someone declined your Persynl invitation.\" || payload.HTML != \"<p>Someone declined your Persynl inv; w.WriteHeader(http.StatusOK)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 47,
    "name": "TestProviderStatusSendsReplyTo",
    "purpose": "Provider Status Sends Reply To",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Provider Status Sends Reply To. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK); if err != nil || status != http.StatusOK { Relevant implementation: server/internal/services/email.go:298 ProviderStatus. Relevant implementation: server/internal/services/email.go:298 ProviderStatus.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK); if err != nil || status != http.StatusOK {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 77,
    "name": "TestResendSendBehavior",
    "purpose": "Resend Send Behavior",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Send Behavior. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(http.StatusText(status), func(t *testing.T) {; if r.Method != http.MethodPost || r.URL.Path != \"/\" {; t.Errorf(\"request=%s %s\", r.Method, r.URL.Path) Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=http.StatusText(status) Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(http.StatusText(status), func(t *testing.T) {; if r.Method != http.MethodPost || r.URL.Path != \"/\" {; t.Errorf(\"request=%s %s\", r.Method, r.URL.Path)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 109,
    "name": "TestResendRejects4xxAnd5xxWithoutProviderDetails",
    "purpose": "Resend Rejects4xx And5xx Without Provider Details",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Rejects4xx And5xx Without Provider Details. The test checks the returned/domain behavior at its boundary. Assertion evidence: for _, status := range []int{http.StatusBadRequest, http.StatusUnprocessableEntity, http.StatusInternalServerError, http.StatusServiceUnavailable} {; t.Run(http.StatusText(status), func(t *testing.T) {; if err == nil || strings.Contains(err.Error(), \"raw-token\") || strings.Contains(err.Error(), \"secret-api-key\") || strings.Contains(err.Error(), \"private-provider-detail\") || !strin Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=http.StatusText(status) Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "for _, status := range []int{http.StatusBadRequest, http.StatusUnprocessableEntity, http.StatusInternalServerError, http.StatusServiceUnavailable} {; t.Run(http.StatusText(status), func(t *testing.T) {; if err == nil || strings.Contains(err.Error(), \"raw-token\") || strings.Contains(err.Error(), \"secret-api-key\") || strings.Contains(err.Error(), \"private-provider-detail\") || !strin",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 126,
    "name": "TestResendFormatsConfiguredFromNameAsMailboxAddress",
    "purpose": "Resend Formats Configured From Name As Mailbox Address",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Formats Configured From Name As Mailbox Address. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if err != nil || address.Name != `Persynl, \"Support\"` || address.Address != \"mail@example.test\" {; t.Errorf(\"from=%q parsed=%+v err=%v\", payload.From, address, err) Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if err != nil || address.Name != `Persynl, \"Support\"` || address.Address != \"mail@example.test\" {; t.Errorf(\"from=%q parsed=%+v err=%v\", payload.From, address, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 147,
    "name": "TestResendTimeoutAndContextCancellation",
    "purpose": "Resend Timeout And Context Cancellation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Timeout And Context Cancellation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || strings.Contains(err.Error(), \"secret-api-key\") {; t.Fatalf(\"expected sanitized timeout, got %v\", err); if err := mailer.Send(ctx, EmailMessage{Kind: \"test\", To: \"ada@example.org\", Subject: \"Hello\", Text: \"plain\"}); err == nil { Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/email.go:284 Send, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || strings.Contains(err.Error(), \"secret-api-key\") {; t.Fatalf(\"expected sanitized timeout, got %v\", err); if err := mailer.Send(ctx, EmailMessage{Kind: \"test\", To: \"ada@example.org\", Subject: \"Hello\", Text: \"plain\"}); err == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 169,
    "name": "TestInviteContactVerificationResendPayloadAndCIGuard",
    "purpose": "Invite Contact Verification Resend Payload And CIGuard",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Invite Contact Verification Resend Payload And CIGuard. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if r.Method != http.MethodPost || r.Header.Get(\"Content-Type\") != \"application/json\" || payload.To[0] != \"work@example.test\" || payload.Subject != \"Verify your invitation email\" {; t.Errorf(\"request=%s type=%q payload=%+v\", r.Method, r.Header.Get(\"Content-Type\"), payload) Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if r.Method != http.MethodPost || r.Header.Get(\"Content-Type\") != \"application/json\" || payload.To[0] != \"work@example.test\" || payload.Subject != \"Verify your invitation email\" {; t.Errorf(\"request=%s type=%q payload=%+v\", r.Method, r.Header.Get(\"Content-Type\"), payload)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 203,
    "name": "TestResendCentralCIBlocksWithoutNetworkAndBoundsInjectedClient",
    "purpose": "Resend Central CIBlocks Without Network And Bounds Injected Client",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Central CIBlocks Without Network And Bounds Injected Client. The test checks the returned/domain behavior at its boundary. Assertion evidence: return &http.Response{StatusCode: http.StatusNoContent, Header: make(http.Header), Body: io.NopCloser(strings.NewReader(\"\")), Request: r}, nil; if err := mailer.Send(context.Background(), EmailMessage{Kind: \"test\", To: \"ada@example.org\", Subject: \"Hello\", Text: \"plain\"}); err == nil || requests != 0 {; t.Fatalf(\"CI send err=%v requests=%d\", err, requests) Relevant implementation: server/internal/services/email.go:284 Send. Relevant implementation: server/internal/services/email.go:284 Send.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "return &http.Response{StatusCode: http.StatusNoContent, Header: make(http.Header), Body: io.NopCloser(strings.NewReader(\"\")), Request: r}, nil; if err := mailer.Send(context.Background(), EmailMessage{Kind: \"test\", To: \"ada@example.org\", Subject: \"Hello\", Text: \"plain\"}); err == nil || requests != 0 {; t.Fatalf(\"CI send err=%v requests=%d\", err, requests)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 232,
    "name": "TestResendLogsOnlySanitizedKindAndRecipientDomain",
    "purpose": "Resend Logs Only Sanitized Kind And Recipient Domain",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Logs Only Sanitized Kind And Recipient Domain. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := mailer.Send(context.Background(), EmailMessage{Kind: \"raw-token ada@example.org\", To: \"ada@example.org\", Subject: \"Hello\", Text: \"plain\"}); err != nil {; if strings.Contains(got, \"raw-token\") || strings.Contains(got, \"ada@example.org\") || strings.Contains(got, \"malicious\") || !strings.Contains(got, \"recipient_domain=example.org\") ||; t.Fatalf(\"unsafe log: %q\", got) Relevant implementation: server/internal/services/email.go:284 Send. Relevant implementation: server/internal/services/email.go:284 Send.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := mailer.Send(context.Background(), EmailMessage{Kind: \"raw-token ada@example.org\", To: \"ada@example.org\", Subject: \"Hello\", Text: \"plain\"}); err != nil {; if strings.Contains(got, \"raw-token\") || strings.Contains(got, \"ada@example.org\") || strings.Contains(got, \"malicious\") || !strings.Contains(got, \"recipient_domain=example.org\") ||; t.Fatalf(\"unsafe log: %q\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 251,
    "name": "TestResendDoesNotFollowRedirectWithCredential",
    "purpose": "Resend Does Not Follow Redirect With Credential",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Does Not Follow Redirect With Credential. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusFound); if err == nil || forwarded {; t.Fatalf(\"redirect followed=%v err=%v\", forwarded, err) Relevant implementation: server/internal/services/email.go:284 Send. Relevant implementation: server/internal/services/email.go:284 Send.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusFound); if err == nil || forwarded {; t.Fatalf(\"redirect followed=%v err=%v\", forwarded, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 268,
    "name": "TestResendConfigurationAndCentralCIGuard",
    "purpose": "Resend Configuration And Central CIGuard",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Configuration And Central CIGuard. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || sent {; t.Fatalf(\"CI send=(%v,%v)\", sent, err) Relevant implementation: server/internal/services/email.go:121 TrySendG5SpouseInvite. Relevant implementation: server/internal/services/email.go:121 TrySendG5SpouseInvite.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || sent {; t.Fatalf(\"CI send=(%v,%v)\", sent, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_g5_invite_test.go",
    "line": 287,
    "name": "TestG5SpouseInviteNeutralNameNeverUsesEmail",
    "purpose": "G5 Spouse Invite Neutral Name Never Uses Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: G5 Spouse Invite Neutral Name Never Uses Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if !strings.Contains(body, \"You're invited to create your own Persynl login.\") || strings.Contains(body, \"Someone\") || strings.Contains(body, \"join with\") || strings.Contains(body,; t.Fatalf(\"unsafe fallback: %s\", body) Relevant implementation: server/internal/services/email.go:430 RenderG5SpouseInviteText. Relevant implementation: server/internal/services/email.go:430 RenderG5SpouseInviteText.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if !strings.Contains(body, \"You're invited to create your own Persynl login.\") || strings.Contains(body, \"Someone\") || strings.Contains(body, \"join with\") || strings.Contains(body,; t.Fatalf(\"unsafe fallback: %s\", body)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_item_invite_test.go",
    "line": 12,
    "name": "TestItemInviteEmailLinkAndConfiguration",
    "purpose": "Item Invite Email Link And Configuration",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Item Invite Email Link And Configuration. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if !strings.Contains(payload.Text, expected) || !strings.Contains(payload.HTML, expected) { Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if !strings.Contains(payload.Text, expected) || !strings.Contains(payload.HTML, expected) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_steps_in_invite_test.go",
    "line": 12,
    "name": "TestStepsInInviteEmailGolden",
    "purpose": "Steps In Invite Email Golden",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Invite Email Golden. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK) Relevant implementation: server/internal/services/email.go:247 TrySendStepsInInvite. Relevant implementation: server/internal/services/email.go:247 TrySendStepsInInvite.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; w.WriteHeader(http.StatusOK)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_steps_in_invite_test.go",
    "line": 121,
    "name": "TestStepsInInviteNotAfterDeathOmitsDeath",
    "purpose": "Steps In Invite Not After Death Omits Death",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Invite Not After Death Omits Death. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(body, \"dies\") || strings.Contains(strings.ToLower(body), \"after\") {; t.Fatalf(\"level %s mentioned death: %s\", level, body) Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence. Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(body, \"dies\") || strings.Contains(strings.ToLower(body), \"after\") {; t.Fatalf(\"level %s mentioned death: %s\", level, body)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_steps_in_invite_test.go",
    "line": 130,
    "name": "TestStepsInInviteBlankName",
    "purpose": "Steps In Invite Blank Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Invite Blank Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := stepsInInviteSentence(\"\", true, \"health_papers\"); got != wantDeath {; t.Fatalf(\"blank death: %s\", got); if got := stepsInInviteSentence(\"   \", false, \"health_and_financial\"); got != wantHelp { Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence. Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := stepsInInviteSentence(\"\", true, \"health_papers\"); got != wantDeath {; t.Fatalf(\"blank death: %s\", got); if got := stepsInInviteSentence(\"   \", false, \"health_and_financial\"); got != wantHelp {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_steps_in_invite_test.go",
    "line": 153,
    "name": "TestStepsInInviteSentencesMatchTheCard",
    "purpose": "Steps In Invite Sentences Match The Card",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Invite Sentences Match The Card. The test checks the returned/domain behavior at its boundary. Assertion evidence: if full != death+\" \"+papers+\" \"+closing {; t.Fatalf(\"card sentences: %s\", full); if money != help+\" \"+accounts+\" \"+closing { Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence. Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if full != death+\" \"+papers+\" \"+closing {; t.Fatalf(\"card sentences: %s\", full); if money != help+\" \"+accounts+\" \"+closing {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/email_steps_in_invite_test.go",
    "line": 169,
    "name": "TestStepsInInviteUnconfiguredReturnsLinkOnly",
    "purpose": "Steps In Invite Unconfigured Returns Link Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Invite Unconfigured Returns Link Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || sent {; t.Fatalf(\"sent=%v err=%v\", sent, err); if err != nil || link != \"https://app.test/signup\" || strings.Contains(link, \"?\") || strings.Contains(link, \"steps_in=\") { Relevant implementation: server/internal/services/email.go:247 TrySendStepsInInvite. Relevant implementation: server/internal/services/email.go:247 TrySendStepsInInvite.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || sent {; t.Fatalf(\"sent=%v err=%v\", sent, err); if err != nil || link != \"https://app.test/signup\" || strings.Contains(link, \"?\") || strings.Contains(link, \"steps_in=\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/message_dispatch_test.go",
    "line": 57,
    "name": "TestDispatchMessageSends_PostedJoinPassesReplyTo",
    "purpose": "Dispatch Message Sends Posted Join Passes Reply To",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Dispatch Message Sends Posted Join Passes Reply To. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := DispatchMessageSends(context.Background(), box, poster, true); err != nil {; if poster.msg.Text != body || poster.msg.ReplyTo != \"help@persynl.com\" || poster.msg.Subject != \"Someone else has told us\" {; t.Fatalf(\"sent=%+v\", poster.msg) Relevant implementation: server/internal/services/message_dispatch.go. Relevant implementation: server/internal/services/message_dispatch.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := DispatchMessageSends(context.Background(), box, poster, true); err != nil {; if poster.msg.Text != body || poster.msg.ReplyTo != \"help@persynl.com\" || poster.msg.Subject != \"Someone else has told us\" {; t.Fatalf(\"sent=%+v\", poster.msg)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/message_dispatch_test.go",
    "line": 88,
    "name": "TestTickMessageDispatcher_SweepsWhenEmailUnconfigured",
    "purpose": "Tick Message Dispatcher Sweeps When Email Unconfigured",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Tick Message Dispatcher Sweeps When Email Unconfigured. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := TickMessageDispatcher(context.Background(), sweep, box, nil, false); err != nil {; if sweep.calls != 1 {; t.Fatalf(\"sweep calls=%d\", sweep.calls) Relevant implementation: server/internal/services/message_dispatch.go. Relevant implementation: server/internal/services/message_dispatch.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := TickMessageDispatcher(context.Background(), sweep, box, nil, false); err != nil {; if sweep.calls != 1 {; t.Fatalf(\"sweep calls=%d\", sweep.calls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/message_dispatch_test.go",
    "line": 102,
    "name": "TestTickMessageDispatcher_SweepErrorSkipsEmail",
    "purpose": "Tick Message Dispatcher Sweep Error Skips Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Tick Message Dispatcher Sweep Error Skips Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil {; if box.claimed != 0 {; t.Fatalf(\"claimed=%d\", box.claimed) Relevant implementation: server/internal/services/message_dispatch.go. Relevant implementation: server/internal/services/message_dispatch.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil {; if box.claimed != 0 {; t.Fatalf(\"claimed=%d\", box.claimed)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/message_dispatch_test.go",
    "line": 114,
    "name": "TestDispatchMessageSends_UnconfiguredDoesNotClaim",
    "purpose": "Dispatch Message Sends Unconfigured Does Not Claim",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Dispatch Message Sends Unconfigured Does Not Claim. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := DispatchMessageSends(context.Background(), box, fakePoster{status: 200}, false); err != nil {; if box.claimed != 0 {; t.Fatalf(\"claimed %d\", box.claimed) Relevant implementation: server/internal/services/message_dispatch.go. Relevant implementation: server/internal/services/message_dispatch.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := DispatchMessageSends(context.Background(), box, fakePoster{status: 200}, false); err != nil {; if box.claimed != 0 {; t.Fatalf(\"claimed %d\", box.claimed)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/message_dispatch_test.go",
    "line": 124,
    "name": "TestDispatchMessageSends_RecordsProviderStatus",
    "purpose": "Dispatch Message Sends Records Provider Status",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Dispatch Message Sends Records Provider Status. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if err != nil {; if len(box.statuses) != 1 || box.statuses[0] != tc.want { Relevant implementation: server/internal/services/message_dispatch.go. Relevant implementation: server/internal/services/message_dispatch.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if err != nil {; if len(box.statuses) != 1 || box.statuses[0] != tc.want {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/name_split_cases_test.go",
    "line": 10,
    "name": "TestTitleCaseIfAllCapsMatchesNameSplitCases",
    "purpose": "Match the shared name-splitting/title-case cases for all-caps names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Match the shared name-splitting/title-case cases for all-caps names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal(raw, &rows); err != nil {; if len(rows) == 0 { Relevant implementation: server/internal/services/supabase_records_hub.go:689 titleCaseIfAllCaps. Relevant implementation: server/internal/services/supabase_records_hub.go:689 titleCaseIfAllCaps.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/operator_gate_test.go",
    "line": 11,
    "name": "TestSuperuserSessionIsAnOperator",
    "purpose": "Superuser Session Is An Operator",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Superuser Session Is An Operator. The test checks the returned/domain behavior at its boundary. Assertion evidence: if after != before {; t.Fatalf(\"active staff after the superuser grant = %s, before = %s\", after, before); if got != \"true\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if after != before {; t.Fatalf(\"active staff after the superuser grant = %s, before = %s\", after, before); if got != \"true\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_passed_test.go",
    "line": 17,
    "name": "TestPersonPassedReadsBoolStringAndDate",
    "purpose": "Person Passed Reads Bool String And Date",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Passed Reads Bool String And Date. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !passed || year == nil || *year != 2019 {; t.Fatalf(\"json true passed=%v year=%v\", passed, year); if !passed || year != nil { Relevant implementation: server/internal/services/supabase_people.go:208 personPassed. Relevant implementation: server/internal/services/supabase_people.go:208 personPassed.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !passed || year == nil || *year != 2019 {; t.Fatalf(\"json true passed=%v year=%v\", passed, year); if !passed || year != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_passed_test.go",
    "line": 61,
    "name": "TestPersonPassedVerifiedDeathWithoutFacts",
    "purpose": "Person Passed Verified Death Without Facts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Passed Verified Death Without Facts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if year == nil || *year != 2026 {; t.Fatalf(\"verified-only year=%v, want 2026\", year) Relevant implementation: server/internal/services/supabase_people.go:208 personPassed. Relevant implementation: server/internal/services/supabase_people.go:208 personPassed.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if year == nil || *year != 2026 {; t.Fatalf(\"verified-only year=%v, want 2026\", year)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_passed_test.go",
    "line": 75,
    "name": "TestPersonPassedVerifiedDeathBeatsPinnedLiving",
    "purpose": "Person Passed Verified Death Beats Pinned Living",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Passed Verified Death Beats Pinned Living. The test checks the returned/domain behavior at its boundary. Assertion evidence: if year == nil || *year != 2019 {; t.Fatalf(\"pinned Living keeps the fact year, got %v\", year); if passed || year != nil { Relevant implementation: server/internal/services/supabase_people.go:208 personPassed. Relevant implementation: server/internal/services/supabase_people.go:208 personPassed.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if year == nil || *year != 2019 {; t.Fatalf(\"pinned Living keeps the fact year, got %v\", year); if passed || year != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_passed_test.go",
    "line": 100,
    "name": "TestPersonPassedDeathYearPrecedence",
    "purpose": "Person Passed Death Year Precedence",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Passed Death Year Precedence. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if passed != tc.wantPassed {; t.Fatalf(\"passed=%v want %v\", passed, tc.wantPassed) Relevant implementation: server/internal/services/supabase_people.go:208 personPassed. Relevant implementation: server/internal/services/supabase_people.go:208 personPassed.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if passed != tc.wantPassed {; t.Fatalf(\"passed=%v want %v\", passed, tc.wantPassed)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_passed_test.go",
    "line": 196,
    "name": "TestEntityAccountPersonMatchesTheRosterRule",
    "purpose": "Entity Account Person Matches The Roster Rule",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Entity Account Person Matches The Roster Rule. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := entityAccountPerson(\"person:emily\", people, accounts); got != \"\" {; t.Fatalf(\"email local part must not resolve=%q\", got); if got := entityAccountPerson(\"person:\"+dave, people, accounts); got != dave { Relevant implementation: server/internal/services/supabase_people.go:283 entityAccountPerson. Relevant implementation: server/internal/services/supabase_people.go:283 entityAccountPerson.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := entityAccountPerson(\"person:emily\", people, accounts); got != \"\" {; t.Fatalf(\"email local part must not resolve=%q\", got); if got := entityAccountPerson(\"person:\"+dave, people, accounts); got != dave {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_relationships_cast_test.go",
    "line": 13,
    "name": "TestRelationChoicesMatchSQL",
    "purpose": "Relation Choices Match SQL",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Relation Choices Match SQL. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if line != \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if line != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_relationships_cast_test.go",
    "line": 50,
    "name": "TestConcurrentSavePersonPassedCommits",
    "purpose": "Concurrent Save Person Passed Commits",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Concurrent Save Person Passed Commits. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 2 || parts[0] == \"\" || parts[1] == \"\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 2 || parts[0] == \"\" || parts[1] == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_264_test.go",
    "line": 129,
    "name": "TestListPeople_VerifiedDeathMarksTheRowDeceased",
    "purpose": "List People Verified Death Marks The Row Deceased",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Verified Death Marks The Row Deceased. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"a verified death must mark the row deceased: %+v\", row); if row.DeathYear == nil || *row.DeathYear != 2026 { Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"a verified death must mark the row deceased: %+v\", row); if row.DeathYear == nil || *row.DeathYear != 2026 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_264_test.go",
    "line": 152,
    "name": "TestListPeople_VerifiedDeathBeatsPinnedLiving",
    "purpose": "List People Verified Death Beats Pinned Living",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Verified Death Beats Pinned Living. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if row := roster264Row(t, living, robert); row.Deceased || row.DeathYear != nil {; t.Fatalf(\"without a verified death a pinned Living still lives: %+v\", row) Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if row := roster264Row(t, living, robert); row.Deceased || row.DeathYear != nil {; t.Fatalf(\"without a verified death a pinned Living still lives: %+v\", row)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_264_test.go",
    "line": 187,
    "name": "TestListPeople_VerifiedDeathFillsAMissingYear",
    "purpose": "List People Verified Death Fills AMissing Year",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Verified Death Fills AMissing Year. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if !row.Deceased || row.DeathYear == nil || *row.DeathYear != 2025 {; t.Fatalf(\"flagged row without a year = %+v, want 2025 from verified_at\", row) Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if !row.Deceased || row.DeathYear == nil || *row.DeathYear != 2025 {; t.Fatalf(\"flagged row without a year = %+v, want 2025 from verified_at\", row)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_264_test.go",
    "line": 209,
    "name": "TestListPeople_VerifiedDeathIsOneBatchedGet",
    "purpose": "List People Verified Death Is One Batched Get",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Verified Death Is One Batched Get. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(requests) != 1 {; t.Fatalf(\"death_verification requests = %d, want 1 batched GET: %v\", len(requests), requests) Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(requests) != 1 {; t.Fatalf(\"death_verification requests = %d, want 1 batched GET: %v\", len(requests), requests)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_264_test.go",
    "line": 248,
    "name": "TestListPeople_NoCandidateIDsSkipsTheVerificationRead",
    "purpose": "List People No Candidate IDs Skips The Verification Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People No Candidate IDs Skips The Verification Read. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):; if strings.HasPrefix(r.URL.Query().Get(\"entity_type_subtype\"), \"like.relationship\") || strings.Contains(r.URL.Path, \"entity_binding\") { Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):; if strings.HasPrefix(r.URL.Query().Get(\"entity_type_subtype\"), \"like.relationship\") || strings.Contains(r.URL.Path, \"entity_binding\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_264_test.go",
    "line": 292,
    "name": "TestListPeople_VerifiedDeathLookupIsReadOnly",
    "purpose": "List People Verified Death Lookup Is Read Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Verified Death Lookup Is Read Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.HasPrefix(r.URL.Path, \"/rest/v1/death_verification\") && r.Method != http.MethodGet {; if strings.Contains(r.URL.Path, \"/rpc/\") {; case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"): Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.HasPrefix(r.URL.Path, \"/rest/v1/death_verification\") && r.Method != http.MethodGet {; if strings.Contains(r.URL.Path, \"/rpc/\") {; case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_live_264_test.go",
    "line": 23,
    "name": "TestLiveRosterVerifiedDeath_264",
    "purpose": "Live Roster Verified Death 264",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Live Roster Verified Death 264. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 2 || parts[0] == \"\" || parts[1] == \"\" { Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "Skip/opt-in condition: \"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 2 || parts[0] == \"\" || parts[1] == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_live_264_test.go",
    "line": 96,
    "name": "TestLiveRosterVerifiedDeathBeatsPinnedLiving_264",
    "purpose": "Live Roster Verified Death Beats Pinned Living 264",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Live Roster Verified Death Beats Pinned Living 264. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 3 { Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "Skip/opt-in condition: \"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 3 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/people_verified_death_live_264_test.go",
    "line": 164,
    "name": "TestLiveRosterIgnoresUnverifiedDeaths_264",
    "purpose": "Live Roster Ignores Unverified Deaths 264",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Live Roster Ignores Unverified Deaths 264. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 2 { Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "Skip/opt-in condition: \"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\") Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Skip(\"local SQL fixtures are opt-in: export LOCAL_INTEGRATION_TESTS=1 with an explicit loopback target\"); if err != nil {; if len(parts) != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_join_concurrency_test.go",
    "line": 11,
    "name": "TestJoinVsShare",
    "purpose": "Join Vs Share",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Join Vs Share. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(order, func(t *testing.T) {; if order == \"share-first\" {; if ea != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=order Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(order, func(t *testing.T) {; if order == \"share-first\" {; if ea != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_join_concurrency_test.go",
    "line": 51,
    "name": "TestJoinVsBinding",
    "purpose": "Join Vs Binding",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Join Vs Binding. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(order, func(t *testing.T) {; if order == \"binding-first\" {; if ea != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=order Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(order, func(t *testing.T) {; if order == \"binding-first\" {; if ea != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_join_concurrency_test.go",
    "line": 94,
    "name": "TestReversedJoinsCannotCycle",
    "purpose": "Reversed Joins Cannot Cycle",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reversed Joins Cannot Cycle. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil || errB == nil || !strings.Contains(outB, \"join_not_allowed\") {; t.Fatalf(\"A %v %s; B %v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM person_join WHERE owner_person_id='%s' AND separated_at IS NULL\", owner)); got != \"1\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil || errB == nil || !strings.Contains(outB, \"join_not_allowed\") {; t.Fatalf(\"A %v %s; B %v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM person_join WHERE owner_person_id='%s' AND separated_at IS NULL\", owner)); got != \"1\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_binding_test.go",
    "line": 13,
    "name": "TestBindingShownNameRemovedPerson",
    "purpose": "Binding Shown Name Removed Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Binding Shown Name Removed Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(path, \"/rpc/can_see_item\"):; case strings.Contains(path, \"/rpc/visible_items\"):; case strings.Contains(path, \"/rpc/_g6_people_shown_names\"): Relevant implementation: server/internal/services/supabase_facts.go:1742 ListItemBindings. Relevant implementation: server/internal/services/supabase_facts.go:1742 ListItemBindings.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(path, \"/rpc/can_see_item\"):; case strings.Contains(path, \"/rpc/visible_items\"):; case strings.Contains(path, \"/rpc/_g6_people_shown_names\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_concurrency_test.go",
    "line": 151,
    "name": "TestRemoveVsSetStepsIn",
    "purpose": "Remove Vs Set Steps In",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Vs Set Steps In. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if errA != nil || errB == nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=order Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if errA != nil || errB == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_concurrency_test.go",
    "line": 191,
    "name": "TestRemoveVsSetUpSharing",
    "purpose": "Remove Vs Set Up Sharing",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Vs Set Up Sharing. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if removed != \"true\" || prep != \"0\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=order Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if removed != \"true\" || prep != \"0\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_concurrency_test.go",
    "line": 222,
    "name": "TestRemoveVsShareItemReadOnly",
    "purpose": "Remove Vs Share Item Read Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Vs Share Item Read Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if errA != nil || errB == nil || removed != \"true\" || shares != \"0\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=order Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if errA != nil || errB == nil || removed != \"true\" || shares != \"0\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_concurrency_test.go",
    "line": 252,
    "name": "TestRemoveVsAddRelation",
    "purpose": "Remove Vs Add Relation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Vs Add Relation. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if removed != \"true\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=order Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(order, func(t *testing.T) {; if order == \"remove-first\" {; if removed != \"true\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_concurrency_test.go",
    "line": 427,
    "name": "TestRemoveVsAddRelationOnYou",
    "purpose": "Remove Vs Add Relation On You",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Remove Vs Add Relation On You. The test checks the returned/domain behavior at its boundary. Assertion evidence: if entity == \"\" || strings.ReplaceAll(entity, \"-\", \"\") <= strings.ReplaceAll(you, \"-\", \"\") {; if strings.Contains(joined, \"40P01\") || strings.Contains(strings.ToLower(joined), \"deadlock\") {; t.Fatalf(\"deadlock\\nsnapshot=%s\\nA err=%v %s\\nB err=%v %s\", snapshot, errA, outA, errB, outB) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if entity == \"\" || strings.ReplaceAll(entity, \"-\", \"\") <= strings.ReplaceAll(you, \"-\", \"\") {; if strings.Contains(joined, \"40P01\") || strings.Contains(strings.ToLower(joined), \"deadlock\") {; t.Fatalf(\"deadlock\\nsnapshot=%s\\nA err=%v %s\\nB err=%v %s\", snapshot, errA, outA, errB, outB)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_concurrency_test.go",
    "line": 564,
    "name": "TestMintInviteVsRemoveLowerPersonID",
    "purpose": "Mint Invite Vs Remove Lower Person ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Mint Invite Vs Remove Lower Person ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if entity == \"\" {; if strings.Contains(joined, \"40P01\") || strings.Contains(strings.ToLower(joined), \"deadlock\") {; t.Fatalf(\"deadlock\\nwaited=%s\\nA err=%v %s\\nB err=%v %s\", waited, errA, outA, errB, outB) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if entity == \"\" {; if strings.Contains(joined, \"40P01\") || strings.Contains(strings.ToLower(joined), \"deadlock\") {; t.Fatalf(\"deadlock\\nwaited=%s\\nA err=%v %s\\nB err=%v %s\", waited, errA, outA, errB, outB)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/person_removal_error_test.go",
    "line": 8,
    "name": "TestMapRemovalP0001Details",
    "purpose": "Map Removal P0001 Details",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Map Removal P0001 Details. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !ok || notAllowed.Kind != \"linked_spouse\" {; t.Fatalf(\"got %#v\", err); if !ok || !strings.Contains(string(blocked.Blockers), `\"share\"`) { Relevant implementation: server/internal/services/supabase_items.go:481 mapPostgrestError. Relevant implementation: server/internal/services/supabase_items.go:481 mapPostgrestError.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !ok || notAllowed.Kind != \"linked_spouse\" {; t.Fatalf(\"got %#v\", err); if !ok || !strings.Contains(string(blocked.Blockers), `\"share\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 26,
    "name": "TestCommitOCRCreatedAtIsBeforeCommittedAt",
    "purpose": "Commit OCRCreated At Is Before Committed At",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Commit OCRCreated At Is Before Committed At. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 30,
    "name": "TestReadReceiptCommitCountsExtractOCR",
    "purpose": "Read Receipt Commit Counts Extract OCR",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Read Receipt Commit Counts Extract OCR. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 34,
    "name": "TestReadReceiptPinnedCollisionsAndReplay",
    "purpose": "Read Receipt Pinned Collisions And Replay",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Read Receipt Pinned Collisions And Replay. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 38,
    "name": "TestProducingJobGUCRestored",
    "purpose": "Producing Job GUCRestored",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Producing Job GUCRestored. The test checks the returned/domain behavior at its boundary. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 48,
    "name": "TestSQLShippedTypesEqualDefaultSupportedTypes",
    "purpose": "SQLShipped Types Equal Default Supported Types",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: SQLShipped Types Equal Default Supported Types. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !ok || strings.TrimSpace(key) == \"\" || (value != \"true\" && value != \"false\") {; t.Fatalf(\"invalid _g6_type_is_shipped result %q\", line); if len(actual) == 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 123,
    "name": "TestSQLNoAccountFamilyPublishesOwnershipForm",
    "purpose": "Verify the live catalog and writer gate no longer publish account ownership form",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Verify the live catalog and writer gate no longer publish account ownership form. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Skip(\"the M3 retirement migration is not applied to this stack\"); if out != \"definitions=0\" {; t.Fatalf(\"published acct_ownership_form definitions: %s\", out) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skip/opt-in condition: \"the M3 retirement migration is not applied to this stack\") Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 347,
    "name": "TestKindSQLFixtureHelperIsLoopbackOnly",
    "purpose": "Require SQL fixture commands to use the explicit loopback target and safe psql flags",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Require SQL fixture commands to use the explicit loopback target and safe psql flags. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if args[0] != \"-X\" {; t.Fatalf(\"psql must start with -X: %v\", args); if !strings.Contains(joined, \"-h \"+target.Host) || !strings.Contains(joined, \"-p \"+target.Port) || !strings.Contains(joined, \"-d \"+target.Database) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if args[0] != \"-X\" {; t.Fatalf(\"psql must start with -X: %v\", args); if !strings.Contains(joined, \"-h \"+target.Host) || !strings.Contains(joined, \"-p \"+target.Port) || !strings.Contains(joined, \"-d \"+target.Database) {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/read_receipt_sql_test.go",
    "line": 420,
    "name": "TestKindSQLFixtureRejectsLibpqRedirectors",
    "purpose": "Reject inherited libpq environment settings that could redirect SQL fixtures",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reject inherited libpq environment settings that could redirect SQL fixtures. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: t.Run(tc.key, func(t *testing.T) {; if err := kindSQLRefuseInheritedLibpqConfig(target); err == nil {; t.Fatalf(\"%s must fail closed\", tc.key) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.key Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(tc.key, func(t *testing.T) {; if err := kindSQLRefuseInheritedLibpqConfig(target); err == nil {; t.Fatalf(\"%s must fail closed\", tc.key)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 5,
    "name": "TestRosterCategoryMatrixExactKeys",
    "purpose": "Roster Category Matrix Exact Keys",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Roster Category Matrix Exact Keys. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(cases) != len(coreRelationSpecs) {; t.Fatalf(\"matrix cases %d specs %d\", len(cases), len(coreRelationSpecs)); if got := categoryForRelationship(\"relationship.\" + tc.key); got != tc.category { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if len(cases) != len(coreRelationSpecs) {; t.Fatalf(\"matrix cases %d specs %d\", len(cases), len(coreRelationSpecs)); if got := categoryForRelationship(\"relationship.\" + tc.key); got != tc.category {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 65,
    "name": "TestRosterCategoryDoesNotGuessKinship",
    "purpose": "Roster Category Does Not Guess Kinship",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Roster Category Does Not Guess Kinship. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := categoryForRelationship(\"relationship.neighbor\"); got != \"\" {; t.Fatalf(\"neighbor dumped into %q\", got); if got := categoryForRelationship(\"relationship.executor_of\"); got != \"\" { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := categoryForRelationship(\"relationship.neighbor\"); got != \"\" {; t.Fatalf(\"neighbor dumped into %q\", got); if got := categoryForRelationship(\"relationship.executor_of\"); got != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 84,
    "name": "TestRelationChoicesParentOfIsNeverOffered",
    "purpose": "Relation Choices Parent Of Is Never Offered",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Relation Choices Parent Of Is Never Offered. The test checks the returned/domain behavior at its boundary. Assertion evidence: if choice.Label == \"Parent of\" || choice.Choice == \"parent_of\" || choice.RelationKey == \"parent_of\" && choice.Choice == \"parent_of\" {; t.Fatalf(\"Parent of is a choice: %+v\", choice); if choice.Choice == \"grandchild\" { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if choice.Label == \"Parent of\" || choice.Choice == \"parent_of\" || choice.RelationKey == \"parent_of\" && choice.Choice == \"parent_of\" {; t.Fatalf(\"Parent of is a choice: %+v\", choice); if choice.Choice == \"grandchild\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 120,
    "name": "TestRelationPhraseBothDirections",
    "purpose": "Relation Phrase Both Directions",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Relation Phrase Both Directions. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := relationPhrase(\"friend\", \"from\", \"Helen Kessler\", \"\"); got != \"Friend of Helen Kessler\" {; t.Fatalf(\"friend from=%q\", got); if got := relationPhrase(\"attorney_of\", \"from\", \"Dave Whitfield\", \"\"); got != \"Attorney of Dave Whitfield\" { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := relationPhrase(\"friend\", \"from\", \"Helen Kessler\", \"\"); got != \"Friend of Helen Kessler\" {; t.Fatalf(\"friend from=%q\", got); if got := relationPhrase(\"attorney_of\", \"from\", \"Dave Whitfield\", \"\"); got != \"Attorney of Dave Whitfield\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 145,
    "name": "TestNormalizeRosterCategoriesDedupeAndOrder",
    "purpose": "Normalize Roster Categories Dedupe And Order",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Normalize Roster Categories Dedupe And Order. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != len(want) {; t.Fatalf(\"got %v want %v\", got, want); if got[i] != want[i] { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != len(want) {; t.Fatalf(\"got %v want %v\", got, want); if got[i] != want[i] {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 159,
    "name": "TestAssignViewerRelationshipRankIsOrderIndependent",
    "purpose": "Assign Viewer Relationship Rank Is Order Independent",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Assign Viewer Relationship Rank Is Order Independent. The test checks the returned/domain behavior at its boundary. Assertion evidence: if person.Relationship != \"Your attorney\" {; t.Fatalf(\"order %v chip=%q\", order, person.Relationship) Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if person.Relationship != \"Your attorney\" {; t.Fatalf(\"order %v chip=%q\", order, person.Relationship)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 177,
    "name": "TestManualRelationshipEndpointProjection",
    "purpose": "Manual Relationship Endpoint Projection",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Manual Relationship Endpoint Projection. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.key, func(t *testing.T) {; if id == viewer {; if id == viewer || id == \"unrelated\" || (id == \"recipient\" && tc.recipientChip == \"\") { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.key Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.key, func(t *testing.T) {; if id == viewer {; if id == viewer || id == \"unrelated\" || (id == \"recipient\" && tc.recipientChip == \"\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/roster_categories_test.go",
    "line": 237,
    "name": "TestManualRelationshipCoexistsWithDocumentRole",
    "purpose": "Manual Relationship Coexists With Document Role",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Manual Relationship Coexists With Document Role. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(person.Roles) != 0 || person.Relationship != \"Your parent\" || len(person.Categories) != 2 {; t.Fatalf(\"manual relationships projected document roles or lost categories: %+v\", person); if len(person.Roles) != 1 || person.Roles[0] != \"attorney\" || person.Relationship != \"Your parent\" || len(person.Categories) != 2 { Relevant implementation: server/internal/services/roster_categories.go. Relevant implementation: server/internal/services/roster_categories.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(person.Roles) != 0 || person.Relationship != \"Your parent\" || len(person.Categories) != 2 {; t.Fatalf(\"manual relationships projected document roles or lost categories: %+v\", person); if len(person.Roles) != 1 || person.Roles[0] != \"attorney\" || person.Relationship != \"Your parent\" || len(person.Categories) != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/staff_bootstrap_race_test.go",
    "line": 14,
    "name": "TestStaffBootstrapRaceMakesOneLead",
    "purpose": "Staff Bootstrap Race Makes One Lead",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Staff Bootstrap Race Makes One Lead. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"winner bootstrap failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"staff already exist\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"winner bootstrap failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"staff already exist\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/staff_role_race_test.go",
    "line": 14,
    "name": "TestLeadRevokeRaceLeavesOneLead",
    "purpose": "Lead Revoke Race Leaves One Lead",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Lead Revoke Race Leaves One Lead. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"first revoke failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"lead required\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"first revoke failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"lead required\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/staff_role_race_test.go",
    "line": 55,
    "name": "TestLeadGrantRaceRefusesRevokedLead",
    "purpose": "Lead Grant Race Refuses Revoked Lead",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Lead Grant Race Refuses Revoked Lead. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"revoke failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"lead required\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"revoke failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"lead required\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/step_in_file_race_test.go",
    "line": 63,
    "name": "TestClaimStepInRaceOneOwner",
    "purpose": "Claim Step In Race One Owner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Claim Step In Race One Owner. The test checks the returned/domain behavior at its boundary. Assertion evidence: if after != before {; t.Fatalf(\"active staff after the race = %s, before = %s\", after, before); if errA != nil { Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if after != before {; t.Fatalf(\"active staff after the race = %s, before = %s\", after, before); if errA != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/step_in_file_race_test.go",
    "line": 184,
    "name": "TestStepInDoubleFileIsOneRequest",
    "purpose": "Step In Double File Is One Request",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Double File Is One Request. The test checks the returned/domain behavior at its boundary. Assertion evidence: if outA, errA, outB, errB := vrRace(t, target, fileA, fileB, \"step-in-file-\"+vrUUID(t)); errA != nil || errB != nil {; t.Fatalf(\"double file A=%v %s B=%v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(`SELECT count(*)::text FROM step_in_request WHERE member_person_id = '%s'`, member)); got != \"1\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if outA, errA, outB, errB := vrRace(t, target, fileA, fileB, \"step-in-file-\"+vrUUID(t)); errA != nil || errB != nil {; t.Fatalf(\"double file A=%v %s B=%v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(`SELECT count(*)::text FROM step_in_request WHERE member_person_id = '%s'`, member)); got != \"1\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/step_in_file_race_test.go",
    "line": 204,
    "name": "TestStepInStopRacesJoin",
    "purpose": "Step In Stop Races Join",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Stop Races Join. The test checks the returned/domain behavior at its boundary. Assertion evidence: if outA, errA, outB, errB := vrRace(t, target, stop, join, \"step-in-stop-\"+vrUUID(t)); errA != nil || errB != nil {; t.Fatalf(\"stop/join A=%v %s B=%v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(`SELECT count(*)::text FROM step_in_request WHERE member_person_id = '%s'`, member)); got != \"1\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if outA, errA, outB, errB := vrRace(t, target, stop, join, \"step-in-stop-\"+vrUUID(t)); errA != nil || errB != nil {; t.Fatalf(\"stop/join A=%v %s B=%v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(`SELECT count(*)::text FROM step_in_request WHERE member_person_id = '%s'`, member)); got != \"1\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/step_in_file_race_test.go",
    "line": 229,
    "name": "TestStepInRaiseRacesOpen",
    "purpose": "Step In Raise Races Open",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Raise Races Open. The test checks the returned/domain behavior at its boundary. Assertion evidence: if after != before {; t.Fatalf(\"active staff after the race = %s, before = %s\", after, before); if errA != nil { Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if after != before {; t.Fatalf(\"active staff after the race = %s, before = %s\", after, before); if errA != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/step_in_names_320_test.go",
    "line": 8,
    "name": "TestNotANamePronounList320",
    "purpose": "Not AName Pronoun List320",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Not AName Pronoun List320. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != blank {; t.Fatalf(\"%s: %s\", name, got); if strings.Contains(got, \"Whitfield\") { Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence. Relevant implementation: server/internal/services/email.go:212 stepsInInviteSentence.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != blank {; t.Fatalf(\"%s: %s\", name, got); if strings.Contains(got, \"Whitfield\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/step_in_names_320_test.go",
    "line": 28,
    "name": "TestPersonRemovedMachineCode320",
    "purpose": "Person Removed Machine Code320",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Removed Machine Code320. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !ok || removed.Message != human {; t.Fatalf(\"got %#v\", err); if !ok || removed.Message != rewritten { Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !ok || removed.Message != human {; t.Fatalf(\"got %#v\", err); if !ok || removed.Message != rewritten {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/steps_in_concurrency_test.go",
    "line": 48,
    "name": "TestStepsInConcurrentAccept",
    "purpose": "Steps In Concurrent Accept",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Concurrent Accept. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM item_share WHERE item_id = '%s' AND person_id = '%s' AND revoked_at IS NULL\", item, recipient)); got != \"1\" {; t.Fatalf(\"shares = %s\", got); if got := vrQuery(t, target, fmt.Sprintf(\"SELECT person_id::text FROM invite WHERE id = '%s'\", invite)); got != recipient { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM item_share WHERE item_id = '%s' AND person_id = '%s' AND revoked_at IS NULL\", item, recipient)); got != \"1\" {; t.Fatalf(\"shares = %s\", got); if got := vrQuery(t, target, fmt.Sprintf(\"SELECT person_id::text FROM invite WHERE id = '%s'\", invite)); got != recipient {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/steps_in_concurrency_test.go",
    "line": 63,
    "name": "TestStepsInConcurrentSetClear",
    "purpose": "Steps In Concurrent Set Clear",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Concurrent Set Clear. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := vrQuery(t, target, fmt.Sprintf(\"SELECT (SELECT count(*) FROM steps_in_designation WHERE owner_person_id = '%s') + (SELECT count(*) FROM steps_in_package WHERE owner_perso; t.Fatalf(\"rows after clear = %s\", got) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := vrQuery(t, target, fmt.Sprintf(\"SELECT (SELECT count(*) FROM steps_in_designation WHERE owner_person_id = '%s') + (SELECT count(*) FROM steps_in_package WHERE owner_perso; t.Fatalf(\"rows after clear = %s\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/steps_in_concurrency_test.go",
    "line": 74,
    "name": "TestStepsInConcurrentConfirmRevoke",
    "purpose": "Steps In Concurrent Confirm Revoke",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Concurrent Confirm Revoke. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM steps_in_package_item WHERE owner_person_id = '%s' AND item_id = '%s'\", owner, item)); got != \"0\" {; t.Fatalf(\"membership after revoke = %s\", got); if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM steps_in_package_ours_revoke WHERE owner_person_id = '%s' AND item_id = '%s'\", owner, item)); got != \"1\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM steps_in_package_item WHERE owner_person_id = '%s' AND item_id = '%s'\", owner, item)); got != \"0\" {; t.Fatalf(\"membership after revoke = %s\", got); if got := vrQuery(t, target, fmt.Sprintf(\"SELECT count(*) FROM steps_in_package_ours_revoke WHERE owner_person_id = '%s' AND item_id = '%s'\", owner, item)); got != \"1\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/steps_in_concurrency_test.go",
    "line": 89,
    "name": "TestStepsInConcurrentDeathRejectsMutation",
    "purpose": "Steps In Concurrent Death Rejects Mutation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Concurrent Death Rejects Mutation. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(operation, func(t *testing.T) {; if out, err := a.collect(); err != nil {; t.Fatalf(\"death: %v: %s\", err, out) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=operation Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(operation, func(t *testing.T) {; if out, err := a.collect(); err != nil {; t.Fatalf(\"death: %v: %s\", err, out)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/steps_in_protocol_test.go",
    "line": 11,
    "name": "TestStepsInConsentProtocol",
    "purpose": "Steps In Consent Protocol",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Consent Protocol. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if r.URL.Path == \"/rest/v1/rpc/confirm_steps_in_package\" {; w.WriteHeader(http.StatusNoContent) Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error. Relevant implementation: server/internal/services/supabase_step_in.go:46 Error, server/internal/services/supabase_spouse_invite.go:87 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {; if r.URL.Path == \"/rest/v1/rpc/confirm_steps_in_package\" {; w.WriteHeader(http.StatusNoContent)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_access_test.go",
    "line": 15,
    "name": "TestHashBearerTokenMatchesSHA256Hex",
    "purpose": "Hash Bearer Token Matches SHA256 Hex",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hash Bearer Token Matches SHA256 Hex. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != want {; t.Fatalf(\"hash = %s, want %s\", got, want); if len(got) != 64 { Relevant implementation: server/internal/services/supabase_access.go. Relevant implementation: server/internal/services/supabase_access.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != want {; t.Fatalf(\"hash = %s, want %s\", got, want); if len(got) != 64 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_access_test.go",
    "line": 30,
    "name": "TestNewBearerTokenNeverEqualsHash",
    "purpose": "New Bearer Token Never Equals Hash",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: New Bearer Token Never Equals Hash. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if raw == \"\" || hash == \"\" {; t.Fatalf(\"empty token raw=%q hash=%q\", raw, hash) Relevant implementation: server/internal/services/supabase_access.go. Relevant implementation: server/internal/services/supabase_access.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if raw == \"\" || hash == \"\" {; t.Fatalf(\"empty token raw=%q hash=%q\", raw, hash)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_access_test.go",
    "line": 46,
    "name": "TestAcceptInviteRequiresSessionPerson",
    "purpose": "Accept Invite Requires Session Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accept Invite Requires Session Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(err, &lifecycle) || lifecycle.Message != \"session person is required\" {; t.Fatalf(\"nil session: %v\", err); t.Fatalf(\"empty person: %v\", err) Relevant implementation: server/internal/services/supabase_access.go. Relevant implementation: server/internal/services/supabase_access.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.As(err, &lifecycle) || lifecycle.Message != \"session person is required\" {; t.Fatalf(\"nil session: %v\", err); t.Fatalf(\"empty person: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_access_test.go",
    "line": 63,
    "name": "TestInviteVerificationUsesIndependentSessionBoundProof",
    "purpose": "Invite Verification Uses Independent Session Bound Proof",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Invite Verification Uses Independent Session Bound Proof. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Path == \"/rest/v1/invite\" {; if r.URL.Query().Get(\"token_hash\") != \"eq.\"+HashBearerToken(\"invite-token\") {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil { Relevant implementation: server/internal/services/supabase_access.go. Relevant implementation: server/internal/services/supabase_access.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.URL.Path == \"/rest/v1/invite\" {; if r.URL.Query().Get(\"token_hash\") != \"eq.\"+HashBearerToken(\"invite-token\") {; if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_access_test.go",
    "line": 116,
    "name": "TestInviteVerificationRejectsMissingSessionAndProof",
    "purpose": "Invite Verification Rejects Missing Session And Proof",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Invite Verification Rejects Missing Session And Proof. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := svc.RequestInviteVerification(context.Background(), nil, \"token\", nil); err == nil {; if err := svc.VerifyInviteContact(context.Background(), &Session{Person: SessionPerson{ID: \"person\"}}, \"token\", \"\"); err == nil {; if err := email.SendInviteContactVerification(context.Background(), \"work@example.test\", \"proof\"); err == nil { Relevant implementation: server/internal/services/supabase_access.go. Relevant implementation: server/internal/services/supabase_access.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := svc.RequestInviteVerification(context.Background(), nil, \"token\", nil); err == nil {; if err := svc.VerifyInviteContact(context.Background(), &Session{Person: SessionPerson{ID: \"person\"}}, \"token\", \"\"); err == nil {; if err := email.SendInviteContactVerification(context.Background(), \"work@example.test\", \"proof\"); err == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_access_test.go",
    "line": 131,
    "name": "TestAcceptedItemInviteRetryIsBoundToOriginalRecipient",
    "purpose": "Accepted Item Invite Retry Is Bound To Original Recipient",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accepted Item Invite Retry Is Bound To Original Recipient. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(actor, func(t *testing.T) {; w.WriteHeader(http.StatusNoContent); t.Errorf(\"unexpected request %s\", r.URL.Path) Relevant implementation: server/internal/services/supabase_access.go. Relevant implementation: server/internal/services/supabase_access.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=actor Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(actor, func(t *testing.T) {; w.WriteHeader(http.StatusNoContent); t.Errorf(\"unexpected request %s\", r.URL.Path)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 28,
    "name": "TestBeneficiaryFactNeedsReview_FlagsUncitedExtractedClaim",
    "purpose": "Beneficiary Fact Needs Review Flags Uncited Extracted Claim",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Flags Uncited Extracted Claim. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"uncited extracted beneficiary claim must flag needs_review\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"uncited extracted beneficiary claim must flag needs_review\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 35,
    "name": "TestBeneficiaryFactNeedsReview_CitedCoveringQuoteIsSettled",
    "purpose": "Beneficiary Fact Needs Review Cited Covering Quote Is Settled",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Cited Covering Quote Is Settled. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"complete in-range pair covering every name must stay settled\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"complete in-range pair covering every name must stay settled\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 45,
    "name": "TestBeneficiaryFactNeedsReview_ParentQuoteMissingANameFlags",
    "purpose": "Beneficiary Fact Needs Review Parent Quote Missing AName Flags",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Parent Quote Missing AName Flags. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"a quote that does not name every beneficiary must flag needs_review\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"a quote that does not name every beneficiary must flag needs_review\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 54,
    "name": "TestBeneficiaryFactNeedsReview_PageOutsideDocumentFlags",
    "purpose": "Beneficiary Fact Needs Review Page Outside Document Flags",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Page Outside Document Flags. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"a cited page outside the producing constituent must flag needs_review\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"a cited page outside the producing constituent must flag needs_review\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 64,
    "name": "TestBeneficiaryFactNeedsReview_ManualAndPinnedSurvive",
    "purpose": "Beneficiary Fact Needs Review Manual And Pinned Survive",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Manual And Pinned Survive. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"member-entered beneficiary fact must never flag needs_review\"); t.Fatalf(\"pinned beneficiary fact must not flag needs_review\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"member-entered beneficiary fact must never flag needs_review\"); t.Fatalf(\"pinned beneficiary fact must not flag needs_review\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 75,
    "name": "TestBeneficiaryFactNeedsReview_ScopeExcludesOtherFactKinds",
    "purpose": "Beneficiary Fact Needs Review Scope Excludes Other Fact Kinds",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Scope Excludes Other Fact Kinds. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"trust_beneficiaries keeps the generic contract\"); t.Fatalf(\"non-beneficiary fact kinds keep the generic contract\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"trust_beneficiaries keeps the generic contract\"); t.Fatalf(\"non-beneficiary fact kinds keep the generic contract\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 87,
    "name": "TestBeneficiaryFactNeedsReview_InferenceCaptureIsGated",
    "purpose": "Beneficiary Fact Needs Review Inference Capture Is Gated",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Inference Capture Is Gated. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"non-member-entered capture must not bypass the gate\") Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"non-member-entered capture must not bypass the gate\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 94,
    "name": "TestDocumentRoleBeneficiarySettled_SuppressesUncitedRole",
    "purpose": "Document Role Beneficiary Settled Suppresses Uncited Role",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Document Role Beneficiary Settled Suppresses Uncited Role. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"uncited extracted beneficiary assertion must not project a settled role\"); t.Fatalf(\"cited beneficiary assertion still projects the role\"); t.Fatalf(\"non-beneficiary role evidence keeps the generic contract\") Relevant implementation: server/internal/services/supabase_people.go:1015 documentRoleBeneficiarySettled. Relevant implementation: server/internal/services/supabase_people.go:1015 documentRoleBeneficiarySettled.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"uncited extracted beneficiary assertion must not project a settled role\"); t.Fatalf(\"cited beneficiary assertion still projects the role\"); t.Fatalf(\"non-beneficiary role evidence keeps the generic contract\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 117,
    "name": "TestSkipFindingFact_DropsUncitedBeneficiaryClaim",
    "purpose": "Skip Finding Fact Drops Uncited Beneficiary Claim",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Skip Finding Fact Drops Uncited Beneficiary Claim. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"worth-a-look must not consume an uncited beneficiary claim\"); t.Fatalf(\"cited beneficiary fact still feeds findings\") Relevant implementation: server/internal/services/supabase_worth_a_look.go:283 skipFindingFact. Relevant implementation: server/internal/services/supabase_worth_a_look.go:283 skipFindingFact.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"worth-a-look must not consume an uncited beneficiary claim\"); t.Fatalf(\"cited beneficiary fact still feeds findings\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 131,
    "name": "TestProjectAssertionWinner_CarriesNeedsReview",
    "purpose": "Project Assertion Winner Carries Needs Review",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Project Assertion Winner Carries Needs Review. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"resolved beneficiary fact must carry needs_review when uncited\"); t.Fatalf(\"resolved cited beneficiary fact must stay settled\"); if settled.SourcePage == nil || *settled.SourcePage != 4 { Relevant implementation: server/internal/services/supabase_facts.go:1148 projectAssertionWinner. Relevant implementation: server/internal/services/supabase_facts.go:1148 projectAssertionWinner.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"resolved beneficiary fact must carry needs_review when uncited\"); t.Fatalf(\"resolved cited beneficiary fact must stay settled\"); if settled.SourcePage == nil || *settled.SourcePage != 4 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 157,
    "name": "TestAcceptBindCreateOffer_SendsConfirmedDocumentCheck",
    "purpose": "Accept Bind Create Offer Sends Confirmed Document Check",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accept Bind Create Offer Sends Confirmed Document Check. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.AcceptBindCreateOffer(context.Background(), daveSession(t, svc), pinItemID, bindOfferID, \"\", true); err != nil {; t.Fatalf(\"confirmed accept: %v\", err); if payload[\"p_confirmed_document_check\"] != true { Relevant implementation: server/internal/services/supabase_bind_offers.go:117 AcceptBindCreateOffer. Relevant implementation: server/internal/services/supabase_bind_offers.go:117 AcceptBindCreateOffer.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.AcceptBindCreateOffer(context.Background(), daveSession(t, svc), pinItemID, bindOfferID, \"\", true); err != nil {; t.Fatalf(\"confirmed accept: %v\", err); if payload[\"p_confirmed_document_check\"] != true {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 169,
    "name": "TestAttachBindCreateOffer_SendsConfirmedDocumentCheck",
    "purpose": "Attach Bind Create Offer Sends Confirmed Document Check",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Attach Bind Create Offer Sends Confirmed Document Check. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.AttachBindCreateOffer(context.Background(), daveSession(t, svc), pinItemID, bindOfferID, daveMatlockEntityID, \"\", \"\", true); err != nil {; t.Fatalf(\"confirmed attach: %v\", err); if payload[\"p_confirmed_document_check\"] != true { Relevant implementation: server/internal/services/supabase_bind_offers.go:182 AttachBindCreateOffer. Relevant implementation: server/internal/services/supabase_bind_offers.go:182 AttachBindCreateOffer.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.AttachBindCreateOffer(context.Background(), daveSession(t, svc), pinItemID, bindOfferID, daveMatlockEntityID, \"\", \"\", true); err != nil {; t.Fatalf(\"confirmed attach: %v\", err); if payload[\"p_confirmed_document_check\"] != true {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 181,
    "name": "TestProjectFact_DropsUnvalidatedBeneficiaryPage",
    "purpose": "Project Fact Drops Unvalidated Beneficiary Page",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Project Fact Drops Unvalidated Beneficiary Page. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !got.NeedsReview || got.SourcePage != nil {; t.Fatalf(\"flagged beneficiary must drop the unvalidated page, got %+v\", got); t.Fatalf(\"out-of-range beneficiary page must not display, got %+v\", got) Relevant implementation: server/internal/services/supabase_facts.go:339 projectFact. Relevant implementation: server/internal/services/supabase_facts.go:339 projectFact.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !got.NeedsReview || got.SourcePage != nil {; t.Fatalf(\"flagged beneficiary must drop the unvalidated page, got %+v\", got); t.Fatalf(\"out-of-range beneficiary page must not display, got %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 212,
    "name": "TestProjectResolvedFact_DropsUnvalidatedBeneficiaryPage",
    "purpose": "Project Resolved Fact Drops Unvalidated Beneficiary Page",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Project Resolved Fact Drops Unvalidated Beneficiary Page. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !got.NeedsReview || got.SourcePage != nil {; t.Fatalf(\"flagged resolved beneficiary must drop the unvalidated page, got %+v\", got) Relevant implementation: server/internal/services/supabase_facts.go:380 projectResolvedFact. Relevant implementation: server/internal/services/supabase_facts.go:380 projectResolvedFact.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !got.NeedsReview || got.SourcePage != nil {; t.Fatalf(\"flagged resolved beneficiary must drop the unvalidated page, got %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_beneficiary_evidence_test.go",
    "line": 225,
    "name": "TestBeneficiaryFactNeedsReview_RequiresWholeName",
    "purpose": "Beneficiary Fact Needs Review Requires Whole Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Fact Needs Review Requires Whole Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.quote, func(t *testing.T) {; if beneficiaryFactNeedsReview(row) != tc.review {; t.Fatalf(\"needs review must be %v\", tc.review) Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview. Relevant implementation: server/internal/services/supabase_facts.go:468 beneficiaryFactNeedsReview.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.quote Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.quote, func(t *testing.T) {; if beneficiaryFactNeedsReview(row) != tc.review {; t.Fatalf(\"needs review must be %v\", tc.review)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_bind_offers_test.go",
    "line": 13,
    "name": "TestAttachPrincipalByAddingPerson_SendsTypedParts",
    "purpose": "Attach Principal By Adding Person Sends Typed Parts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Attach Principal By Adding Person Sends Typed Parts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodPost && strings.HasPrefix(r.URL.Path, \"/rest/v1/rpc/\") {; w.WriteHeader(http.StatusNotFound); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/entity\") && !strings.Contains(r.URL.Path, \"entity_binding\") { Relevant implementation: server/internal/services/supabase_bind_offers.go. Relevant implementation: server/internal/services/supabase_bind_offers.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method == http.MethodPost && strings.HasPrefix(r.URL.Path, \"/rest/v1/rpc/\") {; w.WriteHeader(http.StatusNotFound); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/entity\") && !strings.Contains(r.URL.Path, \"entity_binding\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_bind_offers_test.go",
    "line": 88,
    "name": "TestAttachPrincipalByAddingPerson_SendsRelationship",
    "purpose": "Attach Principal By Adding Person Sends Relationship",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Attach Principal By Adding Person Sends Relationship. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodPost && strings.HasPrefix(r.URL.Path, \"/rest/v1/rpc/\") {; w.WriteHeader(http.StatusNotFound); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/entity\") && !strings.Contains(r.URL.Path, \"entity_binding\") { Relevant implementation: server/internal/services/supabase_bind_offers.go. Relevant implementation: server/internal/services/supabase_bind_offers.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method == http.MethodPost && strings.HasPrefix(r.URL.Path, \"/rest/v1/rpc/\") {; w.WriteHeader(http.StatusNotFound); if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/entity\") && !strings.Contains(r.URL.Path, \"entity_binding\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_binding_batch_test.go",
    "line": 160,
    "name": "TestListBindingRowsBatchRejectsOversizedURI",
    "purpose": "List Binding Rows Batch Rejects Oversized URI",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Binding Rows Batch Rejects Oversized URI. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(rows) != 250 { Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows. Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(rows) != 250 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_binding_batch_test.go",
    "line": 190,
    "name": "TestListBindingRowsBatchExactUnion",
    "purpose": "List Binding Rows Batch Exact Union",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Binding Rows Batch Exact Union. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(rows) != len(owned) { Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows. Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(rows) != len(owned) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_binding_batch_test.go",
    "line": 221,
    "name": "TestListBindingRowsBatchOwnerFilter",
    "purpose": "List Binding Rows Batch Owner Filter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Binding Rows Batch Owner Filter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(rows) != 120 { Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows. Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(rows) != 120 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_binding_batch_test.go",
    "line": 251,
    "name": "TestListBindingRowsBatchPerEntityCreatedAtOrder",
    "purpose": "List Binding Rows Batch Per Entity Created At Order",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Binding Rows Batch Per Entity Created At Order. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(byEntity) != 120 { Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows. Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"listBindingRows: %v\", err); if len(byEntity) != 120 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_binding_batch_test.go",
    "line": 280,
    "name": "TestListBindingRowsBatchEmptyAndDuplicates",
    "purpose": "List Binding Rows Batch Empty And Duplicates",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Binding Rows Batch Empty And Duplicates. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"empty ids %v: %v\", ids, err); if rows != nil { Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows. Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"empty ids %v: %v\", ids, err); if rows != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_binding_batch_test.go",
    "line": 328,
    "name": "TestListBindingRowsBatchLaterChunkError",
    "purpose": "List Binding Rows Batch Later Chunk Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Binding Rows Batch Later Chunk Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil {; t.Fatalf(\"expected later-chunk error, got %d rows after %d calls\", len(rows), len(fake.calls)); if !strings.Contains(err.Error(), bindingBatchLaterErr) { Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/supabase_facts.go:1099 listBindingRows, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil {; t.Fatalf(\"expected later-chunk error, got %d rows after %d calls\", len(rows), len(fake.calls)); if !strings.Contains(err.Error(), bindingBatchLaterErr) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_confirmation_protocol_test.go",
    "line": 10,
    "name": "TestConfirmRecordsHubItem_SendsRequiredNullGeneration",
    "purpose": "Confirm Records Hub Item Sends Required Null Generation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Confirm Records Hub Item Sends Required Null Generation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.ConfirmRecordsHubItem(context.Background(), session, pinItemID, \"\", 2); err != nil {; if !present || value != nil {; if payload[\"p_client_version\"] != float64(2) { Relevant implementation: server/internal/services/supabase_records_hub.go:1466 ConfirmRecordsHubItem. Relevant implementation: server/internal/services/supabase_records_hub.go:1466 ConfirmRecordsHubItem.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_confirmation_protocol_test.go",
    "line": 27,
    "name": "TestCurationSerializationConflict_IsRetryableAndRedacted",
    "purpose": "Map a serialization conflict to a retryable public error without exposing database detail",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Map a serialization conflict to a retryable public error without exposing database detail. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(err, &conflict) || conflict.Message != \"Concurrent change; retry the action.\" { Relevant implementation: server/internal/services/supabase_items.go:481 mapPostgrestError. Relevant implementation: server/internal/services/supabase_items.go:481 mapPostgrestError.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_confirmation_protocol_test.go",
    "line": 35,
    "name": "TestItemConfirmationState_DecodesGenerationWithPersistentState",
    "purpose": "Decode confirmation generation and persistent state while keeping generation out of nested public metadata",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Decode confirmation generation and persistent state while keeping generation out of nested public metadata. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.Unmarshal([]byte(`{\"generation_id\":\"70000000-0000-0000-0000-000000000003\",\"complete\":false,\"unconfirmed_slots\":[],\"unresolved_questions\":1}`), &state); err != nil {; if state.GenerationID == nil || *state.GenerationID != \"70000000-0000-0000-0000-000000000003\" {; if state.Complete || state.UnresolvedQuestions != 1 || state.UnconfirmedSlots == nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_extraction_recovery_test.go",
    "line": 50,
    "name": "TestGetFilesNeedingExtraction_RetriesNonCompletedHistory",
    "purpose": "Get Files Needing Extraction Retries Non Completed History",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Files Needing Extraction Retries Non Completed History. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"GetFilesNeedingExtraction: %v\", err); if len(files) != 1 || files[0].ID != \"file-1\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"GetFilesNeedingExtraction: %v\", err); if len(files) != 1 || files[0].ID != \"file-1\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_extraction_recovery_test.go",
    "line": 66,
    "name": "TestGetFilesNeedingExtraction_DoesNotRetryFailedHistory",
    "purpose": "Get Files Needing Extraction Does Not Retry Failed History",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Files Needing Extraction Does Not Retry Failed History. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"GetFilesNeedingExtraction: %v\", err); if len(files) != 0 { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"GetFilesNeedingExtraction: %v\", err); if len(files) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_loopback_test.go",
    "line": 44,
    "name": "TestFactMetadata_LoopbackPublishedPairs",
    "purpose": "Fact Metadata Loopback Published Pairs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Fact Metadata Loopback Published Pairs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"catalog version read must succeed \u2014 a failure here is not a fallback: %v\", err); if versionID == \"\" { Relevant implementation: server/internal/services/supabase_session.go:164 restGetJSON, server/internal/services/supabase_fact_metadata.go:158 factMetadataByIdentity. Relevant implementation: server/internal/services/supabase_session.go:164 restGetJSON, server/internal/services/supabase_fact_metadata.go:158 factMetadataByIdentity.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"catalog version read must succeed \u2014 a failure here is not a fallback: %v\", err); if versionID == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 115,
    "name": "TestListItemFacts_AttachesMetadataByExactDomainIdentity",
    "purpose": "List Item Facts Attaches Metadata By Exact Domain Identity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Facts Attaches Metadata By Exact Domain Identity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if backend.catCalls != 1 {; t.Fatalf(\"catalog version reads = %d, want 1 pinned read\", backend.catCalls) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if backend.catCalls != 1 {; t.Fatalf(\"catalog version reads = %d, want 1 pinned read\", backend.catCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 206,
    "name": "TestListItemFacts_MetadataFailureKeepsFacts",
    "purpose": "List Item Facts Metadata Failure Keeps Facts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Facts Metadata Failure Keeps Facts. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.defStatus = http.StatusBadRequest; if err != nil {; t.Fatalf(\"metadata failure must not fail the fact read: %v\", err) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "backend.defStatus = http.StatusBadRequest; if err != nil {; t.Fatalf(\"metadata failure must not fail the fact read: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 235,
    "name": "TestFactMetadataByIdentity_RequiresExactPair",
    "purpose": "Fact Metadata By Identity Requires Exact Pair",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Fact Metadata By Identity Requires Exact Pair. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if metadata[factIdentity{\"acct_type\", \"account.depository\"}].DisplayLabel != \"Account type\" {; t.Fatalf(\"depository metadata = %+v\", metadata) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if metadata[factIdentity{\"acct_type\", \"account.depository\"}].DisplayLabel != \"Account type\" {; t.Fatalf(\"depository metadata = %+v\", metadata)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 267,
    "name": "TestFactMetadataByIdentity_PinsOneVersionAcrossBatches",
    "purpose": "Fact Metadata By Identity Pins One Version Across Batches",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Fact Metadata By Identity Pins One Version Across Batches. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if backend.catCalls != 1 {; t.Fatalf(\"catalog version must be pinned once, got %d reads\", backend.catCalls) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if backend.catCalls != 1 {; t.Fatalf(\"catalog version must be pinned once, got %d reads\", backend.catCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 310,
    "name": "TestFactMetadataByIdentity_NoPublishedCatalog",
    "purpose": "Fact Metadata By Identity No Published Catalog",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Fact Metadata By Identity No Published Catalog. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(metadata) != 0 {; t.Fatalf(\"no published version means no metadata: %+v\", metadata) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(metadata) != 0 {; t.Fatalf(\"no published version means no metadata: %+v\", metadata)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 331,
    "name": "TestFactMetadataByIdentity_SkipsBlankAndUnquotablePairs",
    "purpose": "Fact Metadata By Identity Skips Blank And Unquotable Pairs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Fact Metadata By Identity Skips Blank And Unquotable Pairs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(metadata) != 0 || backend.defCalls != 0 {; t.Fatalf(\"invalid pairs must be skipped, not repaired: calls=%d meta=%+v\", backend.defCalls, metadata) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(metadata) != 0 || backend.defCalls != 0 {; t.Fatalf(\"invalid pairs must be skipped, not repaired: calls=%d meta=%+v\", backend.defCalls, metadata)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 348,
    "name": "TestProjectFactMetadata_PreservesExactKeys",
    "purpose": "Project Fact Metadata Preserves Exact Keys",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Project Fact Metadata Preserves Exact Keys. The test checks the returned/domain behavior at its boundary. Assertion evidence: if meta.CatalogVersionID != \"catv-1\" || meta.ValueKind != \"enum\" || meta.EnumPolicy != \"closed\" {; t.Fatalf(\"version/kind/policy = %+v\", meta); if len(meta.EnumValues) != 3 || meta.EnumValues[0] != \" checking \" { Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if meta.CatalogVersionID != \"catv-1\" || meta.ValueKind != \"enum\" || meta.EnumPolicy != \"closed\" {; t.Fatalf(\"version/kind/policy = %+v\", meta); if len(meta.EnumValues) != 3 || meta.EnumValues[0] != \" checking \" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 387,
    "name": "TestListItemCatalogHoles_MemberPromptAppliesToFactHolesOnly",
    "purpose": "List Item Catalog Holes Member Prompt Applies To Fact Holes Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Catalog Holes Member Prompt Applies To Fact Holes Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if hole := holeByKey(holes, \"will_execution_date\"); hole == nil || hole.Prompt != \"When did they sign this will?\" {; t.Fatalf(\"catalog member_prompt must answer the fact hole: %+v\", hole) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if hole := holeByKey(holes, \"will_execution_date\"); hole == nil || hole.Prompt != \"When did they sign this will?\" {; t.Fatalf(\"catalog member_prompt must answer the fact hole: %+v\", hole)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_fact_metadata_test.go",
    "line": 418,
    "name": "TestListItemCatalogHoles_MetadataFailureKeepsPrompts",
    "purpose": "List Item Catalog Holes Metadata Failure Keeps Prompts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Catalog Holes Metadata Failure Keeps Prompts. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.defStatus = http.StatusBadRequest; if err != nil {; t.Fatalf(\"metadata failure must not fail the holes read: %v\", err) Relevant implementation: server/internal/services/supabase_fact_metadata.go. Relevant implementation: server/internal/services/supabase_fact_metadata.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "backend.defStatus = http.StatusBadRequest; if err != nil {; t.Fatalf(\"metadata failure must not fail the holes read: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_candidates_test.go",
    "line": 31,
    "name": "TestSuggestionCandidates_DropsIdenticalAndOlder",
    "purpose": "Suggestion Candidates Drops Identical And Older",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Suggestion Candidates Drops Identical And Older. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].ID != \"also\" {; t.Fatalf(\"candidates = %+v\", got); if candidate.ID == \"older\" { Relevant implementation: server/internal/services/supabase_facts.go:1465 suggestionCandidates. Relevant implementation: server/internal/services/supabase_facts.go:1465 suggestionCandidates.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || got[0].ID != \"also\" {; t.Fatalf(\"candidates = %+v\", got); if candidate.ID == \"older\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_candidates_test.go",
    "line": 49,
    "name": "TestGetEntity_AttachesOnlyTheNewerDifferentCandidate",
    "purpose": "Get Entity Attaches Only The Newer Different Candidate",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Entity Attaches Only The Newer Different Candidate. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if entity.Resolved[i].FactKey == \"legal_full_name\" {; if legal == nil || len(legal.Candidates) != 1 || legal.Candidates[0].ID != \"50000000-0000-0000-0000-000000000023\" { Relevant implementation: server/internal/services/supabase_graph_user_ops.go:379 GetEntity, server/internal/services/supabase_facts.go:1688 GetEntity. Relevant implementation: server/internal/services/supabase_graph_user_ops.go:379 GetEntity, server/internal/services/supabase_facts.go:1688 GetEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if entity.Resolved[i].FactKey == \"legal_full_name\" {; if legal == nil || len(legal.Candidates) != 1 || legal.Candidates[0].ID != \"50000000-0000-0000-0000-000000000023\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_candidates_test.go",
    "line": 106,
    "name": "TestSuggestionCandidates_UnpinnedKeepsOnlyALaterValue",
    "purpose": "Suggestion Candidates Unpinned Keeps Only ALater Value",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Suggestion Candidates Unpinned Keeps Only ALater Value. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].ID != \"newer\" {; t.Fatalf(\"candidates = %+v\", got) Relevant implementation: server/internal/services/supabase_facts.go:1465 suggestionCandidates. Relevant implementation: server/internal/services/supabase_facts.go:1465 suggestionCandidates.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || got[0].ID != \"newer\" {; t.Fatalf(\"candidates = %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_candidates_test.go",
    "line": 117,
    "name": "TestGetEntity_UnpinnedWinnerDropsTheOlderPaper",
    "purpose": "Get Entity Unpinned Winner Drops The Older Paper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Entity Unpinned Winner Drops The Older Paper. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if entity.Resolved[i].FactKey == \"legal_full_name\" {; if legal == nil || legal.CreatedAt != \"2026-07-02T00:00:00Z\" || legal.IsPinned { Relevant implementation: server/internal/services/supabase_graph_user_ops.go:379 GetEntity, server/internal/services/supabase_facts.go:1688 GetEntity. Relevant implementation: server/internal/services/supabase_graph_user_ops.go:379 GetEntity, server/internal/services/supabase_facts.go:1688 GetEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if entity.Resolved[i].FactKey == \"legal_full_name\" {; if legal == nil || legal.CreatedAt != \"2026-07-02T00:00:00Z\" || legal.IsPinned {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 942,
    "name": "TestListItemFacts_DaveSeesUnresolvedAddress",
    "purpose": "List Item Facts Dave Sees Unresolved Address",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Facts Dave Sees Unresolved Address. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(facts) != 1 || facts[0].ID != pinFactID || !facts[0].IsPinned {; t.Fatalf(\"pin item facts = %+v\", facts) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(facts) != 1 || facts[0].ID != pinFactID || !facts[0].IsPinned {; t.Fatalf(\"pin item facts = %+v\", facts)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 962,
    "name": "TestListItemBindings_IdentifiesViewerTestator",
    "purpose": "List Item Bindings Identifies Viewer Testator",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Bindings Identifies Viewer Testator. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if bindings[i].SubjectKey == \"testator\" {; if testator == nil || !testator.IsViewer || testator.EntityTypeSubtype != \"party.person\" { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if bindings[i].SubjectKey == \"testator\" {; if testator == nil || !testator.IsViewer || testator.EntityTypeSubtype != \"party.person\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 986,
    "name": "TestListItemBindings_EmailSlugIsNotViewer",
    "purpose": "List Item Bindings Email Slug Is Not Viewer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Bindings Email Slug Is Not Viewer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if bindings[i].SubjectKey == \"testator\" {; if testator == nil || testator.IsViewer { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if bindings[i].SubjectKey == \"testator\" {; if testator == nil || testator.IsViewer {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1016,
    "name": "TestGetEntity_PinVersusNewerWinnerIsCedar",
    "purpose": "Get Entity Pin Versus Newer Winner Is Cedar",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Entity Pin Versus Newer Winner Is Cedar. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if entity.EntityUID != \"person:shannon\" {; t.Fatalf(\"entity = %+v\", entity) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if entity.EntityUID != \"person:shannon\" {; t.Fatalf(\"entity = %+v\", entity)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1045,
    "name": "TestPinFactCallsGuardedFunction",
    "purpose": "Pin Fact Calls Guarded Function",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Fact Calls Guarded Function. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.PinFact(context.Background(), session, pinItemID, pinFactID, \"\"); err != nil {; t.Fatalf(\"pin route calls = %v\", backend.rpcCalls); t.Fatalf(\"pin route called pin_fact: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.PinFact(context.Background(), session, pinItemID, pinFactID, \"\"); err != nil {; t.Fatalf(\"pin route calls = %v\", backend.rpcCalls); t.Fatalf(\"pin route called pin_fact: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1061,
    "name": "TestPinUnpin_SwitchesResolvedWinner",
    "purpose": "Pin Unpin Switches Resolved Winner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Unpin Switches Resolved Winner. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"unpin left pinned: %+v\", unpinned); if len(entity.Resolved) != 1 || entity.Resolved[0].ID != newerFactID { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"unpin left pinned: %+v\", unpinned); if len(entity.Resolved) != 1 || entity.Resolved[0].ID != newerFactID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1098,
    "name": "TestConfirmFact_StampsLastVerifiedWithoutPinningNewer",
    "purpose": "Confirm Fact Stamps Last Verified Without Pinning Newer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Confirm Fact Stamps Last Verified Without Pinning Newer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.LastVerifiedAt == nil || (before.LastVerifiedAt != nil && *got.LastVerifiedAt == *before.LastVerifiedAt) {; t.Fatalf(\"confirm last_verified_at = %v\", got.LastVerifiedAt) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.LastVerifiedAt == nil || (before.LastVerifiedAt != nil && *got.LastVerifiedAt == *before.LastVerifiedAt) {; t.Fatalf(\"confirm last_verified_at = %v\", got.LastVerifiedAt)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1116,
    "name": "TestWriteItemFact_InsertsManualAndEmilyCannotSee",
    "purpose": "Write Item Fact Inserts Manual And Emily Cannot See",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Write Item Fact Inserts Manual And Emily Cannot See. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if created.FactKey != \"phone\" || created.CaptureMethod != \"manual\" {; t.Fatalf(\"created = %+v\", created) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if created.FactKey != \"phone\" || created.CaptureMethod != \"manual\" {; t.Fatalf(\"created = %+v\", created)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1149,
    "name": "TestDeriveFactCapabilities_HidesPinOnExtract",
    "purpose": "Derive Fact Capabilities Hides Pin On Extract",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Derive Fact Capabilities Hides Pin On Extract. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"extract caps = %+v\", extract); t.Fatalf(\"manual caps = %+v\", manual); t.Fatalf(\"pinned extract caps = %+v\", pinned) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"extract caps = %+v\", extract); t.Fatalf(\"manual caps = %+v\", manual); t.Fatalf(\"pinned extract caps = %+v\", pinned)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1164,
    "name": "TestWriteItemFact_DocumentCorrectionPinsAndUnpinRestoresCatalog",
    "purpose": "Write Item Fact Document Correction Pins And Unpin Restores Catalog",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Write Item Fact Document Correction Pins And Unpin Restores Catalog. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.UnpinFact(context.Background(), dave, pinItemID, pinFactID, \"\"); err != nil {; if err != nil {; if ocr == nil || ocr.Capabilities.CanPin || !ocr.Capabilities.CanConfirm { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.UnpinFact(context.Background(), dave, pinItemID, pinFactID, \"\"); err != nil {; if err != nil {; if ocr == nil || ocr.Capabilities.CanPin || !ocr.Capabilities.CanConfirm {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1256,
    "name": "TestListEntities_UnknownItemIs404",
    "purpose": "List Entities Unknown Item Is404",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Entities Unknown Item Is404. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1266,
    "name": "TestBindCreateOffer_AcceptMintsOnceAndDeclineDoesNot",
    "purpose": "Bind Create Offer Accept Mints Once And Decline Does Not",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bind Create Offer Accept Mints Once And Decline Does Not. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(offers) != 1 || offers[0].ExtractedName != \"David Alan Matlock\" {; t.Fatalf(\"offers = %+v\", offers) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(offers) != 1 || offers[0].ExtractedName != \"David Alan Matlock\" {; t.Fatalf(\"offers = %+v\", offers)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1328,
    "name": "TestBindCreateOffer_AttachExistingDoesNotMint",
    "purpose": "Bind Create Offer Attach Existing Does Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bind Create Offer Attach Existing Does Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if first == nil || first.ID != daveMatlockEntityID || first.EntityTypeSubtype != \"party.person\" {; t.Fatalf(\"attach entity = %+v\", first) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if first == nil || first.ID != daveMatlockEntityID || first.EntityTypeSubtype != \"party.person\" {; t.Fatalf(\"attach entity = %+v\", first)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1388,
    "name": "TestBindCreateOffer_AttachAlreadyBoundSelfNoOffer",
    "purpose": "Bind Create Offer Attach Already Bound Self No Offer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bind Create Offer Attach Already Bound Self No Offer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if first == nil || first.ID != daveMatlockEntityID {; t.Fatalf(\"already-bound self attach entity = %+v\", first) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if first == nil || first.ID != daveMatlockEntityID {; t.Fatalf(\"already-bound self attach entity = %+v\", first)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1465,
    "name": "TestAcceptDocumentInstrument_MintsOnceAndMixedNeedsDocument",
    "purpose": "Accept Document Instrument Mints Once And Mixed Needs Document",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accept Document Instrument Mints Once And Mixed Needs Document. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if first == nil || first.ID != bindWillEntityID || first.EntityTypeSubtype != \"instrument.will\" {; t.Fatalf(\"accept instrument = %+v\", first) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if first == nil || first.ID != bindWillEntityID || first.EntityTypeSubtype != \"instrument.will\" {; t.Fatalf(\"accept instrument = %+v\", first)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1523,
    "name": "TestDetachDocumentInstrument_OmitClearsNewOccupant",
    "purpose": "Detach Document Instrument Omit Clears New Occupant",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Detach Document Instrument Omit Clears New Occupant. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := svc.DetachDocumentInstrument(context.Background(), dave, willItemID, docID, \"\", \"\"); err != nil {; t.Fatalf(\"omit forwarded expected_binding_id: %v\", backend.lastPayloads[\"detach_document_instrument\"]); if got := daveInstrumentBindings(backend); len(got) != 0 { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := svc.DetachDocumentInstrument(context.Background(), dave, willItemID, docID, \"\", \"\"); err != nil {; t.Fatalf(\"omit forwarded expected_binding_id: %v\", backend.lastPayloads[\"detach_document_instrument\"]); if got := daveInstrumentBindings(backend); len(got) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1551,
    "name": "TestDetachDocumentInstrument_ExpectedMatchDeletes",
    "purpose": "Detach Document Instrument Expected Match Deletes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Detach Document Instrument Expected Match Deletes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := svc.DetachDocumentInstrument(context.Background(), dave, willItemID, docID, \"\", \"bind-match\"); err != nil {; if backend.lastPayloads[\"detach_document_instrument\"][\"p_expected_binding_id\"] != \"bind-match\" {; t.Fatalf(\"payload=%v\", backend.lastPayloads[\"detach_document_instrument\"]) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := svc.DetachDocumentInstrument(context.Background(), dave, willItemID, docID, \"\", \"bind-match\"); err != nil {; if backend.lastPayloads[\"detach_document_instrument\"][\"p_expected_binding_id\"] != \"bind-match\" {; t.Fatalf(\"payload=%v\", backend.lastPayloads[\"detach_document_instrument\"])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1572,
    "name": "TestDetachDocumentInstrument_StaleBindingConflict",
    "purpose": "Detach Document Instrument Stale Binding Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Detach Document Instrument Stale Binding Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"stale err=%v\", err); if backend.lastPayloads[\"detach_document_instrument\"][\"p_expected_binding_id\"] != \"bind-a\" {; t.Fatalf(\"payload=%v\", backend.lastPayloads[\"detach_document_instrument\"]) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"stale err=%v\", err); if backend.lastPayloads[\"detach_document_instrument\"][\"p_expected_binding_id\"] != \"bind-a\" {; t.Fatalf(\"payload=%v\", backend.lastPayloads[\"detach_document_instrument\"])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1596,
    "name": "TestDetachDocumentInstrument_ExpectedEmptySlotNoop",
    "purpose": "Detach Document Instrument Expected Empty Slot Noop",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Detach Document Instrument Expected Empty Slot Noop. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := svc.DetachDocumentInstrument(context.Background(), dave, willItemID, docID, \"\", \"bind-gone\"); err != nil {; if got := daveInstrumentBindings(backend); len(got) != 0 {; t.Fatalf(\"empty no-op created %+v\", got) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := svc.DetachDocumentInstrument(context.Background(), dave, willItemID, docID, \"\", \"bind-gone\"); err != nil {; if got := daveInstrumentBindings(backend); len(got) != 0 {; t.Fatalf(\"empty no-op created %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1623,
    "name": "TestPinConfirmHub_MixedUsesClientGeneration",
    "purpose": "Pin Confirm Hub Mixed Uses Client Generation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Confirm Hub Mixed Uses Client Generation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(err, &lifecycle) || !strings.Contains(lifecycle.Message, \"expected_generation_id is required\") {; t.Fatalf(\"mixed pin omit err=%v\", err); t.Fatalf(\"mixed pin stale err=%v\", err) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.As(err, &lifecycle) || !strings.Contains(lifecycle.Message, \"expected_generation_id is required\") {; t.Fatalf(\"mixed pin omit err=%v\", err); t.Fatalf(\"mixed pin stale err=%v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1676,
    "name": "TestPersonWrites_PassExpectedGenerationAndAttachDocument",
    "purpose": "Person Writes Pass Expected Generation And Attach Document",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Writes Pass Expected Generation And Attach Document. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := svc.DeclineBindCreateOffer(context.Background(), dave, newerItemID, bindReviewID, genID); err != nil {; if backend.lastPayloads[\"decline_bind_create_offer\"][\"p_expected_generation_id\"] != genID {; t.Fatalf(\"decline payload=%v\", backend.lastPayloads[\"decline_bind_create_offer\"]) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := svc.DeclineBindCreateOffer(context.Background(), dave, newerItemID, bindReviewID, genID); err != nil {; if backend.lastPayloads[\"decline_bind_create_offer\"][\"p_expected_generation_id\"] != genID {; t.Fatalf(\"decline payload=%v\", backend.lastPayloads[\"decline_bind_create_offer\"])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1721,
    "name": "TestWriteItemFact_PassesExpectedGeneration",
    "purpose": "Write Item Fact Passes Expected Generation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Write Item Fact Passes Expected Generation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if backend.lastPayloads[\"write_item_assertion\"][\"p_expected_generation_id\"] != genID {; t.Fatalf(\"write payload=%v\", backend.lastPayloads[\"write_item_assertion\"]) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if backend.lastPayloads[\"write_item_assertion\"][\"p_expected_generation_id\"] != genID {; t.Fatalf(\"write payload=%v\", backend.lastPayloads[\"write_item_assertion\"])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1740,
    "name": "TestResolvedFactRow_NullItemID",
    "purpose": "Resolved Fact Row Null Item ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolved Fact Row Null Item ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if row.ItemID != nil {; t.Fatalf(\"item_id = %v\", row.ItemID); if fact.ItemID != \"\" { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if row.ItemID != nil {; t.Fatalf(\"item_id = %v\", row.ItemID); if fact.ItemID != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1762,
    "name": "TestListMemberBindCreateOffers_CreateOfferHasTitle",
    "purpose": "List Member Bind Create Offers Create Offer Has Title",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Member Bind Create Offers Create Offer Has Title. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(offers) != 1 {; t.Fatalf(\"offers = %+v\", offers) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(offers) != 1 {; t.Fatalf(\"offers = %+v\", offers)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1795,
    "name": "TestListMemberBindCreateOffers_SelfTestatorWillAttach",
    "purpose": "List Member Bind Create Offers Self Testator Will Attach",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Member Bind Create Offers Self Testator Will Attach. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(offers) != 1 || offers[0].Kind != BindOfferKindWillAttach {; t.Fatalf(\"will-attach offers = %+v\", offers) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(offers) != 1 || offers[0].Kind != BindOfferKindWillAttach {; t.Fatalf(\"will-attach offers = %+v\", offers)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1830,
    "name": "TestListMemberBindCreateOffers_EmptyIsEmpty",
    "purpose": "List Member Bind Create Offers Empty Is Empty",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Member Bind Create Offers Empty Is Empty. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if offers == nil || len(offers) != 0 {; t.Fatalf(\"empty must be an empty list, not invented: %+v\", offers) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if offers == nil || len(offers) != 0 {; t.Fatalf(\"empty must be an empty list, not invented: %+v\", offers)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1937,
    "name": "TestListItemCatalogHoles_ClassifiedWillEmptyTestator",
    "purpose": "List Item Catalog Holes Classified Will Empty Testator",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Catalog Holes Classified Will Empty Testator. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if testator == nil || testator.Kind != extracttyped.HoleKindBind || testator.Prompt != \"Who is this will for?\" {; t.Fatalf(\"empty testator hole = %+v holes=%+v\", testator, holes) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if testator == nil || testator.Kind != extracttyped.HoleKindBind || testator.Prompt != \"Who is this will for?\" {; t.Fatalf(\"empty testator hole = %+v holes=%+v\", testator, holes)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 1965,
    "name": "TestListItemCatalogHoles_OtherOwnerPrincipalFollowsAllow",
    "purpose": "List Item Catalog Holes Other Owner Principal Follows Allow",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Catalog Holes Other Owner Principal Follows Allow. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Run(\"allowed\", func(t *testing.T) {; if holes[i].Kind == extracttyped.HoleKindBind && holes[i].SubjectKey == \"principal\" { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=2; case names=\"allowed\", \"refused\" Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Run(\"allowed\", func(t *testing.T) {; if holes[i].Kind == extracttyped.HoleKindBind && holes[i].SubjectKey == \"principal\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2013,
    "name": "TestListItemCatalogHoles_BankStatementOmitsWillSlots",
    "purpose": "List Item Catalog Holes Bank Statement Omits Will Slots",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Item Catalog Holes Bank Statement Omits Will Slots. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if hole.FactKey == \"legal_full_name\" || hole.SubjectKey == \"testator\" || strings.HasPrefix(hole.FactKey, \"will_\") {; t.Fatalf(\"bank statement showed a will slot: %+v\", hole) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if hole.FactKey == \"legal_full_name\" || hole.SubjectKey == \"testator\" || strings.HasPrefix(hole.FactKey, \"will_\") {; t.Fatalf(\"bank statement showed a will slot: %+v\", hole)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2032,
    "name": "TestAttachBindCreateOffer_EmptySlotDoesNotMint",
    "purpose": "Attach Bind Create Offer Empty Slot Does Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Attach Bind Create Offer Empty Slot Does Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if bound == nil || bound.ID != daveMatlockEntityID {; t.Fatalf(\"empty-slot You attach = %+v\", bound) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if bound == nil || bound.ID != daveMatlockEntityID {; t.Fatalf(\"empty-slot You attach = %+v\", bound)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2077,
    "name": "TestAttachBindCreateOffer_EmptySlotRosterPerson",
    "purpose": "Attach Bind Create Offer Empty Slot Roster Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Attach Bind Create Offer Empty Slot Roster Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if bound == nil || bound.ID != shannonEntityID {; t.Fatalf(\"empty-slot roster attach = %+v\", bound) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if bound == nil || bound.ID != shannonEntityID {; t.Fatalf(\"empty-slot roster attach = %+v\", bound)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2106,
    "name": "TestWriteItemFact_FillsWillExecutionDateHole",
    "purpose": "Write Item Fact Fills Will Execution Date Hole",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Write Item Fact Fills Will Execution Date Hole. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if created == nil || !created.IsPinned || created.CaptureMethod != \"manual\" {; t.Fatalf(\"execution date write = %+v\", created) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if created == nil || !created.IsPinned || created.CaptureMethod != \"manual\" {; t.Fatalf(\"execution date write = %+v\", created)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2140,
    "name": "TestDocumentPageCount",
    "purpose": "Document Page Count",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Document Page Count. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := documentPageCount(nil); got != nil {; t.Fatalf(\"empty docs = %v\", got); if got := documentPageCount([]itemDocumentRow{{PageStart: &one, PageEnd: &three}}); got == nil || *got != 3 { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := documentPageCount(nil); got != nil {; t.Fatalf(\"empty docs = %v\", got); if got := documentPageCount([]itemDocumentRow{{PageStart: &one, PageEnd: &three}}); got == nil || *got != 3 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2154,
    "name": "TestDocsForBindingMixedVsSingle",
    "purpose": "Docs For Binding Mixed Vs Single",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Docs For Binding Mixed Vs Single. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || bindingDocumentTypeKey(got) != \"will\" {; t.Fatalf(\"will paper type = %+v\", got); if pages := documentPageCount(got); pages == nil || *pages != 14 { Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || bindingDocumentTypeKey(got) != \"will\" {; t.Fatalf(\"will paper type = %+v\", got); if pages := documentPageCount(got); pages == nil || *pages != 14 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2183,
    "name": "TestUnresolvedMatchesBindingDocumentScope",
    "purpose": "Unresolved Matches Binding Document Scope",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Unresolved Matches Binding Document Scope. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_facts_test.go",
    "line": 2208,
    "name": "TestBindingPeriodEndMaxForEntity",
    "purpose": "Binding Period End Max For Entity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Binding Period End Max For Entity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got == nil || *got != july {; t.Fatalf(\"period end = %v\", got) Relevant implementation: server/internal/services/supabase_facts.go. Relevant implementation: server/internal/services/supabase_facts.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got == nil || *got != july {; t.Fatalf(\"period end = %v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_first72_test.go",
    "line": 11,
    "name": "TestFirst72HoursGuideGoldenKeys",
    "purpose": "Decode the guide golden payload; reject missing, old, and extra fields",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Decode the guide golden payload; reject missing, old, and extra fields. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if guide.Wishes == nil || *guide.Wishes != \"Cremation at dawn\" {; t.Fatalf(\"wishes = %#v\", guide.Wishes) Relevant implementation: server/internal/services/supabase_first72.go. Relevant implementation: server/internal/services/supabase_first72.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_first72_test.go",
    "line": 67,
    "name": "TestFirst72HoursGuideStructKeysMatchAllowlist",
    "purpose": "Ensure guide and contact JSON fields use only the allowed serialized keys",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Ensure guide and contact JSON fields use only the allowed serialized keys. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_first72_test.go",
    "line": 72,
    "name": "TestFirst72KeyListsHaveNoDuplicates",
    "purpose": "Ensure guide serialization key lists contain no duplicate names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Ensure guide serialization key lists contain no duplicate names. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_first72_test.go",
    "line": 88,
    "name": "TestFirst72HoursGuideContactsFieldType",
    "purpose": "Ensure contacts is represented as a slice of guide contact rows",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Ensure contacts is represented as a slice of guide contact rows. The test checks the returned/domain behavior at its boundary. Assertion evidence: if field.Type != want {; t.Fatalf(\"Contacts type = %s, want %s\", field.Type, want) Relevant implementation: server/internal/services/supabase_first72.go. Relevant implementation: server/internal/services/supabase_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if field.Type != want {; t.Fatalf(\"Contacts type = %s, want %s\", field.Type, want)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_first72_test.go",
    "line": 147,
    "name": "TestRejectBadFirst72ContactKind",
    "purpose": "Reject Bad First72 Contact Kind",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reject Bad First72 Contact Kind. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_first72.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 16,
    "name": "TestAggregateAdminSummary_TotalIsDistinctFiles",
    "purpose": "Aggregate Admin Summary Total Is Distinct Files",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Total Is Distinct Files. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.TotalUnresolved != 2 {; t.Errorf(\"TotalUnresolved = %d, want 2 (distinct files)\", got.TotalUnresolved) Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.TotalUnresolved != 2 {; t.Errorf(\"TotalUnresolved = %d, want 2 (distinct files)\", got.TotalUnresolved)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 38,
    "name": "TestAggregateAdminSummary_ByKindCountsRowsNotFiles",
    "purpose": "Aggregate Admin Summary By Kind Counts Rows Not Files",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary By Kind Counts Rows Not Files. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.ByKind[\"apply_error\"] != 2 || got.ByKind[\"mapper_error\"] != 1 {; t.Errorf(\"ByKind = %v, want apply_error=2 mapper_error=1\", got.ByKind) Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.ByKind[\"apply_error\"] != 2 || got.ByKind[\"mapper_error\"] != 1 {; t.Errorf(\"ByKind = %v, want apply_error=2 mapper_error=1\", got.ByKind)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 55,
    "name": "TestAggregateAdminSummary_TopSchemasOrdered",
    "purpose": "Aggregate Admin Summary Top Schemas Ordered",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Top Schemas Ordered. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"expected 4 schemas, got %d\", len(got.TopSchemas)); if got.TopSchemas[0].Schema != \"alpha\" || got.TopSchemas[0].Count != 3 {; t.Errorf(\"TopSchemas[0] = %+v, want alpha:3\", got.TopSchemas[0]) Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Fatalf(\"expected 4 schemas, got %d\", len(got.TopSchemas)); if got.TopSchemas[0].Schema != \"alpha\" || got.TopSchemas[0].Count != 3 {; t.Errorf(\"TopSchemas[0] = %+v, want alpha:3\", got.TopSchemas[0])",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 86,
    "name": "TestAggregateAdminSummary_TopSchemasCappedAtTen",
    "purpose": "Aggregate Admin Summary Top Schemas Capped At Ten",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Top Schemas Capped At Ten. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got.TopSchemas) != 10 {; t.Errorf(\"TopSchemas len = %d, want 10 (capped)\", len(got.TopSchemas)) Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if len(got.TopSchemas) != 10 {; t.Errorf(\"TopSchemas len = %d, want 10 (capped)\", len(got.TopSchemas))",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 106,
    "name": "TestAggregateAdminSummary_HourlyBuckets",
    "purpose": "Aggregate Admin Summary Hourly Buckets",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Hourly Buckets. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got.HourlyLast24h) != 24 {; t.Fatalf(\"HourlyLast24h len = %d, want 24 (zero-filled)\", len(got.HourlyLast24h)); t.Errorf(\"HourlyLast24h[%d] hour %q not greater than [%d] %q\", i, got.HourlyLast24h[i].Hour, i-1, got.HourlyLast24h[i-1].Hour) Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got.HourlyLast24h) != 24 {; t.Fatalf(\"HourlyLast24h len = %d, want 24 (zero-filled)\", len(got.HourlyLast24h)); t.Errorf(\"HourlyLast24h[%d] hour %q not greater than [%d] %q\", i, got.HourlyLast24h[i].Hour, i-1, got.HourlyLast24h[i-1].Hour)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 146,
    "name": "TestAggregateAdminSummary_HourlyBucketsTolerateUnparseableTimestamp",
    "purpose": "Aggregate Admin Summary Hourly Buckets Tolerate Unparseable Timestamp",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Hourly Buckets Tolerate Unparseable Timestamp. The test checks the returned/domain behavior at its boundary. Assertion evidence: if totalInWindow != 1 {; t.Errorf(\"sum of hourly buckets = %d, want 1 (garbage-timestamp row should be silently skipped from buckets)\", totalInWindow); if got.TotalUnresolved != 2 { Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if totalInWindow != 1 {; t.Errorf(\"sum of hourly buckets = %d, want 1 (garbage-timestamp row should be silently skipped from buckets)\", totalInWindow); if got.TotalUnresolved != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 172,
    "name": "TestAggregateAdminSummary_TopFilesPicksWorstAttemptsPerFile",
    "purpose": "Aggregate Admin Summary Top Files Picks Worst Attempts Per File",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Top Files Picks Worst Attempts Per File. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got.TopFiles) != 2 {; t.Fatalf(\"TopFiles len = %d, want 2\", len(got.TopFiles)); if got.TopFiles[0].FileID != \"f1\" || got.TopFiles[0].Attempts != 4 { Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got.TopFiles) != 2 {; t.Fatalf(\"TopFiles len = %d, want 2\", len(got.TopFiles)); if got.TopFiles[0].FileID != \"f1\" || got.TopFiles[0].Attempts != 4 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 192,
    "name": "TestAggregateAdminSummary_EmptyInputReturnsZeroedShape",
    "purpose": "Aggregate Admin Summary Empty Input Returns Zeroed Shape",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Aggregate Admin Summary Empty Input Returns Zeroed Shape. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.TotalUnresolved != 0 {; t.Errorf(\"TotalUnresolved = %d, want 0\", got.TotalUnresolved); if len(got.HourlyLast24h) != 24 { Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary. Relevant implementation: server/internal/services/supabase_graph.go:1419 aggregateAdminSummary.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.TotalUnresolved != 0 {; t.Errorf(\"TotalUnresolved = %d, want 0\", got.TotalUnresolved); if len(got.HourlyLast24h) != 24 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_admin_test.go",
    "line": 212,
    "name": "TestForceRetryAllRetryable_ContractsKindsClause",
    "purpose": "Force Retry All Retryable Contracts Kinds Clause",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Force Retry All Retryable Contracts Kinds Clause. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != want {; t.Errorf(\"kinds clause = %q, want %q\", got, want) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != want {; t.Errorf(\"kinds clause = %q, want %q\", got, want)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_chunk_test.go",
    "line": 13,
    "name": "TestChunkIDs",
    "purpose": "Chunk IDs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Chunk IDs. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if len(got) != tc.wantChunks {; t.Fatalf(\"chunk count: got %d, want %d\", len(got), tc.wantChunks) Relevant implementation: server/internal/services/supabase_graph.go:695 chunkIDs. Relevant implementation: server/internal/services/supabase_graph.go:695 chunkIDs.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if len(got) != tc.wantChunks {; t.Fatalf(\"chunk count: got %d, want %d\", len(got), tc.wantChunks)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 29,
    "name": "TestResolveEntity_PrivateLookup_BuildsScopeMatchedURL",
    "purpose": "Resolve Entity Private Lookup Builds Scope Matched URL",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolve Entity Private Lookup Builds Scope Matched URL. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/entities\") {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity. Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method == http.MethodGet && strings.HasPrefix(r.URL.Path, \"/rest/v1/entities\") {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 70,
    "name": "TestResolveEntity_SharedLookup_BuildsScopeMatchedURL",
    "purpose": "Resolve Entity Shared Lookup Builds Scope Matched URL",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolve Entity Shared Lookup Builds Scope Matched URL. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity. Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 109,
    "name": "TestResolveEntity_Insert_SetsScopeAndHousehold",
    "purpose": "Resolve Entity Insert Sets Scope And Household",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolve Entity Insert Sets Scope And Household. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity. Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 148,
    "name": "TestResolveEntity_Insert_PrivateOmitsHouseholdID",
    "purpose": "Resolve Entity Insert Private Omits Household ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolve Entity Insert Private Omits Household ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity. Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 183,
    "name": "TestListAllEntitiesForUser_UnionFilterWhenHouseholdSet",
    "purpose": "List All Entities For User Union Filter When Household Set",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List All Entities For User Union Filter When Household Set. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"ListAllEntitiesForUser: %v\", err); if !strings.Contains(entitiesURL, \"or=\") { Relevant implementation: server/internal/services/supabase_graph.go:810 ListAllEntitiesForUser. Relevant implementation: server/internal/services/supabase_graph.go:810 ListAllEntitiesForUser.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"ListAllEntitiesForUser: %v\", err); if !strings.Contains(entitiesURL, \"or=\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 233,
    "name": "TestListAllEntitiesForUser_TightFilterWhenOrphan",
    "purpose": "List All Entities For User Tight Filter When Orphan",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List All Entities For User Tight Filter When Orphan. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"ListAllEntitiesForUser: %v\", err); if strings.Contains(entitiesURL, \"or=\") { Relevant implementation: server/internal/services/supabase_graph.go:810 ListAllEntitiesForUser. Relevant implementation: server/internal/services/supabase_graph.go:810 ListAllEntitiesForUser.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"ListAllEntitiesForUser: %v\", err); if strings.Contains(entitiesURL, \"or=\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 280,
    "name": "TestListRelationshipsForUser_FiltersByVisibleEndpoints",
    "purpose": "List Relationships For User Filters By Visible Endpoints",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Relationships For User Filters By Visible Endpoints. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"ListRelationshipsForUser: %v\", err); if len(relsURLs) == 0 { Relevant implementation: server/internal/services/supabase_graph.go:877 ListRelationshipsForUser. Relevant implementation: server/internal/services/supabase_graph.go:877 ListRelationshipsForUser.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"ListRelationshipsForUser: %v\", err); if len(relsURLs) == 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_scope_test.go",
    "line": 339,
    "name": "TestResolveEntity_ReextractFromPromotedSharedFile_UsesSharedDedupSpace",
    "purpose": "Resolve Entity Reextract From Promoted Shared File Uses Shared Dedup Space",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolve Entity Reextract From Promoted Shared File Uses Shared Dedup Space. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity. Relevant implementation: server/internal/services/supabase_graph.go:212 ResolveEntity.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method == http.MethodGet {; if err != nil {; t.Fatalf(\"ResolveEntity: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_upsert_test.go",
    "line": 32,
    "name": "TestUpsertIngestFailure_HitsRPCWithRightPayload",
    "purpose": "Send the ingest-failure data through the expected Supabase RPC and decode its result",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Send the ingest-failure data through the expected Supabase RPC and decode its result. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusNoContent); if err != nil {; t.Fatalf(\"UpsertIngestFailure returned err: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:589 UpsertIngestFailure. Relevant implementation: server/internal/services/supabase_graph.go:589 UpsertIngestFailure.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusNoContent); if err != nil {; t.Fatalf(\"UpsertIngestFailure returned err: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_upsert_test.go",
    "line": 118,
    "name": "TestUpsertIngestFailure_HTTPErrorBubblesUp",
    "purpose": "Upsert Ingest Failure HTTPError Bubbles Up",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Upsert Ingest Failure HTTPError Bubbles Up. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusInternalServerError); if err == nil { Relevant implementation: server/internal/services/supabase_graph.go:589 UpsertIngestFailure. Relevant implementation: server/internal/services/supabase_graph.go:589 UpsertIngestFailure.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusInternalServerError); if err == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_upsert_test.go",
    "line": 136,
    "name": "TestListRetryCandidates_QueryShape",
    "purpose": "Build the expected retry-candidate PostgREST query",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Build the expected retry-candidate PostgREST query. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if _, err := store.ListRetryCandidates(context.Background(), []string{\"apply_error\"}, 5, now); err != nil {; t.Fatalf(\"ListRetryCandidates: %v\", err) Relevant implementation: server/internal/services/supabase_graph.go:1131 ListRetryCandidates. Relevant implementation: server/internal/services/supabase_graph.go:1131 ListRetryCandidates.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if _, err := store.ListRetryCandidates(context.Background(), []string{\"apply_error\"}, 5, now); err != nil {; t.Fatalf(\"ListRetryCandidates: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 21,
    "name": "TestApplyUserCorrectionRPC_HitsRPCWithRightPayload",
    "purpose": "Send correction inputs with the expected RPC fields and decode the RPC result",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Send correction inputs with the expected RPC fields and decode the RPC result. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"ApplyUserCorrectionRPC: %v\", err); if want := \"/rest/v1/rpc/apply_user_correction\"; capturedPath != want { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 69,
    "name": "TestApplyUserCorrectionRPC_MapsForbiddenError",
    "purpose": "Apply User Correction RPC Maps Forbidden Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply User Correction RPC Maps Forbidden Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusForbidden); if err == nil {; t.Fatalf(\"expected error, got nil\") Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusForbidden); if err == nil {; t.Fatalf(\"expected error, got nil\")",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 98,
    "name": "TestMergeEntitiesRPC_HitsRPCWithRightPayload",
    "purpose": "Merge Entities RPC Hits RPCWith Right Payload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Entities RPC Hits RPCWith Right Payload. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"MergeEntitiesRPC: %v\", err); if want := \"/rest/v1/rpc/merge_entities\"; capturedPath != want { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"MergeEntitiesRPC: %v\", err); if want := \"/rest/v1/rpc/merge_entities\"; capturedPath != want {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 132,
    "name": "TestMergeEntitiesRPC_MapsConflict",
    "purpose": "Merge Entities RPC Maps Conflict",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Entities RPC Maps Conflict. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusConflict); if err == nil {; t.Fatalf(\"expected error\") Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusConflict); if err == nil {; t.Fatalf(\"expected error\")",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 155,
    "name": "TestUnmergeEntitiesRPC_HitsRPCWithRightPayload",
    "purpose": "Unmerge Entities RPC Hits RPCWith Right Payload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Unmerge Entities RPC Hits RPCWith Right Payload. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"UnmergeEntitiesRPC: %v\", err); if want := \"/rest/v1/rpc/unmerge_entities\"; capturedPath != want { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"UnmergeEntitiesRPC: %v\", err); if want := \"/rest/v1/rpc/unmerge_entities\"; capturedPath != want {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 178,
    "name": "TestRetractUserFact_HitsRPCWithRightPayload",
    "purpose": "Retract User Fact Hits RPCWith Right Payload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Retract User Fact Hits RPCWith Right Payload. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"RetractUserFact: %v\", err); if want := \"/rest/v1/rpc/retract_user_fact\"; capturedPath != want { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"RetractUserFact: %v\", err); if want := \"/rest/v1/rpc/retract_user_fact\"; capturedPath != want {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 204,
    "name": "TestListAuditLogs_BuildsPostgRESTQuery",
    "purpose": "List Audit Logs Builds Postg RESTQuery",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Audit Logs Builds Postg RESTQuery. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"ListAuditLogs: %v\", err); if len(rows) != 1 { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"ListAuditLogs: %v\", err); if len(rows) != 1 {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 235,
    "name": "TestGetEntity_NotFoundReturnsFalse",
    "purpose": "Get Entity Not Found Returns False",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Entity Not Found Returns False. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"GetEntity: %v\", err); t.Errorf(\"expected ok=false for empty result\") Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"GetEntity: %v\", err); t.Errorf(\"expected ok=false for empty result\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 253,
    "name": "TestGetEntity_FoundDecodes",
    "purpose": "Get Entity Found Decodes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Entity Found Decodes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || !ok {; t.Fatalf(\"GetEntity: ok=%v err=%v\", ok, err); if e.ID != \"e1\" || e.CanonicalLabel != \"Jane\" { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil || !ok {; t.Fatalf(\"GetEntity: ok=%v err=%v\", ok, err); if e.ID != \"e1\" || e.CanonicalLabel != \"Jane\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 274,
    "name": "TestFlipFileScopeRPC_HitsRPCWithRightPayload",
    "purpose": "Flip File Scope RPC Hits RPCWith Right Payload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Flip File Scope RPC Hits RPCWith Right Payload. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"FlipFileScopeRPC: %v\", err); if want := \"/rest/v1/rpc/flip_file_scope\"; capturedPath != want { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"FlipFileScopeRPC: %v\", err); if want := \"/rest/v1/rpc/flip_file_scope\"; capturedPath != want {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 308,
    "name": "TestFlipFileScopeRPC_MapsNotFoundError",
    "purpose": "Flip File Scope RPC Maps Not Found Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Flip File Scope RPC Maps Not Found Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusNotFound); if err == nil {; t.Fatalf(\"expected error, got nil\") Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusNotFound); if err == nil {; t.Fatalf(\"expected error, got nil\")",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 331,
    "name": "TestFileScopeFlipImpactRPC_HitsRPCWithRightPayload",
    "purpose": "File Scope Flip Impact RPC Hits RPCWith Right Payload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: File Scope Flip Impact RPC Hits RPCWith Right Payload. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"FileScopeFlipImpactRPC: %v\", err); if want := \"/rest/v1/rpc/file_scope_flip_impact\"; capturedPath != want { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"FileScopeFlipImpactRPC: %v\", err); if want := \"/rest/v1/rpc/file_scope_flip_impact\"; capturedPath != want {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 354,
    "name": "TestFlipFileScopeRPC_OrphanOmitsHouseholdID",
    "purpose": "Flip File Scope RPC Orphan Omits Household ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Flip File Scope RPC Orphan Omits Household ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"FlipFileScopeRPC: %v\", err); if capturedBody[\"p_household_id\"] != nil { Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"FlipFileScopeRPC: %v\", err); if capturedBody[\"p_household_id\"] != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_graph_user_ops_test.go",
    "line": 376,
    "name": "TestFileScopeFlipImpactRPC_Maps22023Error",
    "purpose": "File Scope Flip Impact RPC Maps22023 Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: File Scope Flip Impact RPC Maps22023 Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusBadRequest); if err == nil {; t.Fatalf(\"expected error, got nil\") Relevant implementation: server/internal/services/supabase_graph_user_ops.go. Relevant implementation: server/internal/services/supabase_graph_user_ops.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusBadRequest); if err == nil {; t.Fatalf(\"expected error, got nil\")",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_holes_test.go",
    "line": 5,
    "name": "TestCatalogTypeForHoles",
    "purpose": "Catalog Type For Holes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Catalog Type For Holes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := catalogTypeForHoles(itemClassification{RequestedDocumentTypeKey: \"will\", Status: \"in_progress\"}, nil); got != \"will\" {; t.Fatalf(\"reclassify commit type = %q\", got); if got := catalogTypeForHoles(itemClassification{Status: \"in_progress\"}, []itemDocumentRow{{DocumentTypeKey: \"will\"}}); got != \"\" { Relevant implementation: server/internal/services/supabase_holes.go. Relevant implementation: server/internal/services/supabase_holes.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := catalogTypeForHoles(itemClassification{RequestedDocumentTypeKey: \"will\", Status: \"in_progress\"}, nil); got != \"will\" {; t.Fatalf(\"reclassify commit type = %q\", got); if got := catalogTypeForHoles(itemClassification{Status: \"in_progress\"}, []itemDocumentRow{{DocumentTypeKey: \"will\"}}); got != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 116,
    "name": "TestTypedStatusRequiresExactPaperOccurrence",
    "purpose": "Typed Status Requires Exact Paper Occurrence",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Status Requires Exact Paper Occurrence. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got, ok := typedStatusFor(ev, \"job-1\", &start, &end, \"will\"); !ok || got != \"success\" {; t.Fatalf(\"exact typed occurrence = %q/%v\", got, ok) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got, ok := typedStatusFor(ev, \"job-1\", &start, &end, \"will\"); !ok || got != \"success\" {; t.Fatalf(\"exact typed occurrence = %q/%v\", got, ok)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 135,
    "name": "TestGetVisibleItem_ReorderedPrimaryConstituentsUseExactTypedOccurrence",
    "purpose": "Get Visible Item Reordered Primary Constituents Use Exact Typed Occurrence",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Reordered Primary Constituents Use Exact Typed Occurrence. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if byID[kindWillA].ReadOutcome != documentkind.OutcomeRead {; t.Fatalf(\"primary Will A inherited unknown ordinal status: %+v\", byID[kindWillA]) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if byID[kindWillA].ReadOutcome != documentkind.OutcomeRead {; t.Fatalf(\"primary Will A inherited unknown ordinal status: %+v\", byID[kindWillA])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 154,
    "name": "TestMatchLedgerForDocumentUsesIdentityNotType",
    "purpose": "Match Ledger For Document Uses Identity Not Type",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Match Ledger For Document Uses Identity Not Type. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"accepted mismatched document identity/pages: %+v\", hit); if !ok || hit.Ordinal != 2 {; t.Fatalf(\"unidentified exact page/type occurrence miss: %+v ok=%v\", hit, ok) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"accepted mismatched document identity/pages: %+v\", hit); if !ok || hit.Ordinal != 2 {; t.Fatalf(\"unidentified exact page/type occurrence miss: %+v ok=%v\", hit, ok)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 173,
    "name": "TestGetVisibleItem_TwoSameTypeWillsDistinctReadOutcomes",
    "purpose": "Get Visible Item Two Same Type Wills Distinct Read Outcomes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Two Same Type Wills Distinct Read Outcomes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if listed == nil {; if len(item.Documents) != 2 || len(listed.Documents) != 2 { Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if listed == nil {; if len(item.Documents) != 2 || len(listed.Documents) != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 230,
    "name": "TestGetVisibleItem_FailedBDAPaperIsFailedWithoutSpreading",
    "purpose": "Get Visible Item Failed BDAPaper Is Failed Without Spreading",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Failed BDAPaper Is Failed Without Spreading. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.GenerationID != priorGeneration {; t.Fatalf(\"published generation was replaced: %q want %q\", item.GenerationID, priorGeneration) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.GenerationID != priorGeneration {; t.Fatalf(\"published generation was replaced: %q want %q\", item.GenerationID, priorGeneration)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 309,
    "name": "TestGetVisibleItem_KindRevisionStaleRetainsPublishedSiblingOutcomes",
    "purpose": "Get Visible Item Kind Revision Stale Retains Published Sibling Outcomes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Kind Revision Stale Retains Published Sibling Outcomes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.GenerationID != priorGeneration {; t.Fatalf(\"stale attempt replaced published generation: %q want %q\", item.GenerationID, priorGeneration) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.GenerationID != priorGeneration {; t.Fatalf(\"stale attempt replaced published generation: %q want %q\", item.GenerationID, priorGeneration)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 337,
    "name": "TestGetVisibleItem_NoPublishedGenerationFailedPaperIsFailed",
    "purpose": "Get Visible Item No Published Generation Failed Paper Is Failed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item No Published Generation Failed Paper Is Failed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.GenerationID != \"\" || len(item.Documents) != 1 {; t.Fatalf(\"failed attempt borrowed a generation: %+v\", item) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.GenerationID != \"\" || len(item.Documents) != 1 {; t.Fatalf(\"failed attempt borrowed a generation: %+v\", item)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 357,
    "name": "TestGetVisibleItem_NoPublishedGenerationKindRevisionStaleIsTerminal",
    "purpose": "Get Visible Item No Published Generation Kind Revision Stale Is Terminal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item No Published Generation Kind Revision Stale Is Terminal. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.GenerationID != \"\" || item.ClassificationStatus != \"failed\" {; t.Fatalf(\"initial stale attempt became pending/synthetic: %+v\", item) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.GenerationID != \"\" || item.ClassificationStatus != \"failed\" {; t.Fatalf(\"initial stale attempt became pending/synthetic: %+v\", item)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 377,
    "name": "TestGetVisibleItem_NoGenerationKindRevisionStaleDoesNotGuessPacketRoot",
    "purpose": "Get Visible Item No Generation Kind Revision Stale Does Not Guess Packet Root",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item No Generation Kind Revision Stale Does Not Guess Packet Root. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(item.Documents) != 1 {; t.Fatalf(\"documents=%+v\", item.Documents) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(item.Documents) != 1 {; t.Fatalf(\"documents=%+v\", item.Documents)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 398,
    "name": "TestGetVisibleItem_KindOriginsAreScopedToPaperIdentity",
    "purpose": "Get Visible Item Kind Origins Are Scoped To Paper Identity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Kind Origins Are Scoped To Paper Identity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if byID[kindWillA].KindOrigin != documentkind.OriginMember {; t.Fatalf(\"exact document lost member origin: %+v\", byID[kindWillA]) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if byID[kindWillA].KindOrigin != documentkind.OriginMember {; t.Fatalf(\"exact document lost member origin: %+v\", byID[kindWillA])",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 421,
    "name": "TestGetVisibleItem_CatalogOutageOmitsKindRead",
    "purpose": "Get Visible Item Catalog Outage Omits Kind Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Catalog Outage Omits Kind Read. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].ReadOutcome != \"\" || item.Documents[0].KindActions != nil {; t.Fatalf(\"catalog outage faked kind-read %+v\", item.Documents[0]) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if item.Documents[0].ReadOutcome != \"\" || item.Documents[0].KindActions != nil {; t.Fatalf(\"catalog outage faked kind-read %+v\", item.Documents[0])",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 446,
    "name": "TestGetVisibleItem_EmptySuccessfulReadIsEmptyNotRead",
    "purpose": "Get Visible Item Empty Successful Read Is Empty Not Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Empty Successful Read Is Empty Not Read. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(item.Documents) != 1 {; t.Fatalf(\"documents=%+v\", item.Documents) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(item.Documents) != 1 {; t.Fatalf(\"documents=%+v\", item.Documents)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 475,
    "name": "TestGetVisibleItem_LatestTypedFailureBeatsOldOCRFacts",
    "purpose": "Get Visible Item Latest Typed Failure Beats Old OCRFacts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Latest Typed Failure Beats Old OCRFacts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].ReadOutcome != documentkind.OutcomeFailed {; t.Fatalf(\"old facts minted %q\", item.Documents[0].ReadOutcome) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Documents[0].ReadOutcome != documentkind.OutcomeFailed {; t.Fatalf(\"old facts minted %q\", item.Documents[0].ReadOutcome)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 504,
    "name": "TestGetItemKindOutcomes_HTTPJSON",
    "purpose": "Return item kind outcomes in the documented HTTP JSON shape",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Return item kind outcomes in the documented HTTP JSON shape. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; c.JSON(http.StatusBadGateway, gin.H{\"error\": err.Error()}); c.JSON(http.StatusOK, item) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 548,
    "name": "TestGetVisibleItem_ReceiptNotTimestampWindow",
    "purpose": "Get Visible Item Receipt Not Timestamp Window",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Receipt Not Timestamp Window. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].ReadOutcome != documentkind.OutcomeRead {; t.Fatalf(\"receipt OCR before committed_at became %q\", item.Documents[0].ReadOutcome) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Documents[0].ReadOutcome != documentkind.OutcomeRead {; t.Fatalf(\"receipt OCR before committed_at became %q\", item.Documents[0].ReadOutcome)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 581,
    "name": "TestGetVisibleItem_EvidenceFetchFailureIsUnavailable",
    "purpose": "Get Visible Item Evidence Fetch Failure Is Unavailable",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Evidence Fetch Failure Is Unavailable. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].ReadOutcome != \"\" {; t.Fatalf(\"typed fetch failure became %q\", item.Documents[0].ReadOutcome) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Documents[0].ReadOutcome != \"\" {; t.Fatalf(\"typed fetch failure became %q\", item.Documents[0].ReadOutcome)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 611,
    "name": "TestGetVisibleItem_ReceiptFetchFailureIsUnavailable",
    "purpose": "Get Visible Item Receipt Fetch Failure Is Unavailable",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Receipt Fetch Failure Is Unavailable. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].ReadOutcome != \"\" {; t.Fatalf(\"receipt fetch failure became %q\", item.Documents[0].ReadOutcome) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Documents[0].ReadOutcome != \"\" {; t.Fatalf(\"receipt fetch failure became %q\", item.Documents[0].ReadOutcome)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 638,
    "name": "TestGetVisibleItem_MissingReceiptIsNotEmpty",
    "purpose": "Get Visible Item Missing Receipt Is Not Empty",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Missing Receipt Is Not Empty. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].ReadOutcome != \"\" {; t.Fatalf(\"missing receipt became definitive %q\", item.Documents[0].ReadOutcome) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Documents[0].ReadOutcome != \"\" {; t.Fatalf(\"missing receipt became definitive %q\", item.Documents[0].ReadOutcome)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 663,
    "name": "TestGetVisibleItem_VetoedPaperFilesKindAsFiledUnread",
    "purpose": "Get Visible Item Vetoed Paper Files Kind As Filed Unread",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Vetoed Paper Files Kind As Filed Unread. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(item.Documents) != 1 {; t.Fatalf(\"documents=%+v\", item.Documents) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(item.Documents) != 1 {; t.Fatalf(\"documents=%+v\", item.Documents)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_kind_test.go",
    "line": 718,
    "name": "TestGetVisibleItem_PageFetchFailureSuppressesEvidenceOffers",
    "purpose": "Get Visible Item Page Fetch Failure Suppresses Evidence Offers",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Page Fetch Failure Suppresses Evidence Offers. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Documents[0].KindActions == nil || item.Documents[0].KindActions.Clarify.Allowed {; t.Fatalf(\"page fetch failure must not offer clarify %+v\", item.Documents[0].KindActions) Relevant implementation: server/internal/services/supabase_items_kind.go. Relevant implementation: server/internal/services/supabase_items_kind.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Documents[0].KindActions == nil || item.Documents[0].KindActions.Clarify.Allowed {; t.Fatalf(\"page fetch failure must not offer clarify %+v\", item.Documents[0].KindActions)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1220,
    "name": "TestParseUUIDSet",
    "purpose": "Parse UUIDSet",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Parse UUIDSet. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || len(got) != 1 || got[0] != willItemID {; t.Fatalf(\"rows form: %v %v\", got, err); t.Fatalf(\"array form: %v %v\", got, err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || len(got) != 1 || got[0] != willItemID {; t.Fatalf(\"rows form: %v %v\", got, err); t.Fatalf(\"array form: %v %v\", got, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1231,
    "name": "TestListRecentFiles_VisibleFileItemsOnly",
    "purpose": "List Recent Files Visible File Items Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Recent Files Visible File Items Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(docs) != 1 || docs[0].ID != fileItemID || docs[0].DocumentName != \"Bank statement PDF\" {; t.Fatalf(\"dave recent files = %+v\", docs) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(docs) != 1 || docs[0].ID != fileItemID || docs[0].DocumentName != \"Bank statement PDF\" {; t.Fatalf(\"dave recent files = %+v\", docs)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1258,
    "name": "TestRecentDocumentsFromItems_SkipsNotesAndCaps",
    "purpose": "Recent Documents From Items Skips Notes And Caps",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Recent Documents From Items Skips Notes And Caps. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 2 {; t.Fatalf(\"cap: %+v\", got); if got[0].ID != \"f1\" || got[0].DocumentName != \"Will scan\" || got[0].ProcessingStatus != \"completed\" { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 2 {; t.Fatalf(\"cap: %+v\", got); if got[0].ID != \"f1\" || got[0].DocumentName != \"Will scan\" || got[0].ProcessingStatus != \"completed\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1285,
    "name": "TestListVisibleItems_DaveMarksAndNoStorageLeak",
    "purpose": "List Visible Items Dave Marks And No Storage Leak",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Dave Marks And No Storage Leak. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if itemByTitle(items, \"Last will and testament\") == nil {; t.Fatalf(\"dave missing will: %+v\", titles(items)) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if itemByTitle(items, \"Last will and testament\") == nil {; t.Fatalf(\"dave missing will: %+v\", titles(items))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1332,
    "name": "TestListVisibleItems_EmilyCannotSeeDeed",
    "purpose": "List Visible Items Emily Cannot See Deed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Emily Cannot See Deed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if itemByTitle(items, \"House deed\") != nil {; t.Fatalf(\"emily saw deed: %+v\", titles(items)) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if itemByTitle(items, \"House deed\") != nil {; t.Fatalf(\"emily saw deed: %+v\", titles(items))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1350,
    "name": "TestGetVisibleItem_IncludesBodyRedactsStorage",
    "purpose": "Get Visible Item Includes Body Redacts Storage",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Includes Body Redacts Storage. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Body == nil || *item.Body != \"signed will text\" {; t.Fatalf(\"body = %+v\", item.Body) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Body == nil || *item.Body != \"signed will text\" {; t.Fatalf(\"body = %+v\", item.Body)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1408,
    "name": "TestGetVisibleItem_PublishedSummaryPrefersLatestCommitted",
    "purpose": "Get Visible Item Published Summary Prefers Latest Committed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Published Summary Prefers Latest Committed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Summary == nil || *item.Summary != again {; t.Fatalf(\"order=%v summary=%v\", order[0][\"id\"], item.Summary) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Summary == nil || *item.Summary != again {; t.Fatalf(\"order=%v summary=%v\", order[0][\"id\"], item.Summary)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1445,
    "name": "TestGetVisibleItem_PublishedSummaryIgnoresInFlightAndFailedUncommitted",
    "purpose": "Get Visible Item Published Summary Ignores In Flight And Failed Uncommitted",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Published Summary Ignores In Flight And Failed Uncommitted. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Summary == nil || *item.Summary != want {; t.Fatalf(\"summary=%v\", item.Summary) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Summary == nil || *item.Summary != want {; t.Fatalf(\"summary=%v\", item.Summary)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1482,
    "name": "TestGetVisibleItem_PublishedSummaryFallsBackWhenLatestCommittedEmpty",
    "purpose": "Get Visible Item Published Summary Falls Back When Latest Committed Empty",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Published Summary Falls Back When Latest Committed Empty. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Summary == nil || *item.Summary != want {; t.Fatalf(\"summary=%v\", item.Summary) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.Summary == nil || *item.Summary != want {; t.Fatalf(\"summary=%v\", item.Summary)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1511,
    "name": "TestGetVisibleItem_PublishedSummaryPerDocumentAndItem",
    "purpose": "Get Visible Item Published Summary Per Document And Item",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Published Summary Per Document And Item. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(item.Documents) != 2 {; t.Fatalf(\"documents=%+v\", item.Documents) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(item.Documents) != 2 {; t.Fatalf(\"documents=%+v\", item.Documents)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1559,
    "name": "TestPublishedSummaryBetterTieBreaksOnJobID",
    "purpose": "Published Summary Better Tie Breaks On Job ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Published Summary Better Tie Breaks On Job ID. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1576,
    "name": "TestListVisibleItems_OmitsSummary",
    "purpose": "Omit document summaries from the item-list response",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Omit document summaries from the item-list response. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.Summary != nil {; t.Fatalf(\"list included summary for %s: %q\", item.ID, *item.Summary) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1595,
    "name": "TestListVisibleItems_ReportsAutomaticClassificationStatus",
    "purpose": "List Visible Items Reports Automatic Classification Status",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Reports Automatic Classification Status. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if file == nil || file.ClassificationStatus != \"in_progress\" {; t.Fatalf(\"queued classification = %+v\", file) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if file == nil || file.ClassificationStatus != \"in_progress\" {; t.Fatalf(\"queued classification = %+v\", file)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1671,
    "name": "TestClassificationStatusForExtractJob",
    "purpose": "Classification Status For Extract Job",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Classification Status For Extract Job. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != tc.want {; t.Fatalf(\"status=%s committed=%v got %q want %q\", tc.status, tc.committedAt, got, tc.want); if got := classificationStatusForExtractJob(\"completed\", strPtr(\"\")); got != \"in_progress\" { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != tc.want {; t.Fatalf(\"status=%s committed=%v got %q want %q\", tc.status, tc.committedAt, got, tc.want); if got := classificationStatusForExtractJob(\"completed\", strPtr(\"\")); got != \"in_progress\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1703,
    "name": "TestPickItemClassificationPrefersOpenJob",
    "purpose": "Pick Item Classification Prefers Open Job",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pick Item Classification Prefers Open Job. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Status != \"in_progress\" || got.RequestedDocumentTypeKey != \"will\" {; t.Fatalf(\"open job not preferred: %+v\", got); if got.GenerationID != committedID { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Status != \"in_progress\" || got.RequestedDocumentTypeKey != \"will\" {; t.Fatalf(\"open job not preferred: %+v\", got); if got.GenerationID != committedID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1718,
    "name": "TestPickItemClassificationBindPendingUntilBoundAt",
    "purpose": "Pick Item Classification Bind Pending Until Bound At",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pick Item Classification Bind Pending Until Bound At. The test checks the returned/domain behavior at its boundary. Assertion evidence: if unbound.Status != \"complete\" || !unbound.BindPending {; t.Fatalf(\"committed without bound_at: %+v\", unbound); if bound.Status != \"complete\" || bound.BindPending { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if unbound.Status != \"complete\" || !unbound.BindPending {; t.Fatalf(\"committed without bound_at: %+v\", unbound); if bound.Status != \"complete\" || bound.BindPending {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1736,
    "name": "TestPickItemClassificationKeepsCommittedGenerationOnFailedReread",
    "purpose": "Pick Item Classification Keeps Committed Generation On Failed Reread",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pick Item Classification Keeps Committed Generation On Failed Reread. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Status != \"failed\" {; t.Fatalf(\"latest attempt should be failed: %+v\", got); if got.GenerationID != committedID { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Status != \"failed\" {; t.Fatalf(\"latest attempt should be failed: %+v\", got); if got.GenerationID != committedID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1750,
    "name": "TestPickItemClassificationTracksExactPendingBDAPaper",
    "purpose": "Pick Item Classification Tracks Exact Pending BDAPaper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pick Item Classification Tracks Exact Pending BDAPaper. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.GenerationID != committedID {; t.Fatalf(\"generation_id=%q want published baseline\", got.GenerationID); if got.PendingAttemptID != failedID || got.PendingAttemptDocumentID != documentID { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.GenerationID != committedID {; t.Fatalf(\"generation_id=%q want published baseline\", got.GenerationID); if got.PendingAttemptID != failedID || got.PendingAttemptDocumentID != documentID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1774,
    "name": "TestPersonNotFoundMapsOnlyForSavePersonName",
    "purpose": "Person Not Found Maps Only For Save Person Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Not Found Maps Only For Save Person Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"save_person_name mapped to %v\", saved); if !errors.As(revoked, &life) || life.Message != \"person not found\" {; t.Fatalf(\"staff revoke mapped to %v\", revoked) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"save_person_name mapped to %v\", saved); if !errors.As(revoked, &life) || life.Message != \"person not found\" {; t.Fatalf(\"staff revoke mapped to %v\", revoked)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1787,
    "name": "TestMapP0001PacketPrefixes",
    "purpose": "Map P0001 Packet Prefixes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Map P0001 Packet Prefixes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(err, &conflict) || conflict.Message != msg {; t.Fatalf(\"%q mapped to %v\", msg, err); if !errors.As(err, &lifecycle) || lifecycle.Message != msg { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.As(err, &conflict) || conflict.Message != msg {; t.Fatalf(\"%q mapped to %v\", msg, err); if !errors.As(err, &lifecycle) || lifecycle.Message != msg {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1823,
    "name": "TestPickItemClassificationKeepsRequestedKeyWhileUncommitted",
    "purpose": "Pick Item Classification Keeps Requested Key While Uncommitted",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pick Item Classification Keeps Requested Key While Uncommitted. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Status != \"in_progress\" || got.RequestedDocumentTypeKey != \"will\" {; t.Fatalf(\"completed-uncommitted dropped requested type: %+v\", got); if routed.Status != \"in_progress\" || routed.RequestedDocumentTypeKey != \"will\" { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Status != \"in_progress\" || got.RequestedDocumentTypeKey != \"will\" {; t.Fatalf(\"completed-uncommitted dropped requested type: %+v\", got); if routed.Status != \"in_progress\" || routed.RequestedDocumentTypeKey != \"will\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1848,
    "name": "TestPickItemClassificationTieBreaksOnJobID",
    "purpose": "Pick Item Classification Tie Breaks On Job ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pick Item Classification Tie Breaks On Job ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Status != \"failed\" {; t.Fatalf(\"tie classification = %+v\", got); if retryExtractionEligible(rows, rows[1], map[string]bool{\"\": true}, nil) != true { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Status != \"failed\" {; t.Fatalf(\"tie classification = %+v\", got); if retryExtractionEligible(rows, rows[1], map[string]bool{\"\": true}, nil) != true {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1862,
    "name": "TestRetryExtractionJobIDRequiresMatchingBDAToken",
    "purpose": "Retry Extraction Job IDRequires Matching BDAToken",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Retry Extraction Job IDRequires Matching BDAToken. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := retryExtractionJobID(failed); got != \"job-1\" {; t.Fatalf(\"failed bda = %q\", got); if got := retryExtractionJobID(timeout); got != \"job-2\" { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := retryExtractionJobID(failed); got != \"job-1\" {; t.Fatalf(\"failed bda = %q\", got); if got := retryExtractionJobID(timeout); got != \"job-2\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1883,
    "name": "TestListVisibleItems_RetryCapabilityForEligibleEditorOnly",
    "purpose": "List Visible Items Retry Capability For Eligible Editor Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Retry Capability For Eligible Editor Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if file == nil || file.RetryExtraction == nil || file.RetryExtraction.FailedJobID != \"70000000-0000-0000-0000-000000000001\" {; t.Fatalf(\"dave retry capability = %+v\", file) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if file == nil || file.RetryExtraction == nil || file.RetryExtraction.FailedJobID != \"70000000-0000-0000-0000-000000000001\" {; t.Fatalf(\"dave retry capability = %+v\", file)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1936,
    "name": "TestListAndDetailRetryCapabilityMatchesRPCEligibilityGuards",
    "purpose": "List And Detail Retry Capability Matches RPCEligibility Guards",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List And Detail Retry Capability Matches RPCEligibility Guards. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if err != nil {; if file == nil || file.RetryExtraction != nil || detail.RetryExtraction != nil { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if err != nil {; if file == nil || file.RetryExtraction != nil || detail.RetryExtraction != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 1983,
    "name": "TestListAndDetailRetryCapabilityUsesItemWideWorkGuard",
    "purpose": "List And Detail Retry Capability Uses Item Wide Work Guard",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List And Detail Retry Capability Uses Item Wide Work Guard. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if err != nil {; if file == nil || file.RetryExtraction != nil || detail.RetryExtraction != nil { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if err != nil {; if file == nil || file.RetryExtraction != nil || detail.RetryExtraction != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2042,
    "name": "TestRetryItemExtractionQueuesSuccessorAndReplays",
    "purpose": "Retry Item Extraction Queues Successor And Replays",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Retry Item Extraction Queues Successor And Replays. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.ClassificationStatus != \"in_progress\" {; t.Fatalf(\"retry DTO = %+v\", item) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.ClassificationStatus != \"in_progress\" {; t.Fatalf(\"retry DTO = %+v\", item)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2098,
    "name": "TestListPublishedDocumentTypesDropsPlaceholder",
    "purpose": "List Published Document Types Drops Placeholder",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Published Document Types Drops Placeholder. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if row.Key == \"any_document\" || row.Key == \"unknown\" {; t.Fatalf(\"picker included %q: %+v\", row.Key, types) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if row.Key == \"any_document\" || row.Key == \"unknown\" {; t.Fatalf(\"picker included %q: %+v\", row.Key, types)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2114,
    "name": "TestReclassifyItemQueuesRequestedTypeWithoutChangingDocument",
    "purpose": "Reclassify Item Queues Requested Type Without Changing Document",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reclassify Item Queues Requested Type Without Changing Document. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.ClassificationStatus != \"in_progress\" || item.RequestedDocumentTypeKey != \"will\" {; t.Fatalf(\"reclassify DTO = %+v\", item) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.ClassificationStatus != \"in_progress\" || item.RequestedDocumentTypeKey != \"will\" {; t.Fatalf(\"reclassify DTO = %+v\", item)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2142,
    "name": "TestReclassifyItemRejectsUnpublishedTypeAndOpenJob",
    "purpose": "Reclassify Item Rejects Unpublished Type And Open Job",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Reclassify Item Rejects Unpublished Type And Open Job. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil {; t.Fatalf(\"emily reclassify err=%v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil {; t.Fatalf(\"emily reclassify err=%v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2166,
    "name": "TestListVisibleItems_IncludesClassifiedType",
    "purpose": "List Visible Items Includes Classified Type",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Includes Classified Type. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if file == nil {; t.Fatalf(\"dave missing file: %+v\", titles(items)) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if file == nil {; t.Fatalf(\"dave missing file: %+v\", titles(items))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2210,
    "name": "TestListVisibleItems_SameTypeDocumentsProjectStableDistinctIDs",
    "purpose": "List Visible Items Same Type Documents Project Stable Distinct IDs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Same Type Documents Project Stable Distinct IDs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if file == nil {; if len(got) != 2 { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if file == nil {; if len(got) != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2268,
    "name": "TestGetVisibleItem_ConstituentsOmitIdAndKeepDocumentIDs",
    "purpose": "Get Visible Item Constituents Omit Id And Keep Document IDs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Constituents Omit Id And Keep Document IDs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.GenerationID != jobID {; t.Fatalf(\"generation_id=%q\", item.GenerationID) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.GenerationID != jobID {; t.Fatalf(\"generation_id=%q\", item.GenerationID)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2324,
    "name": "TestProjectDocuments_OmitsNonUUIDIDs",
    "purpose": "Exclude malformed document IDs when projecting document rows",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Exclude malformed document IDs when projecting document rows. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(docs) != 1 {; t.Fatalf(\"docs=%d\", len(docs)); if docs[0].ID != fileDocID { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if len(docs) != 1 {; t.Fatalf(\"docs=%d\", len(docs)); if docs[0].ID != fileDocID {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2337,
    "name": "TestGetVisibleItem_EmilyIsolation",
    "purpose": "Get Visible Item Emily Isolation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Emily Isolation. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2346,
    "name": "TestCreateAndSoftDeleteItem",
    "purpose": "Create And Soft Delete Item",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create And Soft Delete Item. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if created.Title != \"Scratch note\" || created.Mark != \"mine\" {; t.Fatalf(\"created = %+v\", created) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if created.Title != \"Scratch note\" || created.Mark != \"mine\" {; t.Fatalf(\"created = %+v\", created)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2370,
    "name": "TestCreateItem_RejectsFileUpload",
    "purpose": "Create Item Rejects File Upload",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Item Rejects File Upload. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2382,
    "name": "TestDownloadVisibleItem_FileAndNote",
    "purpose": "Download Visible Item File And Note",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Download Visible Item File And Note. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if string(raw) != \"%PDF-bytes\" {; t.Fatalf(\"file bytes = %q\", raw) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if string(raw) != \"%PDF-bytes\" {; t.Fatalf(\"file bytes = %q\", raw)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2409,
    "name": "TestDownloadVisibleItem_RecordsStepInOpen",
    "purpose": "Download Visible Item Records Step In Open",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Download Visible Item Records Step In Open. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if !slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"download did not log the open: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if !slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"download did not log the open: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2422,
    "name": "TestGetVisibleItem_RecordsStepInOpen",
    "purpose": "Get Visible Item Records Step In Open",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Records Step In Open. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.GetVisibleItem(context.Background(), daveSession(t, svc), willItemID); err != nil {; if !slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"read did not log the open: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.GetVisibleItem(context.Background(), daveSession(t, svc), willItemID); err != nil {; if !slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"read did not log the open: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2433,
    "name": "TestListVisibleItems_DoesNotRecordStepInOpen",
    "purpose": "List Visible Items Does Not Record Step In Open",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Visible Items Does Not Record Step In Open. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.ListVisibleItems(context.Background(), daveSession(t, svc)); err != nil {; if slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"list logged an open: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.ListVisibleItems(context.Background(), daveSession(t, svc)); err != nil {; if slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"list logged an open: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2444,
    "name": "TestGetItemExtractStatus_DoesNotRecordOrReturnBody",
    "purpose": "Get Item Extract Status Does Not Record Or Return Body",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Item Extract Status Does Not Record Or Return Body. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"extract status logged an open: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"extract status logged an open: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2464,
    "name": "TestGetItemExtractStatus_HiddenAndMissingAreTheSame",
    "purpose": "Get Item Extract Status Hidden And Missing Are The Same",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Item Extract Status Hidden And Missing Are The Same. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hidden != nil || missing != nil {; t.Fatalf(\"hidden=%v missing=%v\", hidden, missing); t.Fatalf(\"hidden=%v missing=%v\", hiddenErr, missingErr) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hidden != nil || missing != nil {; t.Fatalf(\"hidden=%v missing=%v\", hidden, missing); t.Fatalf(\"hidden=%v missing=%v\", hiddenErr, missingErr)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2481,
    "name": "TestLoadItemScope_DoesNotLogOrReturnBody",
    "purpose": "Load Item Scope Does Not Log Or Return Body",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Load Item Scope Does Not Log Or Return Body. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"scope logged an open: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if slices.Contains(backend.rpcCalls, \"_step_in_log_item_open\") {; t.Fatalf(\"scope logged an open: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2537,
    "name": "TestDownloadVisibleItem_LogFailureDoesNotReturnBytes",
    "purpose": "Download Visible Item Log Failure Does Not Return Bytes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Download Visible Item Log Failure Does Not Return Bytes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || got != nil {; t.Fatalf(\"log failure returned %+v err=%v\", got, err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || got != nil {; t.Fatalf(\"log failure returned %+v err=%v\", got, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2547,
    "name": "TestDownloadVisibleItem_EmilyCannotTakeDeed",
    "purpose": "Download Visible Item Emily Cannot Take Deed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Download Visible Item Emily Cannot Take Deed. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2556,
    "name": "TestSoftDeleteItem_EmilyForbiddenOnSharedWill",
    "purpose": "Soft Delete Item Emily Forbidden On Shared Will",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Soft Delete Item Emily Forbidden On Shared Will. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2565,
    "name": "TestSoftDeleteItem_CancelsExtractJobs",
    "purpose": "Soft Delete Item Cancels Extract Jobs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Soft Delete Item Cancels Extract Jobs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := svc.SoftDeleteItem(context.Background(), daveSession(t, svc), fileItemID); err != nil {; if row[\"status\"] != \"cancelled\" {; t.Errorf(\"job %s status=%s want cancelled\", row[\"id\"], row[\"status\"]) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := svc.SoftDeleteItem(context.Background(), daveSession(t, svc), fileItemID); err != nil {; if row[\"status\"] != \"cancelled\" {; t.Errorf(\"job %s status=%s want cancelled\", row[\"id\"], row[\"status\"])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2725,
    "name": "TestUploadFileItem_CreatesBlobItemAndDocument",
    "purpose": "Upload File Item Creates Blob Item And Document",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Upload File Item Creates Blob Item And Document. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item.MimeType == nil || *item.MimeType != \"application/pdf\" {; t.Fatalf(\"mime = %+v\", item.MimeType) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item.MimeType == nil || *item.MimeType != \"application/pdf\" {; t.Fatalf(\"mime = %+v\", item.MimeType)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2786,
    "name": "TestUploadFileItem_MineOursTheirsCommitOnce",
    "purpose": "Upload File Item Mine Ours Theirs Commit Once",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Upload File Item Mine Ours Theirs Commit Once. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(visibility, func(t *testing.T) {; if err != nil { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=visibility Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(visibility, func(t *testing.T) {; if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2804,
    "name": "TestUploadFileItem_ExplicitSpouseModesAndNoSpouseFailure",
    "purpose": "Upload File Item Explicit Spouse Modes And No Spouse Failure",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Upload File Item Explicit Spouse Modes And No Spouse Failure. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(visibility, func(t *testing.T) {; if err != nil {; if !slices.Contains(backend.rpcCalls, \"create_file_item_upload\") { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=visibility Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(visibility, func(t *testing.T) {; if err != nil {; if !slices.Contains(backend.rpcCalls, \"create_file_item_upload\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2837,
    "name": "TestUploadFileItem_InjectedFailuresRollBackThenRetryOnce",
    "purpose": "Upload File Item Injected Failures Roll Back Then Retry Once",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Upload File Item Injected Failures Roll Back Then Retry Once. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(visibility+\"/\"+fail.name, func(t *testing.T) {; if !errors.As(err, &lifecycle) || !strings.Contains(err.Error(), fail.wantPrefix) {; t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=visibility+\"/\"+fail.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(visibility+\"/\"+fail.name, func(t *testing.T) {; if !errors.As(err, &lifecycle) || !strings.Contains(err.Error(), fail.wantPrefix) {; t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2887,
    "name": "TestUploadFileItem_RejectsUnknownType",
    "purpose": "Upload File Item Rejects Unknown Type",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Upload File Item Rejects Unknown Type. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2900,
    "name": "TestLivingSharesHiddenFromNonOwner",
    "purpose": "Living Shares Hidden From Non Owner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Living Shares Hidden From Non Owner. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item == nil || item.Scope != \"shared\" || !item.SpouseShare {; t.Fatalf(\"owner projection = %+v\", item) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item == nil || item.Scope != \"shared\" || !item.SpouseShare {; t.Fatalf(\"owner projection = %+v\", item)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 2966,
    "name": "TestItemLivingScope",
    "purpose": "Item Living Scope",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Item Living Scope. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if got != tc.want {; t.Fatalf(\"got %q want %q\", got, tc.want) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if got != tc.want {; t.Fatalf(\"got %q want %q\", got, tc.want)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3001,
    "name": "TestSetItemScope_ShareAndRevokeMine",
    "purpose": "Set Item Scope Share And Revoke Mine",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Item Scope Share And Revoke Mine. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if shared.Scope != \"shared\" {; t.Fatalf(\"shared scope = %+v\", shared) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if shared.Scope != \"shared\" {; t.Fatalf(\"shared scope = %+v\", shared)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3042,
    "name": "TestSetItemScope_SpouseOnlyRevokeIsPrivate",
    "purpose": "Set Item Scope Spouse Only Revoke Is Private",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Item Scope Spouse Only Revoke Is Private. The test checks the returned/domain behavior at its boundary. Assertion evidence: if share.ItemID == willItemID {; if err != nil {; if shared.Scope != \"shared\" || !shared.SpouseShare { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if share.ItemID == willItemID {; if err != nil {; if shared.Scope != \"shared\" || !shared.SpouseShare {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3070,
    "name": "TestGetVisibleItem_OverlaysShownName",
    "purpose": "Get Visible Item Overlays Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Visible Item Overlays Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if person.ID == frank {; if found != \"Frank Delgado\" { Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if person.ID == frank {; if found != \"Frank Delgado\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3098,
    "name": "TestChangeItemMode_ExplicitTransitions",
    "purpose": "Change Item Mode Explicit Transitions",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Change Item Mode Explicit Transitions. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if ours.Mark != \"ours\" || ours.Scope != \"shared\" || !ours.IsJoint {; t.Fatalf(\"mine -> ours = %+v\", ours) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if ours.Mark != \"ours\" || ours.Scope != \"shared\" || !ours.IsJoint {; t.Fatalf(\"mine -> ours = %+v\", ours)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3138,
    "name": "TestChangeItemMode_NonOwnerCannotRetakeTheirs",
    "purpose": "Change Item Mode Non Owner Cannot Retake Theirs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Change Item Mode Non Owner Cannot Retake Theirs. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3148,
    "name": "TestSetItemScope_RejectsOursOwnershipChange",
    "purpose": "Set Item Scope Rejects Ours Ownership Change",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Item Scope Rejects Ours Ownership Change. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err); if slices.Contains(backend.rpcCalls, \"stop_share_ours\") {; t.Fatalf(\"scope changed ownership: %v\", backend.rpcCalls) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err); if slices.Contains(backend.rpcCalls, \"stop_share_ours\") {; t.Fatalf(\"scope changed ownership: %v\", backend.rpcCalls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_items_test.go",
    "line": 3161,
    "name": "TestStepInEvidenceOriginIsOwnerOnly",
    "purpose": "Step In Evidence Origin Is Owner Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Evidence Origin Is Owner Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if !owned.IsStepInEvidence || owned.StepInOrigin == nil || owned.StepInOrigin.ClaimantName != \"Casey\" {; t.Fatalf(\"owner origin = %+v flag=%v\", owned.StepInOrigin, owned.IsStepInEvidence) Relevant implementation: server/internal/services/supabase_items.go. Relevant implementation: server/internal/services/supabase_items.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if !owned.IsStepInEvidence || owned.StepInOrigin == nil || owned.StepInOrigin.ClaimantName != \"Casey\" {; t.Fatalf(\"owner origin = %+v flag=%v\", owned.StepInOrigin, owned.IsStepInEvidence)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_journal_scope_test.go",
    "line": 14,
    "name": "TestListJournalEntries_AuthorOnlyFilter",
    "purpose": "List Journal Entries Author Only Filter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Journal Entries Author Only Filter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := supabase.ListJournalEntries(\"user-A\"); err != nil {; t.Fatalf(\"ListJournalEntries: %v\", err); if !strings.Contains(journalURL, \"user_id=eq.user-A\") { Relevant implementation: server/internal/services/supabase_journal.go:26 ListJournalEntries. Relevant implementation: server/internal/services/supabase_journal.go:26 ListJournalEntries.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := supabase.ListJournalEntries(\"user-A\"); err != nil {; t.Fatalf(\"ListJournalEntries: %v\", err); if !strings.Contains(journalURL, \"user_id=eq.user-A\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_journal_scope_test.go",
    "line": 35,
    "name": "TestCreateJournalEntry_InsertsAuthorOnly",
    "purpose": "Create Journal Entry Inserts Author Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Journal Entry Inserts Author Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"CreateJournalEntry: %v\", err); if entry.UserID != \"user-A\" || entry.BodyText != \"hi\" { Relevant implementation: server/internal/services/supabase_journal.go:56 CreateJournalEntry. Relevant implementation: server/internal/services/supabase_journal.go:56 CreateJournalEntry.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"CreateJournalEntry: %v\", err); if entry.UserID != \"user-A\" || entry.BodyText != \"hi\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_journal_scope_test.go",
    "line": 59,
    "name": "TestUpdateJournalEntryText_AuthorScopedWrite",
    "purpose": "Update Journal Entry Text Author Scoped Write",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Update Journal Entry Text Author Scoped Write. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"UpdateJournalEntryText: %v\", err); if got.BodyText != \"edited\" { Relevant implementation: server/internal/services/supabase_journal.go:94 UpdateJournalEntryText. Relevant implementation: server/internal/services/supabase_journal.go:94 UpdateJournalEntryText.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"UpdateJournalEntryText: %v\", err); if got.BodyText != \"edited\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_journal_scope_test.go",
    "line": 89,
    "name": "TestUpdateJournalEntryText_NonAuthorZeroRows",
    "purpose": "Update Journal Entry Text Non Author Zero Rows",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Update Journal Entry Text Non Author Zero Rows. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"a non-author must not edit another member's entry, got %v\", err); if !strings.Contains(patchURL, \"user_id=eq.user-B\") { Relevant implementation: server/internal/services/supabase_journal.go:94 UpdateJournalEntryText, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/supabase_journal.go:94 UpdateJournalEntryText, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"a non-author must not edit another member's entry, got %v\", err); if !strings.Contains(patchURL, \"user_id=eq.user-B\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_journal_scope_test.go",
    "line": 106,
    "name": "TestDeleteJournalEntry_ZeroRowMatchErrors",
    "purpose": "Delete Journal Entry Zero Row Match Errors",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Delete Journal Entry Zero Row Match Errors. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"expected a 0-row error, got %v\", err) Relevant implementation: server/internal/services/supabase_journal.go:142 DeleteJournalEntry, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/supabase_journal.go:142 DeleteJournalEntry, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"expected a 0-row error, got %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_onboarding_test.go",
    "line": 29,
    "name": "TestFinancialCommandsRejectMalformedIDsBeforeRPC",
    "purpose": "Financial Commands Reject Malformed IDs Before RPC",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Financial Commands Reject Malformed IDs Before RPC. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.SaveMemberFinancialAccount(ctx, session, MemberBankAccountInput{RequestID: \"not-a-uuid\"}, \"account.depository\"); err == nil {; t.Fatalf(\"bad item id = %v\", err); if _, err := svc.ReadMemberFinancialAccount(ctx, session, \"not-an-item\", \"account.depository\"); err != ErrItemNotFound { Relevant implementation: server/internal/services/supabase_onboarding.go. Relevant implementation: server/internal/services/supabase_onboarding.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if _, err := svc.SaveMemberFinancialAccount(ctx, session, MemberBankAccountInput{RequestID: \"not-a-uuid\"}, \"account.depository\"); err == nil {; t.Fatalf(\"bad item id = %v\", err); if _, err := svc.ReadMemberFinancialAccount(ctx, session, \"not-an-item\", \"account.depository\"); err != ErrItemNotFound {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 5,
    "name": "TestPeoplePlansTrustPrincipalKeepsExplicitTrustRoles",
    "purpose": "People Plans Trust Principal Keeps Explicit Trust Roles",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Trust Principal Keeps Explicit Trust Roles. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(self.RoleDetails) != 3 {; t.Fatalf(\"trust principal lost explicit roles: %+v\", self.RoleDetails); if !detail.OwnPaper || detail.SummaryKey != \"\" { Relevant implementation: server/internal/services/supabase_people.go:1071 applyDocumentRoles. Relevant implementation: server/internal/services/supabase_people.go:1071 applyDocumentRoles.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(self.RoleDetails) != 3 {; t.Fatalf(\"trust principal lost explicit roles: %+v\", self.RoleDetails); if !detail.OwnPaper || detail.SummaryKey != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 24,
    "name": "TestPeoplePlansPrincipalCannotBecomeTheirOwnAgentOrExecutor",
    "purpose": "People Plans Principal Cannot Become Their Own Agent Or Executor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Principal Cannot Become Their Own Agent Or Executor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if role != \"signer\" {; t.Fatalf(\"principal %s became %s: %+v\", tc.principal, role, person.RoleDetails); if len(person.Categories) != 0 { Relevant implementation: server/internal/services/supabase_people.go:1071 applyDocumentRoles. Relevant implementation: server/internal/services/supabase_people.go:1071 applyDocumentRoles.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if role != \"signer\" {; t.Fatalf(\"principal %s became %s: %+v\", tc.principal, role, person.RoleDetails); if len(person.Categories) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 50,
    "name": "TestPeoplePlansRejectConflictingConstituentEvenWithOneDocument",
    "purpose": "People Plans Reject Conflicting Constituent Even With One Document",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Reject Conflicting Constituent Even With One Document. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_people.go:559 matchingRoleBinding.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 60,
    "name": "TestPeoplePlansOwnPapersAndReverseRole",
    "purpose": "People Plans Own Papers And Reverse Role",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Own Papers And Reverse Role. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(amy.RoleDetails) != 1 || amy.RoleDetails[0].Role != \"executor\" || amy.RoleDetails[0].OwnPaper || amy.RoleDetails[0].SummaryKey != \"\" || amy.RoleDetails[0].PaperSubject != \"M; t.Fatalf(\"Amy's reverse role: %+v\", amy.RoleDetails); if !detail.OwnPaper || detail.SummaryKey != key || detail.PaperSubject != \"Amy Whitfield\" || detail.Source != \"paper\" { Relevant implementation: server/internal/services/supabase_people.go:1075 applyDocumentRolesCounted. Relevant implementation: server/internal/services/supabase_people.go:1075 applyDocumentRolesCounted.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(amy.RoleDetails) != 1 || amy.RoleDetails[0].Role != \"executor\" || amy.RoleDetails[0].OwnPaper || amy.RoleDetails[0].SummaryKey != \"\" || amy.RoleDetails[0].PaperSubject != \"M; t.Fatalf(\"Amy's reverse role: %+v\", amy.RoleDetails); if !detail.OwnPaper || detail.SummaryKey != key || detail.PaperSubject != \"Amy Whitfield\" || detail.Source != \"paper\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 99,
    "name": "TestPeoplePlansAgentsStaySeparate",
    "purpose": "People Plans Agents Stay Separate",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Agents Stay Separate. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.predicate+\"/\"+tc.kind, func(t *testing.T) {; if role != tc.role || documentRoleSummaryKey(role) != tc.summary {; t.Fatalf(\"got role %q summary %q\", role, documentRoleSummaryKey(role)) Relevant implementation: server/internal/services/supabase_people.go:1000 documentRoleSummaryKey. Relevant implementation: server/internal/services/supabase_people.go:1000 documentRoleSummaryKey.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.predicate+\"/\"+tc.kind Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.predicate+\"/\"+tc.kind, func(t *testing.T) {; if role != tc.role || documentRoleSummaryKey(role) != tc.summary {; t.Fatalf(\"got role %q summary %q\", role, documentRoleSummaryKey(role))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 122,
    "name": "TestPeoplePlansSameConstituentAndOwnerOnly",
    "purpose": "People Plans Same Constituent And Owner Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Same Constituent And Owner Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if (len(other.RoleDetails) == 1) != tc.wantRole {; t.Fatalf(\"roles=%+v\", other.RoleDetails) Relevant implementation: server/internal/services/supabase_people.go:1075 applyDocumentRolesCounted. Relevant implementation: server/internal/services/supabase_people.go:1075 applyDocumentRolesCounted.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if (len(other.RoleDetails) == 1) != tc.wantRole {; t.Fatalf(\"roles=%+v\", other.RoleDetails)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_plans_test.go",
    "line": 153,
    "name": "TestPeoplePlansBeneficiaryKeepsEverySupportedPaper",
    "purpose": "People Plans Beneficiary Keeps Every Supported Paper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Plans Beneficiary Keeps Every Supported Paper. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(emily.RoleDetails) != 3 {; t.Fatalf(\"paper links=%+v\", emily.RoleDetails); if role.ItemID == \"\" || role.DocumentID != role.ItemID || role.SummaryKey != \"\" { Relevant implementation: server/internal/services/supabase_people.go:1071 applyDocumentRoles. Relevant implementation: server/internal/services/supabase_people.go:1071 applyDocumentRoles.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(emily.RoleDetails) != 3 {; t.Fatalf(\"paper links=%+v\", emily.RoleDetails); if role.ItemID == \"\" || role.DocumentID != role.ItemID || role.SummaryKey != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 15,
    "name": "TestOwnShownNameUsesShownNameAndNeverLegal",
    "purpose": "Own Shown Name Uses Shown Name And Never Legal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Own Shown Name Uses Shown Name And Never Legal. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Query().Get(\"owner_person_id\") != \"eq.\"+personID || r.URL.Query().Get(\"entity_uid\") != \"eq.person:\"+personID || r.URL.Query().Get(\"entity_type_subtype\") != \"eq.party.perso; t.Errorf(\"entity filter=%v\", r.URL.Query()); case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"): Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.URL.Query().Get(\"owner_person_id\") != \"eq.\"+personID || r.URL.Query().Get(\"entity_uid\") != \"eq.person:\"+personID || r.URL.Query().Get(\"entity_type_subtype\") != \"eq.party.perso; t.Errorf(\"entity filter=%v\", r.URL.Query()); case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 41,
    "name": "TestCaptureHelpers",
    "purpose": "Capture Helpers",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Capture Helpers. The test checks the returned/domain behavior at its boundary. Assertion evidence: if captureProvenance(setupCaptureTitle) != \"You added this during setup\" {; t.Fatalf(\"setup provenance = %q\", captureProvenance(setupCaptureTitle)); if personEntityUID(\"abc\") != \"person:abc\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if captureProvenance(setupCaptureTitle) != \"You added this during setup\" {; t.Fatalf(\"setup provenance = %q\", captureProvenance(setupCaptureTitle)); if personEntityUID(\"abc\") != \"person:abc\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 83,
    "name": "TestOverlayLivingSpouse_BothSidesAndExpireStaysOne",
    "purpose": "Overlay Living Spouse Both Sides And Expire Stays One",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Overlay Living Spouse Both Sides And Expire Stays One. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(fredRoster) != 2 {; t.Fatalf(\"fred after accept = %d, want 2: %+v\", len(fredRoster), fredRoster); if len(helenRoster) != 2 { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(fredRoster) != 2 {; t.Fatalf(\"fred after accept = %d, want 2: %+v\", len(fredRoster), fredRoster); if len(helenRoster) != 2 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 136,
    "name": "TestDedupeViewerSelf_DropsSecondYou",
    "purpose": "Dedupe Viewer Self Drops Second You",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Dedupe Viewer Self Drops Second You. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(out) != 2 {; t.Fatalf(\"got %d rows: %+v\", len(out), out); if out[0].Relationship != \"You\" || out[0].EntityID != \"self-uuid\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(out) != 2 {; t.Fatalf(\"got %d rows: %+v\", len(out), out); if out[0].Relationship != \"You\" || out[0].EntityID != \"self-uuid\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 153,
    "name": "TestRelationshipToViewerUsesEntityIDs",
    "purpose": "Relationship To Viewer Uses Entity IDs",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Relationship To Viewer Uses Entity IDs. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := relationshipToViewer(\"relationship.parent_of\", pair, self, parent); got != \"Your parent\" {; t.Fatalf(\"father via entity ids = %q\", got); if got := relationshipToViewer(\"relationship.parent_of\", pair, self, child); got != \"Your child\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := relationshipToViewer(\"relationship.parent_of\", pair, self, parent); got != \"Your parent\" {; t.Fatalf(\"father via entity ids = %q\", got); if got := relationshipToViewer(\"relationship.parent_of\", pair, self, child); got != \"Your child\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 170,
    "name": "TestAssignViewerRelationshipKeepsYouAndSpouse",
    "purpose": "Assign Viewer Relationship Keeps You And Spouse",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Assign Viewer Relationship Keeps You And Spouse. The test checks the returned/domain behavior at its boundary. Assertion evidence: if you.Relationship != \"You\" {; t.Fatalf(\"You overwritten: %q\", you.Relationship); if spouse.Relationship != \"Your spouse\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if you.Relationship != \"You\" {; t.Fatalf(\"You overwritten: %q\", you.Relationship); if spouse.Relationship != \"Your spouse\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 206,
    "name": "TestParentAndExecutorDisplayIsOrderIndependent",
    "purpose": "Parent And Executor Display Is Order Independent",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Parent And Executor Display Is Order Independent. The test checks the returned/domain behavior at its boundary. Assertion evidence: if person.Relationship != \"Your parent\" {; t.Fatalf(\"order %v relationship=%q want Your parent\", order, person.Relationship); t.Fatalf(\"order %v dropped executor role: %+v\", order, person.Roles) Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if person.Relationship != \"Your parent\" {; t.Fatalf(\"order %v relationship=%q want Your parent\", order, person.Relationship); t.Fatalf(\"order %v dropped executor role: %+v\", order, person.Roles)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 253,
    "name": "TestChosenFamilyBeatsExecutorDisplay",
    "purpose": "Chosen Family Beats Executor Display",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Chosen Family Beats Executor Display. The test checks the returned/domain behavior at its boundary. Assertion evidence: if categoryForRelationship(\"relationship.chosen_family\") != \"family\" {; if categoryForRelationship(\"relationship.in_law_of\") != \"family\" {; if person.Relationship != \"Your chosen family\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if categoryForRelationship(\"relationship.chosen_family\") != \"family\" {; if categoryForRelationship(\"relationship.in_law_of\") != \"family\" {; if person.Relationship != \"Your chosen family\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 305,
    "name": "TestListPeople_RosterNameComesFromTheShownNameHelper",
    "purpose": "List People Roster Name Comes From The Shown Name Helper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Roster Name Comes From The Shown Name Helper. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"):; case strings.Contains(r.URL.Path, \"/rpc/\"): Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 357,
    "name": "TestAccountEmailForEntityUsesThatPerson",
    "purpose": "Account Email For Entity Uses That Person",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Account Email For Entity Uses That Person. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := accountEmailForEntity(\"person:\"+mike, false, \"amy@example.com\", emails, nil); got != \"mike.kit275@example.com\" {; t.Fatalf(\"other person email=%q\", got); if got := accountEmailForEntity(\"person:\"+mike, true, \"amy@example.com\", emails, nil); got != \"amy@example.com\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := accountEmailForEntity(\"person:\"+mike, false, \"amy@example.com\", emails, nil); got != \"mike.kit275@example.com\" {; t.Fatalf(\"other person email=%q\", got); if got := accountEmailForEntity(\"person:\"+mike, true, \"amy@example.com\", emails, nil); got != \"amy@example.com\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 380,
    "name": "TestDocumentRolePredicateAllowlistMatchesMap",
    "purpose": "Document Role Predicate Allowlist Matches Map",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Document Role Predicate Allowlist Matches Map. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(documentRolePredicateKeys) != len(documentRoleByPredicate) {; t.Fatalf(\"allowlist %d map %d\", len(documentRolePredicateKeys), len(documentRoleByPredicate)); t.Fatalf(\"allowlist key %q missing from map\", key) Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(documentRolePredicateKeys) != len(documentRoleByPredicate) {; t.Fatalf(\"allowlist %d map %d\", len(documentRolePredicateKeys), len(documentRoleByPredicate)); t.Fatalf(\"allowlist key %q missing from map\", key)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 401,
    "name": "TestDocumentRoleForCanonicalKeys",
    "purpose": "Document Role For Canonical Keys",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Document Role For Canonical Keys. The test checks the returned/domain behavior at its boundary. Assertion evidence: if role != tc.role || category != tc.category {; t.Fatalf(\"documentRoleFor(%q,%q)=(%q,%q) want (%q,%q)\", Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if role != tc.role || category != tc.category {; t.Fatalf(\"documentRoleFor(%q,%q)=(%q,%q) want (%q,%q)\",",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 475,
    "name": "TestApplyDocumentRolesDedupesAndSkipsHiddenSelfTestator",
    "purpose": "Apply Document Roles Dedupes And Skips Hidden Self Testator",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Document Roles Dedupes And Skips Hidden Self Testator. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(executor.Roles) != 1 || executor.Roles[0] != \"executor\" {; t.Fatalf(\"executor roles = %+v\", executor.Roles); if len(self.Categories) != 0 || len(self.Roles) != 0 { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(executor.Roles) != 1 || executor.Roles[0] != \"executor\" {; t.Fatalf(\"executor roles = %+v\", executor.Roles); if len(self.Categories) != 0 || len(self.Roles) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 508,
    "name": "TestApplyDocumentRolesCrossOwnerEvidenceMustNotProject",
    "purpose": "Apply Document Roles Cross Owner Evidence Must Not Project",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Document Roles Cross Owner Evidence Must Not Project. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(viewer.Categories) != 0 || len(viewer.Roles) != 0 {; t.Fatalf(\"other owner's subject_entity_id projected onto viewer person: categories=%v roles=%v\",; if len(viewer2.Roles) != 1 || viewer2.Roles[0] != \"executor\" || viewer2.Categories[0] != \"plans\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(viewer.Categories) != 0 || len(viewer.Roles) != 0 {; t.Fatalf(\"other owner's subject_entity_id projected onto viewer person: categories=%v roles=%v\",; if len(viewer2.Roles) != 1 || viewer2.Roles[0] != \"executor\" || viewer2.Categories[0] != \"plans\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 565,
    "name": "TestApplyDocumentRolesUnboundSubjectKeyFallback",
    "purpose": "Apply Document Roles Unbound Subject Key Fallback",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Document Roles Unbound Subject Key Fallback. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(unbound.Roles) != 1 || unbound.Roles[0] != \"executor\" {; t.Fatalf(\"null subject_entity_id should fall back to subject key: roles=%v\", unbound.Roles); if len(wrongSubject.Roles) != 0 { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(unbound.Roles) != 1 || unbound.Roles[0] != \"executor\" {; t.Fatalf(\"null subject_entity_id should fall back to subject key: roles=%v\", unbound.Roles); if len(wrongSubject.Roles) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 591,
    "name": "TestApplyDocumentRolesWrongSubjectDoesNotProject",
    "purpose": "Apply Document Roles Wrong Subject Does Not Project",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Document Roles Wrong Subject Does Not Project. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(person.Categories) != 0 || len(person.Roles) != 0 {; t.Fatalf(\"%s subject projected executor: cat=%v roles=%v\",; if len(boundWrongSlot.Categories) != 0 || len(boundWrongSlot.Roles) != 0 { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(person.Categories) != 0 || len(person.Roles) != 0 {; t.Fatalf(\"%s subject projected executor: cat=%v roles=%v\",; if len(boundWrongSlot.Categories) != 0 || len(boundWrongSlot.Roles) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 663,
    "name": "TestApplyDocumentRolesMixedDocumentIsolation",
    "purpose": "Apply Document Roles Mixed Document Isolation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Document Roles Mixed Document Isolation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(person.Roles) != 1 || person.Roles[0] != \"executor\" {; t.Fatalf(\"will 1 executor should keep role: %+v\", person.Roles); if len(other.Roles) != 0 { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(person.Roles) != 1 || person.Roles[0] != \"executor\" {; t.Fatalf(\"will 1 executor should keep role: %+v\", person.Roles); if len(other.Roles) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 698,
    "name": "TestListDocumentRoleEvidenceChunksAndFiltersOwner",
    "purpose": "List Document Role Evidence Chunks And Filters Owner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Document Role Evidence Chunks And Filters Owner. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(rows) != 0 {; t.Fatalf(\"rows=%d\", len(rows)) Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(rows) != 0 {; t.Fatalf(\"rows=%d\", len(rows))",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 755,
    "name": "TestPeopleRosterSendsAwaitingSpouseInvite",
    "purpose": "People Roster Sends Awaiting Spouse Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: People Roster Sends Awaiting Spouse Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Path != \"/rest/v1/rpc/get_own_steps_in\" {; t.Errorf(\"unexpected path %s\", r.URL.Path); w.WriteHeader(http.StatusNotFound) Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.URL.Path != \"/rest/v1/rpc/get_own_steps_in\" {; t.Errorf(\"unexpected path %s\", r.URL.Path); w.WriteHeader(http.StatusNotFound)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 811,
    "name": "TestApplyStepsInStatusMarksRespondedDesigneeHasAccount",
    "purpose": "Apply Steps In Status Marks Responded Designee Has Account",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Steps In Status Marks Responded Designee Has Account. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if r.URL.Path != \"/rest/v1/rpc/get_own_steps_in\" {; t.Errorf(\"path %s\", r.URL.Path) Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if r.URL.Path != \"/rest/v1/rpc/get_own_steps_in\" {; t.Errorf(\"path %s\", r.URL.Path)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 876,
    "name": "TestTestatorIsSignerNotExecutor",
    "purpose": "Testator Is Signer Not Executor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Testator Is Signer Not Executor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(michael.Roles) != 1 || michael.Roles[0] != \"signer\" {; t.Fatalf(\"michael roles=%v want signer only\", michael.Roles); if len(michael.RoleDetails) != 1 || michael.RoleDetails[0].Paper != \"Michael's will\" || michael.RoleDetails[0].DocumentID != doc { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(michael.Roles) != 1 || michael.Roles[0] != \"signer\" {; t.Fatalf(\"michael roles=%v want signer only\", michael.Roles); if len(michael.RoleDetails) != 1 || michael.RoleDetails[0].Paper != \"Michael's will\" || michael.RoleDetails[0].DocumentID != doc {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 912,
    "name": "TestUniquePaperCountKeepsPacketDocuments",
    "purpose": "Unique Paper Count Keeps Packet Documents",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Unique Paper Count Keeps Packet Documents. The test checks the returned/domain behavior at its boundary. Assertion evidence: if count != 3 || capture != \"You added this.\" || shown != \"Family papers\" {; t.Fatalf(\"count=%d capture=%q shown=%q\", count, capture, shown); if collapsed == count { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if count != 3 || capture != \"You added this.\" || shown != \"Family papers\" {; t.Fatalf(\"count=%d capture=%q shown=%q\", count, capture, shown); if collapsed == count {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 942,
    "name": "TestListPeople_OnlyReads",
    "purpose": "List People Only Reads",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Only Reads. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\") {; if err != nil {; if roster == nil || len(roster.People) != 0 { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\") {; if err != nil {; if roster == nil || len(roster.People) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 977,
    "name": "TestSpouseLinkPage_OmitsPrivateFacts",
    "purpose": "Spouse Link Page Omits Private Facts",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Link Page Omits Private Facts. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\") {; if r.Method != http.MethodGet {; t.Errorf(\"spouse page wrote with %s %s\", r.Method, r.URL.Path) Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\") {; if r.Method != http.MethodGet {; t.Errorf(\"spouse page wrote with %s %s\", r.Method, r.URL.Path)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1027,
    "name": "TestSpouseLinkPage_NullShownNameIsSomeoneLikeTheRoster",
    "purpose": "Spouse Link Page Null Shown Name Is Someone Like The Roster",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Link Page Null Shown Name Is Someone Like The Roster. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/\"): Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1085,
    "name": "TestListPeople_ShownNamesAreOneCall",
    "purpose": "List People Shown Names Are One Call",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Shown Names Are One Call. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; t.Errorf(\"roster called the per-person helper\") Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; t.Errorf(\"roster called the per-person helper\")",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1138,
    "name": "TestSavePersonName_SendsPartsAndRefusesStale",
    "purpose": "Save Person Name Sends Parts And Refuses Stale",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Save Person Name Sends Parts And Refuses Stale. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"save_person_name\") {; t.Errorf(\"path %s\", r.URL.Path); if payload[\"p_expected_revision\"] == float64(0) { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"save_person_name\") {; t.Errorf(\"path %s\", r.URL.Path); if payload[\"p_expected_revision\"] == float64(0) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1180,
    "name": "TestListPeople_SpouseCopyIsOneAmy",
    "purpose": "List People Spouse Copy Is One Amy",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Spouse Copy Is One Amy. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"): Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=3; case names=\"person uid merges\", \"other uid appends a second row\", \"paper legal does not replace the shown name\" Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1268,
    "name": "TestListPeople_AccountFollowsTheEntityUID",
    "purpose": "List People Account Follows The Entity UID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Account Follows The Entity UID. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/get_own_steps_in\"):; if stepsPerson == \"\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/get_own_steps_in\"):; if stepsPerson == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1379,
    "name": "TestListPeople_StepsInLabelOnANormalRow",
    "purpose": "List People Steps In Label On ANormal Row",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Steps In Label On ANormal Row. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/get_own_steps_in\"):; case strings.Contains(r.URL.Path, \"/rpc/\"): Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/get_own_steps_in\"):; case strings.Contains(r.URL.Path, \"/rpc/\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1438,
    "name": "TestListPeople_LegacySlugNeverResolves",
    "purpose": "List People Legacy Slug Never Resolves",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List People Legacy Slug Never Resolves. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(sc.name+\"/\"+personOrder, func(t *testing.T) {; case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"): Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=sc.name+\"/\"+personOrder Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(sc.name+\"/\"+personOrder, func(t *testing.T) {; case strings.Contains(r.URL.Path, \"/rpc/_g6_people_shown_names\"):; case strings.Contains(r.URL.Path, \"/rpc/resolved_assertions\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1612,
    "name": "TestApplySpouseOverlay_UsesShownName",
    "purpose": "Apply Spouse Overlay Uses Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Spouse Overlay Uses Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if person.DisplayName != \"Amy Whitfield\" || person.FirstName != \"Amy\" || person.LastName != \"Whitfield\" {; t.Fatalf(\"display = %+v\", person); if kept.DisplayName != \"Amy Lynn Whitfield\" { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if person.DisplayName != \"Amy Whitfield\" || person.FirstName != \"Amy\" || person.LastName != \"Whitfield\" {; t.Fatalf(\"display = %+v\", person); if kept.DisplayName != \"Amy Lynn Whitfield\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_people_test.go",
    "line": 1626,
    "name": "TestOverlayLivingSpouse_AppendUsesSomeoneWhenTheLabelIsEmptyOrAHandle",
    "purpose": "Overlay Living Spouse Append Uses Someone When The Label Is Empty Or AHandle",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Overlay Living Spouse Append Uses Someone When The Label Is Empty Or AHandle. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(empty) != 1 || empty[0].DisplayName != peopleReviewDisplayName {; t.Fatalf(\"empty shown name = %+v\", empty); if len(handle) != 1 || handle[0].DisplayName != peopleReviewDisplayName { Relevant implementation: server/internal/services/supabase_people.go. Relevant implementation: server/internal/services/supabase_people.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(empty) != 1 || empty[0].DisplayName != peopleReviewDisplayName {; t.Fatalf(\"empty shown name = %+v\", empty); if len(handle) != 1 || handle[0].DisplayName != peopleReviewDisplayName {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_person_join_test.go",
    "line": 11,
    "name": "TestRemovedPersonBindingKeepsRemovalMetadata",
    "purpose": "Removed Person Binding Keeps Removal Metadata",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Removed Person Binding Keeps Removal Metadata. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Path == \"/rest/v1/entity\" && r.URL.Query().Get(\"id\") == \"eq.\"+shannonEntityID {; if !strings.Contains(\",\"+r.URL.Query().Get(\"select\")+\",\", \",removed_at,\") {; if err != nil { Relevant implementation: server/internal/services/supabase_person_join.go. Relevant implementation: server/internal/services/supabase_person_join.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.URL.Path == \"/rest/v1/entity\" && r.URL.Query().Get(\"id\") == \"eq.\"+shannonEntityID {; if !strings.Contains(\",\"+r.URL.Query().Get(\"select\")+\",\", \",removed_at,\") {; if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_proposed_test.go",
    "line": 13,
    "name": "TestListProposedPromotionsPendingQuery",
    "purpose": "List Proposed Promotions Pending Query",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Proposed Promotions Pending Query. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method != http.MethodGet || !strings.HasPrefix(r.URL.Path, \"/rest/v1/proposed_promotion\") {; t.Errorf(\"unexpected %s %s\", r.Method, r.URL.Path); if err != nil { Relevant implementation: server/internal/services/supabase_proposed.go. Relevant implementation: server/internal/services/supabase_proposed.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if r.Method != http.MethodGet || !strings.HasPrefix(r.URL.Path, \"/rest/v1/proposed_promotion\") {; t.Errorf(\"unexpected %s %s\", r.Method, r.URL.Path); if err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_proposed_test.go",
    "line": 37,
    "name": "TestListProposedPromotionsAllSkipsStatusFilter",
    "purpose": "List Proposed Promotions All Skips Status Filter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Proposed Promotions All Skips Status Filter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := sb.ListProposedPromotions(context.Background(), \"all\"); err != nil {; if strings.Contains(gotPath, \"status=\") {; t.Fatalf(\"status leaked on all: %s\", gotPath) Relevant implementation: server/internal/services/supabase_proposed.go. Relevant implementation: server/internal/services/supabase_proposed.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := sb.ListProposedPromotions(context.Background(), \"all\"); err != nil {; if strings.Contains(gotPath, \"status=\") {; t.Fatalf(\"status leaked on all: %s\", gotPath)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_proposed_test.go",
    "line": 54,
    "name": "TestPromoteMergeDiscardRPCPaths",
    "purpose": "Promote Merge Discard RPCPaths",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Promote Merge Discard RPCPaths. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusNoContent); if err := sb.PromoteProposedTerm(ctx, id); err != nil {; if err := sb.MergeProposedTerm(ctx, id, \"legal_full_name\", \"party.person\"); err != nil { Relevant implementation: server/internal/services/supabase_proposed.go. Relevant implementation: server/internal/services/supabase_proposed.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusNoContent); if err := sb.PromoteProposedTerm(ctx, id); err != nil {; if err := sb.MergeProposedTerm(ctx, id, \"legal_full_name\", \"party.person\"); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_proposed_test.go",
    "line": 97,
    "name": "TestMergeProposedTermRequiresTarget",
    "purpose": "Merge Proposed Term Requires Target",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Merge Proposed Term Requires Target. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := sb.MergeProposedTerm(context.Background(), \"id\", \"\", \"\"); err == nil { Relevant implementation: server/internal/services/supabase_proposed.go. Relevant implementation: server/internal/services/supabase_proposed.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := sb.MergeProposedTerm(context.Background(), \"id\", \"\", \"\"); err == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_reclassify_test.go",
    "line": 10,
    "name": "TestIsValidDocumentType_Found",
    "purpose": "Is Valid Document Type Found",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Is Valid Document Type Found. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"IsValidDocumentType: %v\", err); if !strings.Contains(gotURL, \"document_type=eq.will_trust\") { Relevant implementation: server/internal/services/supabase.go:2055 IsValidDocumentType. Relevant implementation: server/internal/services/supabase.go:2055 IsValidDocumentType.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"IsValidDocumentType: %v\", err); if !strings.Contains(gotURL, \"document_type=eq.will_trust\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_reclassify_test.go",
    "line": 31,
    "name": "TestIsValidDocumentType_Unknown",
    "purpose": "Is Valid Document Type Unknown",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Is Valid Document Type Unknown. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"IsValidDocumentType: %v\", err) Relevant implementation: server/internal/services/supabase.go:2055 IsValidDocumentType. Relevant implementation: server/internal/services/supabase.go:2055 IsValidDocumentType.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"IsValidDocumentType: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_reclassify_test.go",
    "line": 47,
    "name": "TestUpdateFileDocumentType_PatchesAndRequiresRepresentation",
    "purpose": "Update File Document Type Patches And Requires Representation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Update File Document Type Patches And Requires Representation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := supabase.UpdateFileDocumentType(\"file-1\", \"will_trust\"); err != nil {; t.Fatalf(\"UpdateFileDocumentType: %v\", err); if method != http.MethodPatch { Relevant implementation: server/internal/services/supabase.go:2101 UpdateFileDocumentType. Relevant implementation: server/internal/services/supabase.go:2101 UpdateFileDocumentType.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := supabase.UpdateFileDocumentType(\"file-1\", \"will_trust\"); err != nil {; t.Fatalf(\"UpdateFileDocumentType: %v\", err); if method != http.MethodPatch {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_reclassify_test.go",
    "line": 77,
    "name": "TestUpdateFileDocumentType_ZeroRowsIsError",
    "purpose": "Update File Document Type Zero Rows Is Error",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Update File Document Type Zero Rows Is Error. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil { Relevant implementation: server/internal/services/supabase.go:2101 UpdateFileDocumentType. Relevant implementation: server/internal/services/supabase.go:2101 UpdateFileDocumentType.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_reclassify_test.go",
    "line": 90,
    "name": "TestClearExtractionHistoryForSchemas_DeletesByFileAndSchemas",
    "purpose": "Clear Extraction History For Schemas Deletes By File And Schemas",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Clear Extraction History For Schemas Deletes By File And Schemas. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusNoContent); if err := supabase.ClearExtractionHistoryForSchemas(\"file-1\", []string{\"legal_authority\", \"generic_inventory\"}); err != nil {; t.Fatalf(\"ClearExtractionHistoryForSchemas: %v\", err) Relevant implementation: server/internal/services/supabase.go:2153 ClearExtractionHistoryForSchemas. Relevant implementation: server/internal/services/supabase.go:2153 ClearExtractionHistoryForSchemas.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusNoContent); if err := supabase.ClearExtractionHistoryForSchemas(\"file-1\", []string{\"legal_authority\", \"generic_inventory\"}); err != nil {; t.Fatalf(\"ClearExtractionHistoryForSchemas: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_reclassify_test.go",
    "line": 116,
    "name": "TestClearExtractionHistoryForSchemas_EmptyNoOp",
    "purpose": "Clear Extraction History For Schemas Empty No Op",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Clear Extraction History For Schemas Empty No Op. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusNoContent); if err := supabase.ClearExtractionHistoryForSchemas(\"file-1\", nil); err != nil {; t.Fatalf(\"unexpected error: %v\", err) Relevant implementation: server/internal/services/supabase.go:2153 ClearExtractionHistoryForSchemas. Relevant implementation: server/internal/services/supabase.go:2153 ClearExtractionHistoryForSchemas.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusNoContent); if err := supabase.ClearExtractionHistoryForSchemas(\"file-1\", nil); err != nil {; t.Fatalf(\"unexpected error: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_packet_test.go",
    "line": 14,
    "name": "TestGetRecordsHubPacketPersonLabels",
    "purpose": "Get Records Hub Packet Person Labels",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Records Hub Packet Person Labels. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got := quietRecordName(WorthALookFinding{Href: \"/items/\" + fileItemID}, hub); got != \"This record\" {; t.Fatalf(\"ambiguous packet received one constituent's title: %q\", got) Relevant implementation: server/internal/services/supabase_records_hub.go:984 GetRecordsHub, server/internal/services/worth_a_look_decision.go:335 quietRecordName. Relevant implementation: server/internal/services/supabase_records_hub.go:984 GetRecordsHub, server/internal/services/worth_a_look_decision.go:335 quietRecordName.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got := quietRecordName(WorthALookFinding{Href: \"/items/\" + fileItemID}, hub); got != \"This record\" {; t.Fatalf(\"ambiguous packet received one constituent's title: %q\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_packet_test.go",
    "line": 143,
    "name": "TestHubLegalSourceSubtitle",
    "purpose": "Hub Legal Source Subtitle",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Legal Source Subtitle. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if got := hubLegalSourceSubtitle(Item{}, tc.doc, \"\"); got != tc.want {; t.Fatalf(\"got %q want %q\", got, tc.want) Relevant implementation: server/internal/services/supabase_records_hub.go:379 hubLegalSourceSubtitle. Relevant implementation: server/internal/services/supabase_records_hub.go:379 hubLegalSourceSubtitle.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if got := hubLegalSourceSubtitle(Item{}, tc.doc, \"\"); got != tc.want {; t.Fatalf(\"got %q want %q\", got, tc.want)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 14,
    "name": "TestHubCategoryFromClass_UsesOntoParentGroups",
    "purpose": "Hub Category From Class Uses Onto Parent Groups",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Category From Class Uses Onto Parent Groups. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := hubCategoryFromClass(classKey, classes); got != want {; t.Fatalf(\"hubCategoryFromClass(%q) = %q, want %q\", classKey, got, want) Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := hubCategoryFromClass(classKey, classes); got != want {; t.Fatalf(\"hubCategoryFromClass(%q) = %q, want %q\", classKey, got, want)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 48,
    "name": "TestHubHoldingClassFromFacts_LivingWillIsInstrument",
    "purpose": "Hub Holding Class From Facts Living Will Is Instrument",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Holding Class From Facts Living Will Is Instrument. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != \"instrument.advance_directive\" {; t.Fatalf(\"holding class = %q, want instrument.advance_directive\", got); if hubCategoryFromClass(got, classes) != \"legal\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != \"instrument.advance_directive\" {; t.Fatalf(\"holding class = %q, want instrument.advance_directive\", got); if hubCategoryFromClass(got, classes) != \"legal\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 72,
    "name": "TestHubCategoryFromClass_ProposedAndUnknownDoNotCreateSection",
    "purpose": "Hub Category From Class Proposed And Unknown Do Not Create Section",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Category From Class Proposed And Unknown Do Not Create Section. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := hubCategoryFromClass(\"asset.crypto\", classes); got != \"\" {; t.Fatalf(\"proposed class grouped as %q\", got); if got := hubCategoryFromClass(\"asset\", classes); got != \"\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := hubCategoryFromClass(\"asset.crypto\", classes); got != \"\" {; t.Fatalf(\"proposed class grouped as %q\", got); if got := hubCategoryFromClass(\"asset\", classes); got != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 99,
    "name": "TestHubHoldingClassFromFacts_CountsOnlyCoreProductDomains",
    "purpose": "Hub Holding Class From Facts Counts Only Core Product Domains",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Holding Class From Facts Counts Only Core Product Domains. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != \"instrument.will\" {; t.Fatalf(\"unbound will holding = %q, want instrument.will\", got); if hubCategoryFromClass(got, classes) != \"legal\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != \"instrument.will\" {; t.Fatalf(\"unbound will holding = %q, want instrument.will\", got); if hubCategoryFromClass(got, classes) != \"legal\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 148,
    "name": "TestHubHoldingClassFromFacts_AdvanceDirectiveExistsIsLegal",
    "purpose": "Hub Holding Class From Facts Advance Directive Exists Is Legal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Holding Class From Facts Advance Directive Exists Is Legal. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != \"\" {; t.Fatalf(\"person-only living will grouped as %q\", got); if got != \"instrument.advance_directive\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != \"\" {; t.Fatalf(\"person-only living will grouped as %q\", got); if got != \"instrument.advance_directive\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 183,
    "name": "TestHubHoldingClassFromFacts_DurablePOAExistsIsLegal",
    "purpose": "Hub Holding Class From Facts Durable POAExists Is Legal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Holding Class From Facts Durable POAExists Is Legal. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != \"\" {; t.Fatalf(\"agent-only durable_poa grouped as %q\", got); if got != \"instrument.poa_financial\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != \"\" {; t.Fatalf(\"agent-only durable_poa grouped as %q\", got); if got != \"instrument.poa_financial\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 218,
    "name": "TestHubHoldingClassFromFacts_DeterministicTieBreak",
    "purpose": "Hub Holding Class From Facts Deterministic Tie Break",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Holding Class From Facts Deterministic Tie Break. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got != \"account.depository\" {; t.Fatalf(\"tie-break holding = %q, want account.depository (accounts < insurance < legal)\", got); if hubCategoryFromClass(got, classes) != \"accounts\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got != \"account.depository\" {; t.Fatalf(\"tie-break holding = %q, want account.depository (accounts < insurance < legal)\", got); if hubCategoryFromClass(got, classes) != \"accounts\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 247,
    "name": "TestHubNamed_UsesDocumentRoleProjection",
    "purpose": "Hub Named Uses Document Role Projection",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Named Uses Document Role Projection. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(named) != 1 || named[0] != \"Robert Whitfield \u00b7 executor\" {; t.Fatalf(\"will named = %v, want [Robert Whitfield \u00b7 executor]\", named); if len(proposedOnly) != 1 || proposedOnly[0] != \"You alone\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(named) != 1 || named[0] != \"Robert Whitfield \u00b7 executor\" {; t.Fatalf(\"will named = %v, want [Robert Whitfield \u00b7 executor]\", named); if len(proposedOnly) != 1 || proposedOnly[0] != \"You alone\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 288,
    "name": "TestHubSplitsMoneyFactsByAccountSubject",
    "purpose": "Hub Splits Money Facts By Account Subject",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Splits Money Facts By Account Subject. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 2 || got[0] != \"acct\" || got[1] != \"acct_1\" {; t.Fatalf(\"subjects=%v\", got); if checking != \"Vantage West \u2022\u20221111\" || savings != \"Vantage West \u2022\u20222222\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 2 || got[0] != \"acct\" || got[1] != \"acct_1\" {; t.Fatalf(\"subjects=%v\", got); if checking != \"Vantage West \u2022\u20221111\" || savings != \"Vantage West \u2022\u20222222\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 308,
    "name": "TestHubSplitsMoneyFactsByCardSubject",
    "purpose": "Hub Splits Money Facts By Card Subject",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Splits Money Facts By Card Subject. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 2 || got[0] != \"acct\" || got[1] != \"liab\" {; t.Fatalf(\"subjects=%v\", got); if checking != \"Vantage West \u2022\u20221111\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 2 || got[0] != \"acct\" || got[1] != \"liab\" {; t.Fatalf(\"subjects=%v\", got); if checking != \"Vantage West \u2022\u20221111\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 331,
    "name": "TestHubMoneySubjectBound",
    "purpose": "Hub Money Subject Bound",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Money Subject Bound. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hubMoneySubjectEntityID(bound, \"acct\") != \"ent-checking\" {; if hubMoneySubjectEntityID(bound, \"\") != \"ent-checking\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hubMoneySubjectEntityID(bound, \"acct\") != \"ent-checking\" {; if hubMoneySubjectEntityID(bound, \"\") != \"ent-checking\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 352,
    "name": "TestHubSoleOrdinalBindingIsSettled",
    "purpose": "Hub Sole Ordinal Binding Is Settled",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Sole Ordinal Binding Is Settled. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(slices) != 1 || len(subjects) != 1 || subjects[0] != \"acct_1\" {; t.Fatalf(\"slices=%d subjects=%v\", len(slices), subjects) Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(slices) != 1 || len(subjects) != 1 || subjects[0] != \"acct_1\" {; t.Fatalf(\"slices=%d subjects=%v\", len(slices), subjects)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 368,
    "name": "TestHubFromStatementCopy",
    "purpose": "Hub From Statement Copy",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub From Statement Copy. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := hubFromStatementCopy(\"\"); got != \"From this statement\" {; t.Fatalf(\"empty = %q\", got); if got := hubFromStatementCopy(\"Vantage West \u00b7 \u2022\u20221111 \u00b7 $12.00\"); got != \"From this statement\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if got := hubFromStatementCopy(\"\"); got != \"From this statement\" {; t.Fatalf(\"empty = %q\", got); if got := hubFromStatementCopy(\"Vantage West \u00b7 \u2022\u20221111 \u00b7 $12.00\"); got != \"From this statement\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 382,
    "name": "TestHubDisplayTitle_MoneyYieldsGenericTitleToHolding",
    "purpose": "Hub Display Title Money Yields Generic Title To Holding",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Display Title Money Yields Generic Title To Holding. The test checks the returned/domain behavior at its boundary. Assertion evidence: if title != \"Vantage West \u2022\u20221234\" || subtitle != \"\" {; t.Fatalf(\"generic money = %q / %q\", title, subtitle); if title != \"VyStar checking\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if title != \"Vantage West \u2022\u20221234\" || subtitle != \"\" {; t.Fatalf(\"generic money = %q / %q\", title, subtitle); if title != \"VyStar checking\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 408,
    "name": "TestHubMoneyHoldingName_NormalizesAllCapsInstitution",
    "purpose": "Hub Money Holding Name Normalizes All Caps Institution",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Money Holding Name Normalizes All Caps Institution. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := hubMoneyHoldingName(facts); got != \"Vantage West Credit Union checking \u2022\u20221695\" {; t.Fatalf(\"holding name = %q\", got); if got := hubMoneyHoldingName(mixed); got != \"VyStar Credit Union checking \u2022\u20224471\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := hubMoneyHoldingName(facts); got != \"Vantage West Credit Union checking \u2022\u20221695\" {; t.Fatalf(\"holding name = %q\", got); if got := hubMoneyHoldingName(mixed); got != \"VyStar Credit Union checking \u2022\u20224471\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 435,
    "name": "TestHubMoneyHoldingName_ShowsShareSuffixWithoutMask",
    "purpose": "Hub Money Holding Name Shows Share Suffix Without Mask",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Money Holding Name Shows Share Suffix Without Mask. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := hubMoneyHoldingName(facts); got != \"Vantage West shares 00\" {; t.Fatalf(\"holding name = %q\", got); if got := hubSubtitle(\"accounts\", facts); got != \"Vantage West \u00b7 00\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := hubMoneyHoldingName(facts); got != \"Vantage West shares 00\" {; t.Fatalf(\"holding name = %q\", got); if got := hubSubtitle(\"accounts\", facts); got != \"Vantage West \u00b7 00\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 451,
    "name": "TestHubDisplayTitle_LegalPrefersLifeNameOverFilename",
    "purpose": "Hub Display Title Legal Prefers Life Name Over Filename",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Display Title Legal Prefers Life Name Over Filename. The test checks the returned/domain behavior at its boundary. Assertion evidence: if title != \"Living will\" || subtitle != \"W Matlock Living Will 11-19-20\" {; t.Fatalf(\"scanned legal = %q / %q\", title, subtitle); if title != \"Last will and testament\" || subtitle != \"\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if title != \"Living will\" || subtitle != \"W Matlock Living Will 11-19-20\" {; t.Fatalf(\"scanned legal = %q / %q\", title, subtitle); if title != \"Last will and testament\" || subtitle != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 476,
    "name": "TestHubDisplayTitle_BoundLegalYieldsScanToInstrumentName",
    "purpose": "Hub Display Title Bound Legal Yields Scan To Instrument Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Display Title Bound Legal Yields Scan To Instrument Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if title != \"Your will\" || subtitle != \"\" {; t.Fatalf(\"bound scan will = %q / %q\", title, subtitle); if title != \"Last will and testament\" || subtitle != \"\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if title != \"Your will\" || subtitle != \"\" {; t.Fatalf(\"bound scan will = %q / %q\", title, subtitle); if title != \"Last will and testament\" || subtitle != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 508,
    "name": "TestHubLegalDisplayTitle_PersonAware",
    "purpose": "Hub Legal Display Title Person Aware",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Legal Display Title Person Aware. The test checks the returned/domain behavior at its boundary. Assertion evidence: if title != \"Will\" {; t.Fatalf(\"unbound scan will = %q\", title); if title != \"Casey Quinn's will\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if title != \"Will\" {; t.Fatalf(\"unbound scan will = %q\", title); if title != \"Casey Quinn's will\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 529,
    "name": "TestHubLegalDocuments",
    "purpose": "Hub Legal Documents",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Legal Documents. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(docs) != 2 || docs[0].ID != \"d1\" || docs[1].ID != \"d2\" {; t.Fatalf(\"legal docs = %+v\", docs) Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(docs) != 2 || docs[0].ID != \"d1\" || docs[1].ID != \"d2\" {; t.Fatalf(\"legal docs = %+v\", docs)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 542,
    "name": "TestHubInstrumentEntityID",
    "purpose": "Hub Instrument Entity ID",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Hub Instrument Entity ID. The test checks the returned/domain behavior at its boundary. Assertion evidence: if hubInstrumentEntityID(bound, \"\") != \"ent-will\" {; if hubInstrumentEntityID(nil, \"\") != \"\" {; if hubInstrumentEntityID(map[string]string{\"acct\": \"ent-checking\"}, \"\") != \"\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if hubInstrumentEntityID(bound, \"\") != \"ent-will\" {; if hubInstrumentEntityID(nil, \"\") != \"\" {; if hubInstrumentEntityID(map[string]string{\"acct\": \"ent-checking\"}, \"\") != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 570,
    "name": "TestPersonDisplayName_TitleCasesAllCaps",
    "purpose": "Person Display Name Title Cases All Caps",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Display Name Title Cases All Caps. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := personDisplayName(\"SHANNON S. MATLOCK\"); got != \"Shannon S. Matlock\" {; t.Fatalf(\"all-caps = %q\", got); if got := personDisplayName(\"SEAN O'NEIL\"); got != \"Sean O'Neil\" { Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if got := personDisplayName(\"SHANNON S. MATLOCK\"); got != \"Shannon S. Matlock\" {; t.Fatalf(\"all-caps = %q\", got); if got := personDisplayName(\"SEAN O'NEIL\"); got != \"Sean O'Neil\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 587,
    "name": "TestListPublishedOntoClassesAndPropertyDomains_RequestCoreTier",
    "purpose": "List Published Onto Classes And Property Domains Request Core Tier",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Published Onto Classes And Property Domains Request Core Tier. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"onto_version\"):; case strings.Contains(r.URL.Path, \"onto_class\"):; case strings.Contains(r.URL.Path, \"onto_property\"): Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"onto_version\"):; case strings.Contains(r.URL.Path, \"onto_class\"):; case strings.Contains(r.URL.Path, \"onto_property\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 624,
    "name": "TestRecordsHubDTO_EmptyCollectionsEncodeAsArrays",
    "purpose": "Records Hub DTO Empty Collections Encode As Arrays",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Records Hub DTO Empty Collections Encode As Arrays. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if strings.Contains(body, forbidden) {; t.Fatalf(\"records hub encoded a null collection %s: %s\", forbidden, body) Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if strings.Contains(body, forbidden) {; t.Fatalf(\"records hub encoded a null collection %s: %s\", forbidden, body)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_records_hub_test.go",
    "line": 652,
    "name": "TestItemHoldingClassesChunksAndFiltersOwner",
    "purpose": "Item Holding Classes Chunks And Filters Owner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Item Holding Classes Chunks And Filters Owner. The test checks the returned/domain behavior at its boundary. Assertion evidence: case strings.Contains(r.URL.Path, \"onto_version\"):; case strings.Contains(r.URL.Path, \"onto_property\"):; case strings.Contains(r.URL.Path, \"entity_binding\"): Relevant implementation: server/internal/services/supabase_records_hub.go. Relevant implementation: server/internal/services/supabase_records_hub.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "case strings.Contains(r.URL.Path, \"onto_version\"):; case strings.Contains(r.URL.Path, \"onto_property\"):; case strings.Contains(r.URL.Path, \"entity_binding\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_items_test.go",
    "line": 9,
    "name": "TestMatchVisibleItemResults_PacketSectionNotArbitraryTitle",
    "purpose": "Match Visible Item Results Packet Section Not Arbitrary Title",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Match Visible Item Results Packet Section Not Arbitrary Title. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(ellis) != 1 {; t.Fatalf(\"ellis hits=%d %+v\", len(ellis), ellis); if ellis[0].Label != \"Last Will of Ellis Quill\" { Relevant implementation: server/internal/services/supabase_search.go:132 matchVisibleItemResults. Relevant implementation: server/internal/services/supabase_search.go:132 matchVisibleItemResults.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(ellis) != 1 {; t.Fatalf(\"ellis hits=%d %+v\", len(ellis), ellis); if ellis[0].Label != \"Last Will of Ellis Quill\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_scope_test.go",
    "line": 15,
    "name": "TestSearchPeople_IncludesSpouseOnTheRoster",
    "purpose": "Search People Includes Spouse On The Roster",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Search People Includes Spouse On The Roster. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\") {; if err != nil {; if roster != nil { Relevant implementation: server/internal/services/supabase_search.go:33 SearchPeople, server/internal/services/supabase_people.go:1171 ListPeople. Relevant implementation: server/internal/services/supabase_search.go:33 SearchPeople, server/internal/services/supabase_people.go:1171 ListPeople.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\") {; if err != nil {; if roster != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_scope_test.go",
    "line": 74,
    "name": "TestMatchRosterPeople_CapsAtTen",
    "purpose": "Match Roster People Caps At Ten",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Match Roster People Caps At Ten. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(hits) != searchItemCap {; t.Fatalf(\"people cap: got %d, want %d\", len(hits), searchItemCap) Relevant implementation: server/internal/services/supabase_search.go:48 matchRosterPeople. Relevant implementation: server/internal/services/supabase_search.go:48 matchRosterPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(hits) != searchItemCap {; t.Fatalf(\"people cap: got %d, want %d\", len(hits), searchItemCap)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_scope_test.go",
    "line": 85,
    "name": "TestMatchRosterPeople_LabelsSelfAsYou",
    "purpose": "Match Roster People Labels Self As You",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Match Roster People Labels Self As You. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(byName) != 1 || byName[0].ID != \"self\" || byName[0].Label != \"You\" || byName[0].Href != \"/people/self\" {; t.Fatalf(\"self hit: %+v\", byName); if len(byYou) != 1 || byYou[0].ID != \"self\" || byYou[0].Label != \"You\" { Relevant implementation: server/internal/services/supabase_search.go:48 matchRosterPeople. Relevant implementation: server/internal/services/supabase_search.go:48 matchRosterPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(byName) != 1 || byName[0].ID != \"self\" || byName[0].Label != \"You\" || byName[0].Href != \"/people/self\" {; t.Fatalf(\"self hit: %+v\", byName); if len(byYou) != 1 || byYou[0].ID != \"self\" || byYou[0].Label != \"You\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_scope_test.go",
    "line": 100,
    "name": "TestSearchPeople_EmptyQueryHitsNothing",
    "purpose": "Search People Empty Query Hits Nothing",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Search People Empty Query Hits Nothing. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"SearchPeople: %v\", err); if len(res) != 0 { Relevant implementation: server/internal/services/supabase_search.go:33 SearchPeople. Relevant implementation: server/internal/services/supabase_search.go:33 SearchPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"SearchPeople: %v\", err); if len(res) != 0 {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_scope_test.go",
    "line": 125,
    "name": "TestSearchPeople_TheodoraHitsWhenTheShownNameHolds",
    "purpose": "Search People Theodora Hits When The Shown Name Holds",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Search People Theodora Hits When The Shown Name Holds. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(held) != 1 || held[0].ID != \"ent-theo\" || held[0].Label != \"Theodora\" {; t.Fatalf(\"held = %+v\", held); if len(flipped) != 0 { Relevant implementation: server/internal/services/supabase_search.go:48 matchRosterPeople. Relevant implementation: server/internal/services/supabase_search.go:48 matchRosterPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(held) != 1 || held[0].ID != \"ent-theo\" || held[0].Label != \"Theodora\" {; t.Fatalf(\"held = %+v\", held); if len(flipped) != 0 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_search_scope_test.go",
    "line": 142,
    "name": "TestSearchPeople_MatchesShownNameLegalAndPinnedPreferred",
    "purpose": "Search People Matches Shown Name Legal And Pinned Preferred",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Search People Matches Shown Name Legal And Pinned Preferred. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(michael) != 1 || michael[0].ID != \"ent-mike\" {; t.Fatalf(\"Michael James = %+v\", michael); if len(theodora) != 1 || theodora[0].ID != \"ent-theo\" { Relevant implementation: server/internal/services/supabase_search.go:33 SearchPeople. Relevant implementation: server/internal/services/supabase_search.go:33 SearchPeople.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(michael) != 1 || michael[0].ID != \"ent-mike\" {; t.Fatalf(\"Michael James = %+v\", michael); if len(theodora) != 1 || theodora[0].ID != \"ent-theo\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 255,
    "name": "TestGetSessionByAuthUserID_DaveIsDaveWithSpouse",
    "purpose": "Get Session By Auth User ID Dave Is Dave With Spouse",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Dave Is Dave With Spouse. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.Person.ID != davePersonID || got.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", got.Person) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.Person.ID != davePersonID || got.Person.DisplayName != \"Dave\" {; t.Fatalf(\"dave person = %+v\", got.Person)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 279,
    "name": "TestSessionSpouseNameIsTheShownNameOnly",
    "purpose": "Session Spouse Name Is The Shown Name Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Spouse Name Is The Shown Name Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.ActiveSpouse == nil || got.ActiveSpouse.DisplayName != \"Shannon Whitfield\" {; t.Fatalf(\"spouse = %+v\", got.ActiveSpouse) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.ActiveSpouse == nil || got.ActiveSpouse.DisplayName != \"Shannon Whitfield\" {; t.Fatalf(\"spouse = %+v\", got.ActiveSpouse)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 296,
    "name": "TestSessionSpouseNameReplacesTheLoginName",
    "purpose": "Session Spouse Name Replaces The Login Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Spouse Name Replaces The Login Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.ActiveSpouse == nil || got.ActiveSpouse.DisplayName != \"Michael Whitfield\" {; t.Fatalf(\"spouse = %+v\", got.ActiveSpouse) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.ActiveSpouse == nil || got.ActiveSpouse.DisplayName != \"Michael Whitfield\" {; t.Fatalf(\"spouse = %+v\", got.ActiveSpouse)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 313,
    "name": "TestSessionSpouseNameRPCErrorLoadsSomeone",
    "purpose": "Session Spouse Name RPCError Loads Someone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Spouse Name RPCError Loads Someone. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.spouseShownStatus = http.StatusBadGateway; if err != nil {; if got.ActiveSpouse == nil || got.ActiveSpouse.ID != shannonID { Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "backend.spouseShownStatus = http.StatusBadGateway; if err != nil {; if got.ActiveSpouse == nil || got.ActiveSpouse.ID != shannonID {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 341,
    "name": "TestSessionReadSkipsOwnNameRPCs",
    "purpose": "Skip own-name lookups when assembling a session",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Skip own-name lookups when assembling a session. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if err != nil {; if backend.ownNameRPCs != 0 || backend.ownEntityReads != 0 {; t.Fatalf(\"session read called own-name RPCs %d times and entity reads %d times\", backend.ownNameRPCs, backend.ownEntityReads) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if backend.ownNameRPCs != 0 || backend.ownEntityReads != 0 {; t.Fatalf(\"session read called own-name RPCs %d times and entity reads %d times\", backend.ownNameRPCs, backend.ownEntityReads)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 356,
    "name": "TestSessionInviterNameRPCErrorIsSomeone",
    "purpose": "Session Inviter Name RPCError Is Someone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Inviter Name RPCError Is Someone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(got.IncomingInvites) != 1 || got.IncomingInvites[0].InviterName != \"Someone\" {; t.Fatalf(\"invites = %+v\", got.IncomingInvites) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if len(got.IncomingInvites) != 1 || got.IncomingInvites[0].InviterName != \"Someone\" {; t.Fatalf(\"invites = %+v\", got.IncomingInvites)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 388,
    "name": "TestProjectItemSpouseOwnerUsesTheSessionShownName",
    "purpose": "Project Item Spouse Owner Uses The Session Shown Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Project Item Spouse Owner Uses The Session Shown Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if theirs.Mark != \"theirs\" || theirs.Owner.DisplayName != \"Michael Whitfield\" {; t.Fatalf(\"theirs = %+v\", theirs); if got := theirs.Owner.DisplayName + \"\u2019s\"; got != \"Michael Whitfield\u2019s\" { Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if theirs.Mark != \"theirs\" || theirs.Owner.DisplayName != \"Michael Whitfield\" {; t.Fatalf(\"theirs = %+v\", theirs); if got := theirs.Owner.DisplayName + \"\u2019s\"; got != \"Michael Whitfield\u2019s\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 423,
    "name": "TestGetSessionByAuthUserID_IsAdminTrue",
    "purpose": "Get Session By Auth User ID Is Admin True",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Is Admin True. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil { Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 435,
    "name": "TestGetSessionByAuthUserID_IsAdminFalseWhenProfileMissing",
    "purpose": "Get Session By Auth User ID Is Admin False When Profile Missing",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Is Admin False When Profile Missing. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil { Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 447,
    "name": "TestGetSessionByAuthUserID_IsAdminFalseWhenProfileReadFails",
    "purpose": "Get Session By Auth User ID Is Admin False When Profile Read Fails",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Is Admin False When Profile Read Fails. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.profileStatus = http.StatusInternalServerError; if err != nil { Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "backend.profileStatus = http.StatusInternalServerError; if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 459,
    "name": "TestGetSessionByAuthUserID_LinkedSpouseWithoutActiveFullAccountIsIneligible",
    "purpose": "Get Session By Auth User ID Linked Spouse Without Active Full Account Is Ineligible",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Linked Spouse Without Active Full Account Is Ineligible. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.ActiveSpouse != nil {; t.Fatalf(\"ineligible spouse exposed: %+v\", got.ActiveSpouse) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.ActiveSpouse != nil {; t.Fatalf(\"ineligible spouse exposed: %+v\", got.ActiveSpouse)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 471,
    "name": "TestGetSessionByAuthUserID_EmilyCannotBecomeDave",
    "purpose": "Get Session By Auth User ID Emily Cannot Become Dave",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Emily Cannot Become Dave. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.Person.ID != emilyPersonID || got.Person.DisplayName != \"Emily\" {; t.Fatalf(\"emily person = %+v\", got.Person) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.Person.ID != emilyPersonID || got.Person.DisplayName != \"Emily\" {; t.Fatalf(\"emily person = %+v\", got.Person)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 488,
    "name": "TestGetSessionByAuthUserID_PendingInviteForInviter",
    "purpose": "Get Session By Auth User ID Pending Invite For Inviter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Pending Invite For Inviter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.ActiveSpouse != nil {; t.Fatalf(\"active_spouse must stay null until spouse_link: %+v\", got.ActiveSpouse) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.ActiveSpouse != nil {; t.Fatalf(\"active_spouse must stay null until spouse_link: %+v\", got.ActiveSpouse)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 513,
    "name": "TestGetSessionByAuthUserID_AuthIdentityFailureOmitsIncomingInvites",
    "purpose": "Omit incoming invites when the authenticated identity lookup fails",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Omit incoming invites when the authenticated identity lookup fails. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.authIdentityStatus = http.StatusBadGateway; if err != nil {; if got.Person.ID != emilyPersonID || got.Account.ID != emilyAcctID { Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "backend.authIdentityStatus = http.StatusBadGateway; if err != nil {; if got.Person.ID != emilyPersonID || got.Account.ID != emilyAcctID {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 536,
    "name": "TestGetSessionByAuthUserID_PendingInviteForInviteeByEmail",
    "purpose": "Get Session By Auth User ID Pending Invite For Invitee By Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Pending Invite For Invitee By Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.ActiveSpouse != nil {; t.Fatalf(\"invitee active_spouse = %+v\", got.ActiveSpouse) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got.ActiveSpouse != nil {; t.Fatalf(\"invitee active_spouse = %+v\", got.ActiveSpouse)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 558,
    "name": "TestGetSessionByAuthUserID_SelectsPendingOutgoingAndOmitsExpiredIncoming",
    "purpose": "Get Session By Auth User ID Selects Pending Outgoing And Omits Expired Incoming",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Selects Pending Outgoing And Omits Expired Incoming. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got.OutgoingInvite == nil || got.OutgoingInvite.InviteID != \"out-pending-old\" {; t.Fatalf(\"effective outgoing invite=%+v\", got.OutgoingInvite) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if got.OutgoingInvite == nil || got.OutgoingInvite.InviteID != \"out-pending-old\" {; t.Fatalf(\"effective outgoing invite=%+v\", got.OutgoingInvite)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 579,
    "name": "TestPersonRowNullDisplayName",
    "purpose": "Person Row Null Display Name",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Person Row Null Display Name. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := json.Unmarshal(payload, &session); err != nil {; if session.ID != \"p\" || session.DisplayName != \"\" || session.Email != nil || session.Phone != nil {; t.Fatalf(\"session row = %+v\", session) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := json.Unmarshal(payload, &session); err != nil {; if session.ID != \"p\" || session.DisplayName != \"\" || session.Email != nil || session.Phone != nil {; t.Fatalf(\"session row = %+v\", session)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 604,
    "name": "TestGetSessionByAuthUserID_UnknownDoesNotMint",
    "purpose": "Get Session By Auth User ID Unknown Does Not Mint",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Session By Auth User ID Unknown Does Not Mint. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v, want ErrSessionNotFound\", err); if backend.writes != 0 {; t.Fatalf(\"unknown JWT minted a row (%d writes)\", backend.writes) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v, want ErrSessionNotFound\", err); if backend.writes != 0 {; t.Fatalf(\"unknown JWT minted a row (%d writes)\", backend.writes)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 626,
    "name": "TestSessionIncomingInviteCarriesNamedToStepIn",
    "purpose": "Session Incoming Invite Carries Named To Step In",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Incoming Invite Carries Named To Step In. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(got.IncomingInvites) != 1 {; t.Fatalf(\"named_to_step_in=%v invites = %+v\", want, got.IncomingInvites) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if len(got.IncomingInvites) != 1 {; t.Fatalf(\"named_to_step_in=%v invites = %+v\", want, got.IncomingInvites)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 657,
    "name": "TestSessionNamedToStepInReadErrorLeavesFlagFalse",
    "purpose": "Session Named To Step In Read Error Leaves Flag False",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Named To Step In Read Error Leaves Flag False. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.spouseInviteNamesStepInStatus = http.StatusBadGateway; if err != nil {; t.Fatalf(\"a failed named_to_step_in read must not fail the session: %v\", err) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "backend.spouseInviteNamesStepInStatus = http.StatusBadGateway; if err != nil {; t.Fatalf(\"a failed named_to_step_in read must not fail the session: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 695,
    "name": "TestSessionReadFailureThenAcceptIsRefused",
    "purpose": "Session Read Failure Then Accept Is Refused",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Session Read Failure Then Accept Is Refused. The test checks the returned/domain behavior at its boundary. Assertion evidence: backend.spouseInviteNamesStepInStatus = http.StatusForbidden; if err != nil {; t.Fatalf(\"the failed read must not fail the session: %v\", err) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "backend.spouseInviteNamesStepInStatus = http.StatusForbidden; if err != nil {; t.Fatalf(\"the failed read must not fail the session: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 743,
    "name": "TestAcceptSpouseInvitePassesTheDisclosure",
    "purpose": "Accept Spouse Invite Passes The Disclosure",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accept Spouse Invite Passes The Disclosure. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if byID.Code != \"step_in_line_required\" {; t.Fatalf(\"code = %q, want step_in_line_required\", byID.Code) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if byID.Code != \"step_in_line_required\" {; t.Fatalf(\"code = %q, want step_in_line_required\", byID.Code)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_session_test.go",
    "line": 776,
    "name": "TestAcceptSpouseInviteTokenPassesTheDisclosure",
    "purpose": "Accept Spouse Invite Token Passes The Disclosure",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Accept Spouse Invite Token Passes The Disclosure. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if result.Code != \"step_in_line_required\" {; t.Fatalf(\"code = %q, want step_in_line_required\", result.Code) Relevant implementation: server/internal/services/supabase_session.go. Relevant implementation: server/internal/services/supabase_session.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if result.Code != \"step_in_line_required\" {; t.Fatalf(\"code = %q, want step_in_line_required\", result.Code)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_signup_test.go",
    "line": 9,
    "name": "TestClassifyAuthSignupError_DuplicateEmail",
    "purpose": "Classify Auth Signup Error Duplicate Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Classify Auth Signup Error Duplicate Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(err, &collision) || collision.Field != \"email\" {; t.Fatalf(\"body %s -> %#v\", body, err); if !strings.Contains(strings.ToLower(collision.Message), \"email\") { Relevant implementation: server/internal/services/supabase_signup.go. Relevant implementation: server/internal/services/supabase_signup.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.As(err, &collision) || collision.Field != \"email\" {; t.Fatalf(\"body %s -> %#v\", body, err); if !strings.Contains(strings.ToLower(collision.Message), \"email\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_signup_test.go",
    "line": 27,
    "name": "TestClassifyAuthSignupError_DisplayNameUniqueIsNotEmail",
    "purpose": "Classify Auth Signup Error Display Name Unique Is Not Email",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Classify Auth Signup Error Display Name Unique Is Not Email. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"display_name uniqueness must stay unclassified: %v\", err) Relevant implementation: server/internal/services/supabase_signup.go. Relevant implementation: server/internal/services/supabase_signup.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"display_name uniqueness must stay unclassified: %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_signup_test.go",
    "line": 36,
    "name": "TestClassifySignupProvisionError_EmailAndPhone",
    "purpose": "Classify Signup Provision Error Email And Phone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Classify Signup Provision Error Email And Phone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(emailErr, &collision) || collision.Field != \"email\" {; t.Fatalf(\"email: %#v\", emailErr); if !errors.As(phoneErr, &collision) || collision.Field != \"phone\" { Relevant implementation: server/internal/services/supabase_signup.go. Relevant implementation: server/internal/services/supabase_signup.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.As(emailErr, &collision) || collision.Field != \"email\" {; t.Fatalf(\"email: %#v\", emailErr); if !errors.As(phoneErr, &collision) || collision.Field != \"phone\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 17,
    "name": "TestMapInviteeRemovedKeepsFredsLine",
    "purpose": "Map Invitee Removed Keeps Freds Line",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Map Invitee Removed Keeps Freds Line. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"got %#v\", err); if invite.Code != \"invitee_removed\" || invite.Message != line || invite.EntityID != \"person-ada\" {; t.Fatalf(\"code=%s message=%q entity=%s\", invite.Code, invite.Message, invite.EntityID) Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"got %#v\", err); if invite.Code != \"invitee_removed\" || invite.Message != line || invite.EntityID != \"person-ada\" {; t.Fatalf(\"code=%s message=%q entity=%s\", invite.Code, invite.Message, invite.EntityID)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 30,
    "name": "TestSpouseInviteReadErrorsNeverLogTokenHashOrGuesses",
    "purpose": "Spouse Invite Read Errors Never Log Token Hash Or Guesses",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Invite Read Errors Never Log Token Hash Or Guesses. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if tc.name == \"decode\" {; if err == nil { Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if tc.name == \"decode\" {; if err == nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 81,
    "name": "TestSignUpWithInviteCreatesOnlyNewConfirmedIdentity",
    "purpose": "Sign Up With Invite Creates Only New Confirmed Identity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Sign Up With Invite Creates Only New Confirmed Identity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.Method != http.MethodPost || r.Header.Get(\"Authorization\") != \"Bearer service-test\" {; t.Errorf(\"wrong admin create request: %s %s\", r.Method, r.URL.Path); if err := json.NewDecoder(r.Body).Decode(&payload); err != nil { Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.Method != http.MethodPost || r.Header.Get(\"Authorization\") != \"Bearer service-test\" {; t.Errorf(\"wrong admin create request: %s %s\", r.Method, r.URL.Path); if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 115,
    "name": "TestOrganicSignupUsesGoTrueRedirectQuery",
    "purpose": "Organic Signup Uses Go True Redirect Query",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Organic Signup Uses Go True Redirect Query. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Path != \"/auth/v1/signup\" || r.URL.Query().Get(\"redirect_to\") != \"https://app.test/auth/callback\" {; t.Errorf(\"signup redirect target=%s\", r.URL.String()); if err := json.NewDecoder(r.Body).Decode(&payload); err != nil { Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if r.URL.Path != \"/auth/v1/signup\" || r.URL.Query().Get(\"redirect_to\") != \"https://app.test/auth/callback\" {; t.Errorf(\"signup redirect target=%s\", r.URL.String()); if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 138,
    "name": "TestOrganicSignupHandlesGoTrueTopLevelIdentityEnvelopeAndEmptyDuplicate",
    "purpose": "Organic Signup Handles Go True Top Level Identity Envelope And Empty Duplicate",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Organic Signup Handles Go True Top Level Identity Envelope And Empty Duplicate. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || id != \"new-auth-user\" || session {; t.Fatalf(\"top-level confirmation-required signup id=%q session=%v err=%v\", id, session, err); if !errors.As(err, &collision) || id != \"\" || session { Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || id != \"new-auth-user\" || session {; t.Fatalf(\"top-level confirmation-required signup id=%q session=%v err=%v\", id, session, err); if !errors.As(err, &collision) || id != \"\" || session {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 161,
    "name": "TestResendIncomingSpouseInvitesUsesOnlyOwnAuthIdentityAndReturnsOnlyRotatedRowsInternally",
    "purpose": "Resend Incoming Spouse Invites Uses Only Own Auth Identity And Returns Only Rotated Rows Internally",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resend Incoming Spouse Invites Uses Only Own Auth Identity And Returns Only Rotated Rows Internally. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Query().Get(\"invitee_email\") != \"eq.recipient@example.test\" {; t.Errorf(\"recipient lookup was not tied to Auth email: %v\", r.URL.Query()); if err := json.NewDecoder(r.Body).Decode(&rpcBody); err != nil { Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if r.URL.Query().Get(\"invitee_email\") != \"eq.recipient@example.test\" {; t.Errorf(\"recipient lookup was not tied to Auth email: %v\", r.URL.Query()); if err := json.NewDecoder(r.Body).Decode(&rpcBody); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 207,
    "name": "TestPeekSpouseInviteUsesShownNameAndNeverEmailFallback",
    "purpose": "Peek Spouse Invite Uses Shown Name And Never Email Fallback",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Peek Spouse Invite Uses Shown Name And Never Email Fallback. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if r.URL.Query().Get(\"entity_uid\") != \"eq.person:person-id\" || r.URL.Query().Get(\"entity_type_subtype\") != \"eq.party.person\" {; t.Errorf(\"bad identity query: %v\", r.URL.Query()) Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if r.URL.Query().Get(\"entity_uid\") != \"eq.person:person-id\" || r.URL.Query().Get(\"entity_type_subtype\") != \"eq.party.person\" {; t.Errorf(\"bad identity query: %v\", r.URL.Query())",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 248,
    "name": "TestShownNameCopy_InviteLandingDeclineAndSession",
    "purpose": "Shown Name Copy Invite Landing Decline And Session",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Shown Name Copy Invite Landing Decline And Session. The test checks the returned/domain behavior at its boundary. Assertion evidence: if email == \"ada@example.test\" {; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_given_name\"): Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if email == \"ada@example.test\" {; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_name\"):; case strings.Contains(r.URL.Path, \"/rpc/_g6_person_shown_given_name\"):",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_spouse_invite_test.go",
    "line": 351,
    "name": "TestOrganicSignupConfirmationCarriesOnlyRelativeInvitationReturn",
    "purpose": "Organic Signup Confirmation Carries Only Relative Invitation Return",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Organic Signup Confirmation Carries Only Relative Invitation Return. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.destination, func(t *testing.T) {; if err != nil || redirect.Host != \"app.test\" || redirect.Path != \"/auth/callback\" || redirect.Query().Get(\"returnTo\") != tc.want {; if _, _, err := svc.SignUpWithStatus(\"member@example.test\", \"password\", \"Member\", \"Member\", \"Name\", tc.destination); err != nil { Relevant implementation: server/internal/services/supabase_spouse_invite.go. Relevant implementation: server/internal/services/supabase_spouse_invite.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.destination Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.destination, func(t *testing.T) {; if err != nil || redirect.Host != \"app.test\" || redirect.Path != \"/auth/callback\" || redirect.Query().Get(\"returnTo\") != tc.want {; if _, _, err := svc.SignUpWithStatus(\"member@example.test\", \"password\", \"Member\", \"Member\", \"Name\", tc.destination); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 16,
    "name": "TestStepInCodeHashIsHMACNotSHA256",
    "purpose": "Step In Code Hash Is HMACNot SHA256",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Code Hash Is HMACNot SHA256. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if got != want {; t.Fatalf(\"hash = %s\", got) Relevant implementation: server/internal/services/supabase_step_in.go:217 StepInCodeHash. Relevant implementation: server/internal/services/supabase_step_in.go:217 StepInCodeHash.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if got != want {; t.Fatalf(\"hash = %s\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 35,
    "name": "TestStepInCodeSecretFailsClosed",
    "purpose": "Step In Code Secret Fails Closed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Code Secret Fails Closed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.Is(err, ErrStepInCodeSecretUnset) || hash != \"\" {; t.Fatalf(\"unset secret hash=%q err=%v\", hash, err) Relevant implementation: server/internal/services/supabase_step_in.go:217 StepInCodeHash. Relevant implementation: server/internal/services/supabase_step_in.go:217 StepInCodeHash.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.Is(err, ErrStepInCodeSecretUnset) || hash != \"\" {; t.Fatalf(\"unset secret hash=%q err=%v\", hash, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 43,
    "name": "TestStepInCodeFromUint32RejectsBiasedTail",
    "purpose": "Step In Code From Uint32 Rejects Biased Tail",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Code From Uint32 Rejects Biased Tail. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !ok || len(code) != 6 {; t.Fatalf(\"code = %q ok=%v\", code, ok) Relevant implementation: server/internal/services/supabase_step_in.go:227 stepInCodeFromUint32. Relevant implementation: server/internal/services/supabase_step_in.go:227 stepInCodeFromUint32.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !ok || len(code) != 6 {; t.Fatalf(\"code = %q ok=%v\", code, ok)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 56,
    "name": "TestRandomStepInCodeIsSixDigits",
    "purpose": "Random Step In Code Is Six Digits",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Random Step In Code Is Six Digits. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(code) != 6 || strings.Trim(code, \"0123456789\") != \"\" {; t.Fatalf(\"code = %q\", code) Relevant implementation: server/internal/services/supabase_step_in.go:235 RandomStepInCode. Relevant implementation: server/internal/services/supabase_step_in.go:235 RandomStepInCode.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(code) != 6 || strings.Trim(code, \"0123456789\") != \"\" {; t.Fatalf(\"code = %q\", code)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 68,
    "name": "TestStepInCodeEmailText",
    "purpose": "Step In Code Email Text",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Step In Code Email Text. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(got, \"123456\") || !strings.Contains(got, \"If you didn't ask for this, ignore it. We'll never ask you for this code.\") {; t.Fatalf(\"text = %q\", got) Relevant implementation: server/internal/services/supabase_step_in.go:211 StepInCodeEmailText. Relevant implementation: server/internal/services/supabase_step_in.go:211 StepInCodeEmailText.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(got, \"123456\") || !strings.Contains(got, \"If you didn't ask for this, ignore it. We'll never ask you for this code.\") {; t.Fatalf(\"text = %q\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 75,
    "name": "TestAuthorizeThenStoreSkipsStorage",
    "purpose": "Authorize Then Store Skips Storage",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Authorize Then Store Skips Storage. The test checks the returned/domain behavior at its boundary. Assertion evidence: if called || id != \"\" || !errors.Is(err, ErrStepInRejected) {; t.Fatalf(\"called=%v id=%q err=%v\", called, id, err); if !called || id != \"ok\" || err != nil { Relevant implementation: server/internal/services/supabase_step_in.go:805 authorizeThenStore. Relevant implementation: server/internal/services/supabase_step_in.go:805 authorizeThenStore.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if called || id != \"\" || !errors.Is(err, ErrStepInRejected) {; t.Fatalf(\"called=%v id=%q err=%v\", called, id, err); if !called || id != \"ok\" || err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 93,
    "name": "TestDispatchSkipsCodeAndSendsOtherBodies",
    "purpose": "Dispatch Skips Code And Sends Other Bodies",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Dispatch Skips Code And Sends Other Bodies. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err := DispatchMessageSends(context.Background(), box, poster, true); err != nil {; if poster.calls != 1 {; t.Fatalf(\"poster calls = %d\", poster.calls) Relevant implementation: server/internal/services/message_dispatch.go:39 DispatchMessageSends. Relevant implementation: server/internal/services/message_dispatch.go:39 DispatchMessageSends.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err := DispatchMessageSends(context.Background(), box, poster, true); err != nil {; if poster.calls != 1 {; t.Fatalf(\"poster calls = %d\", poster.calls)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 134,
    "name": "TestApplyStepInStartupInjectsCodeSecret",
    "purpose": "Load the step-in code secret through startup wiring",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Load the step-in code secret through startup wiring. The test checks the returned/domain behavior at its boundary. Assertion evidence: if key == \"STEP_IN_CODE_SECRET\" {; if err != nil || sum == \"\" {; t.Fatalf(\"startup secret hash=%q err=%v\", sum, err) Relevant implementation: server/internal/services/supabase_step_in.go:182 ApplyStepInStartup. Relevant implementation: server/internal/services/supabase_step_in.go:182 ApplyStepInStartup.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if key == \"STEP_IN_CODE_SECRET\" {; if err != nil || sum == \"\" {; t.Fatalf(\"startup secret hash=%q err=%v\", sum, err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 152,
    "name": "TestApplyStepInStartupStoresSupportContact",
    "purpose": "Apply Step In Startup Stores Support Contact",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Apply Step In Startup Stores Support Contact. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if !strings.Contains(joined, `\"p_phone\":\"833-737-7965\"`) || !strings.Contains(joined, `\"p_reply_to\":\"help@persynl.com\"`) {; t.Fatalf(\"bodies=%s\", joined) Relevant implementation: server/internal/services/supabase_step_in.go:182 ApplyStepInStartup. Relevant implementation: server/internal/services/supabase_step_in.go:182 ApplyStepInStartup.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if !strings.Contains(joined, `\"p_phone\":\"833-737-7965\"`) || !strings.Contains(joined, `\"p_reply_to\":\"help@persynl.com\"`) {; t.Fatalf(\"bodies=%s\", joined)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 194,
    "name": "TestClaimPendingMessageSendsReplyToReachesTheSend",
    "purpose": "Claim Pending Message Sends Reply To Reaches The Send",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Claim Pending Message Sends Reply To Reaches The Send. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"/rest/v1/rpc/claim_pending_message_sends\") {; t.Errorf(\"path %s\", r.URL.Path); if err != nil { Relevant implementation: server/internal/services/supabase_step_in.go:554 ClaimPendingMessageSends, server/internal/services/message_dispatch.go:39 DispatchMessageSends. Relevant implementation: server/internal/services/supabase_step_in.go:554 ClaimPendingMessageSends, server/internal/services/message_dispatch.go:39 DispatchMessageSends.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"/rest/v1/rpc/claim_pending_message_sends\") {; t.Errorf(\"path %s\", r.URL.Path); if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 222,
    "name": "TestSetStepInBaseURLUnsetClearsStoredRow",
    "purpose": "Set Step In Base URLUnset Clears Stored Row",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Step In Base URLUnset Clears Stored Row. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if err := svc.SetStepInBaseURL(context.Background(), \"\"); err != nil {; if !strings.Contains(body, `\"p_url\":\"\"`) { Relevant implementation: server/internal/services/supabase_step_in.go:922 SetStepInBaseURL. Relevant implementation: server/internal/services/supabase_step_in.go:922 SetStepInBaseURL.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if err := svc.SetStepInBaseURL(context.Background(), \"\"); err != nil {; if !strings.Contains(body, `\"p_url\":\"\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 239,
    "name": "TestMarkStepInNeedMoreAcceptsMedicalPaper",
    "purpose": "Mark Step In Need More Accepts Medical Paper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Mark Step In Need More Accepts Medical Paper. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if err != nil {; if !strings.Contains(path, \"mark_step_in_need_more\") || !strings.Contains(body, `\"p_waiting_on\":\"medical_paper\"`) { Relevant implementation: server/internal/services/supabase_step_in.go:1013 MarkStepInNeedMore. Relevant implementation: server/internal/services/supabase_step_in.go:1013 MarkStepInNeedMore.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if err != nil {; if !strings.Contains(path, \"mark_step_in_need_more\") || !strings.Contains(body, `\"p_waiting_on\":\"medical_paper\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 264,
    "name": "TestRecordStepInPhoneAttemptAcceptsReachedMemberProceed",
    "purpose": "Record Step In Phone Attempt Accepts Reached Member Proceed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Record Step In Phone Attempt Accepts Reached Member Proceed. The test checks the returned/domain behavior at its boundary. Assertion evidence: w.WriteHeader(http.StatusOK); if err != nil {; if !strings.Contains(path, \"record_step_in_phone_attempt\") || !strings.Contains(body, `\"p_outcome\":\"reached_member_proceed\"`) { Relevant implementation: server/internal/services/supabase_step_in.go:1026 RecordStepInPhoneAttempt. Relevant implementation: server/internal/services/supabase_step_in.go:1026 RecordStepInPhoneAttempt.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "w.WriteHeader(http.StatusOK); if err != nil {; if !strings.Contains(path, \"record_step_in_phone_attempt\") || !strings.Contains(body, `\"p_outcome\":\"reached_member_proceed\"`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 289,
    "name": "TestRecordStepInContactAcceptsIssuer",
    "purpose": "Record Step In Contact Accepts Issuer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Record Step In Contact Accepts Issuer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if id == \"\" || !strings.Contains(path, \"record_step_in_contact\") || !strings.Contains(body, `\"p_party\":\"issuer\"`) {; t.Fatalf(\"id=%s path=%s body=%s\", id, path, body) Relevant implementation: server/internal/services/supabase_step_in_block.go:256 RecordStepInContact. Relevant implementation: server/internal/services/supabase_step_in_block.go:256 RecordStepInContact.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if id == \"\" || !strings.Contains(path, \"record_step_in_contact\") || !strings.Contains(body, `\"p_party\":\"issuer\"`) {; t.Fatalf(\"id=%s path=%s body=%s\", id, path, body)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_code_test.go",
    "line": 324,
    "name": "TestAddStepInEvidenceFileDoesNotStoreBeforeAuth",
    "purpose": "Add Step In Evidence File Does Not Store Before Auth",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Add Step In Evidence File Does Not Store Before Auth. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/storage/\") {; t.Errorf(\"storage write before authorization: %s\", r.URL.Path); w.WriteHeader(http.StatusInternalServerError) Relevant implementation: server/internal/services/supabase_step_in.go:815 AddStepInEvidenceFile. Relevant implementation: server/internal/services/supabase_step_in.go:815 AddStepInEvidenceFile.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/storage/\") {; t.Errorf(\"storage write before authorization: %s\", r.URL.Path); w.WriteHeader(http.StatusInternalServerError)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_test.go",
    "line": 13,
    "name": "TestRecordStepInPhoneAttemptRejectsBadOutcome",
    "purpose": "Record Step In Phone Attempt Rejects Bad Outcome",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Record Step In Phone Attempt Rejects Bad Outcome. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err); t.Fatalf(\"reached err = %v\", err) Relevant implementation: server/internal/services/supabase_step_in.go. Relevant implementation: server/internal/services/supabase_step_in.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err); t.Fatalf(\"reached err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_test.go",
    "line": 29,
    "name": "TestMarkStepInNeedMoreRejectsOtherReasons",
    "purpose": "Mark Step In Need More Rejects Other Reasons",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Mark Step In Need More Rejects Other Reasons. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"%s err = %v\", waiting, err) Relevant implementation: server/internal/services/supabase_step_in.go. Relevant implementation: server/internal/services/supabase_step_in.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"%s err = %v\", waiting, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_test.go",
    "line": 40,
    "name": "TestAddStepInEvidenceFileAcceptsMedicalPaper",
    "purpose": "Add Step In Evidence File Accepts Medical Paper",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Add Step In Evidence File Accepts Medical Paper. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !errors.As(err, &life) || life.Message != \"file is empty\" {; t.Fatalf(\"medical_paper err = %v\", err) Relevant implementation: server/internal/services/supabase_step_in.go. Relevant implementation: server/internal/services/supabase_step_in.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if !errors.As(err, &life) || life.Message != \"file is empty\" {; t.Fatalf(\"medical_paper err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_test.go",
    "line": 54,
    "name": "TestProposeStepInRefusalRejectsFreeText",
    "purpose": "Propose Step In Refusal Rejects Free Text",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Propose Step In Refusal Rejects Free Text. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"err = %v\", err) Relevant implementation: server/internal/services/supabase_step_in.go. Relevant implementation: server/internal/services/supabase_step_in.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"err = %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_test.go",
    "line": 64,
    "name": "TestGetStepInRequestDecodesClaimantNames",
    "purpose": "Get Step In Request Decodes Claimant Names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Step In Request Decodes Claimant Names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"rpc/get_step_in_request\") {; t.Errorf(\"path %s\", r.URL.Path); if calls == 1 { Relevant implementation: server/internal/services/supabase_step_in.go. Relevant implementation: server/internal/services/supabase_step_in.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"rpc/get_step_in_request\") {; t.Errorf(\"path %s\", r.URL.Path); if calls == 1 {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_step_in_test.go",
    "line": 101,
    "name": "TestListStepInHomeDecodesActiveNames",
    "purpose": "List Step In Home Decodes Active Names",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Step In Home Decodes Active Names. The test checks the returned/domain behavior at its boundary. Assertion evidence: if !strings.Contains(r.URL.Path, \"rpc/list_step_in_home\") {; t.Errorf(\"path %s\", r.URL.Path); if err := json.NewDecoder(r.Body).Decode(&payload); err != nil { Relevant implementation: server/internal/services/supabase_step_in.go. Relevant implementation: server/internal/services/supabase_step_in.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if !strings.Contains(r.URL.Path, \"rpc/list_step_in_home\") {; t.Errorf(\"path %s\", r.URL.Path); if err := json.NewDecoder(r.Body).Decode(&payload); err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_todos_scope_test.go",
    "line": 14,
    "name": "TestListTodos_AuthorOnlyFilter",
    "purpose": "List Todos Author Only Filter",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: List Todos Author Only Filter. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := supabase.ListTodos(\"user-A\"); err != nil {; t.Fatalf(\"ListTodos: %v\", err); if !strings.Contains(todosURL, \"user_id=eq.user-A\") { Relevant implementation: server/internal/services/supabase_todos.go:28 ListTodos. Relevant implementation: server/internal/services/supabase_todos.go:28 ListTodos.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := supabase.ListTodos(\"user-A\"); err != nil {; t.Fatalf(\"ListTodos: %v\", err); if !strings.Contains(todosURL, \"user_id=eq.user-A\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_todos_scope_test.go",
    "line": 35,
    "name": "TestCreateTodo_InsertsAuthorOnly",
    "purpose": "Create Todo Inserts Author Only",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Todo Inserts Author Only. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"CreateTodo: %v\", err); if todo.UserID != \"user-A\" || todo.Content != \"buy salt\" { Relevant implementation: server/internal/services/supabase_todos.go:58 CreateTodo. Relevant implementation: server/internal/services/supabase_todos.go:58 CreateTodo.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"CreateTodo: %v\", err); if todo.UserID != \"user-A\" || todo.Content != \"buy salt\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_todos_scope_test.go",
    "line": 59,
    "name": "TestSetTodoCompleted_AuthorScopedWrite",
    "purpose": "Set Todo Completed Author Scoped Write",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Todo Completed Author Scoped Write. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := supabase.SetTodoCompleted(\"user-A\", \"t1\", true); err != nil {; t.Fatalf(\"SetTodoCompleted: %v\", err); if !strings.Contains(patchURL, want) { Relevant implementation: server/internal/services/supabase_todos.go:98 SetTodoCompleted. Relevant implementation: server/internal/services/supabase_todos.go:98 SetTodoCompleted.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := supabase.SetTodoCompleted(\"user-A\", \"t1\", true); err != nil {; t.Fatalf(\"SetTodoCompleted: %v\", err); if !strings.Contains(patchURL, want) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_todos_scope_test.go",
    "line": 80,
    "name": "TestSetTodoCompleted_ZeroRowMatchErrors",
    "purpose": "Set Todo Completed Zero Row Match Errors",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Set Todo Completed Zero Row Match Errors. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"expected a 0-row error (404-equivalent), got %v\", err) Relevant implementation: server/internal/services/supabase_todos.go:98 SetTodoCompleted, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/supabase_todos.go:98 SetTodoCompleted, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"expected a 0-row error (404-equivalent), got %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_todos_scope_test.go",
    "line": 92,
    "name": "TestDeleteTodo_ZeroRowMatchErrors",
    "purpose": "Delete Todo Zero Row Match Errors",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Delete Todo Zero Row Match Errors. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"expected a 0-row error, got %v\", err) Relevant implementation: server/internal/services/supabase_todos.go:142 DeleteTodo, server/internal/services/supabase_step_in.go:46 Error. Relevant implementation: server/internal/services/supabase_todos.go:142 DeleteTodo, server/internal/services/supabase_step_in.go:46 Error.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || !strings.Contains(err.Error(), \"0 rows matched\") {; t.Fatalf(\"expected a 0-row error, got %v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 205,
    "name": "TestGetDocumentReviewSnapshot_ActorFromSessionAndHoleIdentity",
    "purpose": "Get Document Review Snapshot Actor From Session And Hole Identity",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Document Review Snapshot Actor From Session And Hole Identity. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if payload[\"p_actor\"] != davePersonID || payload[\"p_item\"] != fileItemID || payload[\"p_document\"] != fileDocID {; t.Fatalf(\"snapshot payload=%v\", payload) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if payload[\"p_actor\"] != davePersonID || payload[\"p_item\"] != fileItemID || payload[\"p_document\"] != fileDocID {; t.Fatalf(\"snapshot payload=%v\", payload)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 258,
    "name": "TestGetDocumentReviewSnapshot_SendsHistoryCursor",
    "purpose": "Get Document Review Snapshot Sends History Cursor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Document Review Snapshot Sends History Cursor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if _, err := svc.GetDocumentReviewSnapshot(context.Background(), session, fileItemID, fileDocID, cursor); err != nil {; if !ok || raw[\"created_at\"] != cursor.CreatedAt || raw[\"id\"] != cursor.ID {; t.Fatalf(\"history cursor payload=%v\", payload[\"p_history_cursor\"]) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if _, err := svc.GetDocumentReviewSnapshot(context.Background(), session, fileItemID, fileDocID, cursor); err != nil {; if !ok || raw[\"created_at\"] != cursor.CreatedAt || raw[\"id\"] != cursor.ID {; t.Fatalf(\"history cursor payload=%v\", payload[\"p_history_cursor\"])",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 275,
    "name": "TestGetDocumentReviewSnapshot_ReviewDTOOmitsInternals",
    "purpose": "Get Document Review Snapshot Review DTOOmits Internals",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Document Review Snapshot Review DTOOmits Internals. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal(body, &dto); err != nil {; t.Fatalf(\"review DTO leaks %s: %s\", forbidden, body) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal(body, &dto); err != nil {; t.Fatalf(\"review DTO leaks %s: %s\", forbidden, body)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 306,
    "name": "TestGetDocumentReviewSnapshot_HiddenItemIsNotFound",
    "purpose": "Get Document Review Snapshot Hidden Item Is Not Found",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Document Review Snapshot Hidden Item Is Not Found. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"hidden item err=%v\", err) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"hidden item err=%v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 320,
    "name": "TestCreateValueReview_SendsActorIdentityCASAndOperation",
    "purpose": "Create Value Review Sends Actor Identity CASAnd Operation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Value Review Sends Actor Identity CASAnd Operation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if result.ReviewID == \"\" || result.State != \"unresolved\" {; t.Fatalf(\"result=%+v\", result) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if result.ReviewID == \"\" || result.State != \"unresolved\" {; t.Fatalf(\"result=%+v\", result)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 369,
    "name": "TestCreateValueReview_BoundsInputBeforeLookup",
    "purpose": "Create Value Review Bounds Input Before Lookup",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Value Review Bounds Input Before Lookup. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"blank raw text err=%v\", err); t.Fatalf(\"overlong raw text err=%v\", err); t.Fatalf(\"missing operation id err=%v\", err) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"blank raw text err=%v\", err); t.Fatalf(\"overlong raw text err=%v\", err); t.Fatalf(\"missing operation id err=%v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 406,
    "name": "TestCreateValueReview_ViewerForbidden",
    "purpose": "Create Value Review Viewer Forbidden",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Value Review Viewer Forbidden. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Fatalf(\"viewer mutation err=%v\", err) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Fatalf(\"viewer mutation err=%v\", err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 426,
    "name": "TestResolveValueReview_SendsFullCAS",
    "purpose": "Resolve Value Review Sends Full CAS",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Resolve Value Review Sends Full CAS. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if result.Revision != 3 || result.ResolutionID == \"\" {; t.Fatalf(\"result=%+v\", result) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; if result.Revision != 3 || result.ResolutionID == \"\" {; t.Fatalf(\"result=%+v\", result)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 463,
    "name": "TestReviseAndWithdraw_SendRevisionAndReceipt",
    "purpose": "Revise And Withdraw Send Revision And Receipt",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Revise And Withdraw Send Revision And Receipt. The test checks the returned/domain behavior at its boundary. Assertion evidence: if payload[\"p_new_raw_text\"] != \"money market fund\" || payload[\"p_expected_revision\"] != float64(2) {; t.Fatalf(\"revise payload=%v\", payload); if payload[\"p_actor\"] != davePersonID || payload[\"p_operation_id\"] != \"80000000-0000-0000-0000-0000000000c4\" { Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if payload[\"p_new_raw_text\"] != \"money market fund\" || payload[\"p_expected_revision\"] != float64(2) {; t.Fatalf(\"revise payload=%v\", payload); if payload[\"p_actor\"] != davePersonID || payload[\"p_operation_id\"] != \"80000000-0000-0000-0000-0000000000c4\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 507,
    "name": "TestReviewErrorMapping_SafeTokens",
    "purpose": "Review Error Mapping Safe Tokens",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Review Error Mapping Safe Tokens. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil || !tc.check(err) {; t.Fatalf(\"token %q mapped to %v\", tc.token, err) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err == nil || !tc.check(err) {; t.Fatalf(\"token %q mapped to %v\", tc.token, err)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 568,
    "name": "TestGetValueReviewOperationResult_ReturnsReceipt",
    "purpose": "Get Value Review Operation Result Returns Receipt",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Value Review Operation Result Returns Receipt. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if err := json.Unmarshal(raw, &receipt); err != nil || receipt[\"review_id\"] == \"\" {; t.Fatalf(\"receipt=%s\", raw) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if err := json.Unmarshal(raw, &receipt); err != nil || receipt[\"review_id\"] == \"\" {; t.Fatalf(\"receipt=%s\", raw)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 597,
    "name": "TestClaimValueReviewReminders_BatchContract",
    "purpose": "Claim Value Review Reminders Batch Contract",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Claim Value Review Reminders Batch Contract. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if len(results) != 1 || results[0].Status != \"accent\" {; t.Fatalf(\"results=%v\", results) Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if len(results) != 1 || results[0].Status != \"accent\" {; t.Fatalf(\"results=%v\", results)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_value_review_test.go",
    "line": 698,
    "name": "TestGetDocumentReviewSnapshot_ViewerIsPrincipal",
    "purpose": "Get Document Review Snapshot Viewer Is Principal",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Get Document Review Snapshot Viewer Is Principal. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(\"no name still asks once and follows the answer\", func(t *testing.T) {; if err != nil {; if rpcCallCount(backend.rpcCalls, \"principal_slot_self_allowed\") != 1 { Relevant implementation: server/internal/services/supabase_value_review.go. Relevant implementation: server/internal/services/supabase_value_review.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=3; case names=\"no name still asks once and follows the answer\", \"the flag follows the live check and ignores a sto, \"another owners principal binding does not hide Th Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(\"no name still asks once and follows the answer\", func(t *testing.T) {; if err != nil {; if rpcCallCount(backend.rpcCalls, \"principal_slot_self_allowed\") != 1 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_fact_test.go",
    "line": 5,
    "name": "TestSecretFactKeysAreOmitted",
    "purpose": "Secret Fact Keys Are Omitted",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Secret Fact Keys Are Omitted. The test checks the returned/domain behavior at its boundary. Assertion evidence: if worthFactText(secret) != \"\" {; t.Fatalf(\"secret value leaked: %q\", worthFactText(secret)); if worthFactText(loc) != \"Kitchen junk drawer\" { Relevant implementation: server/internal/services/supabase_worth_a_look.go:748 worthFactText. Relevant implementation: server/internal/services/supabase_worth_a_look.go:748 worthFactText.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if worthFactText(secret) != \"\" {; t.Fatalf(\"secret value leaked: %q\", worthFactText(secret)); if worthFactText(loc) != \"Kitchen junk drawer\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 16,
    "name": "TestWorthALookEmptyCopy",
    "purpose": "Worth ALook Empty Copy",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Empty Copy. The test checks the returned/domain behavior at its boundary. Assertion evidence: if dayZero.Headline == \"\" || !strings.Contains(dayZero.Explanation, \"no records\") {; t.Fatalf(\"day-zero empty: %+v\", dayZero); if strings.Contains(strings.ToLower(dayZero.Explanation), \"you're fine\") || Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if dayZero.Headline == \"\" || !strings.Contains(dayZero.Explanation, \"no records\") {; t.Fatalf(\"day-zero empty: %+v\", dayZero); if strings.Contains(strings.ToLower(dayZero.Explanation), \"you're fine\") ||",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 35,
    "name": "TestBindOfferFindingsReuseMemberList",
    "purpose": "Bind Offer Findings Reuse Member List",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Bind Offer Findings Reuse Member List. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 2 {; t.Fatalf(\"got %d\", len(got)); if got[0].Kind != FindingKindWillAttach || got[0].CTA != \"This is your will\" { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 2 {; t.Fatalf(\"got %d\", len(got)); if got[0].Kind != FindingKindWillAttach || got[0].CTA != \"This is your will\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 111,
    "name": "TestPinVsNewerFindsPinnedAndNewer",
    "purpose": "Pin Vs Newer Finds Pinned And Newer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Vs Newer Finds Pinned And Newer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 {; t.Fatalf(\"got %+v\", got); if f.Kind != FindingKindPinVsNewer || f.Group != FindingGroupPeople { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 {; t.Fatalf(\"got %+v\", got); if f.Kind != FindingKindPinVsNewer || f.Group != FindingGroupPeople {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 155,
    "name": "TestPinVsNewerHiddenItemDoesNotContribute",
    "purpose": "Pin Vs Newer Hidden Item Does Not Contribute",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Vs Newer Hidden Item Does Not Contribute. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := pinVsNewerFindings(facts, items, entities, nil); len(got) != 0 {; t.Fatalf(\"hidden newer must not create a finding: %+v\", got) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := pinVsNewerFindings(facts, items, entities, nil); len(got) != 0 {; t.Fatalf(\"hidden newer must not create a finding: %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 183,
    "name": "TestPinVsNewerProposedDoesNotLeak",
    "purpose": "Pin Vs Newer Proposed Does Not Leak",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Vs Newer Proposed Does Not Leak. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := pinVsNewerFindings(facts, items, entities, nil); len(got) != 0 {; t.Fatalf(\"proposed must not create a finding: %+v\", got) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := pinVsNewerFindings(facts, items, entities, nil); len(got) != 0 {; t.Fatalf(\"proposed must not create a finding: %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 212,
    "name": "TestPinVsNewerSkipsSecretKeys",
    "purpose": "Pin Vs Newer Skips Secret Keys",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Vs Newer Skips Secret Keys. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := pinVsNewerFindings(facts, items, entities, nil); len(got) != 0 {; t.Fatalf(\"secret leaked: %+v\", got) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if got := pinVsNewerFindings(facts, items, entities, nil); len(got) != 0 {; t.Fatalf(\"secret leaked: %+v\", got)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 297,
    "name": "TestDeceasedRoleFindingBoundExecutor",
    "purpose": "Deceased Role Finding Bound Executor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Deceased Role Finding Bound Executor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 {; t.Fatalf(\"got %+v\", got); if f.Kind != FindingKindDeceasedRole { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 {; t.Fatalf(\"got %+v\", got); if f.Kind != FindingKindDeceasedRole {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 353,
    "name": "TestDeceasedRoleLivingExecutorNone",
    "purpose": "Deceased Role Living Executor None",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Deceased Role Living Executor None. The test checks the returned/domain behavior at its boundary. Assertion evidence: if row.FactKey == \"date_of_death\" || row.FactKey == \"deceased_flag\" {; if got := deceasedRoleFindings(q); len(got) != 0 {; t.Fatalf(\"living executor must not find: %+v\", got) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if row.FactKey == \"date_of_death\" || row.FactKey == \"deceased_flag\" {; if got := deceasedRoleFindings(q); len(got) != 0 {; t.Fatalf(\"living executor must not find: %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 374,
    "name": "TestDeceasedRoleSkipsTestatorAndProposed",
    "purpose": "Deceased Role Skips Testator And Proposed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Deceased Role Skips Testator And Proposed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if row.ItemID == pinItemID && row.FactKey == \"executor_of\" && row.VocabTier == \"core\" {; if strings.Contains(f.Headline, \"testator\") || strings.Contains(f.Evidence, \"hidden-will\") {; t.Fatalf(\"leaked: %+v\", f) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if row.ItemID == pinItemID && row.FactKey == \"executor_of\" && row.VocabTier == \"core\" {; if strings.Contains(f.Headline, \"testator\") || strings.Contains(f.Evidence, \"hidden-will\") {; t.Fatalf(\"leaked: %+v\", f)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 423,
    "name": "TestBeneficiaryShareTotals",
    "purpose": "Beneficiary Share Totals",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Share Totals. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := beneficiaryShareFindings(mk(`[{\"name\":\"Emily\",\"share\":\"60%\"},{\"name\":\"Daniel\",\"share\":\"40%\"}]`)); len(got) != 0 {; t.Fatalf(\"60+40 must not find: %+v\", got); if len(got) != 1 || got[0].Kind != FindingKindBeneficiaryShares { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := beneficiaryShareFindings(mk(`[{\"name\":\"Emily\",\"share\":\"60%\"},{\"name\":\"Daniel\",\"share\":\"40%\"}]`)); len(got) != 0 {; t.Fatalf(\"60+40 must not find: %+v\", got); if len(got) != 1 || got[0].Kind != FindingKindBeneficiaryShares {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 494,
    "name": "TestSoleAccessClearedByShareOrGrant",
    "purpose": "Sole Access Cleared By Share Or Grant",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Sole Access Cleared By Share Or Grant. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].Kind != FindingKindAfterDeath || got[0].ID != FindingKindAfterDeath+\":\"+davePersonID {; t.Fatalf(\"one note about the person: %+v\", got); if got[0].Headline != \"No one can open your records after you die.\" || got[0].Explanation != \"Name someone who can, or keep this to yourself.\" || got[0].CTA != \"Name someone\" || go Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || got[0].Kind != FindingKindAfterDeath || got[0].ID != FindingKindAfterDeath+\":\"+davePersonID {; t.Fatalf(\"one note about the person: %+v\", got); if got[0].Headline != \"No one can open your records after you die.\" || got[0].Explanation != \"Name someone who can, or keep this to yourself.\" || got[0].CTA != \"Name someone\" || go",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 608,
    "name": "TestManyEligibleRecordsProduceOnePersonNote",
    "purpose": "Many Eligible Records Produce One Person Note",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Many Eligible Records Produce One Person Note. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].Kind != FindingKindAfterDeath || got[0].ID != FindingKindAfterDeath+\":\"+davePersonID {; t.Fatalf(\"twelve records must be one person note: %+v\", got); if f.Kind == FindingKindSoleAccess || strings.HasPrefix(f.ID, FindingKindSoleAccess+\":\") { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || got[0].Kind != FindingKindAfterDeath || got[0].ID != FindingKindAfterDeath+\":\"+davePersonID {; t.Fatalf(\"twelve records must be one person note: %+v\", got); if f.Kind == FindingKindSoleAccess || strings.HasPrefix(f.ID, FindingKindSoleAccess+\":\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 633,
    "name": "TestWhoStepsInScreensAndEligibility",
    "purpose": "Who Steps In Screens And Eligibility",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Who Steps In Screens And Eligibility. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].Kind != FindingKindAfterDeath {; t.Fatalf(\"twelve records are one note: %+v\", got); if strings.Contains(got[0].Headline, \"Record\") || strings.Contains(got[0].Explanation, \"Record\") { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || got[0].Kind != FindingKindAfterDeath {; t.Fatalf(\"twelve records are one note: %+v\", got); if strings.Contains(got[0].Headline, \"Record\") || strings.Contains(got[0].Explanation, \"Record\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 748,
    "name": "TestWorthALookJSONHasNoNudgeAnchor",
    "purpose": "Worth ALook JSONHas No Nudge Anchor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook JSONHas No Nudge Anchor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].Kind != FindingKindPendingSuccessor {; t.Fatalf(\"finding: %+v\", got); if err != nil { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if len(got) != 1 || got[0].Kind != FindingKindPendingSuccessor {; t.Fatalf(\"finding: %+v\", got); if err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 770,
    "name": "TestUnsentEmailedClockMatchesSQL",
    "purpose": "Unsent Emailed Clock Matches SQL",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Unsent Emailed Clock Matches SQL. The test checks the returned/domain behavior at its boundary. Assertion evidence: if clock != \"t\" {; t.Fatalf(\"sql clock is null = %q\", clock); if phase != \"hidden\" { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if clock != \"t\" {; t.Fatalf(\"sql clock is null = %q\", clock); if phase != \"hidden\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 802,
    "name": "TestWhoStepsInDeceasedDesignee",
    "purpose": "Who Steps In Deceased Designee",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Who Steps In Deceased Designee. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 {; t.Fatalf(\"exactly one death note: %+v\", got); if got[0].Kind != FindingKindAfterDeath || got[0].ID != FindingKindAfterDeath+\":\"+davePersonID { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 {; t.Fatalf(\"exactly one death note: %+v\", got); if got[0].Kind != FindingKindAfterDeath || got[0].ID != FindingKindAfterDeath+\":\"+davePersonID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 853,
    "name": "TestQuietWeekSkipsAnUnsentInvite",
    "purpose": "Quiet Week Skips An Unsent Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Quiet Week Skips An Unsent Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: if row := stepsInQuietWeekItem(des, now, \"UTC\"); row != nil {; t.Fatalf(\"an unsent invite is not a quiet row: %+v\", row) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if row := stepsInQuietWeekItem(des, now, \"UTC\"); row != nil {; t.Fatalf(\"an unsent invite is not a quiet row: %+v\", row)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 873,
    "name": "TestStepsInQuietWeekUsesMemberCalendarDay",
    "purpose": "Steps In Quiet Week Uses Member Calendar Day",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Steps In Quiet Week Uses Member Calendar Day. The test checks the returned/domain behavior at its boundary. Assertion evidence: if zone == \"UTC\" {; if row == nil {; if utcDay != \"October 22\" { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if zone == \"UTC\" {; if row == nil {; if utcDay != \"October 22\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 907,
    "name": "TestQuietWeekRow",
    "purpose": "Quiet Week Row",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Quiet Week Row. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := whoStepsInFindings(q, des, now); len(got) != 0 {; t.Fatalf(\"day 3 note: %+v\", got); if row == nil || row.ID != \"steps_in_quiet_week\" || row.Headline != \"You named Alex.\" || row.Placement != \"Comes back September 27\" || row.NoteGroup != \"access\" || row.State != \"qu Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := whoStepsInFindings(q, des, now); len(got) != 0 {; t.Fatalf(\"day 3 note: %+v\", got); if row == nil || row.ID != \"steps_in_quiet_week\" || row.Headline != \"You named Alex.\" || row.Placement != \"Comes back September 27\" || row.NoteGroup != \"access\" || row.State != \"qu",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 990,
    "name": "TestAddingAPersonBringsTheNoteBack",
    "purpose": "Adding APerson Brings The Note Back",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Adding APerson Brings The Note Back. The test checks the returned/domain behavior at its boundary. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 1001,
    "name": "TestComputeWorthALook_SkipsSpouseLinkOverlayEntityRead",
    "purpose": "Compute Worth ALook Skips Spouse Link Overlay Entity Read",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Compute Worth ALook Skips Spouse Link Overlay Entity Read. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\") {; if err != nil {; if roster != nil { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if strings.Contains(r.URL.Path, \"/rpc/_g6_spouse_link_shown_name\") {; if err != nil {; if roster != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 1056,
    "name": "TestWorthALookPropagatesMissingStepsInRPC",
    "purpose": "Worth ALook Propagates Missing Steps In RPC",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Propagates Missing Steps In RPC. The test checks the returned/domain behavior at its boundary. Assertion evidence: if r.URL.Path == \"/rest/v1/rpc/get_own_steps_in\" {; w.WriteHeader(http.StatusNotFound); if err == nil || report != nil { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if r.URL.Path == \"/rest/v1/rpc/get_own_steps_in\" {; w.WriteHeader(http.StatusNotFound); if err == nil || report != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 1080,
    "name": "TestWorthALookOmitsEvidenceTheOwnerCanSee",
    "purpose": "Worth ALook Omits Evidence The Owner Can See",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Omits Evidence The Owner Can See. The test checks the returned/domain behavior at its boundary. Assertion evidence: if strings.Contains(r.URL.RawQuery, evidenceID) {; t.Errorf(\"facts were loaded for evidence item %s\", evidenceID); if !strings.Contains(r.URL.RawQuery, keepID) { Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.Contains(r.URL.RawQuery, evidenceID) {; t.Errorf(\"facts were loaded for evidence item %s\", evidenceID); if !strings.Contains(r.URL.RawQuery, keepID) {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 1146,
    "name": "TestComputeWorthALook_UnconfirmedPackage",
    "purpose": "Compute Worth ALook Unconfirmed Package",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Compute Worth ALook Unconfirmed Package. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if finding.Headline == \"Shannon cannot open anything yet.\" && strings.Contains(finding.Explanation, \"did not finish\") {; t.Fatalf(\"unconfirmed package must show the unfinished note: %+v\", computed.findings) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if finding.Headline == \"Shannon cannot open anything yet.\" && strings.Contains(finding.Explanation, \"did not finish\") {; t.Fatalf(\"unconfirmed package must show the unfinished note: %+v\", computed.findings)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/supabase_worth_a_look_test.go",
    "line": 1198,
    "name": "TestQuietRowSortsIntoTheList",
    "purpose": "Quiet Row Sorts Into The List",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Quiet Row Sorts Into The List. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(sorted) != 3 || sorted[0].ID != \"snoozed-note\" || sorted[1].ID != \"handled-note\" || sorted[2].ID != \"steps_in_quiet_week\" {; t.Fatalf(\"quiet row is sorted into the list: %+v\", sorted) Relevant implementation: server/internal/services/supabase_worth_a_look.go. Relevant implementation: server/internal/services/supabase_worth_a_look.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(sorted) != 3 || sorted[0].ID != \"snoozed-note\" || sorted[1].ID != \"handled-note\" || sorted[2].ID != \"steps_in_quiet_week\" {; t.Fatalf(\"quiet row is sorted into the list: %+v\", sorted)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/typed_outcome_test.go",
    "line": 11,
    "name": "TestTypedFailureStaysPerPaperWithoutItemFailureOrBDARetry",
    "purpose": "Typed Failure Stays Per Paper Without Item Failure Or BDARetry",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Failure Stays Per Paper Without Item Failure Or BDARetry. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; if item == nil || item.ClassificationStatus != \"complete\" || item.RetryExtraction != nil {; if len(item.Documents) != 1 || item.Documents[0].ReadOutcome != documentkind.OutcomeFailed { Relevant implementation: server/internal/services/supabase_items.go:1706 GetVisibleItem. Relevant implementation: server/internal/services/supabase_items.go:1706 GetVisibleItem.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; if item == nil || item.ClassificationStatus != \"complete\" || item.RetryExtraction != nil {; if len(item.Documents) != 1 || item.Documents[0].ReadOutcome != documentkind.OutcomeFailed {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/typed_outcome_test.go",
    "line": 57,
    "name": "TestKindRevisionStaleRestoresPublishedCommitStampWithoutPaperPending",
    "purpose": "Kind Revision Stale Restores Published Commit Stamp Without Paper Pending",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Kind Revision Stale Restores Published Commit Stamp Without Paper Pending. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.GenerationID != \"published\" || got.CommittedAt != stamp {; t.Fatalf(\"stale attempt lost published baseline: %+v\", got); if got.PendingAttemptID != \"\" || got.PendingAttemptDocumentID != \"\" { Relevant implementation: server/internal/services/supabase_items.go:877 pickItemClassification. Relevant implementation: server/internal/services/supabase_items.go:877 pickItemClassification.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.GenerationID != \"published\" || got.CommittedAt != stamp {; t.Fatalf(\"stale attempt lost published baseline: %+v\", got); if got.PendingAttemptID != \"\" || got.PendingAttemptDocumentID != \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/typed_outcome_test.go",
    "line": 73,
    "name": "TestInitialKindRevisionStaleHasNoSyntheticPendingGeneration",
    "purpose": "Initial Kind Revision Stale Has No Synthetic Pending Generation",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Initial Kind Revision Stale Has No Synthetic Pending Generation. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got.Status != \"failed\" || got.GenerationID != \"\" || got.CommittedAt != \"\" || got.PendingAttemptID != \"\" {; t.Fatalf(\"initial stale attempt became pending/synthetic: %+v\", got) Relevant implementation: server/internal/services/supabase_items.go:877 pickItemClassification. Relevant implementation: server/internal/services/supabase_items.go:877 pickItemClassification.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got.Status != \"failed\" || got.GenerationID != \"\" || got.CommittedAt != \"\" || got.PendingAttemptID != \"\" {; t.Fatalf(\"initial stale attempt became pending/synthetic: %+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/typed_outcome_test.go",
    "line": 82,
    "name": "TestTypedOutcomeUsesAuthoritativeAttempt",
    "purpose": "Typed Outcome Uses Authoritative Attempt",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Outcome Uses Authoritative Attempt. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if got.Status != tc.want {; t.Fatalf(\"status=%s want %s\", got.Status, tc.want) Relevant implementation: server/internal/services/supabase_items.go:877 pickItemClassification. Relevant implementation: server/internal/services/supabase_items.go:877 pickItemClassification.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if got.Status != tc.want {; t.Fatalf(\"status=%s want %s\", got.Status, tc.want)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/upload_atomic_sql_test.go",
    "line": 13,
    "name": "TestCreateFileItemUploadSQL",
    "purpose": "Check upload SQL creates file items atomically with expected database statements",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Check upload SQL creates file items atomically with expected database statements. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if strings.TrimSpace(os.Getenv(\"CI\")) == \"true\" {; t.Skip(\"local gen 5 SQL fixture; CI does not apply overnight extract migrations\"); if err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Skips when CI=true because the local Gen 5 SQL fixture migrations are not applied in CI; otherwise requires its local SQL fixture setup. No tests run.",
    "confidence": "reviewed",
    "assertion_summary": "if strings.TrimSpace(os.Getenv(\"CI\")) == \"true\" {; t.Skip(\"local gen 5 SQL fixture; CI does not apply overnight extract migrations\"); if err != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 435,
    "name": "TestValueReview_EndSpouseLinkDoubleFork",
    "purpose": "Value Review End Spouse Link Double Fork",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review End Spouse Link Double Fork. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"first end_spouse_link failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"spouse link not found or already ended\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"first end_spouse_link failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"spouse link not found or already ended\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 472,
    "name": "TestValueReview_VerifyDeathVsStopShareOurs",
    "purpose": "Value Review Verify Death Vs Stop Share Ours",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Stop Share Ours. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB != nil && !strings.Contains(outB, \"stop_share_ours requires an ours item\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB != nil && !strings.Contains(outB, \"stop_share_ours requires an ours item\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 508,
    "name": "TestValueReview_VerifyDeathVsShareRecipient",
    "purpose": "Value Review Verify Death Vs Share Recipient",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Share Recipient. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot add a share for a person with a verified death\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot add a share for a person with a verified death\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 541,
    "name": "TestValueReview_VerifyDeathVsClaimNotice",
    "purpose": "Value Review Verify Death Vs Claim Notice",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Claim Notice. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot claim a notice for a person with a verified death\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot claim a notice for a person with a verified death\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 577,
    "name": "TestCreateSpouseInviteRevalidatesRecipientMappingCreatedAfterLookup",
    "purpose": "Create Spouse Invite Revalidates Recipient Mapping Created After Lookup",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Create Spouse Invite Revalidates Recipient Mapping Created After Lookup. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"mapping creator failed: %v\", err); t.Fatalf(\"invite create failed: %v\\n%s\", err, out) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil {; t.Fatalf(\"mapping creator failed: %v\", err); t.Fatalf(\"invite create failed: %v\\n%s\", err, out)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 614,
    "name": "TestSpouseInviteDistinctAcceptsSharingInviteeSerialize",
    "purpose": "Spouse Invite Distinct Accepts Sharing Invitee Serialize",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Invite Distinct Accepts Sharing Invitee Serialize. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"first distinct invite accept failed: %v\\n%s\", errA, outA); if errB != nil || (!strings.Contains(outB, `\"code\": \"invite_changed\"`) && !strings.Contains(outB, `\"code\":\"invite_changed\"`)) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"first distinct invite accept failed: %v\\n%s\", errA, outA); if errB != nil || (!strings.Contains(outB, `\"code\": \"invite_changed\"`) && !strings.Contains(outB, `\"code\":\"invite_changed\"`)) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 643,
    "name": "TestSpouseInviteKnowledgeAttemptsSerializeAcrossTokenSessionAndCrossed",
    "purpose": "Spouse Invite Knowledge Attempts Serialize Across Token Session And Crossed",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Invite Knowledge Attempts Serialize Across Token Session And Crossed. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil || errB != nil {; t.Fatalf(\"knowledge attempts should commit as values: A=%v %s B=%v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(`SELECT knowledge_fail_count::text FROM spouse_invite WHERE id='%s'`, invite)); got != \"2\" { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil || errB != nil {; t.Fatalf(\"knowledge attempts should commit as values: A=%v %s B=%v %s\", errA, outA, errB, outB); if got := vrQuery(t, target, fmt.Sprintf(`SELECT knowledge_fail_count::text FROM spouse_invite WHERE id='%s'`, invite)); got != \"2\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 674,
    "name": "TestSpouseInviteIncomingReminderPreservesBudgetAndIgnoresConcurrentNewInvite",
    "purpose": "Spouse Invite Incoming Reminder Preserves Budget And Ignores Concurrent New Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Invite Incoming Reminder Preserves Budget And Ignores Concurrent New Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: if out, err := vrPsql(t, target, createSQL); err != nil {; t.Fatalf(\"concurrent create should finish without acquiring a new reminder invite lock: %v\\n%s\", err, out); if out, err := reminder.collect(); err != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if out, err := vrPsql(t, target, createSQL); err != nil {; t.Fatalf(\"concurrent create should finish without acquiring a new reminder invite lock: %v\\n%s\", err, out); if out, err := reminder.collect(); err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 706,
    "name": "TestSpouseInviteCancelVsCreateSerializesOutgoingGate",
    "purpose": "Spouse Invite Cancel Vs Create Serializes Outgoing Gate",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Invite Cancel Vs Create Serializes Outgoing Gate. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil || errB != nil {; t.Fatalf(\"cancel/create contention failed: A=%v %s B=%v %s\", errA, outA, errB, outB); if !strings.Contains(outB, `\"created\": true`) && !strings.Contains(outB, `\"created\":true`) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil || errB != nil {; t.Fatalf(\"cancel/create contention failed: A=%v %s B=%v %s\", errA, outA, errB, outB); if !strings.Contains(outB, `\"created\": true`) && !strings.Contains(outB, `\"created\":true`) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 732,
    "name": "TestSpouseInviteAcceptVsCancelD5RowSerializes",
    "purpose": "Spouse Invite Accept Vs Cancel D5 Row Serializes",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Spouse Invite Accept Vs Cancel D5 Row Serializes. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil || errB != nil {; t.Fatalf(\"accept/D5 cancel contention failed: A=%v %s B=%v %s\", errA, outA, errB, outB) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil || errB != nil {; t.Fatalf(\"accept/D5 cancel contention failed: A=%v %s B=%v %s\", errA, outA, errB, outB)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 759,
    "name": "TestValueReview_VerifyDeathVsAcceptSpouseInvite",
    "purpose": "Value Review Verify Death Vs Accept Spouse Invite",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Accept Spouse Invite. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"spouse invite account is unavailable\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"spouse invite account is unavailable\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 804,
    "name": "TestValueReview_ItemWriterVsPersonMutex",
    "purpose": "Value Review Item Writer Vs Person Mutex",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Item Writer Vs Person Mutex. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"item-first writer must not deadlock on the person mutex: %v\\n%s\", errA, outA); if errB != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"item-first writer must not deadlock on the person mutex: %v\\n%s\", errA, outA); if errB != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 850,
    "name": "TestValueReview_VerifyDeathVsGrantRecipient",
    "purpose": "Value Review Verify Death Vs Grant Recipient",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Grant Recipient. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot add an after-I-die grant for a person with a verified death\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot add an after-I-die grant for a person with a verified death\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 884,
    "name": "TestValueReview_VerifyDeathVsCreateItemMine",
    "purpose": "Value Review Verify Death Vs Create Item Mine",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Create Item Mine. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot create an item for a person with verified death\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"verify_death failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"cannot create an item for a person with verified death\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 913,
    "name": "TestValueReview_EndSpouseLinkVsCreateItemOurs",
    "purpose": "Value Review End Spouse Link Vs Create Item Ours",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review End Spouse Link Vs Create Item Ours. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"end_spouse_link failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"create_item_ours requires an active spouse\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"end_spouse_link failed: %v\\n%s\", errA, outA); if errB == nil || !strings.Contains(outB, \"create_item_ours requires an active spouse\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 941,
    "name": "TestValueReview_AcceptSpouseInviteVsMarkIntent",
    "purpose": "Value Review Accept Spouse Invite Vs Mark Intent",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Accept Spouse Invite Vs Mark Intent. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"accept_spouse_invite failed: %v\\n%s\", errA, outA); if errB != nil || !strings.Contains(outB, \"invite_changed\") { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"accept_spouse_invite failed: %v\\n%s\", errA, outA); if errB != nil || !strings.Contains(outB, \"invite_changed\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 985,
    "name": "TestValueReview_JobBindVsOccurrenceWriter",
    "purpose": "Value Review Job Bind Vs Occurrence Writer",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Job Bind Vs Occurrence Writer. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"item-first occurrence writer must not deadlock on the job mutex: %v\\n%s\", errA, outA); if errB != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"item-first occurrence writer must not deadlock on the job mutex: %v\\n%s\", errA, outA); if errB != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 1090,
    "name": "TestValueReview_VerifyDeathVsForkCopyGrantsVerbatim",
    "purpose": "Value Review Verify Death Vs Fork Copy Grants Verbatim",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Verify Death Vs Fork Copy Grants Verbatim. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"recipient verify_death failed: %v\\n%s\", errA, outA); if errB != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"recipient verify_death failed: %v\\n%s\", errA, outA); if errB != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_access_concurrency_test.go",
    "line": 1162,
    "name": "TestValueReview_AcceptInviteVsEntityKeyUpdate",
    "purpose": "Value Review Accept Invite Vs Entity Key Update",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Accept Invite Vs Entity Key Update. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"item-first writer must not deadlock on the entity key update: %v\\n%s\", errA, outA); if errB != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"item-first writer must not deadlock on the entity key update: %v\\n%s\", errA, outA); if errB != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_resolve_concurrency_test.go",
    "line": 129,
    "name": "TestValueReview_ResolveDoubleEditor",
    "purpose": "Value Review Resolve Double Editor",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Resolve Double Editor. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"first resolve failed: %v\\n%s\", errA, outA); if errB == nil || !(strings.Contains(outB, \"stale_target\") || strings.Contains(outB, \"review_not_open\")) { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"first resolve failed: %v\\n%s\", errA, outA); if errB == nil || !(strings.Contains(outB, \"stale_target\") || strings.Contains(outB, \"review_not_open\")) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/value_review_resolve_concurrency_test.go",
    "line": 158,
    "name": "TestValueReview_ClaimVsResolveReminderGateOff",
    "purpose": "Value Review Claim Vs Resolve Reminder Gate Off",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Value Review Claim Vs Resolve Reminder Gate Off. The test checks the returned/domain behavior at its boundary. Assertion evidence: if errA != nil {; t.Fatalf(\"resolve failed: %v\\n%s\", errA, outA); if errB != nil { Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if errA != nil {; t.Fatalf(\"resolve failed: %v\\n%s\", errA, outA); if errB != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 20,
    "name": "TestSeverityAndSort",
    "purpose": "Severity And Sort",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Severity And Sort. The test checks the returned/domain behavior at its boundary. Assertion evidence: if findings[0].Kind != FindingKindDeceasedRole || findings[0].Severity != FindingSeverityCritical {; t.Fatalf(\"critical deceased first: %+v\", findings[0]); if findings[1].Kind != FindingKindBindCreate || findings[1].Severity != FindingSeverityStandard { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if findings[0].Kind != FindingKindDeceasedRole || findings[0].Severity != FindingSeverityCritical {; t.Fatalf(\"critical deceased first: %+v\", findings[0]); if findings[1].Kind != FindingKindBindCreate || findings[1].Severity != FindingSeverityStandard {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 47,
    "name": "TestDecisionQuietAndReturn",
    "purpose": "Decision Quiet And Return",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Decision Quiet And Return. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(quiet) != 2 || len(visible) != 2 {; t.Fatalf(\"quiet=%d visible=%d\", len(quiet), len(visible)); if visible[0].ID != rows[1].ID { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(quiet) != 2 || len(visible) != 2 {; t.Fatalf(\"quiet=%d visible=%d\", len(quiet), len(visible)); if visible[0].ID != rows[1].ID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 107,
    "name": "TestSnoozeEndsOnLocalDay",
    "purpose": "Snooze Ends On Local Day",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Snooze Ends On Local Day. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || zone != \"America/New_York\" {; if local.Hour() != 23 || local.Minute() != 59 || local.Day() != 29 {; t.Fatalf(\"end of local day: %s\", local) Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || zone != \"America/New_York\" {; if local.Hour() != 23 || local.Minute() != 59 || local.Day() != 29 {; t.Fatalf(\"end of local day: %s\", local)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 138,
    "name": "TestNameSetIgnoresOrder",
    "purpose": "Name Set Ignores Order",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Name Set Ignores Order. The test checks the returned/domain behavior at its boundary. Assertion evidence: if nameSetValues([]string{\" Bea \", \"ada\", \"ada\"}) != nameSetValues([]string{\"ada\", \"bea\"}) { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if nameSetValues([]string{\" Bea \", \"ada\", \"ada\"}) != nameSetValues([]string{\"ada\", \"bea\"}) {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 144,
    "name": "TestPinDecisionValuesRetainBothSides",
    "purpose": "Pin Decision Values Retain Both Sides",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Pin Decision Values Retain Both Sides. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(fmt.Sprintf(\"%s/side%d\", tc.name, side), func(t *testing.T) {; if len(got) != 1 {; t.Fatalf(\"findings=%+v\", got) Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=fmt.Sprintf(\"%s/side%d\" Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(fmt.Sprintf(\"%s/side%d\", tc.name, side), func(t *testing.T) {; if len(got) != 1 {; t.Fatalf(\"findings=%+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 202,
    "name": "TestBeneficiaryDecisionRetainsPrecision",
    "purpose": "Beneficiary Decision Retains Precision",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Decision Retains Precision. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(kind, func(t *testing.T) {; if kind == \"policy\" {; if len(got) != 1 { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=kind Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(kind, func(t *testing.T) {; if kind == \"policy\" {; if len(got) != 1 {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 234,
    "name": "TestWorthALookDecisionReadsAllPages",
    "purpose": "Worth ALook Decision Reads All Pages",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Decision Reads All Pages. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(fmt.Sprintf(\"fail=%t\", failLater), func(t *testing.T) {; if r.URL.Query().Get(\"order\") != field+\".asc\" {; if actor[\"p_actor\"] != \"member\" { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=fmt.Sprintf(\"fail=%t\" Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(fmt.Sprintf(\"fail=%t\", failLater), func(t *testing.T) {; if r.URL.Query().Get(\"order\") != field+\".asc\" {; if actor[\"p_actor\"] != \"member\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 281,
    "name": "TestWorthALookDecisionRejectsStaleAndFailedTimezone",
    "purpose": "Worth ALook Decision Rejects Stale And Failed Timezone",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Worth ALook Decision Rejects Stale And Failed Timezone. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || len(report.Findings) != 1 {; t.Fatalf(\"report=%+v err=%v\", report, err); if report.Findings[0].Fingerprint == \"\" { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || len(report.Findings) != 1 {; t.Fatalf(\"report=%+v err=%v\", report, err); if report.Findings[0].Fingerprint == \"\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 383,
    "name": "TestQuietPagePlacementGroupNameAndSort",
    "purpose": "Quiet Page Placement Group Name And Sort",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Quiet Page Placement Group Name And Sort. The test checks the returned/domain behavior at its boundary. Assertion evidence: if quietNoteGroup(will.Kind) != \"plans\" || quietNoteGroup(shares.Kind) != \"plans\" {; if quietNoteGroup(access.Kind) != \"access\" {; if quietNoteGroup(kind) != \"check\" { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if quietNoteGroup(will.Kind) != \"plans\" || quietNoteGroup(shares.Kind) != \"plans\" {; if quietNoteGroup(access.Kind) != \"access\" {; if quietNoteGroup(kind) != \"check\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 510,
    "name": "TestBeneficiaryTotalsUseDecimalArithmetic",
    "purpose": "Beneficiary Totals Use Decimal Arithmetic",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Beneficiary Totals Use Decimal Arithmetic. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(representation, func(t *testing.T) {; if representation == \"will percent\" {; if err != nil { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=representation Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(representation, func(t *testing.T) {; if representation == \"will percent\" {; if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 588,
    "name": "TestSnoozeClampsTargetMonth",
    "purpose": "Snooze Clamps Target Month",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Snooze Clamps Target Month. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(zone+\"/\"+tc.start+\"/\"+tc.interval, func(t *testing.T) {; if err != nil {; if got := until.In(loc).Format(\"2006-01-02 15:04:05\"); got != tc.want+\" 23:59:59\" || storedZone != zone { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=zone+\"/\"+tc.start+\"/\"+tc.interval Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(zone+\"/\"+tc.start+\"/\"+tc.interval, func(t *testing.T) {; if err != nil {; if got := until.In(loc).Format(\"2006-01-02 15:04:05\"); got != tc.want+\" 23:59:59\" || storedZone != zone {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 626,
    "name": "TestQuietRecordNamesRequireItemLinks",
    "purpose": "Quiet Record Names Require Item Links",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Quiet Record Names Require Item Links. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := quietRecordName(WorthALookFinding{ID: id, Href: href}, hub); got != \"This record\" {; t.Fatalf(\"id %q href %q inferred a record: %q\", id, href, got); if got := quietRecordName(WorthALookFinding{Href: \"/items/%70aper\"}, hub); got != \"Casey Quinn's will\" { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := quietRecordName(WorthALookFinding{ID: id, Href: href}, hub); got != \"This record\" {; t.Fatalf(\"id %q href %q inferred a record: %q\", id, href, got); if got := quietRecordName(WorthALookFinding{Href: \"/items/%70aper\"}, hub); got != \"Casey Quinn's will\" {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 647,
    "name": "TestQuietRecordNamesUseHubAccountSlices",
    "purpose": "Quiet Record Names Use Hub Account Slices",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Quiet Record Names Use Hub Account Slices. The test checks the returned/domain behavior at its boundary. Assertion evidence: t.Run(tc.name, func(t *testing.T) {; if subject == \"acct_1\" {; if err != nil { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=tc.name Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "t.Run(tc.name, func(t *testing.T) {; if subject == \"acct_1\" {; if err != nil {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 705,
    "name": "TestSnoozeAfterDeathRefusesAWeek",
    "purpose": "Snooze After Death Refuses AWeek",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Snooze After Death Refuses AWeek. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil || len(report.Findings) == 0 {; t.Fatalf(\"report=%+v err=%v\", report, err); if row.Kind == FindingKindAfterDeath { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if err != nil || len(report.Findings) == 0 {; t.Fatalf(\"report=%+v err=%v\", report, err); if row.Kind == FindingKindAfterDeath {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_decision_test.go",
    "line": 757,
    "name": "TestNoOneNamedSortsBeforeNotAccepted",
    "purpose": "Sort an unnamed person ahead of a person who has not accepted",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Sort an unnamed person ahead of a person who has not accepted. The test checks the returned/domain behavior at its boundary. Assertion evidence: if findings[0].Kind != FindingKindAfterDeath || findings[0].Severity != FindingSeverityCritical {; t.Fatalf(\"no-one-named sorts first: %+v\", findings); if findings[1].Kind != FindingKindAfterDeathUnfinished || findings[1].Severity != FindingSeverityCritical { Relevant implementation: server/internal/services/worth_a_look_decision.go. Relevant implementation: server/internal/services/worth_a_look_decision.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if findings[0].Kind != FindingKindAfterDeath || findings[0].Severity != FindingSeverityCritical {; t.Fatalf(\"no-one-named sorts first: %+v\", findings); if findings[1].Kind != FindingKindAfterDeathUnfinished || findings[1].Severity != FindingSeverityCritical {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_living_test.go",
    "line": 5,
    "name": "TestLivingPersonWithPaperDateRaisesNoDeceasedRole",
    "purpose": "Living Person With Paper Date Raises No Deceased Role",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Living Person With Paper Date Raises No Deceased Role. The test checks the returned/domain behavior at its boundary. Assertion evidence: if got := deceasedRoleFindings(q); len(got) != 0 {; t.Fatalf(\"findings=%+v\", got) Relevant implementation: server/internal/services/supabase_worth_a_look_wave2.go:321 deceasedRoleFindings. Relevant implementation: server/internal/services/supabase_worth_a_look_wave2.go:321 deceasedRoleFindings.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if got := deceasedRoleFindings(q); len(got) != 0 {; t.Fatalf(\"findings=%+v\", got)",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_verified_death_264_test.go",
    "line": 42,
    "name": "TestVerifiedDeathKeepsOneAfterDeathNote",
    "purpose": "Verified Death Keeps One After Death Note",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Verified Death Keeps One After Death Note. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(got) != 1 || got[0].Kind != FindingKindAfterDeath {; t.Fatalf(\"a verified-dead designee is one AfterDeath note: %+v\", got); if got[0].ID != FindingKindAfterDeath+\":\"+davePersonID { Relevant implementation: server/internal/services/supabase_worth_a_look_wave2.go:784 whoStepsInFindings. Relevant implementation: server/internal/services/supabase_worth_a_look_wave2.go:784 whoStepsInFindings.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(got) != 1 || got[0].Kind != FindingKindAfterDeath {; t.Fatalf(\"a verified-dead designee is one AfterDeath note: %+v\", got); if got[0].ID != FindingKindAfterDeath+\":\"+davePersonID {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/internal/services/worth_a_look_verified_death_264_test.go",
    "line": 71,
    "name": "TestVerifiedDeathRoleNoteIsDateFree",
    "purpose": "Verified Death Role Note Is Date Free",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Verified Death Role Note Is Date Free. The test checks the returned/domain behavior at its boundary. Assertion evidence: if len(roles) != 1 {; t.Fatalf(\"one role note for a verified-dead executor: %+v\", roles); if note.Kind != FindingKindDeceasedRole || !strings.HasPrefix(note.ID, FindingKindDeceasedRole+\":\") { Relevant implementation: server/internal/services/supabase_worth_a_look_wave2.go:321 deceasedRoleFindings. Relevant implementation: server/internal/services/supabase_worth_a_look_wave2.go:321 deceasedRoleFindings.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available.",
    "assertion_summary": "if len(roles) != 1 {; t.Fatalf(\"one role note for a verified-dead executor: %+v\", roles); if note.Kind != FindingKindDeceasedRole || !strings.HasPrefix(note.ID, FindingKindDeceasedRole+\":\") {",
    "classification_confidence": "reviewed",
    "confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_extract_test.go",
    "line": 8,
    "name": "TestExtractDispatcherStartupPolicy",
    "purpose": "Starts extraction dispatchers for WEB_ONLY=0 and unset, and suppresses startup for WEB_ONLY=1.",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Extract Dispatcher Startup Policy. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: t.Run(\"WEB_ONLY=\"+mode, func(t *testing.T) {; if key == \"WEB_ONLY\" {; if mode != \"1\" { Relevant implementation: server/main.go:160 startExtractDispatchers. Relevant implementation: server/main.go:160 startExtractDispatchers.",
    "execution_notes": "Subtests grouped under this top-level test; count=1; case names=\"WEB_ONLY=\"+mode Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed"
  },
  {
    "file": "server/main_step_in_test.go",
    "line": 12,
    "name": "TestMainWiresStepInStartup",
    "purpose": "Checks main startup calls step-in secret setup and verifies it initializes a usable code hash.",
    "classification": "mixed",
    "restates": "partial",
    "reason": "Reviewed focus: Verify main invokes step-in startup configuration and initializes the secret hash. The test constrains source structure, fixture setup, startup wiring, or an implementation-level query optimization. Assertion evidence: if key == \"STEP_IN_CODE_SECRET\" {; if err != nil || sum == \"\" {; t.Fatalf(\"startup secret hash=%q err=%v\", sum, err) Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name. Relevant implementation: relevant production declarations are in the same package; no direct call target matched by name.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: reviewed.",
    "confidence": "reviewed",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "restates_review": "AST-inspects main.go for services.ApplyStepInStartup (source wiring), then asserts the loaded secret produces a nonempty code hash."
  },
  {
    "file": "server/main_test.go",
    "line": 116,
    "name": "TestTypedSummaryEvidenceWiringPrincipalPair",
    "purpose": "Typed Summary Evidence Wiring Principal Pair",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Principal Pair. The test checks the returned/domain behavior at its boundary. Assertion evidence: if loader == nil {; if err != nil {; t.Fatalf(\"loader: %v\", err) Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if loader == nil {; if err != nil {; t.Fatalf(\"loader: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 190,
    "name": "TestTypedSummaryEvidenceWiringNonprincipalAndMismatchNotEnriched",
    "purpose": "Typed Summary Evidence Wiring Nonprincipal And Mismatch Not Enriched",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Nonprincipal And Mismatch Not Enriched. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"Missing Citation\" { Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"Missing Citation\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 256,
    "name": "TestTypedSummaryEvidenceWiringMissingEnvelopeHonest",
    "purpose": "Typed Summary Evidence Wiring Missing Envelope Honest",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Missing Envelope Honest. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"absent envelope must be honest empty, not error: %v\", err); if got != nil { Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"absent envelope must be honest empty, not error: %v\", err); if got != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 277,
    "name": "TestTypedSummaryEvidenceWiringEnvelopeErrorHonest",
    "purpose": "Typed Summary Evidence Wiring Envelope Error Honest",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Envelope Error Honest. The test checks app-facing results alongside persistence, RPC attempts, or fixture state. Assertion evidence: loader := wiringLoader(t, wiringEnvelopeHandler(t, \"job-err\", nil, http.StatusInternalServerError, \"typed store failed\")); if err == nil {; t.Fatalf(\"store error returned %d rows, want error\", len(got)) Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "loader := wiringLoader(t, wiringEnvelopeHandler(t, \"job-err\", nil, http.StatusInternalServerError, \"typed store failed\")); if err == nil {; t.Fatalf(\"store error returned %d rows, want error\", len(got))",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 300,
    "name": "TestTypedSummaryEvidenceWiringNilRunner",
    "purpose": "Typed Summary Evidence Wiring Nil Runner",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Nil Runner. The test checks the returned/domain behavior at its boundary. Assertion evidence: if typedEvidenceLoader(nil) != nil {; if typedEvidenceLoader(&extracttyped.Runner{}) != nil { Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "No subtests or skip condition observed in top-level body. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if typedEvidenceLoader(nil) != nil {; if typedEvidenceLoader(&extracttyped.Runner{}) != nil {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 309,
    "name": "TestTypedSummaryEvidenceWiringJobMismatchRejected",
    "purpose": "Typed Summary Evidence Wiring Job Mismatch Rejected",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Job Mismatch Rejected. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err == nil {; t.Fatalf(\"mismatched env.JobID returned %d rows; want rejection, not relabel\", len(got)); t.Fatalf(\"job mismatch collapsed to absent: %v\", err) Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err == nil {; t.Fatalf(\"mismatched env.JobID returned %d rows; want rejection, not relabel\", len(got)); t.Fatalf(\"job mismatch collapsed to absent: %v\", err)",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 353,
    "name": "TestTypedSummaryEvidenceWiringMissingDomainFiltered",
    "purpose": "Typed Summary Evidence Wiring Missing Domain Filtered",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Missing Domain Filtered. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"No Domain Person\" { Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"No Domain Person\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 392,
    "name": "TestTypedSummaryEvidenceWiringWrongDomainFiltered",
    "purpose": "Typed Summary Evidence Wiring Wrong Domain Filtered",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Wrong Domain Filtered. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"Instrument Named\" || ev.Name == \"Firm Named\" { Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"Instrument Named\" || ev.Name == \"Firm Named\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  },
  {
    "file": "server/main_test.go",
    "line": 435,
    "name": "TestTypedSummaryEvidenceWiringEmptySubjectFiltered",
    "purpose": "Typed Summary Evidence Wiring Empty Subject Filtered",
    "classification": "behavior",
    "restates": "no",
    "reason": "Reviewed focus: Typed Summary Evidence Wiring Empty Subject Filtered. The test checks the returned/domain behavior at its boundary. Assertion evidence: if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"Blank Subject\" || ev.Name == \"Whitespace Subject\" { Relevant implementation: server/main.go. Relevant implementation: server/main.go.",
    "execution_notes": "Fixture/environment dependent: inspect test body for guard and testpg helper; no suites run. Classification confidence: heuristic based on test name/body signals and extracted assertions; implementation declaration resolved by filename or direct call where available. Semantic review confidence: heuristic.",
    "confidence": "reviewed",
    "assertion_summary": "if err != nil {; t.Fatalf(\"loader: %v\", err); if ev.Name == \"Blank Subject\" || ev.Name == \"Whitespace Subject\" {",
    "classification_confidence": "reviewed",
    "restates_confidence": "reviewed",
    "semantic_review": "Reviewed assertion-bearing test body and compared with the exercised production boundary. Assertions check independent output, error, request, or state effects; no copied production implementation expectation."
  }
]
