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 — pm aggregator fails visibly, Needs Drew checklists, and the id reference index (#14065 slice 1, #9373, #14149, #12805) by dezren39 · Pull Request #15050 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Lane 1 merges these fixes in one PR because it has one push branch. Each part is its own commit.

1. Board and roadmap fail visibly (#14065 slice 1)

Before: in live mode, when Kaneo or Grist could not be read, the board and roadmap quietly served the built-in fixture rows. The page looked populated with tasks and roadmap items that do not exist.

After: the board and roadmap return no rows and say why. Their provenance reads unavailable (kaneo unreachable: …; fixtures withheld in live mode) or unavailable (grist unreachable: …) / unavailable (grist returned no roadmap rows; …). The facet gets a new unavailable state, and its freshness chip shows it in red.

How: live.ts returns [] from the failure paths, and provenanceDetail maps the unavailable prefix to the new state. The three tests that pinned the fixture fallback now pin the new behaviour. Quota, usage, items and comments are later slices.

2. Analytics header names the fleet invocation ledger (#9373)

Before: the analytics-store.ts header said the fleet CLI had no invocation ledger.

After: it names the fleet-invocation/v1 ledger as the recorded source, with transcript inference as the fallback. I checked the ledger end to end on a built binary (dezren39/fleet run 45565200396): --help, an unknown subcommand, a bad flag and an unknown invocation name each wrote exactly one record, with exit codes 0, 2, 2 and 2.

3. Needs Drew checklists and option sets (#14149)

Before: every Needs Drew question was a single-choice list, and a broker question resolved only from fixed approve and deny option ids.

After: a question can be radio, checkbox or text (absent means radio, so stored questions keep their meaning), can name a standard option set, and can carry a checkbox resolution rule (unanimous, any-deny, all-approve). A broker question freezes an option-to-approve map when it is raised. resolveBrokerAnswer turns an answer into the unchanged {handle, approve} envelope or says why it cannot (free text, mixed or empty selection, unmapped option). convertToChecklist turns radio into checkbox without touching ids, the answer or the map. The answer endpoint (now in server-decision-routes.ts on main) accepts optionIds.

4. Derived reference/location index with drift measurement (#12805)

Before: the media plane had reference rows and an outbox (#12803) and staged publication (#12804), but nothing built the per-partition index the GC sweep is meant to read.

After: ReferenceIndex folds each database's outbox into content ID → referencing databases, with a per-source cursor. Replays are recognised by source sequence, and rebuild gives the same state as incremental folding, as the #9115 location index does. Replica locations use the #9115 tagged locator form, and only a GC delete audit takes one out of the fresh state. reconcile compares the index with the authoritative live rows, reports missing, stale and mismatched entries with a drift ratio, records each run in driftHistory, and can repair. The index is a cache: nothing in it deletes content.

Also: npm test in pkgs/id/hosted-worker now runs references.test.ts, which it had skipped.

Proof

Earlier remote runs: the aggregator suite on part 1 (developing-today-forks/fleet run 45563773429), and #14149 alone (3710 pass, tsc clean). This head is rebased on main. The pm-aggregator tests and id hosted-worker tests workflows are dispatched on it, and results will be added here.

Refs #14065
Fixes #9373
Fixes #14149
Fixes #12805

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c5bcf8bb-981c-4c8e-b4e3-2dbf65711741
Commits

Reviewing files that changed from the base of the PR and between b4fdfad and 20f81da.

Files selected for processing: 14

  • pkgs/id/hosted-worker/package.json
  • pkgs/id/hosted-worker/src/reference-index.ts
  • pkgs/id/hosted-worker/src/references.ts
  • pkgs/id/hosted-worker/test/reference-index.test.ts
  • pm-stack/aggregator/src/analytics-store.ts
  • pm-stack/aggregator/src/model.ts
  • pm-stack/aggregator/src/needs-drew.ts
  • pm-stack/aggregator/src/server-decision-routes.ts
  • pm-stack/aggregator/src/sources/live.ts
  • pm-stack/aggregator/src/ui.css
  • pm-stack/aggregator/test/board-done-policy.test.ts
  • pm-stack/aggregator/test/grist-live.test.ts
  • pm-stack/aggregator/test/needs-drew-14149.test.ts
  • pm-stack/aggregator/test/roadmap-horizon.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

claude added 5 commits November 25, 2026 19:07
@claude
fix(pm-aggregator): board and roadmap fail visibly in live mode inste…
ed6bd7e
…ad of serving fixtures (#14065 slice 1)

When Kaneo or Grist cannot be read in live mode, the board and roadmap
facets now return no rows and carry an "unavailable" provenance state
with the reason, instead of silently rendering fixture rows as if they
were real. The freshness chip shows the new state in red.

Refs #14065

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@claude
docs(pm-aggregator): analytics header names the fleet invocation ledg…
aedf0c5
…er as the recorded source (#9373)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@claude
test(pm-aggregator): roadmap horizon contract expects no fixture rows…
177f290
… when live Grist is down (#14065)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@claude
feat(id-hosted-worker): derived reference/location index + reconcilia…
53692fb
…tion with drift measurement (#12805)

The per-partition index (content ID -> referencing databases, plus
replica locations) is folded from each ReferenceStore's outbox with a
per-source cursor, replay-safe by source sequence, and rebuildable to
the same state (the #9115 projection property). Locations take the
#9115 tagged locator form; a GC delete audit is the only way one leaves
the fresh state. The reconciliation job compares the index with the
authoritative live rows, reports missing/stale/mismatched entries and a
drift ratio, records every run, and can repair. The index is a cache:
nothing here deletes content.

Also runs the reference record tests (#12803), which npm test skipped.

Fixes #12805

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@claude
feat(pm-aggregator): generalised needs-drew answers and broker answer…
20f81da
… resolution (#14149)

Questions can now be radio, checkbox or text (absent means radio, so
stored questions keep their meaning), name a standard option set, and
carry a checkbox resolution rule. Broker-sourced questions freeze an
option -> approve map at raise. resolveBrokerAnswer turns an answered
broker question into the unchanged {handle, approve} envelope or names
why it cannot (free text, mixed or empty selection, unmapped option),
and convertToChecklist converts radio to checkbox without touching ids,
the answer or the mapping. The answer endpoint accepts optionIds.

Fixes #14149

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dezren39
dezren39 force-pushed the claude/project-thread-92inl8 branch from f94d0b4 to 20f81da Compare November 25, 2026 19:07
@dezren39 dezren39 changed the title fix(pm-aggregator): board and roadmap fail visibly in live mode instead of serving fixtures (#14065 slice 1) pm aggregator fails visibly, Needs Drew checklists, and the id reference index (#14065 slice 1, #9373, #14149, #12805) Nov 25, 2026
@dezren39
dezren39 marked this pull request as ready for review November 25, 2026 19:26
@dezren39
dezren39 merged commit a01fd03 into main Nov 25, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the claude/project-thread-92inl8 branch November 25, 2026 19:26
This was referenced Nov 25, 2026
pm-aggregator: fixture fallbacks render invented data when sources die — fail visibly instead #14065
Closed
fix(pm-aggregator): census needs-drew labels via the GitHub list endpoint #14231
Closed
pm-aggregator: the needs-you census asks GitHub's search in a form it refuses for some tokens (422; not the one the dashboard runs with) #14103
Closed
impl(pm-stack F): GC mark-and-sweep worker — epochs, grace, fenced delete (#9084 slice 4) #12806
Closed
pm-aggregator: make live.ts fail visibly per source instead of serving fixtures (#14065 slice 1) #14397
Closed
pm-aggregator: board fetch failure is unavailable, not fixtures (#14397 slice 1) #14608
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Generalised question schema: per-type answer resolution into the decide envelope impl(pm-stack F): derived reference/location index builder (#9084 slice 3) fleet CLI: append-only invocation ledger (subcommand use is inference-only today)

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@dezren39 @claude
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.