Factory docs, home

A record from the Factory repository, docs/portfolio-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.

{
  "status": "draft implementation; committed-source package and implementer checks pass; independent review and Fable acceptance pending",
  "scope": "P01/E29 independently adoptable Portfolio with caller journal, explicit trusted Git, primary-checkout identities, imported observations and read-only sourced views",
  "baseCommit": "2573f51cd98287aaf6688a04397d6f3d566b584e",
  "runtimeChanges": "None. Portfolio and inventory sources are unchanged; proposed package export compiles the same runtime. Git checkout identity validation is retained.",
  "artifact": {
    "name": "software-factory-0.1.0.tgz",
    "sha256": "ffea1bf557a0a52e929a62738a67c8f20d5793353f84bf938cb4953930d332ee",
    "sourceCommit": "6d4cc7216e0de125507828526fe138075aa751f0",
    "private": true,
    "published": false,
    "version": "0.1.0",
    "publicSubpaths": 30,
    "packedFiles": 124,
    "emittedModules": 46,
    "retainedAt": "<local evidence archive>",
    "verification": "Committed-source staged pack retained; independently generated tarball in the full distribution harness has the identical SHA-256, so all 79 checks exercised these exact bytes."
  },
  "runtimeClosure": [
    "canonical-json",
    "errors",
    "journal",
    "portfolio-inventory",
    "portfolio"
  ],
  "declarationOnlyDependency": "reporting-contract",
  "developmentTypes": "No caller Node declarations required; tested in an isolated consumer with types: [], lib: [es2024], strict: true, no skipLibCheck",
  "environment": {
    "node": "v26.8.1",
    "platform": "darwin",
    "architecture": "arm64",
    "typescript": "7.0.2",
    "git": "/usr/bin/git"
  },
  "sourceSha256": {
    "src/portfolio.ts": "9a6235f3389ead1c694d3dd59dd7fca6f598ce3995bf729be6297d91377a602e",
    "src/portfolio-inventory.ts": "687ccacc7d0b437b68b8d17bc6c0afab6b9d73d951be5a901fa78dcb41bcbcc9",
    "src/journal.ts": "eeb3288f539fe8863632457cf35ff7e7353d4bcee40a0eebae567cdd560e96b4",
    "src/canonical-json.ts": "986f7f53e942101a3a689e000242f49c5d611e641beb2817312553db32edaec2",
    "src/errors.ts": "22e6444f42c15b40b7e8167017f01fb1922156764e6711de4248c3b8401f2357",
    "src/reporting-contract.ts": "50a554f2c812ae439700bb5a61076585f16e854f91679743d6e4fd870e8b2732"
  },
  "files": {
    "test/fixtures/portfolio-before-adoption.json": "cd21ef449d4d3a7a1e2f4553bcee4ed8397d723be09acecd82a1f15f2bf5c935",
    "test/fixtures/distribution/portfolio-consumer.mjs": "c877167a685edcd6435119fd53aa058edba9f99463265a508af5acf95d32eb1b",
    "test/helpers/portfolio-distribution.ts": "8da3572fe6229c05d06c7607d5079e426cbb992e8d7f45828753624d5ee77dbb",
    "test/module-graph.test.ts": "7c80beca9d363acc3aa059197a962fb76931a4d907213d58f0fccbeed7dadcac",
    "docs/how-to/adopt-portfolio.md": "94da23392c56953e61cfe250f52a8ed3f3c8e10c2e0a4a7f0cf8c24d33b02761",
    "package.json": "22b059d250fbb1e35f8475af25ca90f3fd07b9bb0c6f8b1c8e95251c46b1b82e",
    "tsconfig.modules.json": "4bd5f67ddcb4eaf1d707870d97b44144a8a4c93aca0285cf2e87de29d72123ba",
    "package/README.md": "cd3f1ceef3c9b84cc581ef98283716cb764ea9fb90c9547417f8102e36deacc5",
    "test/distribution.test.ts": "a4f7b6df34aff49d13176df8ab0ddc8e0eb9cfc8a59a4174b150b945914a657c",
    "test/fixtures/distribution/branch-health-consumer.mjs": "e8f8af9ebf13c8f05e6c6afab2fa59d9d65c0cdfa47b1d25502debe33b6f2174",
    "test/fixtures/distribution/discovery-services.mjs": "9e151a9bdb1576d19feab0e93a66b5fe6f038c023a47c8c9c9af4568972c42dd",
    "test/fixtures/distribution/projection-consumer.mjs": "4d7b192efeca2d26430b14d7f513b9cd52c8fed58848a99802ab173efb750ebe"
  },
  "historicalProof": {
    "fixture": "test/fixtures/portfolio-before-adoption.json",
    "sha256": "cd21ef449d4d3a7a1e2f4553bcee4ed8397d723be09acecd82a1f15f2bf5c935",
    "sourceHead": "2573f51cd98287aaf6688a04397d6f3d566b584e",
    "provenance": "Actual unchanged source API; two disposable primary Git checkouts, explicit caller journal, revisions, retraction and usage. Raw closed-journal rows including receipts/events/outbox retained. Historical root identities are not rebound or made dispatchable.",
    "rowCounts": {
      "aggregates": 3,
      "receipts": 6,
      "events": 8,
      "outbox": 8
    },
    "result": "Committed-source compiled consumer restores exact rows, reads identical views and retries obsolete/duplicate imports without changing aggregates, receipts, events or outbox. Historical checkout identities are never rebound. Current caller registration commands replay across source and package."
  },
  "checks": [
    {
      "command": "npm run typecheck",
      "result": "passed",
      "evidence": "<local evidence archive>"
    },
    {
      "command": "node --test --test-concurrency=4 test/portfolio.test.ts test/portfolio-inventory.test.ts test/portfolio-observations.test.ts test/portfolio-usage.test.ts test/module-graph.test.ts",
      "result": "43 passed, 0 failed, 0 skipped; unchanged runtime sources",
      "evidence": "<local evidence archive>"
    },
    {
      "command": "node --test test/distribution.test.ts",
      "sourceCommit": "6d4cc7216e0de125507828526fe138075aa751f0",
      "result": "79 passed, 0 failed, 0 skipped; complete existing consumer harness, installed documentation and Portfolio consumer",
      "evidence": "<local evidence archive>"
    }
  ],
  "independentReview": {
    "status": "pending",
    "fable": "pending; coordinator reports existing OAuth authentication prevents review"
  },
  "remainingGates": [
    "Independent review",
    "Serial generated docs/public-build verification",
    "Coordinator full-suite verification",
    "Fable acceptance"
  ],
  "limits": [
    "Local tested host only; no new platform qualification",
    "Registration grants metadata inspection only, no delivery authority",
    "Caller source names and coverage claims are not authenticated",
    "No live onboarding, state migration, remote provider, merge or publication"
  ],
  "integration": {
    "packageDocumentationSourceCommit": "4e98ecb",
    "packageDocumentationEvidenceOriginalCommit": "f837e8ef7ff4723dc214dcf6041b27ddfce8b577",
    "packageDocumentationEvidenceCherryPick": "6d4cc7216e0de125507828526fe138075aa751f0",
    "privateBoundaryUpdates": "Three earlier consumer negative probes now target still-private portfolio-inventory instead of the newly public portfolio. Their passive imports, exact dependency closures and runtime checks remain unchanged.",
    "runtimeSourceChanged": false
  }
}

Source: docs/portfolio-adoption-draft.json