Not Magic

app/api/admin/route.ts: large addition (24 lines added)
No contract denials carried by this block.
Source: app/api/admin/route.ts: large addition (24 lines added) — in app/api/admin/route.ts
Receipt: 5 stamps, wall held, ecs_linux, chain #139.
judgment
2 concerns. 1 open question. 1 point looks stable.
What changed: 2 concerns, 1 open question, 1 stable
5 stamps · wall held · ecs_linux

What this relies on

What raw work entered?
1 declared input
Show
c56f21f0e94ccd5e9dcfd09e...
What produced this?
chamber a270c3fd89eb...
Show
Perception: heuristic
Execution: deterministic
Chamber: a270c3fd89ebb706dac9cedd...
Did the run bind input to output?
5 stamps, wall held
Show
1taggera65dbddb1310...
2mother_types959fedc25ed7...
3sievecb6906d774f2...
4governance93e8f22537de...
5projection7fddd93349e9...
tip: 7fddd93349e937747e64...
What admitted or rejected it?
check chain entry for gate provenance
Show
Gate provenance is recorded in the chain entry, not in the block itself. View history
What was resolved or left open?
2 unresolved scopes, 1 resolved
Show
Does not grant
generaltesting
Grants
changed files inspected
Open questions
+function currentUser(req: NextRequest) { + const session = req.cookies.get("session")?.value;
What custody boundary touched it?
ecs_linux, signing: none
Show
Host: ecs_linux
Local signing: none
Assurance: device_bound
No device signature attached
Where is this in order?
block 613a36e28f04...
Show
block_id: 613a36e28f0494887fe739d75550ea5d9fb5f3f7f13a688a67b400bacf10522f
View full history →
Raw block data
{
  "block_id": "613a36e28f0494887fe739d75550ea5d9fb5f3f7f13a688a67b400bacf10522f",
  "declared_inputs": [
    "c56f21f0e94ccd5e9dcfd09ef03e699cef4463c321d2d5211221ca06c046a944"
  ],
  "governed_output": {
    "contract": {
      "does_not_grant": [
        {
          "reason": "app/api/admin/route.ts: large addition (24 lines added)",
          "scope": "general"
        },
        {
          "reason": "No test delta: Behavior changed in app/api/admin/route.ts with no relevant test delta",
          "scope": "testing"
        },
        {
          "reason": "+function currentUser(req: NextRequest) { + const session = req.cookies.get(\"session\")?.value;",
          "scope": "general"
        }
      ],
      "downstream_may_rely_on": [
        "Code-evidence inspection: 1 changed file inspected"
      ],
      "downstream_must_not_rely_on": [
        "app/api/admin/route.ts: large addition (24 lines added)",
        "No test delta: Behavior changed in app/api/admin/route.ts with no relevant test delta",
        "+function currentUser(req: NextRequest) { + const session = req.cookies.get(\"session\")?.value;"
      ],
      "grants": [
        {
          "basis": "Code-evidence inspection: 1 changed file inspected",
          "scope": "changed_files_inspected"
        }
      ],
      "resolved_scopes": [
        "changed_files_inspected"
      ],
      "unresolved_scopes": [
        "general",
        "testing"
      ]
    },
    "findings": [
      {
        "because": "Diff structural signal: large addition.",
        "drillback": {
          "confidence": 0.5,
          "epistemic_event": "",
          "mother_type": "UNCERTAINTY",
          "subtype": "large_addition"
        },
        "judgment": "app/api/admin/route.ts: large addition (24 lines added)",
        "what_to_do": "Review the change.",
        "where": {
          "added": 24,
          "file": "app/api/admin/route.ts",
          "removed": 0,
          "text": "app/api/admin/route.ts: large addition (24 lines added)"
        }
      },
      {
        "because": "Behavior changed but no test file was modified.",
        "drillback": {
          "confidence": 0.75,
          "epistemic_event": "",
          "mother_type": "UNCERTAINTY",
          "subtype": "test_gap"
        },
        "judgment": "No test delta: Behavior changed in app/api/admin/route.ts with no relevant test delta",
        "what_to_do": "Add or update tests.",
        "where": {
          "files": [
            "app/api/admin/route.ts"
          ],
          "text": "Behavior changed in app/api/admin/route.ts with no relevant test delta"
        }
      }
    ],
    "input_kind": "mixed",
    "open_questions": [
      {
        "because": "Explicitly raised as a question.",
        "drillback": {
          "kind": "OpenQuestion",
          "laws_applied": [],
          "motif": "",
          "state": "open"
        },
        "judgment": "+function currentUser(req: NextRequest) { + const session = req.cookies.get(\"session\")?.value;",
        "what_to_do": "Answer or resolve.",
        "where": {
          "char_offset": [
            452,
            546
          ],
          "clause_id": "c5",
          "text": "+function currentUser(req: NextRequest) { + const session = req.cookies.get(\"session\")?.value;"
        }
      }
    ],
    "stable_points": [
      {
        "because": "The chamber walked the diff and produced findings.",
        "drillback": {
          "confidence": 0.9,
          "epistemic_event": "",
          "mother_type": "WITNESS",
          "subtype": "code_evidence_recorded"
        },
        "grants": [
          "changed_files_inspected"
        ],
        "judgment": "Code-evidence inspection: 1 changed file inspected",
        "where": {
          "files": [
            "app/api/admin/route.ts"
          ],
          "text": "Code-evidence inspection: 1 changed file inspected"
        }
      }
    ],
    "summary": "2 concerns. 1 open question. 1 point looks stable."
  },
  "kind": "judgment",
  "metadata": {
    "chamber_hash": "a270c3fd89ebb706dac9cedd39324abbf9e1a28d1b5fcac6517ac91c83b715f4",
    "execution_class": "deterministic",
    "host_claims": {
      "assurance_class": "device_bound",
      "executor_mode": "subprocess",
      "host_class": "ecs_linux",
      "kernel_recognized": false,
      "measurement_mode": "none",
      "signing_mode": "none"
    },
    "perception_mode": "heuristic",
    "security_mode": "soft"
  },
  "receipt_bundle": {
    "attestation_hash": "7dbc046fbf42357654bc4aa3d270409cd8db764dde70bee8af065f71f003262b",
    "receipt_chain": {
      "chain_length": 5,
      "stamps": [
        {
          "domain": "tagger",
          "fn_hash": "065a25c9e46f5d1a1fdb92d9312db5c4d27aa3e25fb750a33efa5a02c7e4b3f6",
          "input_hash": "c56f21f0e94ccd5e9dcfd09ef03e699cef4463c321d2d5211221ca06c046a944",
          "output_hash": "a722f0593923fc82a935dd82a93398129825a79d1d1082bbb109ed6fc70d5ad5",
          "prev_stamp_hash": "aeebad4a796fcc2e15dc4c6061b45ed9b373f26adfc798ca7d2d8cc58182718e",
          "schema": "substrate.stamp.v1",
          "stamp_hash": "a65dbddb1310740a91faabd55d99b0cb15c067a8d209dcce9e0ba3bf8e318d12"
        },
        {
          "domain": "mother_types",
          "fn_hash": "8d89855f68be02018d738f2b2f70459d5cd19c72ba79c93928cdaea0edd1594d",
          "input_hash": "a722f0593923fc82a935dd82a93398129825a79d1d1082bbb109ed6fc70d5ad5",
          "output_hash": "b98838bc8de3d6fd1c4ecc3b5d53eaa946fccf649f4930cfb83c6d18dc72d941",
          "prev_stamp_hash": "a65dbddb1310740a91faabd55d99b0cb15c067a8d209dcce9e0ba3bf8e318d12",
          "schema": "substrate.stamp.v1",
          "stamp_hash": "959fedc25ed7d6640b7a4dd14b0efd94a712fc2dde300fc362d03833e9ef264a"
        },
        {
          "domain": "sieve",
          "fn_hash": "7d70444b7c5e6101e1fdbbcf16a8489c54506c8ce07967203704cf55f4a18868",
          "input_hash": "4102bc0d4fa678d7feeed603158a7631ad8e1f5a6b259f82a96cd4924d8ca215",
          "output_hash": "2e16ce0b5776c1f0e837b9d76f4ce837326bfb6d9ea0fb0f6582da1ab19393e2",
          "prev_stamp_hash": "959fedc25ed7d6640b7a4dd14b0efd94a712fc2dde300fc362d03833e9ef264a",
          "schema": "substrate.stamp.v1",
          "stamp_hash": "cb6906d774f2d58d332213c0a3be8c5269d6e1a1371c11da7dd8f1c3bdb01245"
        },
        {
          "domain": "governance",
          "fn_hash": "071d45e2bbc72d0ff0112e72ea8dac4b6b25860113e97f58d50b8b651867e83c",
          "input_hash": "cb6906d774f2d58d332213c0a3be8c5269d6e1a1371c11da7dd8f1c3bdb01245",
          "output_hash": "360f61a5876ab1e0ffad233c49efb8e25de9af29852af797186c5d90ed05fd99",
          "prev_stamp_hash": "cb6906d774f2d58d332213c0a3be8c5269d6e1a1371c11da7dd8f1c3bdb01245",
          "schema": "substrate.stamp.v1",
          "stamp_hash": "93e8f22537def9120a7d71380a5a8105da69637417144edf229473b9eff4d8e0"
        },
        {
          "domain": "projection",
          "fn_hash": "b22c482ee299d31ed57070279db6584a5a91886ee992a115db1198a60195bc3a",
          "input_hash": "360f61a5876ab1e0ffad233c49efb8e25de9af29852af797186c5d90ed05fd99",
          "output_hash": "bba8530b1a9ea581a7fe324bccb36b47b7887de763965dcd0225b33dbbddbe4b",
          "prev_stamp_hash": "93e8f22537def9120a7d71380a5a8105da69637417144edf229473b9eff4d8e0",
          "schema": "substrate.stamp.v1",
          "stamp_hash": "7fddd93349e937747e645bf9ea04520a06f97857a01918f7bd3042a423b0e28c"
        }
      ],
      "tip_hash": "7fddd93349e937747e645bf9ea04520a06f97857a01918f7bd3042a423b0e28c"
    },
    "wall_state": "held"
  },
  "status": "candidate"
}