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 — design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules · Issue #9085 · developing-today/code

design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules #9085

New issue
Copy link
New issue
Copy link
Done
#15998
Done
design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules#9085
#15998
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:in-review

Description

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

Component G of epic #9078 (hosted editions program). Design first (design mill, under #9078). This is the program's cross-cutting runtime/transport design; components A–C consume its verdicts.

Premise (Drew, 2026-11-12)

Workers limitations mean the hosted editions are substantially a second version written in TypeScript. The design says so plainly and scopes exactly what 'second version' covers — PM service (A), ID service (B), fleet tool (C) — and what is NOT rewritten.

Scope of the design

  1. Rewrite-vs-WASM per component: client-side WASM is allowed in selected areas. For each piece of Rust logic (ID crypto and store logic are the named candidates), evaluate: compile to WASM and reuse / rewrite in TypeScript / keep server-side only. Criteria: correctness risk (crypto!), maintenance divergence between two implementations of the same semantics, bundle/runtime limits.
  2. Transports: ALL base functions must work over REST or WebSocket transports (HTTP/2/3, QUIC where the platform provides it). Define the base-function inventory per component and the transport contract for each (request/response vs streaming vs realtime sync), including offline/reconnect behavior.
  3. Direct Turso access: also allowed — to the user's OWN database and to the PUBLIC database — 'when prudent'. This design defines prudent: which operations may go direct (reads? writes? sync?), under what credential scoping/expiry (from component E), and which operations must NEVER bypass the service layer (anything needing stamping, authorization beyond the DB scope, or cross-tenant access).
  4. Shared-semantics discipline: how the TS version and the Rust/native version keep one data model (Metadata, packets, store contracts) — shared schemas/fixtures/tests, and what happens when they diverge.

Builds on / relations

  • Components A, B, C, D, E under epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078 (D's WASM question feeds §1; E's credential model feeds §3).
  • id: design: ID transport fallback for UDP-denied networks v1 #5671 — ID transport fallback for UDP-denied networks (transport prior art inside the ID program).

Acceptance

  • Design merged under doc/ as part of epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078's build-out: per-component rewrite/WASM table, base-function transport inventory, direct-Turso prudence rules.
  • Granular implementation issues filed under this issue or handed to the owning component issues with cross-links.

Implementation slice progress

  • G1 shared fixture home — merged in PR test(id): share cross-language G1 fixtures #15853.
  • G2 one internal TypeScript primitives package for BLAKE3 (including the streaming hasher), canonical CBOR, and encoding helpers; both Workers import it and their suites stay green.

Next slice: G2.

Activity

Next
  1. dezren39
    added
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

    @developing-today
    developing-todayBot
    on Nov 12, 2026 – with developing.today
    Contributor
    More actions

    CODE-2789

  3. dezren39
    added a parent issue on Nov 12, 2026
    • epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078
  4. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    Amendment applied (Drew 2026-11-12 17:03, epic #9078): DUAL TIER-1 FRAMING. Both editions are primary — Cloudflare+Turso AND the Rust binaries with extended features. Scope/transport verdicts are framed as parity + deliberate divergence (extended features may be Rust-side first/only where Workers cannot), never as porting down to a reduced edition.

  5. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    INPUT from program #9106 (Drew, 2026-11-12 18:29 CST): (1) dual tier-1 reaffirmed — the TS edition is fully featured, and §0 of #9106 (#9110) requires the primitive/adapter/hook surface be designed for the full transport matrix (REST/WebSocket now; NATS-stream and others as adapters later), so transport choice in this issue is a first adapter, not the architecture. (2) Federated query transports (Part B, #9144) ride the same transports designed here.

  6. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  7. dezren39
    marked this as blocking on Nov 14, 2026
    • Wire versioned public module exports and verify Rust/TypeScript conformance #10267
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — triaged, task 18835 for issue #9085 (lane any-e)

    • State: triaged (inline, 2026-11-17). Verdict: real and current — a design-mill item (component G of epic epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078), not a lane fix. Work kind: design (kind/design). Priority: priority/normal. Effort: effort/l.
    • Fresh verification: issue design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules #9085 is OPEN, no hard-stop labels; parent epic epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078 is OPEN. Binding inputs already on the issue: Drew's 2026-11-12 DUAL TIER-1 amendment (both editions primary; verdicts framed as parity + deliberate divergence, never a reduced edition) and the 2026-11-13 input from program epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106 (the primitive/adapter/hook surface must be designed for the full transport matrix — REST/WebSocket now, further transports as adapters later; a transport choice here is a first adapter, not the design).
    • Route (design mill, per the epic's terms): ONE summit design session owns this item under epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078 and produces the merged design under doc/: the per-component rewrite-vs-WASM table (ID crypto/store logic named, correctness risk first), the base-function transport inventory with per-function contract (request/response vs streaming vs realtime sync, offline/reconnect), the direct-Turso prudence rules (which operations may go direct to a user's own DB or the public DB, credential scoping/expiry from component E, and what must never bypass the service layer), and the shared-semantics discipline (shared schemas/fixtures/tests; divergence handling).
    • Sequencing inside the epic: components A-C consume this design's verdicts, so G's design session should run early or in parallel with A's (component A triaged this same shift as task 18829 under issue design(pm-stack): PM service, Workers edition — TypeScript equivalent of aggregator/dashboard/reconcile as one hosted service #9079); neither design should finalize transport or rewrite scope without the other's draft.
    • First concrete step: design-mill intake for component G — brief the summit session with this issue's four scope sections, the two amendments above, component D's WASM question and component E's credential model as inputs, and id: design: ID transport fallback for UDP-denied networks v1 #5671 as transport prior art.
    • Acceptance check (from the issue): design merged under doc/ as part of epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078's build-out (rewrite/WASM table, transport inventory, prudence rules); granular implementation issues filed under design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules #9085 or handed to the owning component issues with cross-links.
    • Why no queue packet: the queue validator has no design packet kind; the tracked next action is the design-mill intake named above under epic epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078. Labels: status/triaged + priority/normal + effort/l + kind/design added.
  9. dezren39
    added
    status/triagedTriaged and routed (see agent note)
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    on Nov 17, 2026
  10. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — picked up, task 20287 (lane code-h)

    • State: revalidating issue design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules #9085 against current GitHub state.
    • Next: if the earlier triage verdict and routing are complete, close this duplicate queue task with evidence.
  11. dezren39
    removed their assignment
    on Nov 20, 2026
  12. 2 remaining items

  13. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #14085 from developing-today/queue/21563-9085-flee…

    363d93f
  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · second-pass verify-and-route (queue task 21949, lane code-j)

    Verdict (fresh-checked 2026-11-24): STILL OPEN, premise true, already routed. The 2026-11-23 reconciliation note (archer, lane CZ) stands: no design for component G is on main, and the design is the deliverable of one summit design-mill session, not a fix lane. Issue last updated 2026-11-24T09:30Z.

    Routing: no new follow-on packet filed. The design-mill intake packet on this issue is the routed work. Next concrete step: launch the summit session that owns #9085 end-to-end (brief in the 2026-11-23 note). Sequencing: §1 store rows wait on #10174/#10213 (component D); §2 ID rows coordinate with B (#9080); §3 prudence rules cite E (#9083, closed) and F (#9084, merged).

    Acceptance is unchanged and not met yet: design merged under doc/, plus implementation issues filed under #9085 or cross-linked to owning components.

  15. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    agent-note:v1
    Agent: felix (Muse lane, 2026-11-25)
    State: label correction (comment-only) — #14863 hygiene audit slice 9

    This issue carries status:in-review and status/triaged at the same time. Per the newest record (second-pass verify-and-route, task 21949, 2026-11-24: premise true, already routed) the live state is in-review; status/triaged is the stale member of the pair. Flagged for the holder to drop the stale label — this lane does not edit labels. Refs #14863

  16. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    MemberAuthor
    More actions

    Claimed by lane 1, 2026-11-26T02:45Z

    Writing the component G design record: what the TypeScript second version covers, the WASM-or-rewrite verdict per piece of Rust logic, the transport contract for base functions, and the direct-Turso prudence rules.


    Generated by Claude Code

  17. dezren39
    added a commit that references this issue on Nov 26, 2026

    doc(design): hosted editions component G, the TypeScript second versi…

    5368227
  18. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026 – with Claude
    MemberAuthor
    More actions

    Lane 1: the component G design record merged in PR #15356 (5368227), at doc/2026-11-26T03-00-00Z_design_hosted-second-version-typescript-9085/.

    It covers the scope of the TypeScript second version and what is not rewritten, a rewrite-or-WASM verdict per piece of Rust logic, the transport contract for each base function, and the direct-Turso prudence rules (S14). It also has alternatives, slices G1 to G12, rollout and rollback, verification, and open questions.

    These questions are left for Drew:

    • May the owner's own native node hold readwrite to its own tenant DB? The record recommends no.
    • Should anonymous readers get public-DB read tokens?
    • What is the size budget for the browser crypto WASM bundle?
    • Should wasm32 builds of the id crates be added to Nix and CI?
    • Should Rust-on-Workers be allowed for a hot path?

    This issue stays open for the slices, which are not filed yet.


    Generated by Claude Code

  19. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · triage re-verified — design landed; slice handoff remains open

    Fresh readback (2026-11-26): #9085 remains OPEN. Component G’s design is now merged in PR #15356 (doc/2026-11-26T03-00-00Z_design_hosted-second-version-typescript-9085/). It covers the TypeScript edition scope, rewrite/WASM verdicts, per-function transport contracts, direct-Turso prudence, and G1–G12 slices.

    The implementation handoff is not complete: the latest design note says G1–G12 are future issues and that they are not filed yet. The issue remains open for mapping those slices to new or already-existing component issues and cross-linking the accepted design. Keep implementation out of this triage task; do not create duplicate work without checking the design-mill owner’s slice map. This re-triage changes no design decisions or code. The recorded open design questions do not authorize a production or tenant-data change.

  20. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note (lane code-j, 2026-11-26, triage task 25248): concur with the 23:40Z re-verification — design landed, slice mapping open, no packet.

    • Component G design merged in PR doc(design): hosted editions component G, the TypeScript second version (#9085) #15356; earlier record design(fleet): TypeScript second version — WASM, transports, direct-Turso prudence (#9085) #14085 also merged. G1–G12 slices not yet filed/mapped — that mapping belongs to the design-mill owner, not this triage.
    • Stays open for the slice mapping + cross-linking. No duplicate work. Refs epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078, Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158.
  21. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    Decided: Take G1 as the first implementation slice: establish shared fixture files for canonical CBOR, BLAKE3, and bridge-event vectors, and make both Rust and TypeScript suites consume them.
    Why: The merged design §9 orders G1 before G2 and G4; it changes no runtime behavior and has a direct oracle: removing a fixture case must fail both suites.
    Undo: Revert the G1 PR; no production behavior or stored data changes.
    By: agent-next-24-local

    This advances the design’s unfiled slice handoff without creating a competing writer for later slices.

  22. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 G1 implementation slice merged — PR #15853

    G1 now uses one fixture home for 27 canonical CBOR vectors, 11 BLAKE3 vectors, and five signed bridge events. Rust bridge_fixtures (17 tests) and canonical_cbor_vectors (6 tests) passed on Fleet run #45927852102; the Node TypeScript suite (16 tests) passed on Fleet run #45925930263.

    Next slice: G2. After G2, both hosted Workers import one internal TypeScript primitives package for BLAKE3, canonical CBOR, and encoding helpers, with their existing suites still passing. This is the next resumable slice.

  23. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Triage re-verified — G1 landed; G2 is next (queue task 26066, lane any-n)

    Fresh verification: #9085 remains open; the component G design is merged in PR #15356. G1 has now landed in PR #15853 (shared Rust/TypeScript fixture vectors; test-only, with both suites passing per the PR evidence). The issue body already names G2 as the next slice: an internal TypeScript primitives package for BLAKE3, canonical CBOR, and encoding helpers, used by both Workers.

    Verdict: valid, active implementation work remains. This claim is triage only; G2 is not a small fix. Do not create a competing slice map or implement it here. The next actionable handoff is to create/claim the G2 implementation task from the existing design and issue-body scope, with ownership/slice mapping checked before filing to avoid duplication. No code or labels changed.

  24. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    G2 is now queued as Fleet task 26073 (repo-health-code-pilot), dedupe key repo-health:v1:slice:developing-today/code:issue:9085:slice-2. It is scoped to the shared TypeScript primitives package described above; this avoids creating a competing GitHub issue.

  25. developing-today-fleet
    added 2 commits that reference this issue on Nov 27, 2026

    hosted-primitives: shared TS primitives package for both hosted worke…

    e7bb511

    Merge pull request #15998 from developing-today/code-f/26073-g2-primi…

    8ee00e5
  26. developing-today-fleet
    closed this as completedin #15998on Nov 27, 2026
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

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status/triagedTriaged and routed (see agent note)status:in-review

    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.