Skip to content

HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.

conformance 2026.9.28.post2: EN-02 compares the bytes the server returned (#334)

github-actions[bot]8833d3a93b26
diff --git a/protocol/CHANGELOG.md b/protocol/CHANGELOG.md
index 045daca7..4ef7d574 100644
--- a/protocol/CHANGELOG.md
+++ b/protocol/CHANGELOG.md
@@ -14,7 +14,9 @@ and `metadata` is its extension point, where `harness_id` already travels
reports `metadata.environment` beside `session_id`. The harness and session objects keep
`environment` as an ordinary field. The published chapter had carried the field at the top level
for one day; the schema, the conformance suite (`2026.9.28.post1`: EN-05 sends it in `metadata`,
-EN-07 asserts the response echo) and the reference server (0.26.7) changed together.
+EN-07 asserts the response echo; `post2`: EN-02 compares the returned bytes, which `post1` could not
+read) and the reference server (0.26.7) changed together. The reference server passes the full
+class, 84 of 84, on `post2`.
- **Environments** ([Environments](versions/2026-09-28/environments.md)), the Environments
sub-protocol, optional at every class behind the `environments` capability. An environment is a
diff --git a/protocol/conformance/pyproject.toml b/protocol/conformance/pyproject.toml
index b12a3835..9af061d6 100644
--- a/protocol/conformance/pyproject.toml
+++ b/protocol/conformance/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "uhp-conformance"
-version = "2026.9.28.post1"
+version = "2026.9.28.post2"
description = "Conformance suite for the Unified Harness Protocol (UHP)"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/protocol/conformance/uhp_conformance/checks.py b/protocol/conformance/uhp_conformance/checks.py
index 759176ec..dd8df2a8 100644
--- a/protocol/conformance/uhp_conformance/checks.py
+++ b/protocol/conformance/uhp_conformance/checks.py
@@ -1798,7 +1798,7 @@ def en02(ctx):
r = ctx.client.put(f"/v1/environments/{eid}/files/probe/nested/blob.bin", raw=body, content_type="application/octet-stream")
assert r.status == 200, f"PUT returned HTTP {r.status}"
r = ctx.client.get(f"/v1/environments/{eid}/files/probe/nested/blob.bin")
- assert r.status == 200 and r.raw == body, "the bytes must come back exactly as sent"
+ assert r.status == 200 and r.body == body, "the bytes must come back exactly as sent"
tree = ctx.client.get(f"/v1/environments/{eid}/files").json or {}
ctx.validate(tree, "EnvironmentFileList")
paths = {x.get("path") for x in tree.get("entries") or []}