Skip to content

fix(spec,auth): refresh drift gate evidence and align logout test with hanzo.id (v8.5.1501) - #143

Merged
zeekay merged 1 commit into
mainfrom
fix/drift-gate-v8.5.1501
Dec 3, 2026
Merged

zeekay merged 1 commit into
mainfrom
fix/drift-gate-v8.5.1501

Conversation

@zeekay

@zeekay zeekay commented Dec 3, 2026

Copy link
Copy Markdown
Member

Root Cause (Forge run 20305 / job 118327)

Two test targets failed in make test on linux-amd64:

  1. tests/spec_drift.rs (the_live_server_contradicts_this_command_tree_in_neither_direction): commit c3a26558 regenerated .spec-lock, spec/cloud.json, and generated.rs to hanzo-inc/cloud@7a82703a without refreshing spec/live.json (still pinned to @9a79beea / sha256:92ac4038...), breaking the derivation chain.
  2. tests/auth.rs (logout_without_a_browser_prints_the_end_session_link): PR fix(iam): accept the hanzo.ai issuer when signing in at hanzo.id #129 (08412ba2) restored hanzo.id as the browser sign-in/logout origin while updating unit tests in src/, but left tests/auth.rs asserting hanzo.ai.

Fix

  • Re-pinned .spec-lock to hanzo-inc/cloud@323dbe6310 (served api.hanzo.ai/v1/openapi.json sha256:d3c236231a7f...) and regenerated spec/cloud.json, src/commands/product/generated.rs, and spec/live.json (make spec).
  • Updated src/bin/driftgate.rs measured ceilings (CONTRADICTED: 0 -> 5, AHEAD: 1 -> 0, UNFALSIFIABLE: 72 -> 76, 164/164 products reachable, 0 orphans, 0 phantoms).
  • Updated tests/auth.rs to expect hanzo.id for browser sign-out.
  • Bumped Cargo.toml / Cargo.lock to 8.5.1501.

Verification

  • make spec-check: PASS (2944 ops match spec/cloud.json)
  • make verify: PASS (driftgate: no drift.)
  • hanzo.yml read-only HOME + empty writable HOME make test: PASS (100% pass, 0 files written to HOME)
  • cargo clippy --locked --all-targets -- -D warnings: PASS

…st with hanzo.id (v8.5.1501)

- Re-pin .spec-lock to hanzo-inc/cloud@323dbe6310 (live api.hanzo.ai/v1/openapi.json sha256:d3c23623...) and regenerate spec/cloud.json, generated.rs, and spec/live.json via make spec so spec_drift passes in both directions (164/164 products reachable, 0 orphans, 0 phantoms, 0 ahead).
- Update driftgate ceilings with measured provenance: CONTRADICTED 0->5 (5 cloud live-table routes returning 404 against 404 controls), AHEAD 1->0, UNFALSIFIABLE 72->76 (4 new literal GETs under /v1/devices, /v1/network, /v1/review).
- Update tests/auth.rs logout_without_a_browser_prints_the_end_session_link to expect hanzo.id (missed when PR #129 restored hanzo.id as the browser sign-in/logout origin).
- Bump crate version 8.5.1500 -> 8.5.1501 for clean 5-platform + npm + Homebrew release.
@zeekay
zeekay merged commit 494029c into main Dec 3, 2026
1 check passed
@zeekay
zeekay deleted the fix/drift-gate-v8.5.1501 branch December 3, 2026 04:42
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.

1 participant