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-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref · Issue #6174 · developing-today/code

pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174

New issue
Copy link
New issue
Copy link
Closed
#6481
Closed
pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref#6174
#6481
Copy link
Assignees
dezren39
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Summary

pm-stack/aggregator — the /today render crashes (throws, served as the error-boundary 500) when an orchestration-section lined-up task carries a ref that is not a GitHub owner/repo#N ref. This is the same failure class PR #6149 fixed today for tierItemCard on the Needs-you page, left unguarded on the Today page's objectives path — and the section validator that is supposed to be the only gate never checks the lined-up ref field at all, not even its type.

Chain of the defect (all on current main 1a069c3ff2):

  • src/feed.ts:223 isLinedUpElement — the per-element gate for goal linedUp arrays — checks title, horizon, status, and horizonWhy, but not ref: a string like goal_b647ff5c92f5, or even a non-string (12345), passes isOrchestrationSection.
  • src/work-items.ts:191 assembleWorkItems copies ref: task.ref onto the canonical work item with no validity check; a tier merge can also supply it (if (!match.ref && t.ref) match.ref = t.ref), and tier refs are known to legitimately carry tracked-goal ids (that is exactly the live data that broke Needs-you in fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149).
  • src/derive.ts:724 todayFromSection copies ref: item.ref onto today's objectives (items with horizon === "today" and a goal).
  • src/render.ts:3368 the objectives render calls refUrl(o.ref) unguarded: refUrl → parseRef throws Error: not a repo-qualified ref: …. The sibling sites fixed in fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 guard with isValidRef (src/render.ts:2489, :2524), and sessionRecordLine wraps refUrl in try/catch — the objectives site does neither.

Evidence (verified this run, laptop probe against the real aggregator sources)

Probe: ~/git/fleet/probe-today-ref/probe.ts on the laptop (bun, imports the real src/feed.ts, src/derive.ts, src/render.ts at 1a069c3ff2; section built in the shape of test/orchestration.test.ts's SECTION fixture, one goal with a horizon: "today" lined-up task):

  • ref: "goal_b647ff5c92f5" → isOrchestrationSection true; todayFromSection objective carries the goal-id ref; renderTodayBody THREW Error: not a repo-qualified ref: goal_b647ff5c92f5
  • ref: 12345 (non-string) → validator true; renderTodayBody THREW the same error
  • Control ref: "developing-today/code#812" → validator true; renders OK (len 1311) with the GitHub link

So one publisher-supplied lined-up task — a goal id copied into ref is a realistic shape, since the same publisher puts goal ids in tier refs in live data (#6149) — takes down the whole /today page and its /frag/today fragment, instead of taking the designed invalid-section fallback or rendering the ref as plain text.

Why it matters

/today is the dashboard's daily front page. The orchestration section is republished by an external job every run; its refs are publisher data, not aggregator-controlled constants. #6149 showed this exact input class occurs in live data and 500s a whole page render; the objectives path has the identical unguarded call, one page over. The validator's silence on ref also breaks the boundary contract the rest of the section gate is built on (#949/#2417/#3897: fields consumers dereference are validated at the gate, or consumers guard) — here neither side holds.

Acceptance criteria

  • A validator-passing section whose lined-up task carries a non-GitHub ref (goal id, slug, or non-string) no longer throws in renderTodayBody / the /today and /frag/today renders; the objective renders with the ref as plain text/code (the fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 tierItemCard treatment), or the ref is dropped at a named boundary — the chosen layer is stated in the PR
  • A valid owner/repo#N lined-up ref still renders as a GitHub link on the objective (control case)
  • Pinning tests cover both cases end-to-end (section → todayFromSection → render), mirroring the fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 regression tests in test/dashboard-overhaul.test.ts
  • The bun test aggregator suite passes

Related

  • PR fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 (merged today, commit d634b9b1a3) — the tier-card fix for the same class on Needs-you; this issue is its Today-page sibling, not a duplicate: different render site, different input field (linedUp[].ref, which the section gate shapes), different page.
  • pm-stack(aggregator): validateNewComment/validateNewAction accept ref keys parseRef rejects (GH_REF number unbounded) #4952 — the shared isValidRef rule the guarded sites route through.
  • aggregator(orchestration): section gate never checks tier/goal array elements — a [null] tier item or goal task passes validation and crashes buildAttention/todayFromSection #2417 / aggregator(feed): isGoalMeasurement passes goals todayFromSection crashes or falsifies on — elements and goal/momentum/summary never checked #3897 — the section-gate element-validation line this gap continues.

Activity

Next
  1. developing-today commented on Nov 5, 2026

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

    CODE-1790

  2. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/triageQueue packet kind: verify, reproduce, and route this item
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator job (Lane B, new-issue-creator-code-b)
    • Session / ID: new-issue-creator-code-b run 2026-11-05 02:50 CST
    • Found via: filed this run
    • Task: Triage the /today objectives refUrl crash: a validator-passing orchestration section whose lined-up task carries a non-GitHub ref (goal id / non-string) throws in renderTodayBody and 500s /today + /frag/today; the section gate (isLinedUpElement) never checks linedUp ref. Verified by laptop probe ~/git/fleet/probe-today-ref at 1a069c3 (goal-id and numeric refs throw, GitHub-ref control renders).
    • Expectation: effort s — done looks like: objectives render non-GitHub refs as plain text (the fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 tier-card treatment) or the ref is dropped at a named boundary, with end-to-end pinning tests for both the bad-ref and valid-ref cases.
    • Links: probe ~/git/fleet/probe-today-ref (laptop); sibling fix PR fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  5. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-i
    • Session / ID: task 9964
    • Found via: queue claim
    • Task: triage of issue pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174 (pm-stack aggregator: /today objectives refUrl crash on non-GitHub linedUp ref) — execution lane assigned opencode; handed off to the opencode claimant, which launches the bound session
    • Expectation: claimant session drives task 9964 to its terminal state under this queue's worker id
    • Links: issue pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174
  6. 123 remaining items

  7. dezren39
    removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 6, 2026
  8. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triage)

    • Agent: repo queue worker (repo-worker-code), OpenChamber scheduled lane 1a180ae5-384f-4e71-8d77-08f7b1652c75
    • Session / ID: ses_e5e4fe9e3bbffe8g6yfK5boh3j · task 9964
    • Found via: queue claim
    • Task: Triage complete. The crash is confirmed on current main; design A ref that cannot link is plain text — one ref contract for the aggregator (design) #6242 supplies the Phase 1 contract. No code or PR was produced by this triage.
    • Expectation: queue task 10943 implements the Today/normalization slice, preserves valid links and the objective, adds end-to-end tests, and avoids the separately active pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195 board task.
    • Links: A ref that cannot link is plain text — one ref contract for the aggregator (design) #6242 · pm-stack(aggregator): one lined-up task with a non-GitHub ref silently deletes the board's whole in-flight lane — inFlightBoardItems parseRef throws into an unlogged catch #6195 · fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149
  9. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane code-p
    • Session / ID: task 10943
    • Found via: queue claim
    • Task: Fixing issue pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174 on branch queue/10943-6174-today-ref-guard. Chosen layers (stated per the acceptance criteria): (1) the section gate — isLinedUpElement in src/feed.ts now type-checks ref (string-or-absent) like the other dereferenced fields, so a non-string ref takes the designed invalid-section fallback; (2) the render — the objectives site in src/render.ts now mirrors the fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 tierItemCard treatment: isValidRef refs link, other string refs (goal ids) render as plain code instead of throwing in refUrl.
    • Expectation: s — done looks like: PR open with pinning tests (section → todayFromSection → renderTodayBody) for the goal-id, valid-ref, and non-string cases, aggregator suite green.
    • Links: branch queue/10943-6174-today-ref-guard · worktree /home/user/git/fleet/10943 (laptop)
  10. developing-today
    added
    status:in-review
    on Nov 6, 2026
  11. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane code-p
    • Session / ID: task 10943
    • Found via: queue claim
    • Task: Parked on CI for PR fix(pm-stack/aggregator): gate lined-up ref type + guard Today objectives refUrl (#6174) #6481 (fix for issue pm-stack(aggregator): /today render 500s on a lined-up task with a non-GitHub ref — objectives call refUrl unguarded and the section gate never checks linedUp ref #6174, commit 4a2089f). Layers chosen: section gate type-checks lined-up ref in isLinedUpElement; objectives render mirrors the fix(aggregator): Needs-you render no longer 500s on a tier item with a non-GitHub ref #6149 tierItemCard guard (valid refs link, other string refs render as plain code). Verified on the laptop: orchestration tests 41/41 (new tests fail 2/3 pre-fix), full aggregator suite failure count identical to clean main (22 pre-existing), tsc clean. PR fix(pm-stack/aggregator): gate lined-up ref type + guard Today objectives refUrl (#6174) #6481's Actions checks had not been created after ~5 min (runner backlog); no Codex comments yet at park time.
    • Expectation: resume condition: PR fix(pm-stack/aggregator): gate lined-up ref type + guard Today objectives refUrl (#6174) #6481 checks completed — disposition any Codex findings first, merge if green, then complete task 10943.
    • Links: PR fix(pm-stack/aggregator): gate lined-up ref type + guard Today objectives refUrl (#6174) #6481 · branch queue/10943-6174-today-ref-guard · worktree /home/user/git/fleet/10943 (laptop)
  12. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 6, 2026
  13. dezren39
    added a commit that references this issue on Nov 6, 2026

    Merge pull request #6481 from developing-today/queue/10943-6174-today…

    e16e649
  14. dezren39
    closed this as completedin #6481on Nov 6, 2026
  15. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 10943
    state: done
    lane: code-l
    summary: PR #6481 merged (merge commit e16e649). Fix landed: invalid linedUp[].ref dropped at the orchestration-section consumption boundary, task retained; valid owner/repo#N refs still link; renderer safe for non-linkable refs. Codex review on head 4a2089f: no findings. Laptop verification (prior shift): orchestration tests 41/41, full aggregator suite failure count identical to clean main (22 pre-existing), tsc clean. Issue auto-closed by the merge.

  16. dezren39
    removed
    status:in-review
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 6, 2026
  17. developing-today
    added
    status:done
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

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.