Skip to content

fix(signer,verify): let approval.harness set run labels in place of gap (#1213) - #1232

Open
Pybsama wants to merge 7 commits into
Cygnux-Labs:mainfrom
Pybsama:fix/approval-harness-run-labels-1213
Open

Pybsama wants to merge 7 commits into
Cygnux-Labs:mainfrom
Pybsama:fix/approval-harness-run-labels-1213

Conversation

@Pybsama

@Pybsama Pybsama commented Nov 30, 2026

Copy link
Copy Markdown

Fixes #1213.

What and why

  • Removed the run-label carve-out in SignerService._complete (tracekit/signer/service.py), so a held call allowed in Claude Code's own prompt on a same-user signer no longer writes an executed_against_policy gap or incident when its rules set a run label.
  • Updated Sources.sets in both Python (tracekit/signer/labels.py) and TypeScript (sdk/typescript/src/verify/labels.ts) so a signer-written ext.approval.harness record with in_place_of_gap: true sets the held call's run labels directly.
  • Gated bundles where a non-inherited run.label add cites a signer-written ext.approval.harness (in_place_of_gap: true) on format version 1.9.0 (needs / raised_by in tracekit/bundle_v2.py and needs / raisedBy in sdk/typescript/src/verify/index.ts). Unlabelled approval.harness bundles remain verifier_min_version: 1.4.0, while labelled ones declare 1.9.0 so released verifiers <= 1.8.1 report UNVERIFIABLE (needs tracekit >= 1.9.0) instead of failing run labels.
  • Updated conformance kit (tests/kit/make_kit.py, tests/kit/cases.json, tests/kit/vectors/run-label-approval-harness.tkb), tests (tests/test_app_approval.py, tests/test_run_conditions.py, tests/test_released_verifiers.py), and docs (docs/limits.md, docs/format-v2.md, docs/api.md, docs/notices.md).

How I ran it as a user

Ran a same-user SignerService with dev.yaml on Read of /home/user/.password-store/aws (TK-A020, ask, label: secrets_access), completed it with app_allowed={"harness": "claude-code", "via": "prompt"}, exported the closed run with its policy, and verified it via CLI:

EVENT TYPES: ['run.registered', 'policy.decision', 'approval.request', 'ext', 'run.label', 'approval.abandoned', 'tool.result', 'run.closing', 'run.final']
LABELS: [('secrets_access', 3)]
CLI EXIT: 0
VERIFIED: 1 tool call in 9 signed records, none changed, removed or added after signing.

Checklist

  • pyflakes lint and targeted pytest + conformance kit + TS verifier build passed (details below)
  • a regression test covers the change (tests/test_app_approval.py, tests/test_run_conditions.py, tests/test_released_verifiers.py, tests/kit/)
  • user-visible changes are described above
  • docs updated (docs/limits.md, docs/format-v2.md, docs/api.md, docs/notices.md)
  • every commit is signed off (git commit -s)

Security invariants

  • the agent still never holds a signing key or assigns sequence numbers
  • nothing an agent-controlled process supplies is newly trusted by the signer or verifier (approval.harness with in_place_of_gap: true remains same-user only and source="signer"-checked)
  • gaps are still signed, never silent; a check that cannot run warns instead of passing
  • no verification code is shipped inside a bundle

Evidence format

  • run.label citing ext.approval.harness (in_place_of_gap: true) is gated on 1.9.0 (needs / raised_by in tracekit/bundle_v2.py and sdk/typescript/src/verify/index.ts), and tests/test_released_verifiers.py verifies v1.2.0–v1.8.1 report UNVERIFIABLE (needs tracekit >= 1.9.0) while existing unlabelled approval.harness bundles stay 1.4.0.

Checks run locally

  • .venv/bin/python -m pyflakes tracekit tracekit_sdk.py tests eval examples contrib integrations — passed (0 warnings)
  • .venv/bin/python -m pytest -q tests/test_released_verifiers.py tests/test_app_approval.py tests/test_bundle_v2.py tests/test_ts_verifier.py tests/test_run_conditions.py — 220 passed, 1969 subtests passed
  • .venv/bin/python tests/kit/run_kit.py --reference — 136/136 cases pass (proposed: 0/5)
  • cd sdk/typescript && npm run build + .venv/bin/python tests/kit/run_kit.py --cmd 'node sdk/typescript/bin/tracekit.mjs verify {bundle} --trust {trust} --json' — 136/136 cases pass (proposed: 0/5)

(AI-assisted: drafted and verified locally with an LLM coding assistant; reviewed and tested locally before submission.)

…ap (Cygnux-Labs#1213)

Signed-off-by: sama Pyb <peiyibopybsama@gmail.com>
@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama Thanks for this, and for doing the TypeScript verifier and the test vector along with the Python side. It changes what the record says and gates a new format version, so it gets a careful review before it merges. CI waits for a maintainer's approval. Next time, please comment on the issue first, so two people don't take the same one.

@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama Thanks again. We ran an independent review, and the core holds: nothing new from the agent is trusted, the labels are the same ones the gap used to set, and older verifiers report a new bundle as too new rather than failing it. A few things need to change before it merges:

  1. A kit test fails. tests/kit/cases.json changes the hash of kit/vectors/approval-decision.tkb to ad1b7e…, but the file itself is unchanged and still hashes to 605df5…. tests/test_kit.py::Kit::test_its_files_are_the_ones_it_was_made_from fails on it. Please restore that line, and run tests/test_kit.py along with run_kit.py.
  2. Gate 1.9.0 through the VERSIONS table, not a special case. needs() and raised_by() (in bundle_v2.py and the TS verifier) special-case a run.label that cites an in-place approval.harness. That breaks the format's rule that ext is never critical (format-v2.md, the ext section).
    • With the manifest edited down to 1.4.0, 1.8.1's verifier would fail a correct bundle at its run-labels check rather than calling it too new.
    • A table-driven gate is cleaner: a closed field on the signed run.label record (for example, naming that it cites the app's allow), listed in VERSIONS' 1.9.0 row, so needs() stays table-only in both verifiers.
    • Please add a test like test_an_ext_interpretation_adds_only_its_own_lines for the labelled case.
  3. The person is still told when a call allowed in the app fails. Before, a held call that ran got the gap and incident notices. Now only an ok result gets "Your agent just did this after you allowed it in Claude Code" (notice.py), so a call that ran and errored gets no notice at all. Please tell the person in that case too.
  4. Docs:
    • docs/api.md (~390) repeats words ("signer that wrote no gap" twice).
    • docs/format-v2.md's list of records that set a call's labels (~221) needs approval.harness, since the new kit case cites it.
    • docs/policy-v2.md's "A call runs when … or an executed_against_policy gap" (~853), the executed_against_policy trigger (~779), and the tracekit/signer/labels.py docstring need to say that an allow in Claude Code's prompt on a same-user signer writes no gap. An enforce: quarantine rule on that trigger no longer fires for those calls.
  5. Small: labels.py falls back with e.get("tool_call_id") or d.get("tool_call_id"), and labels.ts with ??, to a field the signer always fills; drop the fallback (the two also differ on an empty string). And one negative kit case would help: a run.label citing in_place_of_gap: false, or a record not written by the signer, refused by both verifiers.

Separately, we're checking one case on our side: how Claude Code's auto permission mode answers a hook's ask. That's existing behaviour, not yours to fix here.

Signed-off-by: sama Pyb <peiyibopybsama@gmail.com>
@Pybsama

Pybsama commented Nov 30, 2026

Copy link
Copy Markdown
Author

@LoopGlitch26 Thank you for the detailed review! All 5 items are addressed in the latest commit (fix(signer,verify,notice): address review feedback on #1232):

  1. Restored approval-decision.tkb hash & kit check: Restored tests/kit/vectors/approval-decision.tkb and its hash (605df592...) in tests/kit/cases.json after regenerating the kit vectors (tests/test_kit.py::Kit::test_its_files_are_the_ones_it_was_made_from passes).
  2. Table-driven 1.9.0 gate via run.label.app_allowed:
    • Added closed field "app_allowed": {"const": true} to run_label in tracekit/schema/tracekit.event.v2.json and sdk/typescript/src/verify/tracekit.event.v2.json.
    • Updated the "1.9.0" row in tracekit/bundle_v2.py (VERSIONS) and sdk/typescript/src/verify/versions.json with "fields": {"run.label": ["app_allowed"]} and removed the _harness_label_seqs / harnessLabelSeqs special-casing from needs() / raised_by() / needs() / raisedBy().
    • tracekit/signer/pipeline.py now sets "app_allowed": True on run.label (action: "add") when triggered by a signer-written in-place ext.approval.harness, and both verifiers (tracekit/verify/v2.py and sdk/typescript/src/verify/labels.ts) check app_allowed consistency against signer-written in-place approval.harness records.
    • Added TestExt.test_an_ext_interpretation_adds_only_its_own_lines_when_labelled in tests/test_bundle_v2.py and "run.label.app_allowed" to ENTRIES.
  3. Failure notice for app-allowed calls: Updated Words._say in tracekit/signer/notice.py so a held call allowed in the app's prompt (in_place_of_gap: true) also emits a "did" notice when tool.result has ok: false (Your agent ran this after you allowed it in <app>, and it failed: ...), updated docs/notices.md, and added test_a_held_call_the_apps_prompt_allowed_is_also_told_when_it_fails in tests/test_notice.py.
  4. Docs & docstrings: Fixed the repeated phrase in docs/api.md, added approval.harness and run.label.app_allowed to docs/format-v2.md, documented the no-gap/no-executed_against_policy-trigger behavior in docs/policy-v2.md (executed_against_policy trigger and run-label sources), and updated tracekit/signer/labels.py's module docstring.
  5. Fallback cleanup & negative cases: Dropped the redundant d.get("tool_call_id") / d.tool_call_id fallback in tracekit/signer/labels.py and sdk/typescript/src/verify/labels.ts; added two negative kit cases in tests/kit/make_kit.py (run-label-approval-harness-not-in-place.tkb and run-label-approval-harness-not-signer.tkb) plus parity verifier tests in tests/test_run_conditions.py (test_run_label_app_allowed_requires_in_place_signer_approval_harness).

Verification run after final edit

  • .venv/bin/python -m pyflakes tracekit tracekit_sdk.py tests eval examples contrib integrations -> clean (exit 0)
  • .venv/bin/python -m pytest -q tests/test_kit.py tests/test_app_approval.py tests/test_run_conditions.py tests/test_notice.py tests/test_bundle_v2.py tests/test_released_verifiers.py tests/test_ts_verifier.py -> 268 passed, 2287 subtests passed
  • (cd sdk/typescript && TRACEKIT_PYTHON="$PWD/../../.venv/bin/python" node --test test/verify.test.mjs test/v2.test.mjs) -> 85 passed, 0 failed (with fresh npm run build in sdk/typescript)
  • .venv/bin/python tests/kit/run_kit.py --reference -> 138/138 non-proposed cases pass
  • .venv/bin/python tests/kit/run_kit.py --cmd 'node sdk/typescript/bin/tracekit.mjs verify {bundle} --trust {trust} --json' -> 138/138 non-proposed cases pass

Note also noted on commenting on future issues before starting work. (AI-assisted: updates drafted and verified locally with an LLM coding assistant; all tests run locally after the final edit.)

@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama Thanks, 1de2cda8 covers all five, and making the gate a run.label field in the VERSIONS table is the clean way. We're re-checking the new field and the format change now, and CI waits for a maintainer's approval.

@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama The re-check is clean: all five are fixed, only the signer can set app_allowed, both verifiers check it against the record it cites, and older verifiers report a new bundle as too new. Two small things before it merges:

  1. The kit doesn't reach the TypeScript verifier's two new checks yet. Both new negative vectors carry app_allowed: true and fail earlier, at "doesn't set it". So "an in-place harness cited without app_allowed" and "app_allowed: true on a label set by something that isn't an in-place approval.harness (e.g. a flag decision)" are tested only in Python (test_run_conditions). Please add one kit case for each, so the independent TS verifier is held to them too.
  2. docs/format-v2.md's version table (around line 643) has no 1.9.0 row. It should list the critical run.label: app_allowed, and the ext names workspace.effect and approval.harness.

CI is running now.

Signed-off-by: sama Pyb <peiyibopybsama@gmail.com>
… row, and sync Go schema

Signed-off-by: sama Pyb <peiyibopybsama@gmail.com>
@Pybsama

Pybsama commented Nov 30, 2026

Copy link
Copy Markdown
Author

@LoopGlitch26 Added follow-up commit bfdda45f (plus merge 978e5374 with upstream/main f29d8b6f / #1230, resolving docs/notices.md cleanly while keeping both the new #1230 notice rows and #1232's did app-allowed wording):

  1. Two new negative conformance kit cases (tests/kit/make_kit.py, tests/kit/cases.json):
    • run-label-approval-harness-missing-app-allowed.tkb: run.label cites a signer-written in_place_of_gap: true approval.harness without app_allowed. Both Python and TS verifiers fail specifically in run labels with seq 4: adds secrets_access citing approval.harness at run_seq 2 without app_allowed: true.
    • run-label-app-allowed-non-harness.tkb: run.label carries app_allowed: true while citing a flag policy.decision instead of an in-place approval.harness. Both Python and TS verifiers fail specifically in run labels with seq 3: sets app_allowed, but run_seq 1 is not an in-place approval.harness.
    • Note: unrelated approval-decision.tkb was restored unchanged.
  2. docs/format-v2.md version table: Added the 1.9.0 row after 1.8.0 listing critical data field run.label: app_allowed and non-critical ext names workspace.effect, approval.harness.
  3. Independent Go verifier embedded schema (CI/Independent Go verifier failure): Synced contrib/independent-go-verifier/event-v2.schema.json from tracekit/schema/tracekit.event.v2.json.

Verification run after final edit

  • .venv/bin/python -m pyflakes tracekit tracekit_sdk.py tests eval examples contrib integrations — clean (exit 0)
  • .venv/bin/python -m pytest -q tests/test_kit.py tests/test_app_approval.py tests/test_run_conditions.py tests/test_notice.py tests/test_bundle_v2.py tests/test_released_verifiers.py tests/test_ts_verifier.py tests/test_go_verifier.py — 285 passed, 2313 subtests passed (incl. exported v2 bundles verified: 292)
  • (cd sdk/typescript && TRACEKIT_PYTHON=$PWD/../../.venv/bin/python node --test test/verify.test.mjs test/v2.test.mjs) — 85 passed, 0 failed (with npm run build)
  • .venv/bin/python tests/kit/run_kit.py --reference — 140/140 cases pass; proposed rules: 0/5
  • .venv/bin/python tests/kit/run_kit.py --cmd 'node sdk/typescript/bin/tracekit.mjs verify {bundle} --trust {trust} --json' — 140/140 cases pass; proposed rules: 0/5
  • (cd contrib/independent-go-verifier && go vet ./... && go test -v ./...) — all passed with 0 skips
  • .venv/bin/python -m unittest discover -s contrib/independent-go-verifier/scripts — 12 tests OK
  • .venv/bin/python contrib/independent-go-verifier/scripts/differential_golden.py — 70/70 golden cases matched

(AI-assisted: updates drafted and verified locally with an LLM coding assistant; all tests run locally after the final edit.)

@LoopGlitch26

Copy link
Copy Markdown
Member

Thanks, @Pybsama. Both items are in: the two kit vectors and the 1.9.0 row. The Go schema sync is right too, since every schema copy has to stay identical. CI for bfdda45 is waiting on a maintainer's approval. Once it's green I'll run the review and post here.

@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama The one red job so far (py3.9 shard 1) isn't your change: it's a timing test of the workspace look that fails on a busy runner (test_a_look_at_a_work_tree_of_thousands_of_files_fits_its_budget), fixed in #1228. I'll re-run that job when the rest of the run finishes; nothing for you to do.

@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama Thanks. The core holds under attack:

  • only the signer can write a label-setting approval.harness, and both verifiers read it only when it's signer-written and in place;
  • all 197 existing kit, golden, negative and parts bundles verify exactly as before (status, detail and problems identical);
  • released 1.8.1 calls the new bundles too new;
  • Python and TypeScript agree on every kit case, and every mutation we made was caught.

One thing on our side: CI never runs the TypeScript verifier on the kit. test_ts_verifier.py is skipped in every Python job (43 skipped on main), so your TypeScript half was checked only by your run and ours. We'll fix that in CI; nothing for you to do there.

Before merge:

  1. docs/format-v2.md §11 step 9 doesn't state the new rule, though all five new kit cases cite it, and §11 is what someone writing their own verifier reads. Two sentences: an add citing a signer-written approval.harness with in_place_of_gap: true must carry app_allowed: true, and an add with app_allowed: true must cite such a record.
  2. One kit vector is missing: a label the signer left out. That's an in-place harness for a labelled call with no run.label after it. Both verifiers fail it today ("sets secrets_access, which no run.label adds"), but without a vector an independent verifier could accept any app_allowed add and still pass all five. Suggest run-label-approval-harness-omitted.tkb, expected FAILED on run labels, needs 1.9.0.
  3. A limits line for what this widens. On a same-user (dev) signer, the app's word can now close a labelled hold, a secret read for example. The label stays and the verifier says it was the app's word, not a Tracekit approval, so it's right by A held call allowed in Claude Code's prompt keeps its gap when its rules set a run label #1213; a person should still read that in docs/limits.md.
  4. Two leftover edits to drop: index.ts:1244 only adds "and" to a comment, and bundle_v2.py:170-171 only reflows a docstring, to 121 characters.

Small:

  • policy-v2.md:779 and :853 read "Claude Code's or the app's own prompt", and :779 leaves out the conditions api.md gives (no Tracekit answer, no incident, the hold still live);
  • the secrets_access row says the label is set "once its approval is consumed", where an allow in the app's prompt sets it now too;
  • "and it failed" also covers a call the person interrupted, so "returned an error" is exact;
  • a few added lines run 121-146 characters (labels.py:7);
  • the inline second signer in test_released_verifiers.py:220-245 could be a helper beside harness_run().

Optional: app approvals could warn on an in-place harness after a deny, or next to an executed_against_policy gap. The signer never writes either, so it's hardening only.

@Pybsama

Pybsama commented Dec 1, 2026

Copy link
Copy Markdown
Author

@LoopGlitch26 Thanks for the thorough review! Addressed all four pre-merge items and the small polish items in cdcfb421:

Pre-merge items

  1. docs/format-v2.md §11 step 9: Added the two sentences stating that an add citing a signer-written approval.harness record with in_place_of_gap: true must carry app_allowed: true, and an add with app_allowed: true must cite such a record.
  2. Missing kit vector: Added tests/kit/vectors/run-label-approval-harness-omitted.tkb in tests/kit/make_kit.py and tests/kit/cases.json (an in-place approval.harness for a labelled call with no run.label after it; expected FAILED on run labels, needs: 1.9.0).
  3. docs/limits.md: Added a (1.9) row documenting that on a same-user (dev) signer the app's word can close a labelled hold (such as a secret read) without an executed_against_policy gap, while keeping the run labels (run.label with app_allowed: true) and reporting it as the app's word rather than a Tracekit approval.
  4. Dropped leftover edits: Reverted the stray comment word in sdk/typescript/src/verify/index.ts and docstring reflow in tracekit/bundle_v2.py.

Small polish

  • docs/policy-v2.md: Replaced Claude Code's or the app's own prompt with the app's own prompt, added the api.md conditions (no Tracekit answer, no incident on the call, hold still live) in the triggers section, and updated the secrets_access row to reflect in-app allows on a same-user signer.
  • tracekit/signer/notice.py, docs/notices.md, tests/test_notice.py: Changed and it failed to and it returned an error.
  • Wrapped added code lines over 120 characters (tracekit/signer/labels.py, sdk/typescript/src/verify/labels.ts, tests/test_app_approval.py, tests/test_bundle_v2.py, tests/test_notice.py).
  • Extracted labelled_harness_run() beside harness_run() in tests/test_released_verifiers.py.

Verification

  • pyflakes tracekit tracekit_sdk.py tests eval examples contrib integrations — clean.
  • python tests/kit/run_kit.py --reference — 141/141 cases pass (including run-label-approval-harness-omitted.tkb, failing run labels with seq 3: sets secrets_access, which no run.label adds).
  • cd sdk/typescript && npm ci && npm run build + python tests/kit/run_kit.py --cmd 'node sdk/typescript/bin/tracekit.mjs verify {bundle} --trust {trust} --json' — 141/141 cases pass.
  • pytest -q tests/test_ts_verifier.py — 46 passed, 391 subtests passed.
  • pytest -q tests/test_docs.py tests/test_notice.py tests/test_app_approval.py tests/test_bundle_v2.py tests/test_run_conditions.py tests/test_released_verifiers.py — 243 passed, 1541 subtests passed.

@LoopGlitch26

Copy link
Copy Markdown
Member

@Pybsama Thanks, cdcfb421 covers all of it. The §11 sentences are in, run-label-approval-harness-omitted.tkb fails run labels as it should, the limits row says what it widens, and both stray edits are gone (only the real VERSIONS change is left in bundle_v2.py).

One more step: #1219 merged to main an hour ago and added two ext names to the same 1.9.0 row, so the branch now conflicts in tracekit/bundle_v2.py, sdk/typescript/src/verify/versions.json, tests/test_notice.py and tests/test_released_verifiers.py. Please merge main and keep both sides. The 1.9.0 row becomes:

"1.9.0": {"types": [], "fields": {"run.label": ["app_allowed"]}, "values": {},
          "ext": ["workspace.effect", "approval.harness", "spool.window", "spool.event"]},

The same goes for versions.json, with main's spool comment kept above the row. Once it's pushed, CI needs a maintainer's approval; we'll approve it and then it goes to merge.

Signed-off-by: sama Pyb <peiyibopybsama@gmail.com>
@Pybsama

Pybsama commented Dec 1, 2026

Copy link
Copy Markdown
Author

@LoopGlitch26 Merged latest upstream/main (cdb88079) into fix/approval-harness-run-labels-1213 in 83be8523 and resolved all four conflicts keeping both sides:

  • tracekit/bundle_v2.py & sdk/typescript/src/verify/versions.json: kept main's spool comment and merged the 1.9.0 row to fields: {"run.label": ["app_allowed"]} and ext: ["workspace.effect", "approval.harness", "spool.window", "spool.event"] (verified exact Python/TS VERSIONS equality).
  • tests/test_notice.py: kept both the in-app prompt error notice test and main's outage spool notice test.
  • tests/test_released_verifiers.py: kept both labelled_harness_run() and main's spool_run() cases.

Verification after merge

  • bundle_v2.VERSIONS == sdk/typescript/src/verify/versions.json — exact match.
  • pyflakes tracekit tracekit_sdk.py tests eval examples contrib integrations — clean.
  • python tests/kit/run_kit.py --reference — 143/143 cases pass.
  • cd sdk/typescript && npm ci && npm run build + python tests/kit/run_kit.py --cmd 'node sdk/typescript/bin/tracekit.mjs verify {bundle} --trust {trust} --json' — 143/143 cases pass.
  • pytest -q tests/test_notice.py tests/test_released_verifiers.py tests/test_app_approval.py tests/test_bundle_v2.py tests/test_run_conditions.py tests/test_docs.py tests/test_ts_verifier.py — 297 passed, 2088 subtests passed (exported v2 bundles verified: 334).

@LoopGlitch26

Copy link
Copy Markdown
Member

Thanks @Pybsama. I checked the merge: the 1.9.0 row has both app_allowed and the spool names, the same in Python and TypeScript, and nothing outside the conflicts changed. CI is waiting for a maintainer to approve it. Once it is green, it goes to merge.

… to 1.9.0

Signed-off-by: sama Pyb <peiyibopybsama@gmail.com>
@Pybsama

Pybsama commented Dec 1, 2026

Copy link
Copy Markdown
Author

Fixed the 4 CI failures (tests/test_go_verifier.py::Kit::test_the_kit on py3.9/py3.12/py3.13 shard 2/3 and Independent Go verifier) in b383cc81:

  • Because run-label-approval-harness-omitted.tkb is a synthetic negative vector that omits run.label{app_allowed: true}, export() wrote manifest.verifier_min_version = "1.4.0" while cases.json declared needs: "1.9.0", so the 1.4.0 Go verifier (tkverify) returned VERIFIED instead of UNVERIFIABLE.
  • Updated tests/kit/make_kit.py to wrap that vector with manifest_version("1.9.0") and regenerated tests/kit/vectors/run-label-approval-harness-omitted.tkb and its SHA-256 entry in tests/kit/cases.json.

Verified locally:

  • pyflakes tracekit tracekit_sdk.py tests eval examples contrib integrations: clean
  • pytest -v tests/test_go_verifier.py tests/test_kit.py: 17 passed, 316 subtests passed (including Kit::test_the_kit)
  • tests/kit/run_kit.py --reference: 143/143 pass
  • tests/kit/run_kit.py --cmd 'node sdk/typescript/bin/tracekit.mjs verify {bundle} --trust {trust} --json': 143/143 pass
  • pytest -q tests/test_ts_verifier.py: 51 passed, 418 subtests passed
  • pytest -q tests/test_released_verifiers.py tests/test_bundle_v2.py tests/test_run_conditions.py: 163 passed, 1 skipped, 1535 subtests passed

Ready for CI re-approval, @LoopGlitch26.

@LoopGlitch26

Copy link
Copy Markdown
Member

Thanks @Pybsama. The vector fix is right: a negative case that needs 1.9.0 has to say so in its manifest, or an older verifier verifies it. CI needs a maintainer to approve the new run; once it is green this goes to merge.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A held call allowed in Claude Code's prompt keeps its gap when its rules set a run label

2 participants