You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Record Activity tab: a posted comment is saved and read back (200) but never rendered in the timeline — 仅评论 shows (0), the author can't see their own comment #34371
A comment posted from a record page's Activity tab (zh-CN: 活动 → 「留下评论…」) is saved, but never appears in that record's timeline — not under 全部动态 (all), and not under 仅评论 (comments only), which reads (0) and 暂无活动记录. The author cannot see their own comment.
Expected: the comment shows in the timeline right after posting, and under 仅评论.
Evidence (lead 7ialxyNXDhdTC00E, signed in as the dev admin, the comments' author):
sys_comment holds both rows: thread_id: "crm_lead:7ialxyNXDhdTC00E", object_name: "crm_lead", record_id: "7ialxyNXDhdTC00E", author_id = the viewer, bodies 「客户要求高」 (09:47:37Z) and 「评论」 (09:48:18Z).
Opening the tab, the console reads them: GET /api/v1/data/sys_comment?sort=created_at&filter=["thread_id","=","crm_lead:7ialxyNXDhdTC00E"] → 200 with both records, and it then fetches sys_comment_reaction for exactly those two comment ids (→ 200, empty). So the read succeeds and the ids reach the client.
The timeline renders only the two crm_event rows (「铜壶 (11 min)」, 「Meeting: 初步沟通 (20 min)」), header 活动 (2). Switching the filter: 仅评论 → (0) 暂无活动记录; 仅任务 → the same two events.
So the comments are lost between the successful read and the merged timeline (#27055's "one merged timeline: discussion + activity + field changes"), not at write or permission time.
Steps
pnpm dev in objectstack-ai/hotcrm (18.5.0); sign in as admin@objectos.ai, personal language zh-CN.
Sales → Leads → open any lead → 活动 tab.
Type a comment in 「留下评论… (Ctrl+Enter 提交)」 and submit.
The comment does not appear; switch the filter to 仅评论 → (0), 暂无活动记录. Reload: still absent. POST /api/v1/data/sys_comment/query shows the row.
Triage: first touch → domain:ui · p1 · 2026-11-16T10:46Z
⛔ Not a claim.
On a record's Activity tab, a posted comment is saved and read back (200), but never shows in the timeline. "Comments only" reads (0), so the author cannot see their own comment. Reproduced on HotCRM 18.5.0 (leads, zh-CN). The loss is between the successful read and the merged timeline (#27055), not at write or permission time. Record discussion is a core collaboration surface with no workaround in the UI, so p1.
Claim: PM loop round 3 · 2026-11-16T11:14Z
Session: session_01ADHkmQL9UYenrqC6NTLq3h (card thread, dev) · seat session_01ADHkmSzhXR4yUAgwq1bQRi
Account: os-steve (the seat's linked user as GET /user answers it; the card's assignee)
Branch: claude/project-thread-jc1o6w
Worktree: objectstack-issue-34371
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/app-shell/src/views/RecordDetailView.tsx, ui/packages/app-shell/src/views/recordPagePayload.ts, ui/packages/app-shell/src/layout/activityItemType.ts, ui/packages/plugin-detail/src/renderers/record-activity.tsx and recordActivityFeed.ts (only where the measured drop point lives), their tests; root .changeset/; packages/** read-only (stop on breach; explain in the report)
Container & model: cloud seat container, mode:thread, model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: dev reproduces through the page-schema record page, names the line where read-back comments drop out of the merged timeline, fixes it there, pins and ablates; seat reviews, records and lands
Thread-read: 6914260910
Premise: holds
Serial constraints cleared: no open PR on the record activity files; seat 1 holds no files (11:10Z)
{
"issue": 34371,
"status": "needs_decision",
"branch": "claude/project-thread-jc1o6w",
"pr": null,
"session": "session_01ADHkmQL9UYenrqC6NTLq3h",
"premise_still_valid": false,
"summary": "Reproduced through the real page-schema path and named the drop point: the comments are removed by the record:activity block's own authored allow-list, not lost by the host. HotCRM's lead_detail page (objectstack-ai/hotcrm main 07d5d9f, src/sales/pages/lead_detail.page.ts, block id lead_activity) authors properties { types: ['task'], limit: 20, showCompleted: true }. The host's merged feed reaches the block intact (sys_comment and sys_activity both read, comment items built with type 'comment'); then applyFeedConfig in ui/packages/plugin-detail/src/renderers/recordActivityFeed.ts applies the types allow-list (the line kept = kept.filter((i) => allowed.has(i.type))), and 'comment' is not in ['task']. That is what the spec declares: RecordActivityProps.types reads 'Feed item kinds to show (default: all)', and 'comment' is a FeedItemType. The defect is the combination the platform accepts silently: the same block still offers the comment composer (showCommentInput defaults to true) and the Comments only filter option, so a member posts into a feed the block will never show. Fixing it means choosing what types means for comments, or refusing the combination at authoring: a contract fork, so no code and no PR (standard order item 9). Immediate relief needs no platform change: the producer adds 'comment' to that types list (or drops types).",
"tests": "Probe through RecordDetailView + real page:tabs + real record:activity on an authored record page opened at ?tab=activity, fake data source answering sys_comment (2 rows) and sys_activity (2 'completed' rows). Build closure: turbo build --filter='@object-ui/app-shell^...' --filter='!@object-ui/*' (lock VERDICT command-exit 0, 42/42). Run at 6cc3f974: pnpm --dir ui exec vitest run (probe file) -> lock VERDICT command-exit 0, Tests 3 passed (3). Readings: HotCRM props verbatim -> reads [sys_comment, sys_activity], both comments shown=false, activity rows shown=true, composer textboxes=1. CONTROL types omitted -> both comments shown=true. CONTROL types ['task','comment'] -> both comments shown=true. The probe was not committed; its source and run lines are in the project files at ui-seat2/34371-probe.test.tsx.txt and ui-seat2/34371-probe-run.txt. No ablation: no code changed.",
"gates": "n/a: no diff, nothing committed or pushed; dispatch-gates not run (empty change set).",
"dogfood_battery": "n/a — no PR",
"mcp_calls": "3 — mcp__github__issue_read x3 (get, get_comments x2); no write tools",
"api_writes": "1 — POST issues/34371/comments via post-stamped.mjs (this report)",
"files_changed": [],
"line_budget": "n/a — no diff",
"deviations": [
"Read HotCRM through an anonymous public git clone (objectstack-ai/hotcrm, read only, nothing attached) to see the producer's page; the card names that page as the repro.",
"Stopped at the measured drop point instead of the delta's steps 2-4: the root is a contract choice, not a renderer line."
],
"open_questions": [
{
"question": "A record:activity whose authored types excludes 'comment' still offers the comment composer and the Comments only filter, so posted comments vanish (HotCRM lead_detail: types ['task']). Which contract closes this?",
"options": [
"A — Refuse at authoring (spec lane): a superRefine on RecordActivityProps refuses types that leaves out 'comment' while showCommentInput is not false, naming both fixes (add 'comment' to types, or set showCommentInput: false). Metadata-protocol: narrowed, minor, Clause-② yes (narrowing), migration line in the changeset; HotCRM fixes lead_detail in the same window. Cost: spec PR + one producer line; S-M.",
"B — Change the meaning of types (spec + ui): types filters activity kinds only; the block's own comments always show while its composer is on. Metadata-protocol: semantic, describe text rewritten, renderer filter exempts 'comment'. Cost: S code, but every authored types list silently widens and the key no longer means what it says.",
"C — Renderer consistency only (ui lane): when types leaves out 'comment', the block withholds the composer and the Comments only option, so it never offers a post it hides. Metadata-protocol: none. Cost: S; HotCRM leads lose the composer until the producer adds 'comment'; nothing tells the author why."
],
"recommendation": "A, with the HotCRM producer line now. Long-term fit: contract-first says reject the bad config at publish and fix the producer; B makes types lie for one kind and C is a quiet consumer-side tolerance. AI-error axis: A makes the trap loud at authoring, which is exactly where an AI wrote types: ['task'] believing comments were not a kind (the page's own comment says so); B and C stay silent. Real demand: one measured producer (HotCRM lead_detail; case_detail authors comments on purpose and is unaffected). Startup focus: A is one refinement on an existing key, no new surface. Note A is a governed contract change, owed an L2 review via the review seat."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: c · reach: named producer — objectstack-ai/hotcrm src/sales/pages/lead_detail.page.ts block lead_activity, types ['task'] with the default composer: posted comments never show on the lead Activity tab · evidence: probe readings above · carrier: hotcrm (producer fix: add 'comment' to types, or drop types; that page's comment also says 'scheduled' rows are dropped, which is stale: scheduled now maps to event, and types ['task'] hides those too) · dedupe words: lead_activity types task, record:activity comments hidden, showCommentInput types",
"carrier: seat — the card's premise (rows lost between read and merged timeline) is the authored allow-list doing what it declares; triage may want to re-route the card once the ruling picks A/B/C"
]
}
Seat ruling on report 6915007777 (open question A/B/C) · 2026-11-16T11:23Z
C on this card, plus A as spec-lane card #34383, plus the producer fix carried to hotcrm. B is declined.
This card (ui lane, Metadata-protocol: none). When a record:activity block's effective types leaves out 'comment':
the block offers no comment composer and no 仅评论 filter option, so it never offers a post it then hides;
in development, the console warns once per block, naming the block, its types and both fixes (add 'comment' to types, or set showCommentInput: false). This answers "nothing tells the author why".
An absent types, or one that includes 'comment', is unchanged.
Pins:
the HotCRM shape (types: ['task']) renders no composer and no 仅评论;
CONTROL types: ['task','comment'] and CONTROL no types both keep the composer, and the comments show;
Producer: hotcrm lead_detail (lead_activity) adds 'comment' to types. That restores comments on HotCRM leads. Its comment about 'scheduled' rows is stale too (dev's out-of-scope finding).
Why not A alone on this card: A is a published-schema narrowing that belongs to the spec lane and would break the measured producer at parse until it changes. C removes the user-facing trap now, without a contract change.
Why not B: it would make types mean something other than what it says for one kind, and silently widen every authored list.
The card's premise ("lost between read and merged timeline") is the authored allow-list doing what it declares. The fix above addresses what the user hit: a composer whose posts vanish.
Surface amendment · 2026-11-16T11:25Z
File surface adds: ui/packages/plugin-detail/src/RecordActivityTimeline.tsx, for one optional prop that withholds the 仅评论 filter option. getFilterOptions builds the options there, so record-activity.tsx cannot remove the option from outside. Default behaviour is unchanged, and RecordChatterPanel does not pass the prop. Everything else in claim 6914856932 stands. Branch claude/project-thread-jc1o6w.
{
"issue": 34371,
"status": "done",
"branch": "claude/project-thread-jc1o6w",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34388",
"session": "session_01ADHkmQL9UYenrqC6NTLq3h",
"premise_still_valid": false,
"summary": "Implements seat ruling 6915056720 (option C) on report 6915007777. Drop point measured earlier: applyFeedConfig's types allow-list step in recordActivityFeed.ts removes every comment when the authored types leaves out 'comment' (HotCRM lead_detail lead_activity: types ['task']). A record:activity whose types leaves out 'comment' now draws no comment composer and no Comments Only option, and in development warns once per block and types, naming the block, its types and both fixes (add 'comment' to types, or set showCommentInput: false). No types, or a types that includes 'comment', is unchanged. premise_still_valid stays false: the comments are filtered by the authored allow-list as the spec declares, not lost by the host; the PR fixes what the user hit (a composer whose posts vanish). Draft PR 34388 at head 879d3661, assigned os-steve.",
"tests": "record-activity.test.tsx (block harness, real renderer + timeline + host DiscussionContext): 5 new pins in one top-level describe: HotCRM shape no composer and no Comments Only; CONTROL types ['task','comment'] and CONTROL no types keep composer, option and comment, no warning; warn-once across rerender and remount, text names block id, types and both fixes; showCommentInput false is not told. At 76ea4fd8: Tests 27 passed (27). Ablation 1 (record-activity.tsx commentsShown forced true via ablation-replace.mjs, anchor 1 to 0, blob 754f10d6 to 67d78419): Tests 2 failed / 25 passed (HotCRM pin, warn-once pin); restored, blob == HEAD, git diff HEAD empty. Ablation 2 (RecordActivityTimeline.tsx comments_only gate forced open, blob 38d37cd4 to c7a0762a): Tests 1 failed / 26 passed, expected [ 'All Activity', ...(3) ] to not include 'Comments Only'; restored, blob == HEAD. Pins import src by relative path, no dist between mutation and run. At 879d3661: pnpm --filter @object-ui/plugin-detail type-check -> lock VERDICT command-exit 0 (first attempt red on TS7006 in the new pin's spy read, fixed in 879d3661); pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-detail/ -> Test Files 379 passed, 1 skipped (380), Tests 3402 passed, 18 skipped (3420), VERDICT command-exit 0.",
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack: 38 derived, all run, all exit 0 (34 after the final commit, the first 4 re-run on 879d3661, exit 0); --ran reconciliation: 38 derived famil(ies) accounted for, 38 run, 0 NOT-MEASURED. Record: project files ui-seat2/34371-gates-ran.txt. CI families (Type Check UI, Test UI, Build & E2E UI, Live E2E UI, Lint UI and the rest): in_progress at report time, read from PR 34388 check-runs.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "6 — mcp__github__issue_read x4 (get, get_comments x3), mcp__github__pull_request_read x1 (get, PR body read-back); no write tools",
"api_writes": "3 — POST issues/34371/comments (needs_decision report 6915007777); pr_create via fleet-write relay (PR 34388, assignees os-steve, read-back identical 6675 bytes); POST issues/34371/comments (this report). git push is not a REST write.",
"files_changed": [
".changeset/34371-activity-types-without-comment.md",
"ui/packages/plugin-detail/src/RecordActivityTimeline.tsx",
"ui/packages/plugin-detail/src/renderers/__tests__/record-activity.test.tsx",
"ui/packages/plugin-detail/src/renderers/record-activity.tsx",
"ui/packages/plugin-detail/src/renderers/recordActivityFeed.ts"
],
"line_budget": "+198 / -6 over 5 files (PR additions+deletions 204), under the 3000 human-merge threshold",
"deviations": [
"File surface: RecordActivityTimeline.tsx added (one optional prop commentsShown) on the seat's amendment; the Comments Only option is built there and cannot be withdrawn from record-activity.tsx.",
"Pins sit at the block layer (plugin-detail record-activity harness), not through RecordDetailView: the host's feed reaches the block unchanged (measured by the probe in report 6915007777), and the ruling's pins name block behaviour.",
"PR body: the harness attribution comment and the Requested-by line come before Fixes #34371, as the session requires.",
"No reviewer requested on the PR: hand-over is the seat's.",
"Read HotCRM through an anonymous public git clone, read only, nothing attached."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: hotcrm — lead_detail lead_activity adds 'comment' to types (seat ruling); its comment calling 'scheduled' rows dropped is stale (they map to event), and types ['task'] hides those too",
"carrier: #34383 — refuse the contradiction at authoring (spec lane, narrowing)"
]
}
Activity
objectstack-fleet commentedon Nov 16, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:ui· p1 · 2026-11-16T10:46Z⛔ Not a claim.
On a record's Activity tab, a posted comment is saved and read back (200), but never shows in the timeline. "Comments only" reads (0), so the author cannot see their own comment. Reproduced on HotCRM 18.5.0 (leads, zh-CN). The loss is between the successful read and the merged timeline (#27055), not at write or permission time. Record discussion is a core collaboration surface with no workaround in the UI, so p1.
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Claim: PM loop round 3 · 2026-11-16T11:14Z
Session:
session_01ADHkmQL9UYenrqC6NTLq3h(card thread, dev) · seatsession_01ADHkmSzhXR4yUAgwq1bQRiAccount:
os-steve(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-jc1o6wWorktree:
objectstack-issue-34371Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/app-shell/src/views/RecordDetailView.tsx,ui/packages/app-shell/src/views/recordPagePayload.ts,ui/packages/app-shell/src/layout/activityItemType.ts,ui/packages/plugin-detail/src/renderers/record-activity.tsxandrecordActivityFeed.ts(only where the measured drop point lives), their tests; root.changeset/;packages/**read-only (stop on breach; explain in the report)Container & model:
cloud seat container,mode:thread,model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: highClause-②: no
Metadata-protocol: none
Responsibility: dev reproduces through the page-schema record page, names the line where read-back comments drop out of the merged timeline, fixes it there, pins and ablates; seat reviews, records and lands
Thread-read: 6914260910
Premise: holds
Serial constraints cleared: no open PR on the record activity files; seat 1 holds no files (11:10Z)
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmQL9UYenrqC6NTLq3h
os-dev-report
{ "issue": 34371, "status": "needs_decision", "branch": "claude/project-thread-jc1o6w", "pr": null, "session": "session_01ADHkmQL9UYenrqC6NTLq3h", "premise_still_valid": false, "summary": "Reproduced through the real page-schema path and named the drop point: the comments are removed by the record:activity block's own authored allow-list, not lost by the host. HotCRM's lead_detail page (objectstack-ai/hotcrm main 07d5d9f, src/sales/pages/lead_detail.page.ts, block id lead_activity) authors properties { types: ['task'], limit: 20, showCompleted: true }. The host's merged feed reaches the block intact (sys_comment and sys_activity both read, comment items built with type 'comment'); then applyFeedConfig in ui/packages/plugin-detail/src/renderers/recordActivityFeed.ts applies the types allow-list (the line kept = kept.filter((i) => allowed.has(i.type))), and 'comment' is not in ['task']. That is what the spec declares: RecordActivityProps.types reads 'Feed item kinds to show (default: all)', and 'comment' is a FeedItemType. The defect is the combination the platform accepts silently: the same block still offers the comment composer (showCommentInput defaults to true) and the Comments only filter option, so a member posts into a feed the block will never show. Fixing it means choosing what types means for comments, or refusing the combination at authoring: a contract fork, so no code and no PR (standard order item 9). Immediate relief needs no platform change: the producer adds 'comment' to that types list (or drops types).", "tests": "Probe through RecordDetailView + real page:tabs + real record:activity on an authored record page opened at ?tab=activity, fake data source answering sys_comment (2 rows) and sys_activity (2 'completed' rows). Build closure: turbo build --filter='@object-ui/app-shell^...' --filter='!@object-ui/*' (lock VERDICT command-exit 0, 42/42). Run at 6cc3f974: pnpm --dir ui exec vitest run (probe file) -> lock VERDICT command-exit 0, Tests 3 passed (3). Readings: HotCRM props verbatim -> reads [sys_comment, sys_activity], both comments shown=false, activity rows shown=true, composer textboxes=1. CONTROL types omitted -> both comments shown=true. CONTROL types ['task','comment'] -> both comments shown=true. The probe was not committed; its source and run lines are in the project files at ui-seat2/34371-probe.test.tsx.txt and ui-seat2/34371-probe-run.txt. No ablation: no code changed.", "gates": "n/a: no diff, nothing committed or pushed; dispatch-gates not run (empty change set).", "dogfood_battery": "n/a — no PR", "mcp_calls": "3 — mcp__github__issue_read x3 (get, get_comments x2); no write tools", "api_writes": "1 — POST issues/34371/comments via post-stamped.mjs (this report)", "files_changed": [], "line_budget": "n/a — no diff", "deviations": [ "Read HotCRM through an anonymous public git clone (objectstack-ai/hotcrm, read only, nothing attached) to see the producer's page; the card names that page as the repro.", "Stopped at the measured drop point instead of the delta's steps 2-4: the root is a contract choice, not a renderer line." ], "open_questions": [ { "question": "A record:activity whose authored types excludes 'comment' still offers the comment composer and the Comments only filter, so posted comments vanish (HotCRM lead_detail: types ['task']). Which contract closes this?", "options": [ "A — Refuse at authoring (spec lane): a superRefine on RecordActivityProps refuses types that leaves out 'comment' while showCommentInput is not false, naming both fixes (add 'comment' to types, or set showCommentInput: false). Metadata-protocol: narrowed, minor, Clause-② yes (narrowing), migration line in the changeset; HotCRM fixes lead_detail in the same window. Cost: spec PR + one producer line; S-M.", "B — Change the meaning of types (spec + ui): types filters activity kinds only; the block's own comments always show while its composer is on. Metadata-protocol: semantic, describe text rewritten, renderer filter exempts 'comment'. Cost: S code, but every authored types list silently widens and the key no longer means what it says.", "C — Renderer consistency only (ui lane): when types leaves out 'comment', the block withholds the composer and the Comments only option, so it never offers a post it hides. Metadata-protocol: none. Cost: S; HotCRM leads lose the composer until the producer adds 'comment'; nothing tells the author why." ], "recommendation": "A, with the HotCRM producer line now. Long-term fit: contract-first says reject the bad config at publish and fix the producer; B makes types lie for one kind and C is a quiet consumer-side tolerance. AI-error axis: A makes the trap loud at authoring, which is exactly where an AI wrote types: ['task'] believing comments were not a kind (the page's own comment says so); B and C stay silent. Real demand: one measured producer (HotCRM lead_detail; case_detail authors comments on purpose and is unaffected). Startup focus: A is one refinement on an existing key, no new surface. Note A is a governed contract change, owed an L2 review via the review seat." } ], "security_findings": "none", "out_of_scope_findings": [ "class: c · reach: named producer — objectstack-ai/hotcrm src/sales/pages/lead_detail.page.ts block lead_activity, types ['task'] with the default composer: posted comments never show on the lead Activity tab · evidence: probe readings above · carrier: hotcrm (producer fix: add 'comment' to types, or drop types; that page's comment also says 'scheduled' rows are dropped, which is stale: scheduled now maps to event, and types ['task'] hides those too) · dedupe words: lead_activity types task, record:activity comments hidden, showCommentInput types", "carrier: seat — the card's premise (rows lost between read and merged timeline) is the authored allow-list doing what it declares; triage may want to re-route the card once the ruling picks A/B/C" ] }Stamped 2026-11-16T11:21Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Seat ruling on report 6915007777 (open question A/B/C) · 2026-11-16T11:23Z
C on this card, plus A as spec-lane card #34383, plus the producer fix carried to hotcrm. B is declined.
Metadata-protocol: none). When arecord:activityblock's effectivetypesleaves out'comment':typesand both fixes (add'comment'totypes, or setshowCommentInput: false). This answers "nothing tells the author why".types, or one that includes'comment', is unchanged.types: ['task']) renders no composer and no 仅评论;types: ['task','comment']and CONTROL notypesboth keep the composer, and the comments show;typeslist that leaves out 'comment' while the comment composer is on #34383 (spec lane). Refuse the contradiction at authoring. Narrowing, contract review owed. The spec lane picks schema refinement or lint rule.lead_detail(lead_activity) adds'comment'totypes. That restores comments on HotCRM leads. Its comment about 'scheduled' rows is stale too (dev's out-of-scope finding).typesmean something other than what it says for one kind, and silently widen every authored list.The card's premise ("lost between read and merged timeline") is the authored allow-list doing what it declares. The fix above addresses what the user hit: a composer whose posts vanish.
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Surface amendment · 2026-11-16T11:25Z
File surface adds:
ui/packages/plugin-detail/src/RecordActivityTimeline.tsx, for one optional prop that withholds the 仅评论 filter option.getFilterOptionsbuilds the options there, sorecord-activity.tsxcannot remove the option from outside. Default behaviour is unchanged, andRecordChatterPaneldoes not pass the prop. Everything else in claim 6914856932 stands. Branchclaude/project-thread-jc1o6w.objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmQL9UYenrqC6NTLq3h
os-dev-report
{ "issue": 34371, "status": "done", "branch": "claude/project-thread-jc1o6w", "pr": "https://github.com/objectstack-ai/objectstack/pull/34388", "session": "session_01ADHkmQL9UYenrqC6NTLq3h", "premise_still_valid": false, "summary": "Implements seat ruling 6915056720 (option C) on report 6915007777. Drop point measured earlier: applyFeedConfig's types allow-list step in recordActivityFeed.ts removes every comment when the authored types leaves out 'comment' (HotCRM lead_detail lead_activity: types ['task']). A record:activity whose types leaves out 'comment' now draws no comment composer and no Comments Only option, and in development warns once per block and types, naming the block, its types and both fixes (add 'comment' to types, or set showCommentInput: false). No types, or a types that includes 'comment', is unchanged. premise_still_valid stays false: the comments are filtered by the authored allow-list as the spec declares, not lost by the host; the PR fixes what the user hit (a composer whose posts vanish). Draft PR 34388 at head 879d3661, assigned os-steve.", "tests": "record-activity.test.tsx (block harness, real renderer + timeline + host DiscussionContext): 5 new pins in one top-level describe: HotCRM shape no composer and no Comments Only; CONTROL types ['task','comment'] and CONTROL no types keep composer, option and comment, no warning; warn-once across rerender and remount, text names block id, types and both fixes; showCommentInput false is not told. At 76ea4fd8: Tests 27 passed (27). Ablation 1 (record-activity.tsx commentsShown forced true via ablation-replace.mjs, anchor 1 to 0, blob 754f10d6 to 67d78419): Tests 2 failed / 25 passed (HotCRM pin, warn-once pin); restored, blob == HEAD, git diff HEAD empty. Ablation 2 (RecordActivityTimeline.tsx comments_only gate forced open, blob 38d37cd4 to c7a0762a): Tests 1 failed / 26 passed, expected [ 'All Activity', ...(3) ] to not include 'Comments Only'; restored, blob == HEAD. Pins import src by relative path, no dist between mutation and run. At 879d3661: pnpm --filter @object-ui/plugin-detail type-check -> lock VERDICT command-exit 0 (first attempt red on TS7006 in the new pin's spy read, fixed in 879d3661); pnpm --dir ui exec vitest run --maxWorkers=2 packages/plugin-detail/ -> Test Files 379 passed, 1 skipped (380), Tests 3402 passed, 18 skipped (3420), VERDICT command-exit 0.", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack: 38 derived, all run, all exit 0 (34 after the final commit, the first 4 re-run on 879d3661, exit 0); --ran reconciliation: 38 derived famil(ies) accounted for, 38 run, 0 NOT-MEASURED. Record: project files ui-seat2/34371-gates-ran.txt. CI families (Type Check UI, Test UI, Build & E2E UI, Live E2E UI, Lint UI and the rest): in_progress at report time, read from PR 34388 check-runs.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "6 — mcp__github__issue_read x4 (get, get_comments x3), mcp__github__pull_request_read x1 (get, PR body read-back); no write tools", "api_writes": "3 — POST issues/34371/comments (needs_decision report 6915007777); pr_create via fleet-write relay (PR 34388, assignees os-steve, read-back identical 6675 bytes); POST issues/34371/comments (this report). git push is not a REST write.", "files_changed": [ ".changeset/34371-activity-types-without-comment.md", "ui/packages/plugin-detail/src/RecordActivityTimeline.tsx", "ui/packages/plugin-detail/src/renderers/__tests__/record-activity.test.tsx", "ui/packages/plugin-detail/src/renderers/record-activity.tsx", "ui/packages/plugin-detail/src/renderers/recordActivityFeed.ts" ], "line_budget": "+198 / -6 over 5 files (PR additions+deletions 204), under the 3000 human-merge threshold", "deviations": [ "File surface: RecordActivityTimeline.tsx added (one optional prop commentsShown) on the seat's amendment; the Comments Only option is built there and cannot be withdrawn from record-activity.tsx.", "Pins sit at the block layer (plugin-detail record-activity harness), not through RecordDetailView: the host's feed reaches the block unchanged (measured by the probe in report 6915007777), and the ruling's pins name block behaviour.", "PR body: the harness attribution comment and the Requested-by line come before Fixes #34371, as the session requires.", "No reviewer requested on the PR: hand-over is the seat's.", "Read HotCRM through an anonymous public git clone, read only, nothing attached." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: hotcrm — lead_detail lead_activity adds 'comment' to types (seat ruling); its comment calling 'scheduled' rows dropped is stale (they map to event), and types ['task'] hides those too", "carrier: #34383 — refuse the contradiction at authoring (spec lane, narrowing)" ] }Stamped 2026-11-16T11:54Z.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
席位核对 ACCEPT 已发在 PR #34388(head a61c736),已转 ready 并开启自动合并 · 2026-11-16T21:32Z
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Landed · 2026-11-16T22:06Z
046c2245onmain(Fixes #34371)State:
pm:dispatchedremoved, assignee cleared.