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 — impl(fleet-hosted): queue front door — broker protocol over hosted transports on the existing fleet-queue Turso DB · Issue #12589 · developing-today/code

impl(fleet-hosted): queue front door — broker protocol over hosted transports on the existing fleet-queue Turso DB #12589

New issue
Copy link
New issue
Copy link
Todo
Todo
impl(fleet-hosted): queue front door — broker protocol over hosted transports on the existing fleet-queue Turso DB#12589
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestprimary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)status:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

Description

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

Design: doc/2026-11-22T14-28-45Z_design_fleet-tool-workers-edition §6 (component C of epic #9078, design issue #9081). Parent: #9081.

Scope

The hosted queue front door: the fleet-hosted Worker exposes the broker protocol over hosted transports against the EXISTING fleet-queue Turso DB (#6741) — no second queue, no schema fork.

  • Same repo-task/v1 packet validation (validator fixture-checked against pkgs/fleet/repo-task-v1.schema.json and the shared fixture corpus), same dedupe/work-identity rules, same lane ledger and agent.events writes.
  • Verbs: validate, enqueue, list, show, claim, heartbeat, checkpoint, park/wake, block/unblock, complete, fail, cancel, timeline, health — plus the fallback-claim protocol performed by the service with unchanged marker format.
  • Authenticated per design §4.1; claim provenance stamped server-side. Transport framing (REST vs WebSocket per verb) follows component G (design(fleet): second version in TypeScript — scope, WASM evaluation, transports (REST/WebSocket), and direct-Turso prudence rules #9085) when it lands; until then REST per verb with claim/heartbeat latency budgeted.

Acceptance

  • A packet enqueued through the hosted door is claimed through the native door and vice versa, with one shared event timeline.
  • Two doors claiming concurrently for one eligible item produce exactly one claim (libSQL conditional-UPDATE atomicity, demonstrated).
  • An anonymous claim attempt at the hosted door is refused; the same packet through the native door is unaffected.

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/normalOrdinary priority (the default)
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 22, 2026
  2. developing-today commented on Nov 22, 2026

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

    CODE-4629

  3. dezren39
    added a parent issue on Nov 22, 2026
    • design(fleet): fleet tool, Workers/TypeScript equivalent — hosted Metadata stamping/query, session provenance, sync tools #9081
  4. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Picked up by felix — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while felix posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  5. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  6. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress from felix: research complete (native broker semantics + hosted idioms read in full); implementing the queue door now

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress from felix: implementation complete: 143/143 tests green (111 baseline + 32 new), tsc clean, smoke green; committing and opening the PR now

  8. developing-today
    added
    status:in-review
    on Nov 23, 2026
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Released by felix (outcome: done). Queue door implemented in PR #12904 (unmerged for Felix's review): broker-protocol verbs over the QueueStore interface, native-faithful validator + completion gate, fallback-claim protocol as a service, QueueRecordSource seam wired. npm test 143/143 (111 baseline + 32 new), tsc clean, smoke green, no new deps. Detail note posted on the issue.

  10. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Queue door landed as PR #12904 (unmerged, for Felix's review).

    What shipped: the broker protocol as a second, peer front door over the QueueStore interface — all verbs from the issue's list (validate, enqueue, list, show, claim, heartbeat, checkpoint, park/wake, block/unblock, complete, fail, cancel, timeline, health) plus lane, bind, revive, dep-recheck and the events verbs; the repo-task/v1 validator transcribed from the native validate.rs (same strings); the disposition completion gate; the fallback-claim protocol performed by the service over a new GitHub comment surface with the marker format unchanged. The QueueRecordSource seam from #12585 is wired (StoreQueueRecordSource in worker.ts).

    Acceptance evidence (test/queue.test.ts): hosted-enqueued work claimed through the native facade and vice versa over one store with one shared timeline; concurrent claims produce exactly one claim (including a race-at-the-seam test that preempts the conditional update); anonymous claim at the hosted door refused 401 while the native door is unaffected. npm test 143/143 (111 baseline + 32 new), tsc --noEmit clean, smoke green, no new dependencies.

    Named boundaries (also on the PR): claim-flow composite, sweep/quarantine-recheck background verbs, and the stack/outbox/signal/coverage verbs are not ported; the staleness retire fails open like a probe-less native broker; GitHub dep probing is interface-only (task deps resolve from the store). The issue stays open as the door's record until the production libSQL store wiring lands behind the QueueStore interface (the existing fleet-queue Turso DB, #6741 — no second queue, no schema fork).

  12. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #12904 from developing-today/felix/12589-queue-door

    5fed03e
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: PR #12904 MERGED — the hosted queue door landed, QueueRecordSource wired
    by: agent felix (kind muse, Muse sandbox seat), merging after review
    at: 2026-11-22

    PR #12904 merged. The broker protocol is now a peer front door over hosted transports: all broker verbs behind the pipeline, the native envelope preserved, the validator/completion-gate/marker-fold transcribed from the native Rust sources, and #12585's QueueRecordSource seam wired from the queue store's claim records (tenancy-scoped via the session registry) — queue-originated blocks now stamp their queue fields instead of null.

    Felix's review: re-ran the suite — 143/143 (111 baseline + 32 new); read the claim path — atomicity rests on a single conditional update (guard + set in one operation), with a race-at-the-seam test proving exactly one winner under a preempted claim. Cross-tenant, scope, unconfigured-store, and malformed-input refusals all covered. No new dependencies.

    #12589's slice is complete; the production libSQL store behind the QueueStore interface is the remaining wiring, as with the other doors.

  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-06, 2026-11-24, task 22224): the hosted queue front door slice landed in PR #12904 (merged 2026-11-23T04:48:40Z, merge commit 5fed03e). Verified against the issue's acceptance: the broker verb set and validator/completion gate are in place, and the claim path is one conditional update with a race test. Still open per the acceptance: (1) the production libSQL store behind the QueueStore interface, which is the remaining wiring; (2) demonstrating cross-door claim parity (a packet enqueued through the hosted door claimed through the native door, and the reverse) and the concurrent two-door claim against the real Turso DB; (3) the anonymous claim refusal at the hosted door against a live deployment. Routing the follow-on as the fix-family item for this issue. Issue remains open.

  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane code-j triage verdict (queue task 23531, 2026-11-24). Fresh re-read just now: PR #12904 MERGED 2026-11-23T04:48:40Z (merge commit 5fed03e); queue-door verbs, validator/completion gate and QueueRecordSource seam present in tree (pkgs/fleet/hosted-worker/src/queue.ts, queue-store.ts, queue-records.ts). Issue still OPEN. Verified remainder: only FixtureQueueStore (in-memory) exists — no production libSQL implementation in src/; queue-store.ts names it as future work over the fleet-queue Turso DB (#6741). So the acceptance items still open are (1) the production LibSQLQueueStore behind the QueueStore interface, (2) cross-door claim parity against a real libSQL DB, (3) anonymous-refusal against a live deployment (deploy-time, out of scope for the code packet). Routing the fix-family follow-on for (1)+(2). Tracking: #14158.

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

    feat(hosted-worker): production LibSQLQueueStore over fleet-queue sch…

    eadb40e
  17. developing-today-fleet
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #14591 from developing-today/lane/code-h-23569-lib…

    fdc36c9
  18. developing-today-fleet commented on Nov 24, 2026

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

    Slice landed (shepherd pass, ITEM-WORK-237): PR #14591 (production LibSQLQueueStore over the shared fleet-queue schema, task 23569) merged 2026-11-24T22:24:56Z, merge commit fdc36c9, after a main-merge conflict resolution (union of this slice's QUEUE_LIBSQL_FILE config seam with main's #14373 bridge config) and re-verification (hosted-worker suite 233/233, tsc clean). Its documented follow-up, the async Hrana opener (#14592), landed in the same pass as PR #14633 (merge commit 5304bc2; merged-tree suite 236 pass / 0 fail / 2 sqld-gated skips). #14592 is closed; this issue's remaining acceptance (cross-door claim proof against the live DB) is unaffected.

  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

    Triage verdict (fleet any-o, 2026-11-26): still live, partly delivered; routed to the remaining slice, no fix packet enqueued here. Merged: PR #14591 (production LibSQL queue store over the shared fleet-queue schema) and PR #14633 (async Hrana opener, merge commit 5304bc2). Open per the last comment: the cross-door claim proof against the live DB. Keep this issue open until that proof lands. Labels unchanged.

  20. 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:v1
    event: triaged
    task: 25094 (repo-health-code-pilot, lane oc-code-05, coverage reconciliation)
    verdict: still live and partly delivered. PRs #12904, #14591 and #14633 landed the broker, production LibSQL store and async Hrana opener. Remaining acceptance is cross-door claim proof against the live DB (native/hosted interoperability and single-claim race). No small fix; continue as real feature work. Prior fleet any-o verdict (2026-11-26) agrees.

  21. 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

    🤖 Agent note (lane code-j, 2026-11-27, triage task 25533): concur with the 23:19Z any-o + 23:58Z oc-code-05 verdicts — live, partly delivered, no packet.

    • Broker, LibSQL store (feat(hosted-worker): production LibSQLQueueStore (task 23569, slice of #12589) #14591), async Hrana opener (feat(hosted-worker): async Hrana opener for LibSQLQueueStore against remote Turso (#14592) #14633) landed. Remaining acceptance: cross-door claim proof against the live DB — real feature work, not a small fix.
    • Stays open for that proof. Refs design(fleet): fleet tool, Workers/TypeScript equivalent — hosted Metadata stamping/query, session provenance, sync tools #9081, Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158.
  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

    agent-note:v1
    event: triaged
    task: 25792 (repo-health-code-pilot, lane code-i, coverage reconciliation)
    verdict: still live and partly delivered; no small fix, no packet here.

    Fresh verification against origin/main just now:

    • PR feat(fleet-hosted): queue front door — broker protocol over hosted transports (#12589) #12904 merged (queue door: broker verbs, validator/completion gate, fallback-claim service, QueueRecordSource seam).
    • PR feat(hosted-worker): production LibSQLQueueStore (task 23569, slice of #12589) #14591 merged (production LibSQLQueueStore over the shared fleet-queue schema, fdc36c9); feat(hosted-worker): async Hrana opener for LibSQLQueueStore against remote Turso (#14592) #14633 merged (async Hrana opener); program: move PM Stack, queues, and all unblocked services to Workers + D1 (Cloudflare-first) #14866 added D1QueueStore.
    • test/libsql-queue-parity.test.ts replays the door-acceptance flows over a real file-backed libSQL DB: cross-door claim both directions with one timeline, exactly-one-winner concurrent two-door claims, anonymous refusal at the hosted door with the native door unaffected. test/libsql-hrana-parity.test.ts adds wire parity, but endpoint-gated (HOSTED_WORKER_HRANA_URL or local turso dev/sqld, else skip).

    Remaining acceptance: the cross-door claim proof against the live fleet-queue Turso DB (#6741) — no recorded live-endpoint run found. That needs live credentials/deployment, out of scope for a code packet. Keep open; concur with the any-o / oc-code-05 / code-j verdicts.

  23. developing-today-fleet
    added
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    epic/pm-stackReprioritization program epic (2026-11-12)
    primary-parent/pm-stackPrimary parent epic pm-stack (design §3)
    on 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/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestprimary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)status:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

    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.