Skip to content

fix(acts): declare header_inspection so its three tests stop skipping - #68

Merged
JakubWorek merged 1 commit into
mainfrom
jakubworek/fix-header-inspection-capability
Sep 17, 2026
Merged

JakubWorek merged 1 commit into
mainfrom
jakubworek/fix-header-inspection-capability

Conversation

@JakubWorek

@JakubWorek JakubWorek commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

CARD-CACHE-001, JSONRPC-CT-001 and REST-CT-001 are tagged runner_requirements:[header_inspection] and have skipped on every run since they were written — reported as "runner does not provide header_inspection", which reads as an honest limitation. It was not one. expect.headers has been wired into the runner since #67 and the dispatchers have been reporting headers all along; no front end ever passed capabilities, so the gate never opened.

Fixed where RUNNER_VARIABLES already solves the identical problem — merged inside acts_runner.run(), so POST /run-acts, run_acts.py and CI all get it and no caller has to remember. Patching the CI payload alone would have left local runs still skipping.

What it finds

JSONRPC-CT-001, the only MUST, passes on all five SDKs, so no conformance verdict changes and --require-conformant stays green. Everything newly graded is SHOULD.

CARD-CACHE-001 JSONRPC-CT-001 (must) REST-CT-001
a2a-js pass pass pass
a2a-java pass pass fail — 415, its known REST breakage
a2a-python fail pass fail — application/json
a2a-go fail pass fail — application/json
a2a-rs fail pass fail — application/json

Three SDKs publish no Cache-Control or ETag on the agent card, and the same three answer application/json where §11 wants application/a2a+json. Real deviations, invisible until now; a2a-js passing both shows they are satisfiable. Per run this turns 5 skips into 5 graded results.

Also here

The first failures reported actual as <test_suite.acts.assertions._FoldedHeaders object at 0x…> — a raw repr going straight into the §13 report, swallowing the one thing a missing-header failure should say. _FoldedHeaders gains a __repr__, so it now reads {'date': …, 'server': 'uvicorn', 'content-type': 'application/json'}.

Two tests, both verified to fail without their fix:

  • test_the_harness_declares_every_capability_the_corpus_asks_for — every runner_requirement in the corpus must be in RUNNER_CAPABILITIES or listed as one we genuinely cannot arrange. This is the check whose absence let the bug sit silently.
  • test_a_failure_reports_the_headers_that_were_actually_present.

@JakubWorek
JakubWorek merged commit 013505e into main Sep 17, 2026
2 checks passed
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.

2 participants