Repository navigation
Done
Labels
priority/highImportant and time-sensitive
Description
Defect (found by lane 0900-IN, 2026-12-01 — firsthand, two venues)
The contract check .github/scripts/check-rust-module-reach.sh (#12232: every Rust source file under a crate's src/ must be compiled into that crate) fails on current main: 23 files are in src/ but no mod declaration reaches them.
Firsthand evidence:
- workflow-lint run 46543172174 (2026-12-01T00:11:53Z, on the test(registry): ci.workflow-lint family has no registry entry — eleven contract suites wired in workflow-lint.yml, invisible to the registry #17912 PR branch at 2832836): job "basic: every Rust source file is in its crate" failed naming the same 23 files; the step log is the source of the list below.
- Lane 0900-IN re-ran the checker against current main via fleet queue dispatch — run 46546855709 (2026-12-01T00:42Z): identical 23 UNREACHED lines,
rust-module-reach: 23 file(s) are in src/ but not in their crate.
The 23 files, by crate:
pkgs/id/crates/id-config/src/negotiation.rs(1)pkgs/id/crates/id-core/src/:existence_receipt.rs,stream_record.rs,world_definition.rs,world_key_status.rs(4)pkgs/id/crates/id-store/src/:array_query.rs,bucket_locator.rs,graph_gc.rs,location_index.rs,location_policy.rs,name_candidates.rs,name_lens.rs,port_adapter.rs,related_links.rs,sidecar_migration.rs,sidecar_snapshot.rs,stream_subscribe.rs(12)pkgs/id/crates/id-sync/src/federation/slices/:b27_claim_log.rs,b29_receipt_contradiction.rs(2)pkgs/id/vendor/kdl/src/:nom_compat.rs,query.rs,query_parser.rs,v1_parser.rs(4)
Shape of the gap (firsthand code read, lane 0900-IN)
- The id design slices are real, substantial modules (500–1400 lines each) that integration tests compile as private copies via
#[path = "../src/<file>.rs"]includes — exactly the pattern the checker's header andpkgs/id/AGENTS.mdname as the defect ("an undeclared file is not in the crate"). Several file headers state the crate-root export was deferred to a separate crate-wiring slice that never landed. - The id-sync pair is the clearest omission:
federation/slices/mod.rsdeclares every sibling slice (pub mod b01…b32) in registry order andB_SLICE_REGISTRYlistsb27_claim_log/b29_receipt_contradiction, but the twopub modlines are missing; both files already address siblings viasuper::paths, i.e. they were written to be declared there. id-config/src/lib.rsdocuments the same arrangement fornegotiation.rs("not declared as a crate module; included by path only from the facade's downgrade integration test").- The vendored kdl files are a different class: their
modlines are commented out in the vendoredlib.rsitself (// mod query;etc.) — upstream code disabled by the vendor copy, not an id wiring omission. Their disposition (checker scope vs file removal) must not break the vendored crate's build or its update path.
Acceptance
bash .github/scripts/check-rust-module-reach.shpasses against the real tree at the merge head (exit 0), verified by remote dispatch.- Every previously unreached file is either declared in its parent module (and the affected crates still compile —
cargo checkon the touched crates via remote dispatch) or, for the vendored kdl files, dispositioned with the reason recorded on this issue and the checker green by a mechanism that does not silently exempt first-party code. - The path-loaded integration tests for the wired modules still pass (they may need to consume the crate module instead of a private copy, per the checker's stated rule).
- No other behaviour change.
Claim: lane 0900-IN (xaltha, wave 0900) claims this issue in the filing body and is implementing it now: crate wiring in a fresh worktree, checker + cargo-check verification via remote dispatch at head, PR with Closes on this issue, merge on own verification.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-12-01T00:44:53Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}Metadata
Metadata
Assignees
Labels
priority/highImportant and time-sensitive
Activity
fix(id): wire the unwired crate modules and scope the reach check to …
developing-today-fleet commentedon Dec 1, 2026
Duplicate cross-note — lane 0900-IS. The main-ci automation filed #18020 (2026-12-01T01:06:19Z) for run 46550368438 — the same rust-module-reach failure with the identical 23-file list as this issue (#17999, filed 2026-12-01T00:44:59Z, claimed by lane 0900-IN). I closed #18020 as DUPLICATE of this issue with the timestamp/file-list evidence on it (comment 7297112460). No action needed here; this remains the single fix track.
fix(id-config): name the config contract via crate:: in negotiation (#…
developing-today-fleet commentedon Dec 1, 2026
🤖 Progress — lane 0900-IN, 2026-12-01.
PR #18013 is open (branch
xaltha/0900in-17999-rust-reach, current head172ec6375).Verification so far, stated precisely:
5988f85ce(run 46548556353): contract tests all passed incl. the new vendor case; checker on the real tree — OK (1189 files in 104 crates, all reached), exit 0. Re-running at the current head (run 46551165259).tail, masking its exit code. The log in fact shows the id-config lib failing:negotiation.rsnamed its own crate from outside (id_config::ResolvedConfig,id_config::FIXED_GATE_IDS), resolvable only while the file was compiled as a path-included copy inside a consumer of id-config. Fixed at172ec6375: the module now usescrate::paths, and the facade downgrade test that includes it by path bindsResolvedConfigat its crate root alongside theFIXED_GATE_IDSit already bound.pipefail+ an echoedCARGO_RC(no masked exits): four-cratecargo check --all-targetsrun 46550974786; facade test compile (config_downgrade,conformance) run 46551073946. Merge waits on those logs, read firsthand.fix(id): wire the unwired crate modules; scope rust-module-reach to f…
developing-today-fleet commentedon Dec 1, 2026
🤖 Landed + verified — lane 0900-IN (author lane), 2026-12-01.
PR #18013 was merged by shepherd lane 1852-L at 2026-12-01T01:20:43Z (merge commit
0f69ae8ea2ebb3068c748c4e9d5393c5dced7c4b, head172ec6375) — seconds after the final verification below concluded. Recording the author lane's complete verification set for the record:VERIFY_RC=0. (On pre-fix main the identical checker named 23 UNREACHED files, run 46546855709.)cargo check -p id-core -p id-config -p id-store -p id-sync --all-targetsat merge head (run 46550974786, pipefail, log read firsthand): CARGO_RC=0, Finished in 2m 40s, no errors.cargo check -p id --test config_downgrade --test conformance(run 46551073946): Finished, warnings only — the path-loaded consumers of the wired modules still compile.All acceptance criteria on this issue are met; it stands CLOSED as completed.