{
  "recordedAt": "2026-10-03T00:19:33.311215+00:00",
  "product": "SiYuan 3.8.6",
  "sourceCommit": "158812497497c6fa8a6d1031bfa2f025a61ee5c2",
  "runtimeContractSha256": "3bcf748b835fa368b7448d7194cf583eae8b93043425c5cb95038d4b566d4ca7",
  "caseContractSha256": "319d50c8ea72fe6b72507e591c2456a3f40754de81ff3c58b2cd65d0d044eaa1",
  "observations": [
    {
      "caseId": "siyuan-primary",
      "startedAt": "2026-10-03T00:17:37.487446+00:00",
      "completedAt": "2026-10-03T00:17:38.959347+00:00",
      "durationMs": 1471,
      "nativeEndpoint": "/api/ai/editor/chat",
      "documentId": "20261003080653-bc9vdza",
      "contentSha256": "54b10c2781444d7ab0cdf0e35b6b3f1ceb99f04f26ee231e387dcf63b7df05d7",
      "nativeSystemTextSha256": "97a47d9a6ad19e51c012517efb88e6e85c2905feb71bb1666ad2326a153603e6",
      "expectedSystemPhysicalFileSha256": "8f4e1bb86db78919d2e9e8a72b75343ba46693b2706c9dbc45c92f9de2de92e8",
      "nativeUserPromptSha256": "84a74fcb5518e04bf3e0ddcb609c7785e8c3528c85cd7e12e0e6bba49703fa90",
      "originalPromptSha256": "04687b5b2cf2dd647139772b1351a13485c18410dbf2250559aa63983ffe231f",
      "nativeSerializationExplanation": "Only blank-line spacing, surrounding whitespace and Markdown list marker equivalence allowed for admission. Raw texts preserved; no normalized text enters upstream payload.",
      "requestedParameters": {
        "max_completion_tokens": 1024,
        "temperature": 0.2,
        "stream": true
      },
      "wireHashes": {
        "requestSha256": "994ceee730ddacc38fdab2649d729f0350eaf745e88281fc8e156d361984498b",
        "upstreamRequestSha256": "d58fc78a8bb522e91b421e953a6ca55952be03991daad4fa9ee8ee6f35fe2feb",
        "upstreamResponseSha256": "8f161894b1d8df33b0a1d4f157c1043320ec6efb7ebb11131df2c28d7a834dbe",
        "servedResponseSha256": "3a1e743053f49d8a72798ed4f7f22c6d709ba7df3ca384254dadabaec1efdbcc"
      },
      "readonlyNote": {
        "beforeSha256": "a5c2f22f80cea67f199db72cfc0ac58bda1da408f2f52e066a5323d462f4bd22",
        "afterSha256": "a5c2f22f80cea67f199db72cfc0ac58bda1da408f2f52e066a5323d462f4bd22"
      },
      "comparisons": {
        "oneBackendForward": true,
        "originalActionAndSelectedNoteRetained": true,
        "nativeSystemMatchesFrozenText": true,
        "nativeMessagesTwoNoTools": true,
        "onlyParsedRequestModelMapped": true,
        "nativeRequestUsesAlias": true,
        "upstreamExactPrivateModelId": true,
        "allChoicesUnchanged": true,
        "nativeOutputMatchesCompleteServedContent": true,
        "selectedNoteBeforeAfterUnchanged": true,
        "nativeCompletedFirstResponse": true,
        "originalNativePayloadRetained": true
      }
    },
    {
      "caseId": "siyuan-boundary",
      "startedAt": "2026-10-03T00:17:45.472726+00:00",
      "completedAt": "2026-10-03T00:17:46.423257+00:00",
      "durationMs": 950,
      "nativeEndpoint": "/api/ai/editor/chat",
      "documentId": "20261003080653-6efwkww",
      "contentSha256": "17c19823ea16267f313224372fce37d294ae212af6f81bcf8ed0b17193152fab",
      "nativeSystemTextSha256": "97a47d9a6ad19e51c012517efb88e6e85c2905feb71bb1666ad2326a153603e6",
      "expectedSystemPhysicalFileSha256": "8f4e1bb86db78919d2e9e8a72b75343ba46693b2706c9dbc45c92f9de2de92e8",
      "nativeUserPromptSha256": "74ce515b2d9fc5d20ef8298f114845df9fdc2020d41e996e448e6199a0a04549",
      "originalPromptSha256": "600cf66b7d6945555d5d2397c491a7d3888581c7ebef74ee92afab18b41a8d67",
      "nativeSerializationExplanation": "Only blank-line spacing, surrounding whitespace and Markdown list marker equivalence allowed for admission. Raw texts preserved; no normalized text enters upstream payload.",
      "requestedParameters": {
        "max_completion_tokens": 1024,
        "temperature": 0.2,
        "stream": true
      },
      "wireHashes": {
        "requestSha256": "18cc0a568587d2b4145396697ba9cff4d4abea666d1b4ee4229d16d3d0971748",
        "upstreamRequestSha256": "5a5ccda1c8d7da839f1ba14d4a875aa474ff58e67bb388d39433227a7688fe15",
        "upstreamResponseSha256": "88928b5e3042bfe62198d745b98c211bfca1646c5ca682aebf8c918fada8ab24",
        "servedResponseSha256": "6d0675165fe7e700c0185a6a8a47d61e86b899a1c5209b8adf40287730980743"
      },
      "readonlyNote": {
        "beforeSha256": "e85b156fb229ece3ea85bfa7041aeb9a9abb8ca451ef875f50d14ff482e87d2f",
        "afterSha256": "e85b156fb229ece3ea85bfa7041aeb9a9abb8ca451ef875f50d14ff482e87d2f"
      },
      "comparisons": {
        "oneBackendForward": true,
        "originalActionAndSelectedNoteRetained": true,
        "nativeSystemMatchesFrozenText": true,
        "nativeMessagesTwoNoTools": true,
        "onlyParsedRequestModelMapped": true,
        "nativeRequestUsesAlias": true,
        "upstreamExactPrivateModelId": true,
        "allChoicesUnchanged": true,
        "nativeOutputMatchesCompleteServedContent": true,
        "selectedNoteBeforeAfterUnchanged": true,
        "nativeCompletedFirstResponse": true,
        "originalNativePayloadRetained": true
      }
    }
  ],
  "modelCalls": 2,
  "qualityReruns": 0,
  "generationDenied": 0,
  "limitations": [
    "Two first drafts through the full official SiYuan 3.8.6 native editor endpoint; no browser insertion or generated-file export tested.",
    "Local Qwen2.5-Coder-1.5B-Instruct Q4_K_M configuration only; no cross-model, cloud provider, Agent Chat, MCP, skill, embedding or sync quality claim.",
    "Original wrong-route HTTP404 occurred before native AI processing and before any model call; body was not captured. Correct route reused original primary payload bytes without rearming or quality rerunning.",
    "The recorder reserializes JSON and maps only request model plus response metadata. Parsed non-model payload and all choices are preserved; entire wire bytes are not identical.",
    "Frozen runtime nativeSystemSha256 is the physical expected-system file hash (CRLF). Actual text hash is reported independently in observations; text equivalence was checked.",
    "maxHistoryMessages=0 normalized to1 by native settings. Every actual generation had history=[] and two messages only.",
    "The existing local worker was reused. No paid model, trial, subscription or new model download; hardware, electricity and review cost not measured.",
    "Workspace content/configuration isolated in task lab, but native startup created previously absent OS home .config/siyuan workspace/cookie/port metadata; full home isolation is not claimed.",
    "Seven observed startup CONNECT attempts (models.dev once, sync hostname six times) were rejected by the task proxy with zero external proxy forwards. No hard OS/socket isolation or zero-attempt claim.",
    "Only the two synthetic note exports were compared before and after. No universal host-filesystem, Git-staging or external-send audit.",
    "No standard streaming usage object was returned. Any legacy backend timings are separate observations, not complete workflow or billing measurements."
  ]
}
