Skip to content

Define typed R2, laptop and Drive location values #10200

Closed

Description

@dezren39

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

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    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.

  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · already done — task 19148 (lane code-b)

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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.

  5. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    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.

  6. 2 remaining items

  7. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    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.

  8. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    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.

  9. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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, oracle cargo test -p id-core --test location_ref (invariant: typed enum reference model; no coercion between locator kinds; no scope-less locator accepted).

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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

    Oracle — passes

    cargo test -p id-core --test location_ref (laptop, pkgs/id dev
    shell, 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 --check clean on both
    new files. (The crate's 68 pre-existing lib warnings are on main's
    other modules, not this one; cargo fmt --check on the wider
    package shows pre-existing drift in world_presentation.rs,
    untouched here.)

    Scope notes

    • 9110-02 crate-root ownership: the leaf PR follows the sibling
      precedent — it adds only its own one-line pub mod, no manifest
      or shared-root changes.
    • The location assertion record, harvester and per-scope index are
      sibling slices (A9115-existence-receipt etc.), not this one.

    Closing #10200 as completed: declared oracle passes, test output
    and changed-file summary attached above.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mMedium: expected under 1 day of workpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions