Skip to content

spec: the kanban lane summary describe says a lookup-lane board's count counts one page; after PR #37327 it counts the whole lane #37941

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (an authored text states behaviour the runtime no longer has) · Source: fleet (out-of-scope finding of the #37074 card thread, PR #37938; seat re-read on main)

What happens

packages/spec/src/ui/view.zod.ts says, for a list-view board whose lanes come from a lookup field, that "its count counts the page it was handed" (the KanbanLaneSummarySchema jsdoc, about :2389-2393) and "its count counts that page" (the summary describe, about :2520-2521). The #37074 thread reads the console after #36871 and #37327 as computing all five statistics over the whole lane for such a board (KanbanLaneStatistic.ts, about :72-81), so an author reading the describe expects a page count where the board shows the lane's.

PR #37938 removes the matching "Known gap" sentence from skills/objectstack-ui/rules/list-views.md; the spec text is outside its surface.

Expected

  • Re-read KanbanLaneStatistic.ts and the list view's board hand-off on main; if count covers the whole lane, the jsdoc and the describe say so (and the generated docs follow); if not, say which board still counts a page.
  • A pin that a lookup-lane board's count is the lane's, not the page's.

Grade: area:ux · documentation · reach: one spec describe an author reads in Studio and the docs · evidence: the thread's reading above, not yet re-run by the seat
Suggested-grade: p3
Size: XS
Related: PR #37938, #37074, #36871, PR #37327.

Activity

  1. added
    pm:queue
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:spec · Task · p2 · pm:queue · size XS; rationale: the kanban lane-summary describe says a lookup-lane board counts one page, but since PR #37327 it counts the whole lane. That is wrong shipped text in the authored schema, which agents and Studio read, so p2. Recorded 2026-11-27T13:12Z.

  3. added
    domain:spec
    priority:p2
    on Nov 27, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibwT22DXnLz8V1Bgcxs
    Account: os-tesla
    Branch: claude/project-thread-40gsia
    Worktree: objectstack-issue-37941
    Domain: spec
    Area: o3-ux (area:ux p2, a seat card thread)
    Seat: repo:objectstack#3
    Seat rulings on the pre-claim report (/mnt/project-files/card-37941/pre-claim-report-f19350b4.md, main f19350b):

    • Premise holds: the KanbanLaneSummarySchema jsdoc (view.zod.ts ~2389-2395) and the summary describe (~2520-2521) still say a lookup-lane board's count counts the page. Since List view kanban over a lookup lane: lane count and summarizeField total cover only the loaded page #37327 the runtime reads it from the same whole-lane count as the lane header and falls back to the page count with + only when that read is missing.
    • Pin: P1. No new test. The card's second box is met by the existing runtime pin listKanbanEveryRecord-12619.test.tsx ~527 ("a foot count reads the whole lane too") and its contrast at ~535, cited in the PR body. Wording is not pinned.
    • Wording scope: S1. Only the lookup-lane sentences change. Swimlane and no-option boards are not rewritten here; their count pins belong to Kanban in swimlanes draws no lane-foot statistic, though the view settings offer one #37326 and Kanban swimlanes: row counts and per-cell figures are page floors on a windowed board; read them whole with one grouped query #37844.
      File surface:
    • packages/spec/src/ui/view.zod.ts (the jsdoc and the describe only).
    • The generated outputs it moves (content/docs/references/ui/view.mdx and any other generated file the build rewrites).
    • One .changeset/*.md (@objectstack/spec patch: a comment or describe edit ships bytes).
      Stop on breach and explain in the report.
      Container & model: XS, mode:thread, model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"), effort: high, reason: the thread session serves this tier (get_session last_served_model)
      Writes: the PR only through the relay pr_create; comments, labels and bodies only through the relay write tools; report both numbers.
      Clause-②: no
      Metadata-protocol: none
      Responsibility: an author reading the board summary describe in Studio or the docs learns that a lookup-lane board's count is the whole lane's, as the board shows it, not the page's.
      Premise: holds, read on origin/main f19350b
      Serial constraints cleared: overlap-check clean against #38168 (same file, disjoint lines); re-run before the first push
      Readings owed in the report: the before and after describe text, the generated view.mdx diff, the cited runtime pin green at the head.
  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  6. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibwT22DXnLz8V1Bgcxs
    os-dev-report

    {
      "issue": 37941,
      "status": "done",
      "branch": "claude/project-thread-40gsia",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38279",
      "session": "session_01L9qibwT22DXnLz8V1Bgcxs",
      "premise_still_valid": true,
      "summary": "The KanbanLaneSummarySchema doc comment and the kanban.summary describe in packages/spec/src/ui/view.zod.ts now say that a lookup-lane list view board's count covers the whole lane (since objectstack#37327 the same grouped read answers each lane's record count), and that only a read that cannot answer leaves the page's count, marked +. Before: 'its `count` counts that page'. After: 'its `count`, `sum`, `avg`, `min` and `max` still cover every record of each lane (where the source cannot answer that read, `count` counts the page, marked `+`)'. The next sentence's 'the other three' now names avg, min and max. gen:docs rewrote the three summary rows in content/docs/references/ui/view.mdx, and no other generated file moved. The diff carries one @objectstack/spec patch changeset. Seat rulings P1 (no new test; cite the existing runtime pin) and S1 (lookup-lane sentences only) are followed.",
      "tests": "No new test (P1). Cited runtime pin: ui/packages/app-shell/src/__tests__/listKanbanEveryRecord-12619.test.tsx:527 'a foot `count` reads the whole lane too' (30/30 from a 25-of-70 page) and its contrast at :535 (13+/12+ with no grouped door). Its green at head 04ae2ae5 is read from the PR's CI, not re-run locally. Local at 04ae2ae5: spec build + gen:docs exit 0 (lock VERDICT command-exit 0). The vitest run was narrowed to src/ui (Test Files 194 passed (194), Tests 6694 passed (6694)); the full spec suite runs in CI. spec typecheck exit 0. git grep 'counts that page' over packages/spec and content/docs: no hit.",
      "gates": "dispatch-gates --commands at 04ae2ae5: 109 derived, all 109 run with exit captured before any pipe. First pass: 102 exit 0 and 7 exit 3 (PREREQUISITE NOT MET: unbuilt closure, plus the plugin-teardown fixture commit missing from the shallow clone). Re-run after a turbo build of ./packages/** plus the @objectstack/dogfood^... closure (VERDICT command-exit 0) and a fetch of 621a4876: all 7 exit 0. --ran reconciliation: 109 derived, 109 run, 0 NOT-MEASURED, 0 UNRUN. check-nul-bytes exit 0. Local-only check-dev-prereqs exit 1: 35 ui workspace packages unbuilt in this worktree, a fact about the box, not the diff. overlap-check clean against origin/main e2a0e900 and #38168. CI at 04ae2ae5 when this report was written: 25 success, 10 expected skip, 0 failed, 32 pending (pr-state).",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "5 — read-only: issue_read x2, get_session, subscribe_pr_activity; no write tool",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST issues/38279/assignees); this os-dev-report comment (POST issues/37941/comments)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: the describe names only lookup-lane boards, while ListView hands the same query to every board it does not page by lane (swimlanes, lane fields with no options); left out under seat ruling S1"]
    }
  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
    2026-11-28T13:01Z · 收口:PR #38279 于 12:59Z 经合并队列合入,本卡随 Fixes 关闭;去掉 pm:dispatched。

  8. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions