GeezerVison is showing github.com — Map existing ID stores to explicit port boundaries · Issue #9418 · developing-today/code
Map existing ID stores to explicit port boundaries #9418DescriptionProblem and goal
Establish a source-accurate seam map that keeps blob, event, world, and sync stores distinct and gives port design an explicit ownership baseline.
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/crosscut/versioned-design.md#port-contract (section: Port contract).
Tier: crucial.
Statement IDs: S0.1, S0.2, S0.3, S0.4, S0.7, S0.14
Enables: Document and type the existing blob, event, world, and sync store seams without merging their authority; identify consumer-owned files and compatibility adapters.
Scope and ownership
Parent: #9110 (native component/meta parent).
pkgs/id/ARCHITECTURE.md (existing; owner: 9110-01)
pkgs/id/tests/store_port_boundary.rs (new; owner: 9110-01)
Hard dependencies (native blockers): none
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/tests/store_port_boundary.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test store_port_boundary
Oracle: invariant — expected The architecture boundary names blob/event/world/sync stores separately and a fixture rejects their flattening.; verifier: The seam-map classification table and compile-time trait ownership test..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: pkgs/id/crates/id-store/src/store.rs; pkgs/id/crates/id-events/src/event_store/mod.rs; pkgs/id/crates/id-worlds/src/world_store.rs; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/baseline/seam-map.md.
Rollback: Revert the documentation/test additions; no runtime behavior or persisted bytes change.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activitydeveloping-today commented on Nov 13, 2026 dezren39 commented on Nov 13, 2026 Queue coverage was not verified for this delivery. The publisher stopped after: queue readback lacks exactly one matching LIVE task ({'claimed', 'blocked', 'parked', 'queued'}) for task 15882
Do not treat this issue as covered until a live task in repo-health-code-pilot is read back.
dezren39 commented on Nov 13, 2026 Native-blocker preflight recorded (lane code-b, task 15882) for slice 9110-01.
- Native blockers: none. The issue body states "Hard dependencies (native blockers): none", and the GitHub native dependency API agrees (blocked_by count = 0, verified 2026-11-13). Soft sequencing: none.
- Contingent research trigger: none listed in the packet or the issue; no contingent research started.
- Design basis present: the settled V2 design (
doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md, Port contract section) is on main; statement IDs S0.1–S0.4, S0.7, S0.14; tier: crucial. Parent: design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110.
- Scope/oracle as approved:
pkgs/id/ARCHITECTURE.md (existing) + new pkgs/id/tests/store_port_boundary.rs, test-first, invariant oracle (the boundary names blob/event/world/sync stores separately and a fixture rejects their flattening).
Per the packet, this was preflight only — it is not production rollout authorization, and no implementation was performed under it. With zero blockers, the slice is clear to proceed within its approved scope under the program's implementation routing. dezren39 commented on Nov 13, 2026
Picked up by lane code-a as task 15890 (follow-on fix packet from triage task 15882).
Native-blocker preflight re-verified fresh for slice 9110-01:
- Native blockers: none. Issue body states "Hard dependencies (native blockers): none"; GitHub dependency API
blocked_by returns [] (verified 2026-11-13). Soft sequencing: none. Contingent research trigger: none.
- No hard-stop labels on issue Map existing ID stores to explicit port boundaries #9418 (no labels at all); no existing PR for Map existing ID stores to explicit port boundaries #9418.
- Proceeding within approved scope only:
pkgs/id/ARCHITECTURE.md seam-map/port-boundary section + new pkgs/id/tests/store_port_boundary.rs, oracle = invariant (boundary names blob/event/world/sync stores separately; a fixture rejects their flattening), test command cargo test --manifest-path pkgs/id/Cargo.toml --test store_port_boundary. No production rollout.
dezren39 commented on Nov 13, 2026
Done by lane code-a as task 15890 — slice 9110-01 implemented and merged via PR #9426 (merge commit 632659c).
Preflight (re-verified fresh this shift): native blockers none — issue body lists no hard dependencies and the GitHub dependency API blocked_by returned []. No contingent research trigger. No production rollout performed.
Changed files (2 files, 323 insertions):
pkgs/id/ARCHITECTURE.md — new "Store Port Boundaries" section: seam-map classification table naming the blob (id-store, StoreType), event (id-events, EventStore), world (id-worlds, FileJournal/ModuleDir), and sync (id-sync, Outbox — delivery only, no stored-data authority) ports separately, with owning crate/seam, backing storage, authority and non-authority per port, plus consumer-owned files and the single-port compatibility adapters (StoreType::as_store(), EventStoreBackend/SharedEventStore, event Storage/FileStorage, Outbox replay).
pkgs/id/tests/store_port_boundary.rs (new) — compile-time trait ownership test (one StorePort impl per port on its own type), classification validator, flattening fixture that must be rejected, and an ARCHITECTURE.md agreement check.
Test output (exact command recorded in slice 9110-01, run on the laptop in worktree queue-15890-9418-store-port-boundary):
cargo test --manifest-path pkgs/id/Cargo.toml --test store_port_boundary
running 4 tests
test each_port_is_a_distinct_type_with_a_distinct_owner ... ok
test fixture_rejects_flattening_all_stores_into_one ... ok
test research_evidence_sources_exist ... ok
test architecture_doc_names_each_store_separately ... ok
test result: ok. 4 passed; 0 failed
Oracle (invariant): the architecture boundary names blob/event/world/sync stores separately and a fixture rejects their flattening — passes. Rollback: revert PR #9426; no runtime behavior or persisted bytes changed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|