Skip to content

0.23.8 (2026-11-24) - adversarial hardening wave: eleven checker-closed security lanes, pq1 JOSE conformance, artefact honesty, verdict remedies

Choose a tag to compare

@craigamcw craigamcw released this 24 Nov 17:26
· 56 commits to main since this release
  • The published security guarantee, v1 (docs/security-guarantee-v1.md): a one-page statement of exactly what the receipted gate decision layer guarantees at a pinned source revision and what it does not, with every claim naming the test pin that fails if the claim regresses; the source revision row pins the v0.23.8 release commit.

  • The checker verdict trail (docs/checker-verdicts/): the per-PR checker verdict records from the hardening wave review rounds (raucle PRs #310 to #328 plus raucle-agent-red #45, including the superseded unsound-pass tombstone for #310), committed as the audit trail of the review cycle.

  • Security remediation (RED-039, a second external review of the main branch): the TrustRegistry constructor verifies integrity BY DEFAULT, so every construction path (the gateway boot issuer map, the cross-org registry loader, the CLI registry commands) refuses a parseable-but-tampered history - reordered entries, swapped key material, broken operator signatures - with the same named RegistryIntegrityError instead of silently folding attacker-issued keys into the issuer map. The one escape hatch is an explicit verify=False for authoring/repair tooling, used nowhere in an authorisation path. Honest limit: for SIGNED registries without the operator key present, the documented integrity-only model applies (chain, key-id binding and issuer uniqueness still enforced; authentication requires the operator key).

  • RED-039 continuation: the operator-key-registry boot guard (KeyStoreRegistryMismatch) now records the registry head it serves on in a <registry>.head-pin file and refuses a registry that moved BACKWARD (truncated or rolled-back tail, which verifies on its own) or SIDEWAYS (same index, different head hash). Forward growth (an operator append between boots) passes and re-records the head; deleting the pin is the documented consumer reset for a legitimately re-initialised registry. The production gap this closes: gateway._ensure_caller_gate previously built TrustRegistry(path=...) directly and loaded ANY parseable registry unverified.

  • RED-039 continuation: handshake replay protection is production-grade. accept_call now REQUIRES a persistent, atomic replay store (new raucle.replay_store: ReplayStore interface + SqliteReplayStore on the receipt-index sqlite idiom, WAL, uniqueness enforced by the database primary key, retention opt-in with a retain-forever default). The optional process-local seen set is gone; a request without a nonce is refused unconditionally; the consume happens BEFORE any gate decision, so a nonce consumed for a request whose handling crashed cannot be re-executed after a restart. Concurrent duplicate requests accept exactly once.

  • The agent passport's ttl_seconds refuses 0, negative and non-integer values with a named ValueError (previously ttl_seconds=0 silently meant never-expiring); None keeps the documented no-expiry mode (the CLI --ttl default). verify_passport now refuses a passport whose issued_at sits in the future beyond the registry's 300s clock-skew allowance, and runs the vouched statement through the production CapabilityStatement parser (unknown fields and wrong shapes fail with a named structural-validation reason, distinct from unknown statements/issuers).

  • The cross-org demo and the handshake docs route every responder call through the replay store; the demo's revoked-key scene uses a fresh nonce (its old shape replayed scene 1's nonce, which the mandatory store now refuses as a replay before the registry check).

  • Audit multi-process safety (Q11 D): HashChainSink appends run under an inter-process file lock with a head refresh inside the same critical section, so a writer that slept while another process wrote adopts the true chain tail from disk instead of forking the chain; a SIGKILLed writer leaves the torn last line named in the sink's status channel (and again on the next verify), never a silent skip, and the chain continues from the last complete record. A four-process stress test pins one chain, unique strictly increasing indices and verifier green on the merged chain, plus the SIGKILL-mid-append case through real processes.

  • Audit advisory single-writer mode (Q11 D): RAUCLE_AUDIT_SINGLE_WRITER=1 records the operator's promise that the chain file has exactly one writer; boot then holds an exclusive lock for the sink's lifetime and a second writer refuses boot by name (the receipts sidecar's single-writer discipline, applied to the audit chain).

  • Signed audit production strict mode (Q11 F): RAUCLE_REQUIRE_SIGNED_AUDIT=1 refuses boot by name when the signer is unavailable or the audit chain's genesis is unsigned, naming raucle rotate-chain as the recovery path; unset keeps the development affordances (an unsigned chain warns and runs). Checkpoint generation failures surface on the sink's named status channel (checkpoint_skipped) instead of a log-only skip, and a writer that adopts a foreign head names the adoption and degrades checkpoint anchoring visibly rather than emitting an unverifiable checkpoint.

  • The /health readiness payload gains an honest audit_chain field (state and the genesis key id) reporting what the chain on disk actually is, set from the chain's chain_meta header at boot, never from the config's wish.

  • Capability delegation strict ancestry mode (Q11 E): RAUCLE_REQUIRE_ANCESTRY_RESOLVER=1 refuses a token that cites a parent by name when no parent resolver is configured (root tokens stay servable), and a boot with the strict flag refuses when no delegation ledger backs the resolver, so delegations deeper than one level are never served without resolvable ancestry. With the resolver wired, root, child and grandchild revocation each deny the descendant tree, the denial survives a gateway restart, and the ledger resolver is read-only with appends visible on the next call.

  • HashChainSink.event_count now counts the records this sink instance appended; the adopted chain head is HashChainSink.head_index (and status head_index), honest in a multi-writer deployment where one sink's local count and the shared chain head diverge. The verifier's no-key mode reports a hash-intact chain as valid with signed_mode unverifiable, matching its documented best-effort contract and the checkpoint path's behaviour, while a key-carrying verifier still refuses anything not signed.

  • RAUCLE_DELEGATIONS_FILE is now loaded by the environment config: it was documented in prod.env.example but was never read, and the strict ancestry mode depends on it. The three enforcement flags are documented in docs/deployment-security.md and listed in deploy/prod.env.example.

  • The enforcement control plane closes: a policy file, revocation registry or delegation ledger carrying an operator-signed .meta sidecar seal (canonical SHA-256, Ed25519 signature over the raw file bytes, key id, sealed-at) is verified at boot and at reload, and a seal that does not match the current bytes refuses with the named PolicySealRefused in every sealing mode - the RAU-02/M5 filesystem-write-equals-enforcement-control path (residual 5) now needs the signing key, not the filesystem.

  • New raucle policy seal|verify CLI writes and checks the sidecar seals; verification trusts only the keys configured via RAUCLE_POLICY_SEAL_PUBLIC_KEY (key ids follow the house sha256(PEM)[:16] convention; an unreadable configured key file refuses the boot). New RAUCLE_POLICY_SEALING=required|advisory|off (default advisory for one release cycle: unsigned policy boots behind a named POLICY SEAL ADVISORY banner and nothing denies; required refuses unsigned policy at boot; off is the explicit opt-out). This mirrors the shipped M2 detection half (unsealed deployments unaffected; divergence still fails closed) rather than bricking existing deployments on upgrade - required is the named flip documented for the next cycle (RED-036's sibling residual 5, M5).

  • Gate receipts now bind x_gate.policy_hash when the deciding policy file carries a verified seal: an auditor can prove WHICH sealed policy made each decision. The field is optional-when-unsealed, so legacy receipts and legacy verifiers verify byte-identically (RAU-02 receipts leg).

  • The revocation-list and delegation-ledger file-cache paths now share the SAME seal mechanism: a registry the operator marks with a .meta seal refuses a diverging load into the deny path, in any mode; unmarked registries are unaffected (RAU-02 registries leg).

  • _FileCache keys registry entries on (content_sha256, size) instead of (mtime_ns, size), closing the R16 same-size-edit staleness (a same-size write with a preserved mtime no longer serves a stale revocation set); the stamp is the hash of the bytes the loader parses, so a concurrent write cannot tear an entry across two reads. Parsing stays memoised; read failures still raise into the deny path (RAU-05).

  • SIEM target validation resolves DNS and refuses when ANY resolved address lands in loopback/link-local/private/reserved/multicast space (the RED-036/R15 hostname hole), refusing unresolvable targets fail-closed; the forwarder's new pinned transport (raucle.siem_pinned) re-resolves and re-judges immediately before each dial and connects to the validated address while SNI, the Host header and certificate verification keep the operator's hostname - a DNS rebinding race between validation and request now hits a connect-time refusal, never a request (RAU-04).

  • OpenClaw plugin hardening (Q14, fourth review): the OpenClaw plugin now registers every hook through the TYPED hook API (api.on) - the previous api.registerHook("before_tool_call", ...) registration is never invoked by the typed runner (a silent no-op on current hosts), the tool gate registers with no matcher restriction so every registered tool is covered, and package.json pins openclaw.install.minHostVersion: ">=2026.4.22" (the release that introduced typed hooks). Hosts lacking the typed surface get a named activation refusal instead of a silent degradation.

  • Q14: scanner unavailability is no longer equivalent to a clean verdict. A failureMode config (closed default / open) decides the posture: closed mode BLOCKS the protected operation with the hook's native shape (explicit typed block decision for tool calls, cancel for outbound, block instruction injection for inbound) and both modes emit a NAMED advisory with the reason class (timeout, connection-refused, malformed-response, http-500, process-dead, auth-refused). The plugin never relies on exception-based blocking: the host runner defaults to fail-open for before_tool_call, so closed mode returns explicit block decisions whose enforcement does not depend on host policy.

  • Q14: local scanner service trust. The plugin generates a per-boot scan secret (crypto.randomUUID, or config.scanSecret shared with a standalone service via RAUCLE_PLUGIN_SCAN_SECRET), requires it in the X-Raucle-Scan-Token header on every scan request, and adopts an already-answering service on the port ONLY when it passes the secret-protected GET /identity probe with a schema-strict raucle identity body that carries scan_secret_required: true (the ARMED flag: only a server that actually enforces the secret answers the probe, so the passing probe plus the flag are the secret round-trip proof) - anything else, including an unarmed raucle server running without RAUCLE_PLUGIN_SCAN_SECRET (body scan_secret_required: false), is refused by name and replaced by a freshly spawned scanner, with spawn failures on a bounded backoff respawn ladder that gives up with a named advisory after repeated failed rounds instead of re-entering a permanent restart loop on an occupied port. The Python server (raucle/server.py) enforces the header (401 without, 403 wrong, constant-time compare) when RAUCLE_PLUGIN_SCAN_SECRET is set, serves /identity, and keeps /health an open liveness probe.

  • Q14: startup race closed and bounded hook work. The plugin awaits the bounded scanner readiness wait before treating the gate as active, logs a startup status summary (hooks registered, scanner reachable with the boot-secret fingerprint, active failureMode), and in closed mode REFUSES activation (named) when the scanner never becomes ready - a configured plugin is not proof of active enforcement. Scan calls carry a deadline (default 10s, clamped under the host's 15s hook budget) aligned with ctx.abortSignal: on abort or deadline the handler stops its own work, a scan arriving after the seal is DISCARDED and never writes a receipt implying the call proceeded, and decision-log receipts bind to the ACTUAL final outcome (receipt.issued/receipt.bound of allowed/denied/none).

  • Q14: scanner verdicts and authorisation evidence are structurally separate. The plugin's bounded decision log records the scanner verdict, confidence and matched rules under scanner.* and the authorisation outcome under host vocabulary fields (allowed/denied/unknown x enforced/unknown with plugin_hook_* reason codes): a CLEAN verdict never appears as an authorisation decision, and any unknown coverage state renders UNAUTHORISED in plugin evidence, never as an allow-equivalent. Each gated call acknowledges an exposed admission-authority callback exactly once (degrading to plugin-side evidence on hosts that keep the receipt path host-internal).

  • Q14: the plugin's test suite (node:test, run with npm test in plugins/openclaw; no external dependencies) covers typed registration, failure modes, the per-boot secret and identity probe, adoption refusals, bounded deadlines with late-scan discarding and the bounded decision log. CI does not run the TypeScript suite today; the Python-side scan-token enforcement is covered by tests/test_scanner_server_auth.py.

  • The supplied deployment artefacts now require an explicit authentication choice: docker-compose.gateway.yml sets RAUCLE_GATE_AUTH to the :? refusal pattern (Set to apikey or token) so the public HTTPS gate cannot boot unauthenticated by operator inattention, while the library default (off, with its boot banner) stays untouched for local dev; the compose comments point the operator at Step 1 of docs/getting-started/20-production-hardening.md for provisioning apikey/token credentials, and the demo service honestly discloses its unauthenticated-traffic posture (tests/test_compose_deployment_contract.py).

  • The compose rate-limit posture is sane and proxy-aware: the 60000/minute default drops to 200/minute (still env-overridable with RAUCLE_GATE_RATE_LIMIT=${...:-200/minute}), the documented 200/minute /gate route limit is pinned explicitly via RAUCLE_GATE_ROUTE_LIMIT, RAUCLE_TRUST_PROXY defaults on for the supplied Caddy topology with the shared-bucket reasoning in comments, and schema binding (RAUCLE_TOOL_SCHEMA_MANIFEST) is documented but deliberately left off so the code default preserves legacy behaviour when unset (tests/test_compose_deployment_contract.py).

  • A serving boot without slowapi now refuses with a named error instead of logging a warning and serving unlimited: creating the gateway app is the serving posture, so the boot refuses with a ConfigurationError naming the missing dependency and the escape hatch; RAUCLE_DISABLE_RATE_LIMIT=1 is the deliberate opt-out (the null limiter stands in and the warning is still logged), and local dev/CLI paths never construct the app so they are unaffected; gateway_server exits cleanly with the refusal message (tests/test_gate_rate_limit.py, tests/test_gateway_server.py). slowapi rides in the [server] extra, which the supplied image already installs, so the refusal cannot fire in the compose deployment.

  • Packaging honesty for the adapter extras (Finding 85): agent-framework, openai-agents, langchain, autogen, crewai, langgraph, pydantic-ai and google-adk each carry cryptography>=42.0 beside their framework dependency, because every adapter mints signed capability receipts; pip install "raucle[agent-framework]" no longer boots into an ImportError at first receipt (tests/test_compose_deployment_contract.py). The README install section becomes a table of which extra carries what.

  • The main README's OpenClaw Plugin section is rewritten to match the plugin's actual behaviour: detection-layer scanner integration with no capability receipts and no capability enforcement, the before_tool_call hook boundary stated plainly (Claude CLI mcp.servers bypass, observational after_tool_call, the gate-at-the-MCP-server remediation endorsed rather than attempted in the plugin), the allowConversationAccess permission grant added to the quick install, the plugin's own server lifecycle (it starts and finds the scanner server, no separate start required), per-agent override precedence, and the detection engine ([server,rules]) versus receipts ([compliance]) split; no claim of protecting all agents remains.

  • Receipts now self-describe their evidence level: new /gate decision receipts carry x_evidence "gate_observed" and new application-recorded record_tool_call receipts carry x_evidence "self_reported"; additive informational metadata in the x_ extension namespace (no schema version bump, signature and canonicalisation machinery untouched); legacy receipts without the field verify unchanged, and a receipt claiming the higher "executor_attested" level verifies like any other receipt, with no extra verifier trust granted from the label.

  • The verify verdict now distinguishes how a resolved capability statement was vouched: ProvenanceVerifier accepts optional capability_trust_modes ("self_asserted" by default, "authority_issued" for statements resolved through a vouching the caller marks, unknown labels refused as a constructor error) and reports the modes informationally in the verify report (capability_trust_modes, omitted when empty so the v1.0 report body stays byte-stable); the agent passport verdict carries trust_mode "authority_issued" on success, and a failure verdict resolves no trust at all.

  • docs: the security model and the README security-claims section now carry the three-guarantee receipt table (authorisation evidence, application-attested execution evidence, and the registered roadmap upgrades citing the W1 state-verification spec and the AEC evidence-chain composition draft), the four-level verdict vocabulary (PROVENANCE_SIGNATURE_VALID, CAPABILITY_OPERATION_PERMITTED and GATE_DECISION_VERIFIED issued today, EXECUTION_CONFIRMED registered roadmap) and trust-mode labelling; the README no longer carries sentences that could be read as an authorisation receipt proving execution, pinned red-first by tests/test_evidence_assurance.py (docs anchors, claim discipline over the README security section, evidence-field and trust-mode behaviour pins).

  • Approvals (RED-039): approval consumption is a compare-and-set under a lock, the activation twin included. One approved request pays exactly once under concurrent re-submission: 100 concurrent consumes on one approved request yield exactly one success and 99 named already-consumed refusals; validation mismatches still refuse without burning the approval; an approved request whose validity window has passed refuses with the 410 class instead of paying out a stale approval. Atomicity is in-process by design; a shared transactional approval store across gateway workers stays a registered follow-up.

  • Containment (RED-040): trace quarantine binds to the agent identity as well as the trace id. A refusal for quarantined-trace work records the presenting agent (the authenticated identity with gate auth on, the declared one with auth off, as the off-mode banner already names) into an identity-level quarantine, so a re-rolled X-Trace-Id no longer walks past containment; trace-level state stays keyed by the trace id and shared by whoever presents it, and the identity-level refusal lifts when every binding trace is released. The identity-level state is a per-process layer over the durable trace registry; a durable shared identity store stays a registered follow-up.

  • Gate (RED-041): when session behavioural rules are configured, a request that omits the session id refuses by name (session_binding_required) instead of silently skipping the configured control; an omitted session can no longer escape the behavioural window. Deployments with no session rules configured behave exactly as before, and session values stay caller-supplied until the server-issued workflow-identity work.

  • Agent Framework middleware durable-receipt mode (Q18 Close 1): RAUCLE_MW_REQUIRE_DURABLE_RECEIPT=1 persists the capability receipt BEFORE the downstream tool call starts and refuses the call by name through the middleware termination refusal when the sink fails, so a receipt is either durably persisted or the call does not run; the default stays advisory (a sink failure is caught and logged loudly) for development continuity. Strict caller-identity mode (Q18 Close 1): RAUCLE_MW_REQUIRE_AGENT_ID=1 denies by name when the framework context surfaces no independent caller identity instead of degrading to the token's bearer agent_id; each documented identity source individually satisfies the mode, and multi-agent production deployments are the recommended audience.

  • Agent Framework receipt schema citation (Q18 Close 1b): _build_receipt cites the digest of the exact schema-registry entry the gate enforced (the registry a deployment loads from RAUCLE_TOOL_SCHEMA_MANIFEST), carrying schema_evidence: "bound"; when no schema resolution exists for the called tool the receipt carries schema_hash=None plus the explicit schema_evidence: "unbound" marker, so no receipt implies schema-bound verification without the hash. Identity extraction now reads the documented sources in priority order - metadata, then session state, then context.agent.id (previously ignored, review Finding 80) - and the integration fixtures exercise the documented primary source.

  • Wrapper adapter argument normalisation (Q18 Close 2): crewai and langgraph gate on the SIGNATURE-BOUND argument view (inspect.signature(...).bind(...), defaults applied) instead of dict(kwargs) / the single-positional {"input": ...} heuristic, so positional calls land on real parameter names and the gate evaluation, the receipt digest and the executed arguments carry the same semantic arguments (a forbidden or over-bound positional denied where the old view silently allowed it). When no signature can be resolved the previous heuristic view is kept as the fallback, and the receipt marks the residual (args_binding: "verbatim") with a log line naming the tool.

  • The common adapter conformance suite (Q18 Close 3): one parametrised module runs the reviewed conformance table (no token denies, wrong agent denies, wrong tool denies, forbidden argument denies, receipt-store-unavailable denies in durable mode, tool exception keeps the ALLOW decision, the original unwrapped tool is not blocked by the wrapper, concurrent sessions keep tokens isolated) across the agent_framework, autogen, crewai, langchain and langgraph adapters with honest per-extra skips; the unwrapped-invocation row records the deployment-coverage residual openly rather than claiming prevention.

  • The provenance verifier now runs under fixed resource bounds with named refusals (ProvenanceVerifierBoundsExceeded, naming the limit hit, the observed value and the cap): bundle bytes (256 KiB default), parents per receipt (256), ancestry graph depth (256) and total receipts (1024). Defaults align with the existing receipt-size patterns (the 256 KiB simulate/manifest pasted-input cap family, the 32 KiB payload cap implied fan-out ceiling, the chain-graph query windows and the demo chain-collection cap), documented with a bounds table in the security model's provenance verification section.

  • Bounds are default ON (fail-closed posture, stated): each bound is env-overridable for operators with genuinely deep chains (RAUCLE_VERIFY_MAX_BUNDLE_BYTES, RAUCLE_VERIFY_MAX_PARENTS, RAUCLE_VERIFY_MAX_DEPTH, RAUCLE_VERIFY_MAX_NODES; malformed or ambiguous values are refused loudly, never defaulted through), and RAUCLE_VERIFY_BOUNDS=off restores the legacy unbounded verifier for the documented migration window.

  • The verifier's ancestry walk is memoised (visit-set keyed caching, iterative so a deep chain never hits the interpreter recursion limit): shared ancestors resolve once per verify call, the walk counter (one expansion per receipt, one edge examination per adjacency entry) rides the report object as diagnostics only so the v1.0 report body stays byte-stable for pack reproducibility, and cycles are refused by name by a defensive detector that honest content-addressed chains cannot reach.

  • Receipts from the existing corpus verify unchanged: per-close parity pins cover the demo-bundle chain and suite-style rich chains field-for-field with bounds on and off, and the memoised pass changes no verdict on honest or tampered chains.

  • The receipt store now refuses torn tails at seal and boot with named errors (ReceiptStoreSealRefused): sealing a segment containing an unparsable non-blank line refuses (no meta written, segment stays open and writable, operator decides on the resolution), and restarting onto a segment whose tail is torn refuses at open instead of silently chaining past it.

  • Existing writable tail segments are resumed on restart rather than orphaned: the first append reopens the recorded writable segment instead of starting a new numbered one and leaving the old file writable, unsealed and never reopened.

  • Seal .meta sidecars carry a verified signature when a seal identity is configured (the house Ed25519/KMS signer path: key_id plus a base64 signature over the canonical meta bytes, checked offline by verify_seal_meta), and record unsigned: true when none is, so anonymous sealing is never presented as signed.

  • The gateway container image is rebuilt from a locked, non-editable runtime install (Q9, external v0.23.7 review): uv resolves the runtime extras compliance,rules,server exactly from uv.lock (uv sync --locked --no-dev --no-editable), so dev tooling (pytest, ruff, mypy) and the language-integration extras no longer ship in production, and the old editable source-tree install is gone from the image. Verified by a real image build: import ruff, import langchain and import pytest all fail inside the new image.

  • Base images are digest-pinned: Dockerfile.gateway pins python:3.12-slim (3.12.16-slim-trixie at pin time) and docker-compose.gateway.yml pins caddy:2-alpine (v2.11.9-alpine at pin time) to their linux/amd64 registry digests, recorded with pin comments. The builder also pins uv 0.13.9 by digest. The healthcheck now polls the new public /livez route on the agent-facing port instead of /health on the admin port, so liveness survives a set RAUCLE_HEALTH_KEY and does not depend on the admin plane.

  • A keyless serving boot now refuses with the new named AdminKeyMissingError (the same print-and-exit shape as the boot memory ceiling) instead of warning and running an admin panel that accepts no credentials. Scope is the serving entry point only: library use, the CLI detector server and tests construct gateways without an admin key and keep working (compose and Helm already required the key).

  • The admin plane is rate limited in the application (120 requests/minute per client by default, RAUCLE_ADMIN_RATE_LIMIT), after per-image verification that the stock caddy:2 image ships no rate-limit module. The Caddyfile, README and deployment docs now state the in-app limit, recommend an IP allowlist or a separate listener for the admin plane in production, and name the CSP ownership split: the proxy never restates a CSP, the admin app keeps its per-build hash-pinned policy (_panel_csp(), the RED-033 fix).

  • Type checking lands as a baseline gate: mypy 2.4.1 configured minimally for the raucle package, with tools/mypy-clean-modules.txt pinning the 97 modules that type-check clean today; a new error in one of those modules fails the new CI typecheck job, while the honest package-wide count (120 errors in 30 files) is recorded as known debt. pip-audit joins CI as an advisory job (continue-on-error: true) over the resolved dev environment.

  • Test and packaging ergonomics verified and tightened: the declared dev extra carries fastapi (via the server extra) and pytest-asyncio, pytest --collect-only collects 3276 tests with zero collection errors on the dev install, and optional-integration suites keep their importorskip guards (a sandbox without those extras skips them cleanly).

  • Small correctness and hygiene fixes: bench/run_bench.py sizes /proc pages by os.sysconf('SC_PAGESIZE') with a 4 KiB fallback instead of a hard-coded 4096; HybridRecordSigner gains a named pq_public_key() accessor and trust_registry stops reaching into _pq_private; an invalid RAUCLE_GATE_MAX_PAYLOAD_CHARS logs a warning and keeps the default instead of a bare except-pass; the lean-action pin carries its # v1.7.1 inline version comment; and the raucle_detect deprecation shim announces its removal version (v0.26.0) in its docstring and warning.

  • Q14 checker verdict remedies (PR #322): scanner adoption now requires the identity body to carry scan_secret_required: true. The previous boolean-only check accepted scan_secret_required: false, so an UNAUTHENTICATED raucle server (one running without RAUCLE_PLUGIN_SCAN_SECRET) answering the /identity probe with a valid raucle body was adopted on any passing probe; the unarmed server is now refused by name (identity-mismatch naming the unarmed body) and the manager spawns its own secret-carrying scanner. Pinned by plugin tests.

  • Q14: on adoption refusal the manager respawned against the same occupied port and the exit-restart loop re-entered every 10 seconds forever (a permanent EADDRINUSE lockout). Respawning now follows a bounded backoff ladder (10 second base delay doubling to a 60 second cap) and gives up after 5 consecutive failed rounds with a named RESPAWN ABANDONED advisory naming the remedy; the readiness wait also fails fast when the spawned scanner dies before proving its identity instead of polling a dead port for the full budget.

  • Q14: decision-log entries recorded a hard-coded authorityAcknowledged: true at every gated site while the actual host acknowledgement return was discarded; every gated site now records the real acknowledgeAuthority outcome - true only when the exposed admission-authority callback existed and did not throw. Pinned by plugin tests across the allow, block, scan-failure and late-arrival paths.

  • Q14: the late-arrival outcome-derivation pin now drives the SHIPPED index.ts handler path instead of re-declaring the derivation inline (the old pin stayed green against the pre-fix shape); with the real path exercised, the sealed-call reason code moves from the out-of-vocabulary scanner_unavailable to the declared plugin_hook_blocked, and the malformed-response classification branch (a _post JSON-parse rewrap classes as malformed-response, never identity-mismatch) gains its missing pin. Plugin hook-name comments use the house 'catalogue' spelling.

  • Q14: plugins/openclaw/README.md and the Q14 changelog entry now state the adoption behaviour the code actually enforces (armed-flag identity body, bounded respawn ladder with a named give-up advisory, truthful authority acknowledgement), and the composite assertion Sonar flagged at tests/test_scanner_server_auth.py:54 (python:S9073) is split into separate assertions.

  • The Q15 checker verdict defects are fixed: tests/test_gate_rate_limit.py splits the pytest.raises guard so it holds exactly one exception-capable invocation (the gateway construction is hoisted out) and pins that the app-factory serving refusal raises independently of gateway construction; tests/test_gateway_server.py drops the @pytest.fixture() empty-parenthesis drift; uv.lock is regenerated for the Q15 lane extras (the adapter extras now carry cryptography), with uv lock --check verified green.

  • The receipted-DENY overclaim is truth-up'd: docker-compose.gateway.yml (demo-service comment), docs/deployment-demonstrator.md and docs/getting-started/20-production-hardening.md now state exactly when deny receipts exist - an authenticated caller's gate deny is receipted, while an unauthenticated pre-gate refusal is a transport-layer refusal with receipt_id null and no receipt behind it, because the gateway receipt trail starts at check_tool_call (verified live: a pre-gate refusal writes nothing to the receipt store). scripts/demo_agents.py stays unauthenticated by design and the docs now say what it actually earns (tests/test_compose_deployment_contract.py, tests/test_gate_auth_modes.py, tests/test_deny_receipt_claims.py).

  • The pq1 hybrid receipt signature slot becomes JOSE-conformant: emission is a single base64url segment over the raw Ed25519 (64 byte) and ML-DSA-65 (3309 byte) signature concatenation (RFC 7515 Compact conformance; constant lengths frame the split, so any standards-conformant JOSE parser sees a valid three-segment JWS and rejects on the unknown raucle/pq1 crit entry), the parser accepts the previous dot-separated form for verification only during a deprecation window with a named deprecation marker logged on every legacy acceptance, fail-closed framing refusals (wrong length, truncated slot, swapped components, stripped component) hold under both accepted forms, and the pq1 spec plus shared test vectors pin both forms with the legacy reference carried byte-identically and marked verify-only (ports sync from the vectors file; v1 classical receipts are unchanged).

  • Foundry sidecar artefact honesty (Q21, external phase-22 review): the deploy/foundry-mcp-sidecar/ artefacts now state exactly what they implement and deployable-what-actually-ships. README relabelled as the M2-class PROPOSED integration (shipped components listed - raucle serve detection REST server, the POST /gate capability gateway, raucle mcp serve - and the Foundry MCP forwarder, its --mode foundry-sidecar executable and RAUCLE_BACKEND_URL forwarding, marked unshipped pending the registered proxy integration). The Bicep startup command is fixed to what ships (raucle serve --host 0.0.0.0 --port 8080 --mode standard; the probes target the shipped GET /health route; the forwarder env/secret wiring is commented PROPOSED), and the antique mutable ghcr.io/epic28-ltd/raucle:v0.12.0 image default is replaced by the current release tag v0.23.7 with a pin comment recording the release-tag -> source-commit provenance (eafba15c3c0d896d284518011bebd3c8c3be5932, per the PEP 740 PyPI attestation; the digest is captured-then-pinned with docker buildx imagetools inspect once the image is published - no image is published by the repo's pipelines at pin time). The APIM policy implements a real direct-route guard (inspects the inbound Host header against the raucle-mcp-backend-host named value, a Bicep-provisioned named value derived from mcpBackendUrl, and returns a named 403 raucle_direct_route_denied before routing; expression constructs per the APIM policy expression reference, with the operator's deploy-time verification annotated in the artefact), the XML now parses as well-formed (attribute quoting fixed), and the network rule becomes a numbered deployment-acceptance step: enforcement requires both the sidecar route and the MCP server's inbound network rules restricted to the sidecar's egress IP, the direct-call attempt must fail, and without the network rule the boundary is advisory. Config-pin tests live in tests/test_sidecar_artefacts.py (red-first), and the residual stands: even with the guard, network rules remain the primary no-bypass control.

  • Receipt-boundary correction (PR #330 truth-up): unauthenticated pre-gate
    refusals do not mint receipts. A deny earned without a verifiable
    credential carries receipt_id null and writes nothing to the receipt
    store; the receipt trail starts at check_tool_call, and a deny receipt
    exists exactly when the caller presented a verifiable credential and the
    gate verdict itself was deny. This supersedes the 0.23.0 line above
    claiming auth failures return a receipted DENY: identity-stage failures
    (no credential, unknown key, unverifiable chain) stay pre-gate denials
    with no receipt behind them, the attributable distinction 0.23.2 already
    recorded; the receipt claims in scripts/demo_agents.py are scoped in this
    release to the gate-auth off mode where its demo calls are actually
    receipted.

Security guarantee v1 and the per-PR checker verdict trail ship in this release (docs/security-guarantee-v1.md, docs/checker-verdicts/). The adversarial release regression matrix against this version lives in the raucle-agent-red repository (docs/release-regression-v0.23.8.md). Demo bundle re-keyed per the D12 custody discipline. Release provenance: annotated tag v0.23.8 at the release commit (GitHub-tag verified) with publish workflow run 45428200921 from that exact head.