Skip to content

ui: the record:discussion panel can never offer the declared FeedFilterMode changes_only — it sits only on authored pages, and field-history context is filled only on synthesized pages #33996

Closed

Description

@objectstack-fleet

domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

Filing gate: (b) an out-of-scope finding a card dev measured. Source: PR #33990 (#33963, batch A of the v18.5.0 sweep close-out #33761), Acceptance notes, ledger row 149 of anchor comment 6896511848. ⛔ Not a claim.

class: b · reach: an app author who authors a record page with a record:discussion panel and sets (or lets a user pick) the feed filter changes_only; the value is declared in the spec and documented, but on that surface it is never offered.

What was read (origin/main 895783a1, re-checked by the seat on current main)

  • packages/spec/src/data/feed.zod.ts:54 declares 'changes_only' as a FeedFilterMode value; ui/packages/plugin-detail/src/index.tsx:887 lists it in the panel's enum.
  • ui/packages/plugin-detail/src/RecordActivityTimeline.tsx (~L226–238) offers changes_only only when RecordFieldHistoryContext says the record shows its field history; a changes_only no longer offered reads as All Activity (plugin-detail CHANGELOG).
  • Per the dev's reading, RecordDetailView fills that context (its historyPage, reading sys_audit_log) only for a synthesized page, and a record:discussion panel always sits on an authored page. So no fixture can open the changes_only leg of records-forms.record-discussion-mentions acceptance[7]; the checklist keeps it blocked(fixture).

Ask (for the lane triage picks)

Decide whether this is declared ≠ enforced on the panel (the authored-page panel should be able to read field history and offer changes_only), or intended (the value belongs to the synthesized stream only, and the spec/panel prose should say so). Either way the checklist leg follows the answer.

Dedupe: searched changes_only (code, CHANGELOGs) and open issues for changes_only record:discussion; the related history is objectstack#30074 (ruling C, what Changes holds), which does not cover reachability on authored pages.

Activity

  1. added
    finding
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:ui · p3 · 2026-11-15T15:49Z

    ⛔ Not a claim.

    The declared feed filter changes_only can never be offered on a record:discussion panel: the panel sits only on authored pages, and field-history context is filled only on synthesized pages. A declared value with no working surface (ADR-0049 enforce-or-remove). p3.

  3. added
    domain:ui
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p2 (was p3) · area:ux · UX · UX × not every user every time · 「ui: the record:discussion panel can never offer the declared FeedFilterMode changes_only — it sits only o…」; UX has no p3 (15:07Z 「和 cloud 对齐」)

  5. added
    priority:p2
    and removed on Nov 18, 2026
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ

    Ruling-ref: maintainer 2026-11-19T00:46Z, decision card in seat repo:objectstack#5's project session, option chosen verbatim: 「A 补实现」.

    Route A (enforce, ADR-0049): on an authored record page the discussion panel reads field history and offers changes_only, so an authored filterMode: 'changes_only' no longer silently reads as All. UI only: no protocol change, Clause-②: no; touches published @object-ui/plugin-detail / @object-ui/app-shell (changeset owed). The gap is wider than the title: the authored-page audit read never goes out (RecordDetailView.tsx ~:2897), so record:discussion, record:chatter and record:activity are all affected. Keep #30344 (no option for a reader refused the audit read) and #30122 (pairing); read only while the panel is on screen. Not measured: how much existing authored panels visibly change, and the extra read's cost; the PR measures both.
    Goes to area ux-2 of seat repo:objectstack#5 (lease:ux-2).

  7. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Claim: PM loop round 3 · area ux-2 (lease:ux-2; ruling 6996126030, the maintainer's 「A 补实现」) · 2026-11-19T02:44Z
    Session: session_01Utp6CZrgaiMgTJCnswR6jQ
    Account: os-bill
    Branch: claude/issue-33996-authored-field-history
    Worktree: objectstack-issue-33996
    Domain: domain:ui
    Seat: repo:objectstack#5
    File surface: ui/packages/app-shell/src/views/RecordDetailView.tsx (the field-history read and its context on assigned/authored pages), ui/packages/plugin-detail/src/** (feed panel merge / filter options for record:discussion, record:chatter, record:activity), their tests, the checklist leg docs/qa/platform-checklist/areas/records-forms.json (acceptance[7] blocked(fixture) → driven), root .changeset/. ⛔ No packages/spec/**, no server edit. ⛔ ui/packages/app-shell/src/** console boot / MetadataProvider.tsx (#34211 in flight). Stop on breach and report.
    Container & model: L, mode:subagent, model: default — no path-derived mandate, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: ui app-shell RecordDetailView in objectstack never sends the audit read on an assigned (authored) page (historyPage requires !assignedPage, ~:2897), so RecordFieldHistoryContext stays false and changes_only is never offered; no platform path covers it; every reader of an authored record page on a history-tracked object
    Thread-read: 6996126030
    Premise: holds — seat analysis /mnt/project-files/objectstack-seat5/area-ux/decisions-35135-33996.md (read at cdb327fd): RecordDetailView.tsx:2897 historyPage = historyEnabled && !assignedPage && …; RecordActivityTimeline.tsx:238-252 offers changes_only only with the context; the dev re-reads on origin/main first
    Serial constraints cleared: PR #35288 (#35135, same area, in the merge queue) edits RecordDetailView.tsx in other lines; the dev merges origin/main after it merges and runs overlap-check before every push. No other open PR touches these files (live read at claim time).
    Pre-claim lane: domain:ui (ui/packages/app-shell/**, ui/packages/plugin-detail/**)
    Pre-claim deps: none named; #35288 serialised above
    Prior rulings read: changes_only, FeedFilterMode, record:discussion, trackHistory, field history → ADR-0052 §5 (FeedFilterMode is live UI config; no restriction to the synthesized page), ADR-0049 (enforce-or-remove → ruled enforce); thread: ruling 6996126030 (A), #30074 A 6631104393 / C 6649643659, #30344, #30122; reverse pins to flip named in the seat analysis

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  9. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
    os-dev-report

    {
      "issue": 33996,
      "status": "done",
      "branch": "claude/issue-33996-authored-field-history",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35311",
      "head": "a715274481ed92c6b305b004655c50e04a4a7f95",
      "session": "session_01Utp6CZrgaiMgTJCnswR6jQ",
      "premise_still_valid": true,
      "summary": "Route A per ruling 6996126030. On an assigned (authored) record page the sys_audit_log read and its sys_user name lookup now go out exactly while a record:discussion / record:chatter / record:activity is on screen (feedConsumerOnScreen, latched), on trackHistory objects only; RecordFieldChangesContext carries the changes on assigned pages and RecordFieldHistoryContext keeps its one rule (#30344 intact). The panels merge the changes with the stream's own pairing (#30122) via mergeFieldHistoryIntoFeed (shared pairedStream with mergeTimelineStream, oldest first, identity when empty), the panel face draws a paired row's before/after, unifiedTimeline:false un-mixes and withdraws changes_only, and a chatter on the default page leaves the changes to the stream (default page byte-unchanged). Changeset patch for @object-ui/app-shell and @object-ui/plugin-detail; checklist knownGaps[3] re-read (revision 16) but acceptance[7] NOT flipped: no stock showcase record:discussion sits on a trackHistory object, so the fixture still does not open on stock.",
      "A1": "holds at origin/main 01889892: RecordDetailView.tsx:2897 historyPage = historyEnabled && !assignedPage && !namedPageBlocked && objectDef ? synthesizedPage : null; effect early-returns on !historyWanted (:2916); HISTORY_CONSUMER_TYPES = {record:activity} (:313); provider passed null on assignedPage (:5379).",
      "A2": "holds: RecordActivityTimeline.tsx:238-252 getFilterOptions offers changes_only only when RecordFieldHistoryContext is true (read :493); host sets fieldHistoryShown = historyEnabled && historyEntries !== null (:4353), provides it at :5383.",
      "A3": "partly falsified. The plugin-detail pins named (recordTimelineStream-27055.test.tsx:198-240, recordChatterFilterModeMentions-8968.test.tsx:241-358) are rule-level with explicit contexts and assert no audit read; both stayed green unchanged. recordPageTiers-26678 'same object without it → 0 audit reads' is the no-trackHistory control on the synthesized page: kept. The real reverse pin was RecordDetailView.recordOpenWaves-13010.test.tsx 'an assigned page of a trackHistory object never reads the audit log': flipped (assigned page with panel on screen reads, panel shows the change), with controls kept/added: no panel on the open tab → no read until the tab opens; no feed panel at all → never; no trackHistory → never. Also flipped the title half 'ignores the field changes' of recordTimelineStream-27055's off-default-page CONTROL.",
      "measurement_request_count": "Open-waves harness (HotCRM tabbed opportunity shape, trackHistory object, opened on ?tab=activity). Before (ablation 1's wave table): 1 request / 1 wave (page payload POST carrying discussion + activity top=200). After (asserted by the flipped pin): 3 requests / 2 waves: + GET sys_audit_log top=50 (wave 1) + sys_user name lookup (wave 2), plus one label read per lookup target when a change touched a lookup field. Opened on a tab with no feed panel: 0 extra until that tab opens; no feed panel or no trackHistory: 0 extra. Live latency: NOT MEASURED, reason: no live server driven.",
      "measurement_visible_change": "In-repo authored feed panels: 1 (showcase project-detail record:discussion on showcase_project, no trackHistory) → no visible change, no extra read. app-crm: no authored record page with a feed panel. hotcrm via GitHub code search (no checkout here): record:activity/chatter/discussion only in src/sales/pages/home.page.ts and test/metadata-references.test.ts → no authored record page with a feed panel found. On a page that has one on a trackHistory object: All gains audit rows with before/after, an action that wrote both an activity row and an audit entry is one row with its diff, an unpaired `updated` activity row steps aside (the stream's rule), the filter gains Field Changes.",
      "tests": "head a7152744. vitest packages/plugin-detail/ (whole package): Test Files 386 passed | 1 skipped (387), Tests 3492 passed | 18 skipped (3510), VERDICT command-exit 0. vitest packages/app-shell/src/views/RecordDetailView (95 files, declared narrowing; rest of app-shell to CI Test UI): Test Files 95 passed (95), Tests 723 passed (723), VERDICT command-exit 0. type-check @object-ui/plugin-detail + @object-ui/app-shell (tsc --noEmit and tsconfig.test.json): VERDICT command-exit 0. Ablation 1 (RecordDetailView '? historyEnabled && feedConsumerOnScreen' → '? false && …', ablation-replace blob b372cbac→858c046f, restored blob == HEAD, git diff HEAD empty): open-waves 3 failed | 18 passed, red exactly the flipped pin, the tab-opens control and the authored changes_only case. Ablation 2 (record-activity merge → sourceItems, blob 299caa93→b99f09ce, restored): stream file 3 failed | 49 passed, red exactly the record:activity legs. Both suites resolve @object-ui/plugin-detail to src via ui/vitest.config.mts (no dist step). eslint on the 7 changed ui files: 0 errors.",
      "gates": "Local: ① closure build turbo build --filter='@object-ui/app-shell^...' 68/68 successful, VERDICT command-exit 0 (pre-merge; merge brought only service-analytics + ui src). ③ dispatch-gates --commands (diff-narrowed, tree a7152744): 46 families, all run; 45 exit 0; pnpm check:platform-checklist exit 1 on platform-core.seed-mode-matrix VARIANTS STALE (SeedMode 0 vs 5 members), an item this diff does not touch, off per-PR CI; records-forms clean. --ran reconciliation: 46 derived, 46 run, 0 NOT-MEASURED, 0 UNRUN. overlap-check before each push: exit 0 (first vs main 01889892 + #35288 head; last vs dc53d4a6 after merging main with #35288). CI check-runs: in_progress at report time (not awaited).",
      "line_budget": "+272 / -41 = 313 changed lines over 9 files (under the 600 split threshold).",
      "files_changed": [
        ".changeset/33996-authored-feed-field-history.md",
        "docs/qa/platform-checklist/areas/records-forms.json",
        "ui/packages/app-shell/src/views/RecordDetailView.tsx",
        "ui/packages/app-shell/src/views/RecordDetailView.recordOpenWaves-13010.test.tsx",
        "ui/packages/plugin-detail/src/RecordActivityTimeline.tsx",
        "ui/packages/plugin-detail/src/recordTimelineStream.ts",
        "ui/packages/plugin-detail/src/renderers/record-activity.tsx",
        "ui/packages/plugin-detail/src/renderers/record-chatter.tsx",
        "ui/packages/plugin-detail/src/__tests__/recordTimelineStream-27055.test.tsx"
      ],
      "deviations": [
        "app-shell package suite narrowed to RecordDetailView* (95 files); the rest declared to CI Test UI.",
        "Checklist acceptance[7] not flipped to driven: the stock fixture still does not open (showcase_project has no trackHistory); knownGaps[3] text corrected because this change made its platform half false.",
        "Two hiding rules added under 'honour unifiedTimeline' and ruling C: unifiedTimeline:false withdraws changes_only, and a chatter on the default page (slotted footer) offers none since it shows no changes there.",
        "The merge of origin/main (with #35288) landed after the first two pushes; at those pushes #35288 was still open and overlap-check answered clean (exit 0), per order §4.",
        "Merge commit carries git's default message without the trailer pair (pre-push check:commit-card-trailers passed)."
      ],
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + assignees os-bill → #35311, read-back identical 9300 bytes); post-stamped os-dev-report comment on #33996. git push not counted.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — check:platform-checklist red locally on platform-core.seed-mode-matrix (VARIANTS STALE, SeedMode read as 0 members after the seed-mode retirement on main); gate is off per-PR CI, item untouched by this diff. dedupe words: seed-mode-matrix, VARIANTS STALE, SeedMode enumWithRetiredValues",
        "carrier: none · noted in PR Acceptance notes — an authored panel with unifiedTimeline:false still pays the audit read (gate judges node types, not props)."
      ]
    }
  10. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Closed-out · area ux-2 · 2026-11-19T04:55Z

    reading value
    PR #35311 MERGED through the merge queue as ee5fdc8d5c (Fixes #33996; this card closed completed)
    contract record none owed (Clause-②: no); L1-a ACCEPT 6999621785; route A per ruling 6996126030, both its conditions confirmed

    Delivered: on an authored record page of a trackHistory object, a record:discussion / record:chatter / record:activity panel shows field changes with before/after values and offers Field Changes (changes_only); the audit read goes out only while such a panel is on screen (1 → 3 requests in 2 waves on the measured shape); a reader refused the audit read is still not offered the option (#30344); pairing per #30122 kept.
    Not done here: checklist records-forms acceptance[7] stays blocked(fixture) — no stock record:discussion sits on a trackHistory object (knownGaps[3] updated to say so). Live latency of the extra read not measured.
    State: pm:dispatched removed; card closed.

  11. removed
    pm:dispatched
    on Nov 19, 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:uifindingpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions