{
  "schema_version": 2,
  "generated_at": "2026-07-16T22:49:40.312Z",
  "receipt_id": "M-167",
  "receipt_result": "PASS — 1/1 declared command",
  "passed_commands": 1,
  "declared_commands": 1,
  "timestamps": {
    "started_at": "2026-07-16T22:03:06.501Z",
    "finished_at": "2026-07-16T22:03:58.762Z"
  },
  "commands": [
    {
      "cmd": "ln -s \"$PWD/node_modules\" /tmp/node_modules && cp vitest.config.ts /tmp/vitest.config.ts && npm test -- --config /tmp/vitest.config.ts --root \"$PWD\" --no-cache tests/loader.test.ts",
      "exit_code": 0,
      "timed_out": false,
      "duration_ms": 3100
    }
  ],
  "environment": {
    "container_image_ref": "node@sha256:40ad9f3064e67d6860b4bc3fe1880b2953934fd6320ada990e45fe0efa6badd7",
    "container_image_digest": "node@sha256:40ad9f3064e67d6860b4bc3fe1880b2953934fd6320ada990e45fe0efa6badd7",
    "container_image_id": "sha256:6ed6ff875e9714bb845b850b08f3ad231ccbb5848812647bcf11acdd4bd1d2f8",
    "container_os": "linux",
    "container_architecture": "arm64",
    "network_policy": "phaseA:bridge,phaseB:none",
    "source_commit": "471a5a12ccc364c68196fc13f2c1fc3c3ce375ea",
    "install_commands": [
      "npm install --ignore-scripts --no-package-lock --legacy-peer-deps"
    ]
  },
  "code": {
    "base_commit": "471a5a12ccc364c68196fc13f2c1fc3c3ce375ea",
    "recorded_patch_commit": "85a8363a75f70d80d837205f89f9716b3caf179d",
    "patch_commit_binding": "declared metadata; not execution-bound",
    "patch_diff_hash": "sha256:6f531965f335cd27e987e7bb253da2fee90687665dfcc057ddd8dcbd2361ade8",
    "patch_diff_binding": "bound to executed patch bytes"
  },
  "execution_summary": "1/1 declared command returned exit 0 in the recorded environment",
  "bundle": {
    "bundle_contents_digest": "sha256:f230958e2caea8d6759d90a00300964538d314c9c16842b4cd12ee42d5eadcca",
    "signed_asset_sha256": "sha256:e0cdd9f4a40597eb00d1091b6dd908083069116734a49e2de127c0ca73042544",
    "attestation_uri": "https://github.com/northset-oss/verification-pilot/releases/download/run-record-M-167-f230958e2cae/run-record-M-167-f230958e2cae.tar.gz",
    "attestation_verified_at": "2026-07-16T22:49:26.832Z",
    "provenance": "Signed provenance recorded; the signer records artifact origin, not execution witnessing or maintainer approval."
  },
  "classification": "CONTRIBUTOR SELF-RUN — NOT MAINTAINER VERIFICATION",
  "links": {
    "canonical_url": "https://northset-oss.github.io/verification-pilot/receipts/M-167/",
    "target_repo": "https://github.com/cryptoteep/promptkit",
    "issue_or_task": "https://github.com/Cryptoteep/promptkit/issues/15",
    "publication_pr": "https://github.com/Cryptoteep/promptkit/pull/16"
  },
  "issue_title": "loader: friendlier error when importing .ts without a TS loader",
  "limitations": [
    "Does not prove code quality",
    "Does not prove security",
    "Contributor self-run record of Northset's own contribution; not the maintainer's verification.",
    "The receipt proves the declared automated checks only; maintainer review and merge remain independent human decisions."
  ],
  "correction": null,
  "scope_note": "The receipt proves the declared automated checks only; maintainer review and merge remain independent human decisions.",
  "upstream_outcome": {
    "status": "open",
    "link": "https://github.com/Cryptoteep/promptkit/pull/16",
    "attribution": "Live upstream pull request"
  },
  "economic_identity": {
    "scope": "end_to_end_task",
    "task": {
      "task_id": "TASK-OSS-9F12355C00B1CDA8",
      "attempt_id": "M-167",
      "attempt_sequence": 9,
      "work_category": "defect_fix",
      "external_demand": {
        "source": "public_github_issue",
        "issue_url": "https://github.com/Cryptoteep/promptkit/issues/15",
        "acceptance_contract_digest": "sha256:2abe293fca1b7b9638c82805f4acd293c77714a549da3b00a859b14b45c2d3fe",
        "invitation_type": "label",
        "invitation_url": "https://github.com/Cryptoteep/promptkit/issues/15"
      }
    },
    "funding": {
      "program": "Northset OSS Fund",
      "initiative": "OSS mission experimentation",
      "budget_id": null,
      "financial_cap": null,
      "currency": null
    },
    "external_transfers": {
      "maintainer_payment": "none",
      "merge_contingent": false
    },
    "authorization": {
      "approved_manifest_digest": "sha256:02ac19c59436efba6518eb51b2383bb9cf1406ecd91df5dc7bedf7069467a54d",
      "approved_by": "internal-user:aeziz",
      "approved_at": "2026-07-16T22:34:04.736Z",
      "operational_caps": {
        "finder_wall_seconds": 1200,
        "qualification_wall_seconds": 300,
        "prepare_wall_seconds": 3600,
        "ship_wall_seconds": 3600,
        "maximum_attempts": null
      }
    },
    "attempt_lineage": {
      "attempts_total": 9,
      "successful_attempt_id": "M-167",
      "attempts": [
        {
          "attempt_id": "M-143",
          "attempt_sequence": 1,
          "state": "FAILED_AUTHOR",
          "terminal_reason_class": "authoring"
        },
        {
          "attempt_id": "M-144",
          "attempt_sequence": 2,
          "state": "FAILED_AUTHOR",
          "terminal_reason_class": "authoring"
        },
        {
          "attempt_id": "M-145",
          "attempt_sequence": 3,
          "state": "FAILED_INFRA_TERMINAL",
          "terminal_reason_class": "infrastructure"
        },
        {
          "attempt_id": "M-155",
          "attempt_sequence": 4,
          "state": "FAILED_INFRA_TERMINAL",
          "terminal_reason_class": "infrastructure"
        },
        {
          "attempt_id": "M-156",
          "attempt_sequence": 5,
          "state": "FAILED_ORACLE",
          "terminal_reason_class": "verification"
        },
        {
          "attempt_id": "M-159",
          "attempt_sequence": 6,
          "state": "FAILED_ORACLE",
          "terminal_reason_class": "verification"
        },
        {
          "attempt_id": "M-165",
          "attempt_sequence": 7,
          "state": "FAILED_AUTHOR",
          "terminal_reason_class": "authoring"
        },
        {
          "attempt_id": "M-166",
          "attempt_sequence": 8,
          "state": "FAILED_AUTHOR",
          "terminal_reason_class": "authoring"
        },
        {
          "attempt_id": "M-167",
          "attempt_sequence": 9,
          "state": "READY",
          "terminal_reason_class": null
        }
      ]
    },
    "usage": {
      "discovery": {
        "finder_run_id": null,
        "candidate_rank": null,
        "elapsed_ms": null
      },
      "qualification": {
        "review_id": "sha256:ee401685f67dedfbd50567a8046215c741d01b7d05ad9846b3de61a0845ab4f8",
        "requested_model": "gpt-5.6-sol",
        "actual_model": null,
        "reasoning_effort": "xhigh",
        "service_tier": "fast",
        "duration_ms": 203302,
        "model_requests": null,
        "input_tokens": null,
        "cached_input_tokens": null,
        "output_tokens": null,
        "reasoning_tokens": null
      },
      "authoring": {
        "requested_model": "gpt-5.6-sol",
        "actual_model": null,
        "reasoning_effort": "xhigh",
        "service_tier": "fast",
        "duration_ms": 271493,
        "bootstrap_duration_ms": 93527,
        "bootstrap_retry_count": 0,
        "model_requests": null,
        "input_tokens": null,
        "cached_input_tokens": null,
        "output_tokens": null,
        "reasoning_tokens": null
      },
      "preparation": {
        "total_duration_ms": 391329,
        "stages": [
          {
            "stage": "prepare_recheck",
            "duration_ms": 2600
          },
          {
            "stage": "executor_image",
            "duration_ms": 33
          },
          {
            "stage": "clone",
            "duration_ms": 522
          },
          {
            "stage": "author",
            "duration_ms": 372481
          },
          {
            "stage": "canonical_commit",
            "duration_ms": 744
          },
          {
            "stage": "differential_oracle",
            "duration_ms": 14949
          }
        ]
      },
      "verification": {
        "executor_elapsed_ms": 52261,
        "networked_setup_elapsed_ms": 39933,
        "dependency_install_ms": null,
        "declared_commands_ms": 3100,
        "unclassified_executor_ms": 9228,
        "cpu_ms": null,
        "peak_rss_bytes": null,
        "measurement_status": "partial"
      },
      "resource_envelope": {
        "cpus": 2,
        "memory_mb": 4096,
        "pids": 512,
        "wall_clock_seconds_per_command": 1800,
        "output_bytes_per_stream": 2000000
      }
    },
    "work_scope": {
      "files_changed": 4,
      "changed_lines": 44,
      "production_files": 1,
      "test_files": 1,
      "checks_declared": 1,
      "checks_not_run": [
        "Full test suite",
        "Typecheck and lint suites"
      ]
    },
    "costs": {
      "status": "partial",
      "currency": null,
      "lines": [
        {
          "component": "maintainer_payment",
          "measurement_class": "observed_quantity_unpriced",
          "quantity": "0",
          "unit": "external_transfer",
          "unit_rate": null,
          "amount": null,
          "currency": null,
          "source_refs": [
            {
              "artifact": "bundle/mission.json",
              "artifact_sha256": "sha256:2e988ad62287ba1fd0e690eeb4b695d5e8a2bb8d6f2e806f49b7b664f68c18ec",
              "json_pointer": "/payment/maintainer_payment"
            }
          ],
          "rate_card_digest": null,
          "allocation_method": null,
          "finality": "final",
          "visibility": "public"
        }
      ],
      "known_direct_cost": null,
      "allocated_shared_cost": null,
      "human_standard_cost": null,
      "total_economic_cost": null,
      "missing_components": [
        "model_inference",
        "actual_host_compute",
        "human_review",
        "shared_tooling"
      ]
    },
    "outcome": {
      "technical_checks_passed": true,
      "pr_opened": true,
      "ci_state": "pending",
      "merged": false,
      "accepted_as_submitted": null,
      "time_to_close_ms": null,
      "released": null,
      "deployed": null,
      "business_result_observed": null
    },
    "completeness": {
      "task_identity": "complete",
      "technical_execution": "complete",
      "attempt_lineage": "complete",
      "usage": "partial",
      "cost": "unpriced",
      "external_outcome": "partial",
      "business_value": "not_observed"
    },
    "provenance": {
      "spec_sha256": "sha256:3b56afc7af605a7251c48b92c6b88734820e764a344414cf9e0cd217ca319b42",
      "qualification_evidence_sha256": "sha256:7077c060b8f561d1abf4ad2556c85fcbc3b82fc4b4390e188d2afbb49b6124ae",
      "issue_snapshot_sha256": "sha256:355b719b92a783dd6bd57db170e07eb7e25fe522d9e589629ecfcb24577b6b8f"
    }
  }
}
