GeezerVison is showing github.com — id: implement hosted HTTPS/WS signed-object bridge v1 (from #2046) · Issue #3818 · developing-today/code
id: implement hosted HTTPS/WS signed-object bridge v1 (from #2046) #3818DescriptionImplementation packet for the #2046 serverless-edition synthesis. Use the bridge-semantics investigation and the completed DO-shaped SQLite PoC (#2058, #2276, PR #2848) as the design inputs.
Scope: production HTTPS/WebSocket push/pull between native ID nodes and the hosted per-user store; authenticate with ID-key proof and the account/binding contract; transfer signed objects and proof-carrying chain/fork evidence; reuse native ingest/resolve semantics without server-assigned order, re-signing or authoritative snapshots. Add bounded batches, cursors/frontiers, retry/backpressure and withholding detection. Do not implement shared-world execution here.
Gate: depends on #3808 binding contract and #3811 hosted UserDO; do not start before those contracts are accepted. The semantic PoC is already merged as PR #2848; this is production protocol work, not a duplicate PoC.
Acceptance: native-to-hosted and hosted-to-native convergence, equal-height forks, withheld dependencies, replay into empty stores, retry/idempotence and bounded resource tests; every accepted object keeps its original signature. PR references this issue, #2046, #2852 and #2276. Activitydeveloping-today commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 2, 2026 dezren39 commented on Nov 23, 2026
Agent note — one-shot HTTPS legs landed (lane IL, archer), 2026-11-23
PR #13031 merged (merge eb22a545a45e, head ed084e2a930 SHA-guarded; module verified present on main): remainder 1 of Lane FQ's done record — the one-shot HTTPS legs (challenge/heads/push/pull) as native calls.
What landed — pkgs/id/crates/id-sync/src/bridge_http.rs:
BridgeHttpClient (one binding, one ID key, one front-door base URL) over a BridgeHttp request/response seam; production transport ReqwestHttp (reqwest over rustls — the workspace's existing HTTPS stack via id-worlds; one new dependency edge for id-sync + its Cargo.lock line).
- Every leg but challenge fetches a fresh single-use nonce and signs the same bridge-auth transcript the dialer uses, sent as
x-id-nonce / x-id-proof (the hosted bridgeProof headers). Non-success answers surface as BridgeHttpError::Refused with the server's status + named {error, message} code.
- Push is bound-checked client-side in the hosted codec's terms before anything is sent; pull decodes its batch under the receipt bounds and reads heads/more from the
x-bridge-heads / x-bridge-more headers.
- The design record's dialer bullet now records the legs as landed.
Verification (laptop worktree off origin/main, nix develop in pkgs/id): cargo test -p id-sync bridge_http — 7 passed / 0 failed against an in-memory mirror of the hosted routes over a native EventStore (empty-store heads; wrong-key proof refused as 403 bridge_proof_invalid; a nonce proves exactly one call — replay gets 403; push/heads/pull round trip with duplicate re-push; pull pagination at max_events=1; malformed event as a refused outcome; over-bound batch refused locally with zero requests sent). Full crate suite cargo test -p id-sync --lib — 238 passed / 0 failed; cargo fmt --check -p id-sync clean.
Remaining on #3818 (unchanged, named for the next slice): remainder 2 only — a live native-against-hosted session test (the dialer and these legs against the deployed hosted worker, not a mirror). #3818 stays open on it. dezren39 commented on Nov 23, 2026 agent-note:v1
event: remaining leg given its own home — #13036
by: agent felix (kind muse, Muse sandbox seat)
at: 2026-11-23
The hosted bridge v1 scope (PR #12911, merged) is this issue's completed half. The one remaining leg — the native Rust dialer — is now tracked separately as #13036, with the merged cross-language fixtures as its conformance contract. This issue stays open as the parent record until #13036 lands. dezren39 commented on Nov 23, 2026 🤖 Progress — OpenChamber lane code-g, queue task 5823
Fresh revalidation found #3808/#3811 closed and the implementation legs merged (#12911, #12993, #13031). The only remaining acceptance evidence is a live native-client session against the local hosted worker, separately tracked on #13036. I am taking that test slice under task 5823; no implementation changes yet. Working branch: code-g/3818-live-bridge (empty branch pushed). dezren39 commented on Nov 23, 2026
Decided: No open owner question exists on #3818; the stale gate-era status/blocked label is removed and work continues on the single remaining slice (live native-against-hosted test, owned by parked task 5823 on branch code-g/3818-live-bridge).
Why: Thread history shows two owner-side items, both already resolved: (a) the #3808 rebind waiting-period design was ruled on #2046 on 2026-11-03 (CSE default ON, 30-day wait) and the #3808/#3811 gates have since closed with implementation PRs #12911, #12993, #13031 all merged; (b) the #13036 execution-risk flag was decided non-holding by lane code-g on 2026-11-23 (no held/user/owned/do-not-auto-edit label, no live conflicting claim at the time). No user/escalated label is present and no comment asks Drew for anything still unanswered. Per FDR-0013 neither item holds work.
Undo: Re-add status/blocked with the specific blocker if a new gate leg appears; a repo-enforced execution restriction or a live conflicting claim would stop the live-test slice with the constraint recorded.
By: OpenChamber lane code-f dezren39 commented on Nov 23, 2026
Agent note — stand-down (Lane XN, archer), 2026-11-23
Queue task 5823 was served to this lane via fleet agent next. Fresh verification this pass:
No competing claim is made and no code was touched. #3818 stays open as the parent record until #13036 lands, per its own record. dezren39 commented on Nov 23, 2026 🤖 Progress — OpenChamber lane code-f (shortlist slice), 2026-11-23
Owner-park repair (done): decision record 7102692360 — no open owner question exists on this issue. Historic owner-side items are both resolved: the #3808 rebind design was ruled on #2046 (2026-11-03, CSE default ON / 30-day wait) and both gates (#3808, #3811) have since closed; the #13036 execution-risk flag was decided non-holding by lane code-g. No user/escalated label was present; stale gate-era status/blocked removed. queue/blocked left for the broker.
Acceptance state vs current main (5774307, first-hand file check): hosted leg, native dialer (pkgs/id/crates/id-sync/src/bridge.rs, 1,350 lines: BridgeDialer :405, sync_with_retry :488, detect_withholding :709), and one-shot HTTPS legs (bridge_http.rs, 982 lines: BridgeHttpClient :305, challenge/heads/push/pull :357/:395/:415/:464) all present with their unit tests (6 + 7 in-file tests). Prior recorded evidence stands: bridge:: 6/6 (FQ), bridge_http 7/7 + lib 238/238 (IL), fixtures 17/17 + poc 21/21 (felix). A fresh laptop re-run of cargo test -p id-sync --lib bridge was attempted twice under the build lock and cancelled twice by server restarts before compiling — not re-attempted; treat the numbers above as prior-lane evidence, file presence re-verified today.
No PR from this lane, deliberately: the single remaining acceptance item — a live native-against-hosted session test — is owned by parked task 5823 (resume ~14:25Z) with 2 test commits already on code-g/3818-live-bridge (native-bridge.mjs smoke + bridge.rs additions, not on main). A competing implementation would duplicate that slice.
Next slice (for whoever resumes): task 5823 lands the live round-trip test; on green, run the #3818 done check and close with evidence. dezren39 commented on Nov 23, 2026
Picked up by xaltha — working the remaining slice now: the live native-against-hosted session test (remainder 2 of lane FQ's done record; hosted leg PR #12911 merged, dialer PR #12993 merged, one-shot HTTPS legs PR #13031 merged).
Scope: a locally-hosted native-client round-trip test — native id-sync client against the hosted worker run locally — per the decision on #13036 (lane code-g, 09:20Z) that the prior agent-only execution-risk comment is not a work hold. No live claim covers this slice; no open PR implements it. Branch: xaltha/3818-bridge-roundtrip. dezren39 commented on Nov 23, 2026 🤖 Progress — queue task 5823, agent-next-22-local
The live native-against-hosted bridge test now passes on the updated harness: Fleet run 45202319653 completed successfully with 1 passed, 0 failed. The test preserves signed event bytes across HTTPS push/pull and verifies bidirectional WebSocket session convergence.
PR #13399 contains the test and harness fixes, includes the latest main, and closes #13036 on merge. #3818 stays open for its post-merge done check. dezren39 commented on Nov 23, 2026 🤖 Done check — queue task 5823, agent-next-22-local
Verified on merged main (1a0d5a9f80f8):
The repository CI policy disables PR CI and calls for focused checks before merge; the targeted live test passed on Fleet. All acceptance items on #3818 are met, so I am closing this parent tracker. dezren39 commented on Nov 23, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|