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): Metadata query surface — REST + CLI filters over the metadata DB (#9074 hosted) · Issue #12587 · developing-today/code

impl(fleet-hosted): Metadata query surface — REST + CLI filters over the metadata DB (#9074 hosted) #12587

New issue
Copy link
New issue
Copy link
Done
Done
impl(fleet-hosted): Metadata query surface — REST + CLI filters over the metadata DB (#9074 hosted)#12587
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status:done

Description

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

Design: doc/2026-11-22T14-28-45Z_design_fleet-tool-workers-edition §7.1 (component C of epic #9078, design issue #9081). Parent: #9081. Hosted counterpart of #9074's query surface.

Scope

Metadata query over the metadata DB, hosted:

  • REST list/filter by Metadata fields: direct parent, session, lane, host, queue id, link relation/status pairs; GitHub fallback for fields the DB has not yet ingested (pm stack: multi-board hierarchy + full task genealogy #9060 §13 rule).
  • Body-vs-DB divergence reported in results, bodies winning on content (pm stack: multi-board hierarchy + full task genealogy #9060 §15).
  • TS CLI query verbs rendering the same results (JSON first).

Acceptance

  • Filters return correct results against a hand-checked sample spanning both editions' items.
  • An item whose body block was hand-edited after stamping shows a divergence finding, with the body content winning.
  • The collector can consume this surface as a genealogy input (documented read path).

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-4627

  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

    agent-note:v1
    event: PR #12872 OPENED — Metadata query surface implemented (hosted #9074 query counterpart)
    by: agent felix lane (kind muse, Muse sandbox seat), for Felix's review — PR left unmerged
    at: 2026-11-22

    PR #12872 (branch felix/12587-hosted-worker): GET|POST /v1/query over the metadata store with the §7.1 filter set (direct parent, session, lane, host, queue id, link relation/status as a same-link pair), GitHub fallback for not-yet-ingested items (#9060 §13) over a new GitHubItemSource seam both writer classes implement, body-vs-DB divergence findings with bodies winning on content (#9060 §15) plus per-result verifyStamp of the served provenance, and the TS CLI query verbs rendering the same document JSON-first. The collector's read path is documented in src/query.ts and the README (service token scoped to the query door).

    Two judgment calls, stated on the PR: results are tenancy-scoped to the caller's binding_id (fallback items attribute by stamped auth_subject only; unattributable items wait for ingestion), and the store fails closed when unconfigured while an absent item source degrades to DB-only answers with body_checked false.

    Evidence: npm test 111/111 (90 baseline green + 21 new, incl. a hand-checked both-editions sample and all three divergence cases), tsc clean, smoke all-pass with new query checks. No new dependencies. #12587 stays open until the PR merges and for the production wiring that lands with #9074's DB.

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Released by felix (outcome: done). Implemented in PR #12872 (unmerged, for Felix's review): hosted Metadata query surface — REST + CLI filters over the metadata store, GitHub fallback (#9060 §13), body-vs-DB divergence with bodies winning (§15), per-result stamp verification. npm test 111/111, tsc clean, smoke all-pass. No new dependencies.

  8. developing-today
    added
    status:in-review
    on Nov 23, 2026
  9. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  10. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #12872 from developing-today/felix/12587-hosted-wo…

    1c921ed
  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    agent-note:v1
    event: PR #12872 MERGED — the hosted Metadata query surface landed
    by: agent felix (kind muse, Muse sandbox seat), merging after review
    at: 2026-11-22

    PR #12872 merged. GET|POST /v1/query over the metadata store with the §7.1 filters (relation+status must hold of the same link), GitHub fallback for not-yet-ingested items (§13), block-vs-row divergence findings with bodies winning (§15), and verifyStamp reported per result — a provenance hand-edit shows as both a finding and a diverged stamp. The TS CLI query verbs render the same documents through the same filter parser.

    Felix's review: re-ran the suite — 111/111 (90 baseline + 21 new); read the tenancy scoping in src/query.ts — the store is only ever asked for the caller's binding_id rows, and fallback items are admitted only when their stamped auth_subject equals the caller's binding (a native-stamped, not-yet-ingested item is unattributable and waits for ingestion rather than leaking across accounts; absence, not error). Unconfigured store fails closed (503); malformed filters refuse 400 invalid_query rather than matching everything. No new dependencies.

    #12587's slice is complete; the production metadata DB behind the same MetadataStore interface remains #9074's.

  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane any-n triage verdict (queue task 22223, 2026-11-24). Verified: PR #12872 is MERGED (2026-11-23T04:10Z) and delivers the hosted metadata query surface: GET|POST /v1/query with the §7.1 filters, GitHub fallback, divergence findings with bodies winning, verifyStamp per result, and TS CLI query verbs. The acceptance items are covered by that merge. Closing as implemented. Tracking: #14158.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Closed as implemented.

  14. dezren39
    closed this as completedon Nov 24, 2026
  15. developing-today
    added
    status:done
    and removed
    status:in-review
    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

No one assigned

    Labels

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status:done

    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.