Factory docs, home

A record from the Factory repository, docs/owner-policy-adoption-draft.json, shown as committed except that its local paths appear as placeholders in angle brackets, such as <local evidence archive>, standing for files that are not published. Every hash, date and count is as recorded. The build review says what the Factory's receipts support.

{
  "schema": "factory-adoption-draft/1",
  "recordedAt": "2026-09-30T19:42:27.485789+00:00",
  "status": "gap found",
  "scope": "E29 bounded Owner policy calendar and reporting extraction",
  "implementation": "source and tarball proof passed; independent implementation review and Fable review pending; no main merge or live effects",
  "sourceBase": "38261e6",
  "publicEntryPoint": "software-factory/owner-policy",
  "artifact": {
    "file": "<local evidence archive>",
    "sha256": "838b82f8acb6880d7aadff166136c9ff996b8d31c556d71fb01ff01d6c6fb4eb",
    "private": true,
    "npmRuntimeDependencies": [],
    "sameBytesAsTestedArtifact": true,
    "compiledSourceClosure": [
      "src/attention-contract.ts",
      "src/attention.ts",
      "src/branch-health-contract.ts",
      "src/calendar.ts",
      "src/canonical-json.ts",
      "src/errors.ts",
      "src/execution.ts",
      "src/intelligence.ts",
      "src/journal.ts",
      "src/lifecycle-schedule.ts",
      "src/owner-digest-core.ts",
      "src/owner-policy.ts",
      "src/project-guidance-core.ts",
      "src/reporting-contract.ts",
      "src/schedule-error.ts"
    ]
  },
  "runtimeClosure": [
    "src/calendar.ts",
    "src/canonical-json.ts",
    "src/errors.ts",
    "src/journal.ts",
    "src/owner-policy.ts",
    "src/schedule-error.ts"
  ],
  "environment": {
    "node": "v26.8.1",
    "npm": "11.19.0",
    "typescript": "7.0.2",
    "platform": "darwin",
    "architecture": "arm64",
    "macOS": "27.0",
    "storage": "disposable caller-owned SQLite"
  },
  "sourceSha256": {
    "src/calendar.ts": "299f8eb15432701449b09144dd3b84a8909d4eb1fbc041441877ceac18b7ae6b",
    "src/reporting-contract.ts": "bf669a0dcd93dd9076b9388d5d662dc28b4329848b033b23e57358ac7e8a73f1",
    "src/schedule-error.ts": "681ff6e9d48eb46f170e4bd2ee4df3e3cd99b29f84a3d198f9cce2c58e3c6095",
    "src/owner-policy.ts": "297316b8b97ef0f1ab3cd61bedecfb95a6c86385dbc55ac2ba442b6862c3dca3",
    "src/lifecycle-schedule.ts": "619b10cf5a5191e24aa8edb4c491eaf6ea33cc1d925ac3dd080f716968c1768c",
    "src/portfolio.ts": "ae16d6bc07c1d56bda93aae785aa33d3531c4bfe923751bc3ebd11f6c23bb995",
    "src/intelligence.ts": "d28042201e9e699b5e6f741587abe641d80e82026825b65092b605bd270efbad"
  },
  "beforeExtraction": {
    "sourceCommit": "38261e6",
    "calendarAndLedgerFixtures": {
      "test/fixtures/calendar-before-extraction.json": "8e6133d657bfee22edb6533a52ff1e83d34c81b3507f947ccb1c135a497daa6b",
      "test/fixtures/owner-policy-before-extraction.json": "b83a226ad4ec512ac7282553c908e717a1c265672fce23274e5272ddedf5dad8"
    },
    "captureScript": "<local evidence archive>",
    "scope": "29 captured calendar/error cases and original journal rows, receipts and reports for three spring/autumn/year scenarios; not regenerated after extraction"
  },
  "compatibility": [
    "Existing sf-ask-ledger/1 and sf-lifecycle-schedule/1 protocols, aggregates, commands, limits and frozen periods unchanged.",
    "Calendar arithmetic moved without changing validation order, ICU canonical-zone refusal, gaps/overlaps, ISO-week ranges or native RangeError behaviour.",
    "Lifecycle schedule retains the exact ScheduleError class through a shared pure error helper and wrappers, including stored CORRUPT validation.",
    "Owner policy preserves its historical direct ScheduleError at the 1970-W01 edge; no accepted date widened.",
    "Count retains the same type and existing Portfolio and Owner policy reexports; CoverageStatus remains outside this slice.",
    "Caller clock substitution, recorded replay, reopen, corruption refusal and file isolation preserved."
  ],
  "checks": [
    {
      "command": "focused Owner policy, adversarial/process, calendar/schedule, graph, catalogue, documentation and intelligence tests",
      "result": "189 passed, 0 failed",
      "evidence": "<local evidence archive>"
    },
    {
      "command": "node --test test/distribution.test.ts",
      "result": "21 passed, 0 failed; all prior Journal, foundations, guidance and projections consumer assertions retained",
      "evidence": "<local evidence archive>"
    },
    {
      "command": "npm run typecheck",
      "result": "passed",
      "evidence": "<local evidence archive>"
    },
    {
      "command": "node scripts/style-lint.ts",
      "result": "passed; 5 existing baseline entries, none stale",
      "evidence": "<local evidence archive>"
    }
  ],
  "externalProof": [
    "actual offline installed tarball, no source or private imports",
    "public types require no Node declarations",
    "passive import with exact loaded module closure; construction does not sample caller clock",
    "useful caller ask recording and incomplete/unknown counts",
    "alternate clock on separate-process reopen and command replay",
    "invalid/not-open/conflicting/oversized input refusal without extra writes",
    "original persisted state and receipts preserve DST/ISO-year frozen windows",
    "corrupt state refuses reads and writes without repair",
    "Factory source writes an update that packaged ledger reads"
  ],
  "openGates": [
    "Fable before merge",
    "remaining E29 families and programme composition",
    "other runtime/platform environments"
  ],
  "excluded": [
    "live asks or existing user journals",
    "rule application or authentication",
    "provider setup or source authority substitution",
    "public publication",
    "new stored protocols or migration",
    "CoverageStatus and Service discovery decoupling"
  ],
  "stackBase": "b13cb8a6e822ab6f208434a989e59101b47b0e70",
  "combinedStackProof": {
    "baseCommit": "a1a2ec27c73437d9d6428558d4777093f61977ba",
    "artifactSha256": "b41572f80b729f64de72aed3ac8daf74fec9b7c85f427cf776620c5580a51ece",
    "publicEntries": 9,
    "compiledSources": 16,
    "packedConsumerChecks": 27,
    "independentReview": "Astra ultra PASS; 1323 calendar comparisons, five original-journal scenarios, passive six-module runtime closure and public types; rerun against combined artefact",
    "ownerPolicyRuntimeSources": "all six reviewed extraction files byte-identical",
    "fullSuite": {
      "passed": 1663,
      "failed": 0,
      "skipped": 0,
      "concurrentTestFiles": 4,
      "evidence": "<local evidence archive>"
    },
    "firstFullRun": {
      "passed": 1662,
      "failed": 1,
      "repair": "Exact lifecycle ownership expectation now includes schedule-error.ts; all policy, source-file and equality assertions retained. No runtime change.",
      "evidence": "<local evidence archive>"
    },
    "compatibility": "old periods, DST/calendar behaviour, exact ScheduleError identity, receipts/replay and unknown counts preserved",
    "limits": "No live asks, Fable acceptance or epic closure"
  }
}

Source: docs/owner-policy-adoption-draft.json