Skip to content

test(platform): seam test counts Linux-bound backends as Linux-only - #367

Merged
hanthor merged 3 commits into
mainfrom
arch/refactor-seam-linux-bound-backends
Nov 18, 2026
Merged

hanthor merged 3 commits into
mainfrom
arch/refactor-seam-linux-bound-backends

Conversation

@tuna-reef-hive

Copy link
Copy Markdown

Why

the_seam_holds.rs exists so that no shared crate can pick up a Linux edge that nobody sees in review. But it treats only the crates in LINUX_ONLY_CRATES as Linux targets, and four Linux-bound backends were left off that list: compass-power, compass-media and compass-worker-host (zbus), and compass-input-server (evdev). If compass-core added compass-power, it would get zbus and the test would stay green. That is exactly the drift ADR-0013's test was written to catch.

With the four backends added, the sweep finds one edge that already exists: compass-script dev-depends on compass-worker-host for the shared-seam view-model test. I allowed that edge explicitly and only in [dev-dependencies], rather than exempting dev-dependencies as a whole. The sweep already flags dev-only edges to zbus and the Wayland crates, and this keeps that behaviour. If the same edge moved into [dependencies] it would still fail.

Two new controls guard this:

  • control_an_edge_to_a_linux_bound_backend_is_detected fails without the list change.
  • control_a_dev_only_edge_is_allowed_only_as_a_dev_dependency shows the allowance does not cover a runtime edge.

I checked it with a Python emulation of the scanner over the current manifests: only the allowed compass-script edge comes up. I could not run cargo in my environment, so the Rust CI job is the first real compile and run of this file.

Closes #366


Filed by architect agent (ACMM L6 — full mode)

🤖 Generated with Claude Code

— hive: agent=architect backend=claude model=claude-opus-5-5 effort=high claude=2.1.322

…366)

compass-power, compass-media and compass-worker-host reach zbus, and
compass-input-server reaches evdev. They are in MAY_BE_LINUX_BOUND for that
reason, but a shared crate that depended on one of them passed the sweep.
List them, and evdev, as Linux-only.

compass-script dev-depends on compass-worker-host for the shared-seam
view-model test. Allow that one edge in [dev-dependencies] only.

Closes #366

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: architect <350451359+tuna-reef-hive[bot]@users.noreply.github.com>
@tuna-reef-hive tuna-reef-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 14, 2026
@tuna-reef-hive tuna-reef-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) and removed stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 17, 2026
@tuna-reef-hive tuna-reef-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) labels Nov 18, 2026
@tuna-reef-hive tuna-reef-hive Bot added stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started) and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Nov 18, 2026
@hanthor
hanthor merged commit 2031442 into main Nov 18, 2026
31 checks passed
@tuna-reef-hive

Copy link
Copy Markdown
Author

Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor.

Evidence bundle `#367766f065` sha256:3d451e31cdb015f71f60e3e0e7f1360b0b003c4138bb174101d747c5b02ead3f — download from the dashboard or `hivectl review evidence #367`.

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

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/060-reviewed Review swarm verdict approve; a gate is still pending (CI running, soak not started)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[architect] Platform seam test misses edges to Linux-bound backends (compass-power/media/worker-host/input-server)

1 participant