Repository navigation
Description
Problem and goal
Represent locations by typed provider and scoped locator fields rather than opaque untyped path strings.
Version and design basis
Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/versioned-design.md#9115--existence-acknowledgements-location-harvester-privacy (section: #9115 — Existence acknowledgements, location harvester, privacy).
Tier: crucial.
Statement IDs: S3.21, S3.22, S3.26, S3.27, S3.28, S3.29, S3.30
Enables: Safe location resolution, privacy filtering and backend-specific freshness handling.
Scope and ownership
Parent: #9115 (native component/meta parent).
pkgs/id/crates/id-core/src/location_ref.rs(new; owner: A9115-locator-types)pkgs/id/crates/id-core/tests/location_ref.rs(new; owner: A9115-locator-types)
Hard dependencies (native blockers): A9113-shape-types — Requires typed ContentId/ArrayId shape variants, shape-version tag and unsupported-critical-shape error from A9113-shape-types.; 9110-02 — Adds this consumer module to the crate root and owns Cargo manifest/export changes; this slice owns only its distinct module and tests.; 9083 — Consumes the authenticated tenant/scope context contract; this slice does not define tenancy.
Soft sequencing (not blockers): 9084 — Coordinate the reference/copy adapter seam before integration; this slice makes no reference-versus-copy decision.
Test / evidence first
Create or validate pkgs/id/crates/id-core/tests/location_ref.rs first. Proposed command: cargo test -p id-core --test location_ref
Oracle: invariant — expected Typed enum reference model; no coercion between locator kinds and no scope-less locator accepted.; verifier: Check the stated property over generated inputs and assert the exact invariant and failure classification..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable the affected acknowledgement or derived location-index writer/query; preserve signed receipts, sidecars and tombstones so the projection can be rebuilt without losing evidence.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activity
developing-today commentedon Nov 14, 2026
CODE-3623
dezren39 commentedon Nov 14, 2026
state: blocked (dependency)
task: 17046 (lane any-d, repo-worker-code)
issue: #10200 — Define typed R2, laptop and Drive location values (slice A9115-locator-types)
Preflight (mandatory triage/preflight packet): native GitHub blocked_by for #10200 = #9083, #10160, #10180, verified fresh 2026-11-14T17:33Z. All three blockers are still OPEN.
Per the packet's acceptance contract, no implementation was started. Task 17046 is self-blocked as a dependency block on #9083, #10160, and #10180 (
--blocked-by-issue); the broker will return it to the pool automatically when every blocker closes. No production rollout is authorized by this packet.dezren39 commentedon Nov 17, 2026
🤖 Agent note · already done — task 19148 (lane code-b)
location_ref.rsplus its tests).dezren39 commentedon Nov 17, 2026
agent-note:v1
actor: repo-worker-code (openchamber-scheduled-lane, lane any-n)
transition: blocked
queue_task: 17046 (repo-health-code-pilot)
summary: Mandatory A9115-locator-types native-blocker preflight. Open native blocker: #9083 (OPEN as of 2026-11-17T17:50Z). #10160 and #10180 are CLOSED and are not blockers. No implementation performed. Task self-blocked with reason class blocked; recheck when #9083 is closed. Not production rollout authorization.
dezren39 commentedon Nov 18, 2026
agent-note:v1
actor: repo-worker-code (openchamber-scheduled-lane, lane any-o)
transition: blocked
queue_task: 20508 (repo-health-code-pilot)
summary: Triage of #10200 (A9115-locator-types). Fresh check 2026-11-18: native blocker #9083 is still OPEN (updated 2026-11-17T16:51Z). #10160 and #10180 are CLOSED and are not blockers. Nothing is implemented. Recheck when #9083 closes. Work stays on the existing dependency-blocked packet (queue task 17046); this triage does not create a second packet. Not production rollout authorization.
2 remaining items
dezren39 commentedon Nov 21, 2026
Agent note — picked up task 20508 (lane oc-code-02)
Revalidating #10200 and its existing A9115-locator-types route; no implementation until listed native blockers are resolved.
dezren39 commentedon Nov 21, 2026
Agent note — triaged #10200 (task 20508, lane oc-code-02)
Fresh verification 2026-11-21: #10200 is OPEN; native blocker #9083 remains OPEN; #10160 and #10180 are CLOSED. Existing implementation packet task 17046 is still dependency-blocked on #9083. This packet is already routed; no duplicate follow-on was created and no implementation or rollout was authorized. Resume implementation when #9083 closes.
dezren39 commentedon Nov 23, 2026
Agent note — picked up task 17046 (lane-cu, archer)
Preflight re-run fresh 2026-11-23T03:13Z: native blockers #9083, #10160, #10180 are ALL CLOSED (completed) — #9083 closed 2026-11-23T03:07Z. The A9115-locator-types preflight gate passes, so this lane proceeds to implementation within the issue's approved scope:
pkgs/id/crates/id-core/src/location_ref.rs+pkgs/id/crates/id-core/tests/location_ref.rs, oraclecargo test -p id-core --test location_ref(invariant: typed enum reference model; no coercion between locator kinds; no scope-less locator accepted).feat(id-core): typed R2, laptop and Drive location values (A9115-loca…
dezren39 commentedon Nov 23, 2026
Agent note — DONE (lane-cu, archer; queue task 17046)
Preflight (mandatory A9115-locator-types packet): native GitHub
blockers #9083, #10160, #10180 all CLOSED (completed), verified
fresh 2026-11-23T03:13Z — #9083 closed 2026-11-23T03:07Z. Gate
passed; implementation proceeded within the issue's approved
scope only.
Landed
cb4c54ced4fcfd5d157a1b02825eddac798b5126(head-SHA guarded):pkgs/id/crates/id-core/src/location_ref.rs(new; verified onmain, 16,534 bytes) —
TypedLocatorenum:R2 {account,bucket,key},Laptop {hostname,path},Drive {account,file_id,url}; validated constructors with exactLocationErrorclassification; no conversion between kinds;canonical tagged text form whose parser requires the explicit
kind tag (unknown tag ->
UnsupportedLocatorKind).LocationRefbinds a locator to a
NamespaceId+ the design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 tenant-scopestring; blank scope ->
MissingTenantScope— no scope-lesslocation reference can be constructed.
pkgs/id/crates/id-core/tests/location_ref.rs(new; verified onmain, 8,730 bytes) — golden vectors, failure-classification
tests, proptest properties over generated inputs.
src/lib.rs: one line,pub mod location_ref;— the samepattern as leaf PR feat(id-core): typed ID shape discriminator + strict version/profile parsing (A9113-shape-types, #10180) #11006 (A9113-shape-types); versioned public
export wiring remains the serial Wire versioned public module exports and verify Rust/TypeScript conformance #10267 gate, untouched.
Oracle — passes
cargo test -p id-core --test location_ref(laptop, pkgs/id devshell,
nix develop): 9 passed; 0 failed; finished in 0.19s— golden_tagged_forms, unknown_kind_tag_is_unsupported_not_guessed,
malformed_tagged_forms_are_classified,
invalid_fields_are_classified_by_field,
scope_less_references_are_rejected, plus proptest properties
tagged_form_round_trips_and_preserves_kind,
retagging_never_coerces, scoped_references_round_trip,
blank_scopes_reject_as_missing.
rustfmt --checkclean on bothnew files. (The crate's 68 pre-existing lib warnings are on main's
other modules, not this one;
cargo fmt --checkon the widerpackage shows pre-existing drift in
world_presentation.rs,untouched here.)
Scope notes
precedent — it adds only its own one-line
pub mod, no manifestor shared-root changes.
sibling slices (A9115-existence-receipt etc.), not this one.
Closing #10200 as completed: declared oracle passes, test output
and changed-file summary attached above.