{
  "schema": 1,
  "repository": "brunnojob/agent-work-layer",
  "source_commit": "345b0163da5819b3af6bf58aa09d74e84ab7e4fd",
  "generated_at": "2026-10-10T05:29:23.103795+00:00",
  "run_url": "https://github.com/brunnojob/agent-work-layer/actions/runs/38027625825",
  "inputs_sha256": {
    ".proof/scenarios.json": "7728c867f77879ef97a37ecdc5c0db6d959a79b3fd3fe811b060247b41ab891a"
  },
  "cases": [
    {
      "display": false,
      "name": "npm ci",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "npm ci"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 2.106,
      "output": "\nadded 99 packages, and audited 100 packages in 2s\n\n34 packages are looking for funding\n  run `npm fund` for details\n\nfound 0 vulnerabilities\n",
      "output_sha256": "3bd0fb1ffa350ddb499ba14bde2bf989f6bf7dbd360149bc324e4deee4b4252c"
    },
    {
      "display": true,
      "name": "npm run typecheck",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "npm run typecheck"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 0.402,
      "output": "\n> agent-work-layer@0.1.2 typecheck\n> tsc --noEmit -p tsconfig.json\n\n",
      "output_sha256": "73138b9c1a6e88202c54d286441d66e08e4fcab2c4c3beae4e35fe1b2d132ded"
    },
    {
      "display": true,
      "name": "npm test",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "npm test"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 7.694,
      "output": "\n> agent-work-layer@0.1.2 test\n> node --test \"test/**/*.test.ts\"\n\n▶ awl CLI\n  ✔ --help and no arguments print usage (1084.845887ms)\n  ✔ --version prints the package version (513.752987ms)\n  ✔ validate passes the good example (347.668409ms)\n  ✔ validate fails the bad example and names each rule (346.427734ms)\n  ✔ validate --json prints machine-readable results (346.247125ms)\n  ✔ validate skips the report when the order is invalid (303.47964ms)\n  ✔ validate --parent checks delegation rules (656.541635ms)\n  ✔ a warning-only report exits 0 and marks the file with ! (304.321629ms)\n  ✔ usage errors exit 2 (1528.40313ms)\n  ✔ schema prints both JSON Schemas (615.239528ms)\n✔ awl CLI (6049.21942ms)\n▶ awl desk over stdio\n  ✔ two processes coordinate through a shared folder (895.889122ms)\n✔ awl desk over stdio (908.850793ms)\n▶ toolAllowed\n  ✔ filings/search with [filings/search] → true (1.395997ms)\n  ✔ filings/search with [filings/*] → true (0.344817ms)\n  ✔ filings/search with [*] → true (0.190267ms)\n  ✔ filings/search with [filings/get] → false (0.310032ms)\n  ✔ filings/search with [filingsx/*] → false (0.201608ms)\n  ✔ filings/search with [files/*, calc/*] → false (0.367619ms)\n  ✔ filings/search with [] → false (0.277991ms)\n✔ toolAllowed (5.34424ms)\n▶ patternCovered\n  ✔ filings/search within [filings/search] → true (1.439519ms)\n  ✔ filings/search within [filings/*] → true (0.468739ms)\n  ✔ filings/* within [filings/*] → true (0.401193ms)\n  ✔ filings/* within [*] → true (0.338765ms)\n  ✔ * within [*] → true (0.099347ms)\n  ✔ filings/* within [filings/search] → false (0.620464ms)\n  ✔ * within [filings/*] → false (0.113352ms)\n  ✔ calc/sum within [filings/*] → false (0.109285ms)\n  ✔ calc/sum within [] → false (0.315962ms)\n✔ patternCovered (5.01348ms)\n▶ validateChildOrder\n  ✔ accepts a strictly narrower child (3.374807ms)\n  ✔ accepts a child equal to its parent (0.192821ms)\n  ✔ accepts extra budget units the parent does not limit (0.207209ms)\n  ✔ C1 rejects a child that drops a parent budget unit (0.473928ms)\n  ✔ C1 rejects a larger budget (0.193843ms)\n  ✔ C2 rejects a wider tool pattern (0.383208ms)\n  ✔ C2 rejects a tool the parent does not have (0.170239ms)\n  ✔ C3 rejects a later deadline (0.168026ms)\n  ✔ reports every violation at once (0.443211ms)\n✔ validateChildOrder (6.137908ms)\n▶ create\n  ✔ fills spec, id, created_at and from (7.438266ms)\n  ✔ keeps an explicit id (0.331251ms)\n  ✔ the actor is always the manager, whatever the input says (0.394199ms)\n  ✔ uses a random id by default (2.423584ms)\n  ✔ rejects a duplicate id (1.373174ms)\n  ✔ rejects an invalid order with findings (0.443551ms)\n  ✔ rejects a deadline already in the past (0.348424ms)\n  ✔ requires an actor (1.262878ms)\n✔ create (16.488935ms)\n▶ reads\n  ✔ get throws NOT_FOUND for an unknown id (0.888195ms)\n  ✔ returned records are copies (0.628218ms)\n  ✔ list filters by to, from, state and parent (17.010172ms)\n  ✔ list returns summaries (0.509956ms)\n✔ reads (19.514869ms)\n▶ lifecycle through the desk\n  ✔ happy path: offer, accept, start, report, approve (3.746364ms)\n  ✔ the report gets spec, order_id, from, attempt and finished_at (0.99747ms)\n  ✔ a worker-supplied finished_at is kept (0.827841ms)\n  ✔ decline ends the order (0.941695ms)\n  ✔ rework returns to working and numbers attempts (1.537593ms)\n  ✔ rework needs a reason (1.328591ms)\n  ✔ review rejects an unknown decision (0.703138ms)\n  ✔ blocked, answered, then done (1.894883ms)\n  ✔ an empty answer is refused (0.658224ms)\n  ✔ a failed report\nFull transcript in the execution-proof artifact.",
      "output_sha256": "89f1ff445752da9acc689ebc90e07f17a5fc5103e6b27c333027ed0e6a46949b"
    },
    {
      "display": true,
      "name": "npm run test:package",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "npm run test:package"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 3.964,
      "output": "\n> agent-work-layer@0.1.2 test:package\n> npm run build && node scripts/package-smoke.ts\n\n\n> agent-work-layer@0.1.2 build\n> rm -rf dist && tsc -p tsconfig.build.json && chmod +x dist/cli.js\n\npackage ok: agent-work-layer-0.1.2.tgz, 27 files, 26.5 kB\n",
      "output_sha256": "cce2a5275e9c60ba4e8afcacbfbe0f65deeb76e292d77db18749147452252d87"
    }
  ],
  "passed": true
}
