{
  "title": "M6 R3.1 四持久队列同实例组合恢复专项",
  "recordedAt": "2026-11-03T02:08:01.213865+00:00",
  "fagoCommit": "76c7d33618364b258cf656dea254d4bacd4833bf",
  "schemaVersion": 48,
  "source": "fago/fago-server/apps/fago-server/workflow_combined_process_test.go",
  "changes": "Integration test only. Existing compiler-v6 external template unchanged; no new AcceptedSignals capability, production implementation, migrations, dependencies, frontend or public contract changes.",
  "topology": {
    "resource": "real fixed scalar form submission",
    "start": "accepted Start; command exclusively advances initial140-node chain",
    "parallel": "human approval and remote.apply fork/join, twice",
    "loop": "same140-node chain reused outside join; human amount10 then20 controls exit",
    "external": "only note output; amount not overwritten remotely",
    "timeout": "two60s approval timers cancelled by real votes; final1s natural timer followed by40 automatic steps",
    "votes": 2,
    "joinScopes": 2,
    "remoteActivations": 2,
    "remoteEffectsPerActivation": 1,
    "totalRemoteCalls": 3
  },
  "faultWindows": [
    {
      "queue": "command",
      "fault": "resource lock after actual lease; SIGKILL and wait; new actual worker",
      "proof": "expired command attempt, multi-checkpoint accepted recovery and frozen first human-wait receipt"
    },
    {
      "queue": "external",
      "fault": "remote effect committed, response withheld; SIGKILL and new actual worker; receiver HTTP server recreated on same URL",
      "proof": "SQL-backed idempotent replay; no duplicate business effect"
    },
    {
      "queue": "ready",
      "fault": "after first synchronous vote persists automatic remainder; resource lock after ready lease; SIGKILL and new actual worker",
      "proof": "expired ready attempt; new loop activation and distinct second external action; old task body invisible"
    },
    {
      "queue": "timer",
      "fault": "final timer naturally due; resource lock after timer lease; SIGKILL and new actual worker",
      "proof": "expired timer attempt; natural timeout completes tail and approved result without third human vote"
    }
  ],
  "processBoundary": {
    "actualWorkerOSProcesses": 7,
    "SIGKILLWindows": 4,
    "normalWorkerStops": 3,
    "workerBinary": "real race-enabled cmd/worker, default linker",
    "online": "real APIRuntime/services in parent, continuously renewing pool; fresh login and Bind per online call; not actual HTTP/browser for this scenario",
    "receiver": "actual HTTP server recreated in parent, business idempotency in separate SQL transaction in same disposable DB; not a separate remote OS process or vendor certification",
    "noParentDispatch": "no RunOnce, queue mutation, deadline rewriting or test action provider"
  },
  "terminalProof": [
    "exactly one expired attempt in each of command/ready/timer/external histories",
    "command and ready jobs done; two cancelled approval timers and final timer done with fired_at",
    "exactly two real human decisions and two join scopes",
    "two distinct remote execution keys, each one uncompensated effect, three network calls including first replay",
    "original accepted start done/running receipt version/state unchanged by later completion",
    "current owner Submission read: original amount10 preserved, unique approved Review amount20",
    "resource slots and temporary grants released"
  ],
  "databaseMatrix": {
    "mysql": {
      "result": ".cache/m6-r31/integration-20261103T020106Z/mysql-result.json",
      "status": "passed",
      "cleanup": true,
      "applicationFilter": "^TestIntegrationWorkflow(CombinedQueueProcess|ExternalProcess|AcceptedSignalProcess)$",
      "applicationTopLevelPassed": 3,
      "scope": [
        "CombinedQueueProcess: one instance with four controlled SIGKILL windows",
        "ExternalProcess: three original scenarios",
        "AcceptedSignalProcess: three original scenarios"
      ],
      "migrationTopLevelPassed": 18,
      "race": true
    },
    "postgres": {
      "result": ".cache/m6-r31/integration-20261103T020106Z/postgres-result.json",
      "status": "passed",
      "cleanup": true,
      "applicationFilter": "^TestIntegrationWorkflow(CombinedQueueProcess|ExternalProcess|AcceptedSignalProcess)$",
      "applicationTopLevelPassed": 3,
      "scope": [
        "CombinedQueueProcess: one instance with four controlled SIGKILL windows",
        "ExternalProcess: three original scenarios",
        "AcceptedSignalProcess: three original scenarios"
      ],
      "migrationTopLevelPassed": 18,
      "race": true
    }
  },
  "checks": {
    "workspace": "26 modules race/vet passed; default linker; integration disabled here",
    "independent": "changed server full-package GOWORKoff race with fresh module cache/source copy passed; default linker and checksum verification retained",
    "moduleBoundaries": "28 metadata modules explicit requires/DAG/internal passed;26 workspace modules",
    "style": "gofmt,120-character,4-or-more-argument AST layout and diff checks passed",
    "readOnlyReview": "no must-fix findings, including final fixed-resource outcome and API cleanup checks",
    "golangciLint": "not installed; not claimed passed",
    "frontendContractDM": "unchanged and not rerun; no new certification"
  },
  "failedAttempts": [
    {
      "directory": ".cache/m6-r31/integration-20261103T015720Z",
      "reason": "new metadata projection selected task.mode, but mode belongs to approval group; corrected composite group join; no production change",
      "cleanup": true
    }
  ],
  "diagnosticRun": {
    "directory": ".cache/m6-r31/integration-20261103T015837Z",
    "scope": "Postgres combined flow only +18migrations; final dual regression recorded separately"
  },
  "limitations": [
    "one complete topology and four specific crash windows, not all timing/outcome combinations",
    "existing external template uses synchronous Signal; new accepted-signal capability remains separate formalv3",
    "actual old/new multiversion rolling and rollback matrix pending",
    "backlog/lockwait/recovery/capacity baseline and full W01-W12 audit pending",
    "actual browser product/docs acceptance pending",
    "not production/seven-database/DM/remote-vendor certification"
  ],
  "logs": [
    {
      "path": ".cache/m6-r31/combined-process-dual-release.log",
      "sha256": "3de607279f197967064fa7b52abd781098f96033b58ff054fddfd1d322ad613c"
    },
    {
      "path": ".cache/m6-r31/combined-process-workspace-release.log",
      "sha256": "ac7a70eb187c651d3b69d169aa3f5014507a72e14cc4f0a6af550438a9597f52"
    },
    {
      "path": ".cache/m6-r31/combined-process-independent-release.log",
      "sha256": "7a678fc4d5f849802849f4b576d170f4b9fd5cdaa665750551f6cfeeaa525dae"
    },
    {
      "path": ".cache/m6-r31/combined-process-modules.log",
      "sha256": "8afe1703dadeefd6535ed863a7416cf0ceef22315318c5303f1803ee139c5b90"
    },
    {
      "path": ".cache/m6-r31/combined-process-style.log",
      "sha256": "4caadc32e73d5a6a55adc6f253acf0bb5a50fbe404a914ea2df7b406e18b4b58"
    }
  ],
  "privacy": "Only topology/counts/invariants/scope/log digests are public; no raw model inputs, SQL business values, request/response bodies, opinions, credentials, lease identities or original environment recovery materials."
}
