Factory docs, home

A record from the Factory repository, docs/marketing-workflow-replay-correction-draft.json, shown exactly as committed. Every hash, date and count is as recorded. The build review says what the Factory's receipts support.

{
  "schema": "software-factory-marketing-replay-correction-draft/1",
  "disposition": "corrected-awaiting-independent-review",
  "date": "2026-10-03",
  "implementer": "Codex; focused tests are implementation evidence, not independent verification",
  "base": "7478c0263c88574b119e5e7db4dd03a6d2f51772",
  "finding": "Independent Astra P2: a run that wrote start could report replayed true when a peer completed before its first read",
  "correction": "Retain execute(start) replay outcome in per-invocation wrote accounting; no reset before the run loop",
  "protocolsAndStoredHistoryChanged": false,
  "historicalEvidence": "docs/marketing-workflow-package-draft.json remains unchanged",
  "files": {
    "src/marketing-job.ts": "44a124c4c74e5b9b188849e0965bfcd098aee7d6895e16ed0919d9457dfa215c",
    "test/marketing-job.test.ts": "94d46f02c6545552e267fa5b5c949a5b73f3d5fb8bdecac2973c79d22bc286fd",
    "test/fixtures/distribution/marketing-consumer.mjs": "dc03d0b1cda56dbdd469bea2a95da1dd1e761bafda893e4228532f68ef60c19b",
    "docs/agents/marketing-workflow.md": "a8e692330e92182753b46514ec05c208220c78d06fc9251e1f359ed25e343d51",
    "docs/guide/marketing-workflow.md": "fc81b80c43b6bea946172d553f8efe8d655b55cf8dbd2bb89b8834f967a290af",
    "docs/how-to/adopt-marketing-workflow.md": "7e40b1ec78c84da0ba5aca91f93b1c79ee37c67dc5192d6945ba49006456eaa7",
    "docs/agents/factory-model.md": "c54744d2c1f3a113b9043b88a3ecbe133ebd3b480ea3e37fe0137c3f72badd07",
    "docs/build-review.md": "1ac0921fa8891e73b72623fd9c13882dff8b4c8211fac817ef169c3989aaf793"
  },
  "verification": {
    "strictTypecheck": "passed",
    "marketingSource": {
      "command": "node --test --test-concurrency=1 test/marketing-job.test.ts test/marketing-workflow.test.ts",
      "passed": 38
    },
    "interleavingRegression": "Actual CommandJournal wrapper starts a zero-call peer immediately after start commits; first run writes exactly once and returns replayed false; subsequent replay returns true and preserves the aggregate",
    "installedConsumer": "Same actual-Journal interleaving added; installed rerun deferred while another full package suite is active"
  },
  "remainingGates": [
    "independent Astra correction review",
    "installed corrected package proof",
    "combined full required checks and CI",
    "coordinator integration and new acceptance receipt"
  ]
}

Source: docs/marketing-workflow-replay-correction-draft.json