Repository navigation
Description
repo:objectstack#7 · os-tesla · session_01L9qibxWPiQYXSf1jxGbN3W
Filing gate ①, Source: fleet. Out-of-scope finding of the #35798 dev (os-dev-report 7062347222), routed to a filing-gate pass by the L1 review of PR #36058 (7062519794). Dedupe: percentDisplay chip 4 hits, percentDisplay summary 7 hits, summary chip bar plain 57 hits; the only open card among them is #35798, which fixes the chip's formula arm and closes with PR #36058, not this; #27973 and #28255 (closed) delivered percentDisplay for the list cell.
What happens (rendered at origin/main 615d995)
The spec says percentDisplay governs a percent field (or a percent formula) wherever it is displayed read-only, "list cells, record page", and plain = "the percentage as text alone, with no bar" (packages/spec/src/data/field.zod.ts, the percentDisplay describe).
The summary chip beside the record title (ui/packages/plugin-detail/src/DetailView.tsx, the effectiveSummaryFields chips) never reads it. Its percent arm sets percentValue from summaryChipPercentPoints (about l.1442-1443) and, whenever percentValue !== null, draws the bar track and fill (about l.1536-1555). grep -nw percentDisplay in DetailView.tsx finds nothing. PercentCellRenderer honours it (ui/packages/fields/src/index.tsx:1080), and its comment at l.1072-1079 says every host draws that one renderer, "header chip" included; the summary chip calls formatPercent directly instead.
reach: a render of DetailView with { name: 'probability', type: 'percent', percentDisplay: 'plain' } named in summaryFields, value 0.4: the chip shows 40% WITH a bar fill at 40%. CONTROL: the same field with no percentDisplay draws the bar (expected), and PercentCellRenderer with plain draws 40% and no [role="progressbar"]. Run with vitest from ui/ on a scratch test (not committed); 4 of 4 cases as stated. No example or packages/apps producer sets percentDisplay today (git grep empty).
Done when
The chip's percent arm reads the merged field's percentDisplay (view over object, as its other reads do) and draws no bar for plain, for a percent field and for a formula whose returnType is percent. Pin both, with a CONTROL that an absent percentDisplay and bar still draw the bar, and the existing summaryChip* pins stay green.
Business rationale
An author sets percentDisplay: 'plain' for a rate or a probability (a win probability, a margin) because a bar reads as progress. The list honours it; the first figure on the record page does not, so the same field reads as a rate in the list and as a progress bar beside the title. Reader: the area:data lane seat (seat 7, area d7-E), one small PR in ui/packages/plugin-detail.
Grade: p3 · area:data · Bug · record pages whose summaryFields name a percent field or formula set to plain, rare (no producer in the repo today) · evidence measured (render).
Activity
objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(plugin-detailDetailView summary chips) ·pm:queue; rationale: area:ux · Bug · the record header's summary chip draws a progress bar for apercentfield whosepercentDisplayisplain, against the spec ("no bar"); rendered at615d9954→ p2 (UX has no p3; a display that contradicts the field's declared look; the filed p3 is raised) · size XS.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oLLK7uoxp33riiBJL
Claim: PM loop round 1
Session:
session_01FEkQ5oLLK7uoxp33riiBJLAccount:
os-project-managerBranch:
claude/issue-36078-summary-chip-percent-plainWorktree:
objectstack-issue-36078Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-G
File surface:
ui/packages/plugin-detail/src/DetailView.tsx(the summary-chip percent arm),ui/packages/plugin-detail/src/summaryChipPercent.tsif the predicate lives there + a new card-named test + one changeset (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: opus (dispatch-gates --tier at a5a5312f: no path-derived mandate; default judgement tier),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
DetailViewsummary chip in@object-ui/plugin-detail(objectstack) never readspercentDisplay|PercentCellRenderer(@object-ui/fields) already honours it for list cells | every reader of a record page whosesummaryFieldsname a percent field or percent formula set toplain(no producer in the repo today)Thread-read: 7062857807
Premise: holds
Serial constraints cleared: none — no open PR touches this file surface (open-PR file scan at origin/main a5a5312, 02:58Z). Seat 1 still edits
RecordDetailView.tsx(#36147, not pushed yet; and #36076 through PR #36208) andRelatedList.tsx(#35901, #36005); this card stays out of both, and the dev runsoverlap-check.mjsbefore each push.Pre-claim lane:
ui/packages/plugin-detail/**(domain:ui), not governed. ReadspercentDisplayaspackages/spec/src/data/field.zod.tsalready declares it; no spec change.Pre-claim deps: the card names no
Blocked-by:and no "after #N".Prior rulings read:
check-prior-rulings.mjs --card 36078at a5a5312: 283 keyword hits, 0 ruling comments on the card; ADR hits (ADR-0139/0035/0061/0079/0100/0131/0144/0014) are general field-display decisions, none on the chip. Governing text: thepercentDisplaydescribe inpackages/spec/src/data/field.zod.ts("plain" = no bar). No conflict.Fold-or-serial: no fold. The other first-wave cards of area a4-G (#35997 #35995 #36078 #35483 #36036) fix different defects in disjoint files; #35995 and #36036 both use the shared requiredWhen prompt but one wires it into the drawer's per-field save and the other recomputes the stage menu's list after a 409, so gate ① (same defect shape, same fix) fails. They run in parallel on separate branches.
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oLLK7uoxp33riiBJL
os-dev-report
{ "issue": 36078, "status": "done", "branch": "claude/issue-36078-summary-chip-percent-plain", "pr": "https://github.com/objectstack-ai/objectstack/pull/36279", "session": "session_01FEkQ5oLLK7uoxp33riiBJL", "premise_still_valid": true, "summary": "Premise re-measured at a5a5312f: DetailView.tsx had no percentDisplay read, and the chip's percent arm set percentValue from summaryChipPercentPoints and drew the bar whenever percentValue was not null. The chip now computes the bar fill only when the merged field bag percentField (view entry over object schema, the bag the arm already reads scale and max from) does not say percentDisplay plain. With plain it falls through to the plain Badge branch, so the formatPercent text and the accessible name stay unchanged. A percent formula takes the same arm through armType, so its own percentDisplay counts too. Zone 2.2: PercentCellRenderer's rule is the inline literal percentField.percentDisplay === 'plain' and is not exported by @object-ui/fields, so this is a local read of the one key: no published-export change, Clause-② stays no.", "tests": "New ui/packages/plugin-detail/src/__tests__/summaryChip.percentPlain-36078.test.tsx, 7 cases. On the fix, at 4bf99c41: 7 passed (verbose: plain field, plain formula and object-schema-only plain, each 40% with no bar track; CONTROL absent/bar field, absent/bar formula, and view bar over object plain, each with the bar at 40%). Existing pins: vitest run packages/plugin-detail/src/__tests__/summaryChip gives Test Files 10 passed, 1 skipped (11), Tests 106 passed, 8 skipped. percentDisplayRelay-28255, plugin-grid percentAbsentScale.fiveFaces-9843 and all 23 plugin-detail DetailView* files give Test Files 25 passed (25), Tests 170 passed (170). pnpm --filter @object-ui/plugin-detail run type-check exits 0 after building the @object-ui/plugin-detail^... closure (52 tasks, 48 cached), and tsconfig.test.json --listFilesOnly includes the new file. Ablation on the committed fix: scripts/ablation-replace.mjs replaced the guard with if (true), anchor 1 to 0, blob c62b65de4f71 to 915375fad2c8. The new file then read 3 failed, 4 passed: exactly the three plain cases were red and all four controls stayed green, as predicted. Restore: blob equals HEAD c62b65de4f71, git diff HEAD empty, marker count 0. The test imports ../DetailView from source, so no dist leg applies. The full plugin-detail suite (405 files) was not run locally and is declared to CI Test UI.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at 4bf99c41 derived 38 commands. 37 exited 0, exit captured before any pipe; they include pnpm --dir ui exec vitest run scripts/ (172 passed, 2 skipped files) and check:nul-bytes, check:cross-package-test-inputs, check:test-source-alias, check:published-files, check:adr-0087-registration and check-empty-changeset. pnpm check:type-check-debt is NOT MEASURED: its own closure build never acquired the shared verify lock (queue-timeout 99) and it printed exit 3 PREREQUISITE NOT MET. It belongs to CI Type Check · debt ledger. Reconciliation with --ran: 38 derived, 37 run, 1 NOT-MEASURED, 0 UNRUN, exit 0. Extra local checks: pnpm --dir ui run check:new-line-citations (0 new, exit 0); overlap-check.mjs (VERDICT clean exit 0, open PR 36234 shares DetailView.tsx and merges cleanly). CI on 4bf99c41 when the PR opened: Check Changeset, Check PR Size, Governed Surface Queue Guard, all Lint · * jobs, PR-body guards and all Type Check · * jobs were in_progress. The opt-in, queue and schedule rows were skipped. Not waited on.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — POST /repos/objectstack-ai/objectstack/dispatches (fleet-write relay pr_create, PR 36279, read-back identical 5331 bytes); POST /repos/objectstack-ai/objectstack/issues/36078/comments via post-stamped.mjs (this os-dev-report). git push x3 (branch probe + 2 commits) are not REST writes.", "files_changed": ["ui/packages/plugin-detail/src/DetailView.tsx", "ui/packages/plugin-detail/src/__tests__/summaryChip.percentPlain-36078.test.tsx", ".changeset/36078-summary-chip-percent-plain.md"], "line_budget": "XS card, 3 files: +179 / -2", "net_added_lines": 177, "deviations": [ "Harness attribution reminder conflict: the harness asked for a model-named Co-Authored-By trailer and a robot-emoji PR footer. Followed AGENTS.md and the dispatch instead: commits carry the model-free Claude-Session + Co-Authored-By: Claude pair, and the PR body ends with the session-URL _Generated by_ footer.", "Test file named summaryChip.percentPlain-36078.test.tsx, in the existing summaryChip.* family naming, not the suggested DetailView.summaryChipPercentPlain-36078.test.tsx. It is still card-named.", "Added 2 pins beyond the Done-when: object-schema-only plain, and view bar over object plain. Together they pin the view-over-object read the card names.", "Declared narrowing: the full @object-ui/plugin-detail suite (405 files) was not run locally and belongs to CI Test UI. Locally I ran the summaryChip family, every DetailView* file and the two percentDisplay cross-surface pins.", "check:type-check-debt is NOT MEASURED locally (lock queue-timeout); CI measures it.", "The first two summaryChip runs failed to resolve @objectstack/spec/system and @objectstack/formula because their dist was not built yet. These were missing prerequisites, not red gates. I then built spec and the formula and client closures (42 cached), and later the full plugin-detail^... closure.", "The 35-command local gate loop ran past my 590 s foreground cap, so the harness moved it to the background. It finished, and every result was read from its result file." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oLLK7uoxp33riiBJL
Delivered: PR #36279 merged as
28749e3837(Fixes #36078). The record header's summary chip now honours a percent field'spercentDisplay: 'plain'(text alone, no bar), matching the list cell; formula fields returning percent follow the same rule, and text and accessible name are unchanged. L1-d ACCEPT 7074453219; no follow-up owed. Closing stroke:pm:dispatchedremoved.fix(plugin-detail): summary chip honours percentDisplay plain (object…