GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) · Issue #4406 · developing-today/code

pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406

New issue
Copy link
New issue
Copy link
Closed
Closed
pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here)#4406
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-crate-splitDesign: id-crate-split - all issues of this effort carry iteffort/lLarge: multi-day or open-ended; expect staged check-insepic/id-crate-splitEpic: id-crate-split - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)expediteImportant - do this very soon, before anything not expeditedkind/performancePerformance problem or optimizationmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/id-crate-splitPrimary parent epic id-crate-split (design §3)priority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Nov 2, 2026
Issue body actions

Crate split step 3 of 7 — from the merged design

Design: doc/2026-11-01T16-53-00Z_design_id_crate_split/2026-11-01T16-53-00Z_design_id_crate_split.md (merged as PR #3824, 2026-11-01). Tracking issue: #3447. Program: #3195 (build-time review; Drew's priority order — shipped-binary runtime performance first, build time second).

Scope (design, verbatim intent)

Design step 3: id-sync. log_sync and the wire layer move; artifact lands here with its availability trait (seam 9).

Current state

Not started. (The pre-design phase plan's 'Phase 3 id-sync' was never enqueued; queue task 5855 was blocked as packet_defect against the merged design and is superseded by this step's issue/task.)

Dependency — do not start early

Step 2 (id-store, id-events) merged. If this step's queue task is claimed before the dependency lands, park it with that reason.

Fuel canary (non-negotiable, every step): the FUEL_BUDGETS tables in pkgs/id/src/sandbox.rs must be byte-identical after this step; the fuel-tables diff is committed in the step PR. Any drift means behaviour changed and the step stops. Full verification protocol: design note §"Verification protocol".

Verification protocol (design, every step): one PR; main green throughout; the shipped binary is built by the same Nix derivations at every point (all three entry points: the sub-flake's id-web and id-lib, and default.nix); test count matches or exceeds the step-0 baseline with any delta named; cold check-build timing recorded on #3447 and #3195 with the laptop load noted. Heavy builds run under ~/tools/fleet-build-lock on the laptop (max 2 concurrent, CARGO_BUILD_JOBS = half the cores) — there is no load gate (Drew, 2026-11-02).

Acceptance criteria

  • The extraction lands as its own PR off current main, sequenced after its predecessor step (see Related).
  • The id facade re-exports the extracted crate so existing call sites compile unchanged in behavior.
  • CI green on the PR (workspace build + the id test suites), including the F11.10 production-line guard.
  • This issue closes with the merge; the next step's issue is unblocked in sequence.
{
  "pm_meta": 1,
  "direct_parent": {
    "repo": "developing-today/code",
    "number": 3447,
    "kind": "sub-issue"
  },
  "links": [],
  "provenance": {
    "actor": "dezren39",
    "ingested_by": "metadata-sweeper",
    "ingested_at": "2026-11-24T03:22:21.176Z"
  },
  "ascertained": {
    "title": "pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here)",
    "state": "CLOSED",
    "labels": [
      "kind/performance",
      "task/triage",
      "status/parked",
      "source/creator",
      "priority/high",
      "queue/parked",
      "app/id",
      "work/assigned",
      "effort/l",
      "meta/enriched",
      "expedite",
      "epic/id-program",
      "epic/id-crate-split",
      "design/id-crate-split"
    ],
    "milestone": null,
    "created_at": "2026-11-02T15:23:03Z",
    "updated_at": "2026-11-12T18:43:50Z",
    "closed_at": "2026-11-11T17:08:18Z"
  }
}

Activity

Next
  1. dezren39
    added
    kind/performancePerformance problem or optimization
    priority/highImportant and time-sensitive
    queue/queuedHas a queued queue task
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 2, 2026
  2. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 6300, repo-health-code-pilot
    • Found via: atomic queue claim
    • Task: step 3 of the pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 crate split — extract id-sync (log_sync + wire layer)
    • Next: revalidate the step-2 dependency (pkgs/id crate split — step 2: extract id-store, then id-events #4405) before creating any worktree.
  3. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked — predecessor gate unmet

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane
    • Session / ID: queue task 6300, repo-health-code-pilot
    • Fresh evidence: step-2 issue pkgs/id crate split — step 2: extract id-store, then id-events #4405 is still OPEN (not merged); origin/main contains only crates/id-core (step 1), no id-store/id-events crates; no open PR references pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406 or id-sync. pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406 itself is OPEN with no assignees and no held flags.
    • Disposition: parked for 30 minutes; no worktree created and no files changed, per the packet sequence rule (do not start step 3 before step 2 lands).
    • Resume condition: pkgs/id crate split — step 2: extract id-store, then id-events #4405 closes (step-2 extraction merged); then revalidate the full step chain before starting step 3.
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/queuedHas a queued queue task
    on Nov 2, 2026
  5. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    Queue task 6300 verified-fresh and parking: step-2 dependency issue #4405 still OPEN (labels status/parked queue/parked), no open PRs for id-store/id-sync/id-events, and origin/main has only pkgs/id/crates/id-core — id-store has not landed. Step-3 extraction cannot proceed until step 2 merges. Resume when #4405 is closed/merged; re-check crates layout then. No worktree created, no files changed.

  6. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    agent-note:v1 — task 6300 handed off: execution-lane assignment returned opencode, so this lane did not work the task or create a worktree. Checkpoint stage handed_off recorded; the opencode claimant launches the bound session. Carried gate context from task progress: step-3 depends on step-2 #4405 (id-store), which was still open with no id-store on origin/main at last check — the bound session should revalidate the dependency chain fresh.

  7. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: OpenCode queue worker (repo-worker-code)
    • Session / ID: task 6300 · session ses_e5e620b9069ffehLdrBG7derGE
    • Found via: queue claim · OpenCode claimant launch
    • Task: Work task 6300 for issue pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406: pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447 crate split step 3: extract id-sync (log_sync + wire layer; artifact lands here)
    • Expectation: l — follow the packet acceptance criteria; if a stated dependency/resume gate is still closed, checkpoint and park rather than implement.
    • Links: pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406
  8. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 2, 2026
  9. 170 remaining items

    Load more actions
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  11. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-m
    • Session / ID: task 6300
    • Found via: queue claim
    • Task: small_fix for issue pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406 — revalidated fresh: issue pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406 OPEN, no hard-stop labels. Attempts 11/24.
    • Expectation: Execution lane assigned opencode — handed off to the opencode claimant.
    • Links: issue pkgs/id crate split — step 3: extract id-sync (log_sync + wire layer; artifact lands here) #4406
  12. dezren39
    added 3 commits that reference this issue on Nov 11, 2026

    Merge pull request #8703 from developing-today/crate-split-step3a-fra…

    40043bc

    Merge pull request #8730 from developing-today/crate-split-step3b-id-…

    0781817

    Merge pull request #8747 from developing-today/crate-split-step3c-env…

    0535417
  13. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Step 3 is complete — id-sync exists and holds the full sync/wire family. Closing this issue: the core scope (log_sync + wire layer + artifact) landed, with two deferrals to step 7 noted below (both pre-agreed in the design discussion on this issue).

    PRs (each merged with a merge commit, in order)

    • Step 3a — PR pkgs/id crate split step 3a: abuse + frames + block-list vocabulary to id-core (#4406) #8703 (merge 40043bc9): seam 8 resolved by moving abuse + frames down into id-core as leaves. abuse's only non-test above-kernel reference was event_store::BlockList, which is a re-export of id-store's type; the BlockKind/BlockList vocabulary now lives in id_core::block_list, the Block row stays in id-store, and id-store re-exports the vocabulary at the historical path. This also moves the pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620 frames test's future fix into id-core.
    • Step 3b — PR pkgs/id crate split step 3b: extract id-sync (log_sync, protocol, fileops, dht, meta_client wire half) (#4406) #8730 (merge 07818174): id-sync created with log_sync, protocol, fileops, dht, and the meta_client wire half (MetaRequester, request_over, capped responses). META_ALPN/match_kind moved into id_sync::protocol. log_sync was genericized over the store backend (SyncProtocol<S>, S: EventStoreBackend; the range arm additionally requires SharedEventStore<S>: RangeStore, implemented for the concrete store in id-events) — the facade instantiates the concrete store through its existing alias, unchanged.
    • Step 3c — PR pkgs/id crate split step 3c: envelope + envelope_net + envelope_outbox + artifact to id-sync (#4406) #8747 (merge 05354175): envelope (extracted from directory.rs; acceptance policy and Received stayed with the directory), envelope_net, envelope_outbox, and artifact moved into id-sync.

    Seam 9 (artifact), as built

    id_sync::host::SessionHost — three methods only (receive_envelope, receive_artifact, read_artifacts), each returning Result<Availability<T>> where Busy is the hub-lease failure and errors keep id_core::Refusal in their chain, so wire refused/retry behaviour is unchanged. The three protocols are generic over it; the facade implements it for WorldHub (src/session_host.rs). The direct-Directory calls inverted behind id_sync::artifact::ArtifactSink (receive_artifact, artifact_head_seq), implemented for Directory with two forwarders. Nothing in artifact turned out to need id-groups.

    Deferrals (to step 7)

    • meta_client composition: the MetaClient enum + open/connect_node/close and its MetaRequester impl are built from the CLI layer (commands::client/commands::serve) and LocalNode, which live above id-sync. The wire half moved in 3b; the composition stays in the facade until the CLI layer is extracted. Also noted on pkgs/id crate split — step 7: extract id-cli; facade slimming #4411.
    • local.rs wire half: local is a 223-line monolith with LocalNode interwoven through store/tags/protocol/fileops; not cleanly separable without restructuring, so the split stays with step 7 (composition/runtime), as the design allows.

    Verification (per PR, same protocol each time)

    • Baseline on unmodified main @ 33bad1e, full workspace cargo test --no-fail-fast: 3,693 passed / 1 failed / 33 ignored; sole failure frames::tests::byte_refusal_does_not_spend_a_frame_token_or_increment_counters (pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620, pre-existing, now living in id-core's suite).
    • 3a: exact parity (3,689/1/57 by that run's aggregation; same sole failure). 3b: parity after fixing the moved doctests to id_sync:: paths (id-sync suite 65 lib + 5 doc green). 3c: 3,709 passed / 1 failed / 33 ignored — same sole failure; deltas vs baseline are tests added by unrelated main commits (name-level diffs checked per PR; moved-module test counts conserved exactly — e.g. 3c: artifact 40, envelope_net 7, envelope_outbox 21, directory 70, before and after).
    • Fuel canary per PR: sha256sum pkgs/id/src/sandbox.rs unchanged (db88ec8d52e961702353c97a407b77badadef1bd7e0a610a6075267e175d80b5); print_fuel_baseline byte-identical (72 lines, sha256 59cfad49c7553c8309a8b40b23405321399bb76bb741acaeb90f78570f45c32c).
    • Nix per PR (nix build ./pkgs/id#id-lib, no overrides): the baseline check phase stops at the pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620 failure. From 3a on, the check phase passes the lib suites and fails only at cli_tests::world_new_scaffold_compiles_with_pinned_roc — "Roc cache writes are failing / AccessDenied" inside the Nix sandbox. That is a latent sandbox-environment failure unmasked by the pkgs/id: frames byte_refusal test fails deterministically on main (RequestTooLarge vs BudgetExhausted) #8620 relocation (the test passes outside the sandbox; its inputs are untouched by all three PRs) and is worth a follow-up issue of its own.
    • Environment note: cargo-target-broker exec is currently broken fleet-wide (crashes with sqlite3.IntegrityError: UNIQUE constraint failed: dirs.path; all pooled dirs for the fingerprint are leased by other fleet work), so all local runs used fresh CARGO_TARGET_DIRs.
  14. dezren39
    closed this as completedon Nov 11, 2026
  15. dezren39
    added a parent issue on Nov 12, 2026
    • pkgs/id: split the monolith crate into sub-crates along module seams (prioritized by Drew 2026-11-01) #3447
  16. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    epic/id-crate-splitEpic: id-crate-split - all issues of this effort carry it
    design/id-crate-splitDesign: id-crate-split - all issues of this effort carry it
    on Nov 12, 2026
  17. dezren39
    added
    primary-parent/id-crate-splitPrimary parent epic id-crate-split (design §3)
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)design/id-crate-splitDesign: id-crate-split - all issues of this effort carry iteffort/lLarge: multi-day or open-ended; expect staged check-insepic/id-crate-splitEpic: id-crate-split - all issues of this effort carry itepic/id-programReprioritization program epic (2026-11-12)expediteImportant - do this very soon, before anything not expeditedkind/performancePerformance problem or optimizationmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/id-crate-splitPrimary parent epic id-crate-split (design §3)priority/highImportant and time-sensitivequeue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.