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
app-shell: a list-route URL form that carries a filter the list view applies, so a chat answer can link "open the matching list" #31869
Filing gate: ② a class (a) out-of-scope finding from a cloud card's os-dev-report: cloud#4079 report 6735520788, F2. The cloud half is PR objectstack-ai/cloud#4087, whose source block leaves link out until this exists.
Dedupe: no open issue names a filter URL param on list views or a filtered deep link.
Suggested grade: p3. Reader: a domain:ui seat.
Problem
No list URL applies a filter. ui/packages/app-shell/src/views/ObjectView.tsx:654 reads one URL param, view. The app-shell list views read no filter or where param; the other params are recordId, q on SearchResultsPage.tsx:77, and context selectors. The chat's link grammar (objectui RECORD_LINK_PATTERN) opens only /record/OBJECT/ID. So an Ask answer that says "12 open opportunities" cannot link to those 12. Reach: read from the route at framework pin 9e1f1f90, not exercised in a live browser.
What done looks like
A list-route URL form that carries a filter, for example an encoded filter param in the same filter shape the data API accepts. The list view applies it on top of the chosen view and shows it as a removable filter chip.
The filter goes through the same permission checks as a filter typed in the UI. A filter on a field the viewer cannot read is refused and the list opens unfiltered, with a notice; it is never silently dropped to show more.
The chat's link grammar admits this list form beside the record form.
Tests:
a URL with a filter opens the list filtered;
a filter on a hidden field is refused with the notice;
an unknown param is ignored;
a chat answer link of the list form is clickable.
Seam: cloud source.filter → app-shell ObjectView list route. When this lands, cloud adds source.link (a follow-up there).
Claim: PM loop round 1 · 2026-11-09T09:11Z · step 1, then build on the seat's acceptance
Session: session_01QsR2jQpkDhZuNEyCGHP5dM (card thread, dev) · seat session_01QsR2jVEjiYrK7onirxUGyo
Account: zhuangjianguo
Branch: claude/project-thread-3ox4ce
Worktree: objectstack-issue-31869
Domain: domain:ui
Seat: domain:ui#3
File surface (this round): none until the seat's acceptance. Expected: ui/packages/plugin-chatbot/src/recordLink.ts and its tests, and possibly the list read path in ui/packages/app-shell/src/views/{objectViewListUrlState.ts,drillUrlFilters.ts,userFilterUrlState.ts} for the hidden-field notice. ⛔ No packages/spec/**.
Container & model: S–M, mode:thread, model: default tier (dispatch-gates --tier: no path-derived mandate), effort: default
Clause-②: no (step 1 writes no code; the build's declaration is set at acceptance)
Metadata-protocol: expected none
Responsibility: a chat answer in objectstack cannot link to the list it counted | the platform path is the chat's link grammar (plugin-chatbotRECORD_LINK_PATTERN, record links only) and the list route's URL filter read (ObjectView → objectViewListUrlState.ts) | a member reading an Ask answer such as "12 open opportunities", who cannot open those 12 (cloud#4087's source.link)
Thread-read: 6736049279
Premise: partly false at 3f0e3acea. A list URL already applies a filter in two forms: filter[field][op]=v (drillUrlFilters.ts, the objectstack#1752 contract, read by ObjectView through useObjectViewUrlFilters) and the uf_* Filter panel state (ADR-0047, userFilterUrlState.ts, behind ListUrlFieldGate). What holds is the chat grammar (record links only). Step 1 measures the rest against the card's four done items.
Serial constraints cleared: the seat's other cards in build touch neither plugin-chatbot nor the list URL state. They are #30239 PR 2 (a Setup page), #31856 (a product block), #31462 (marketplace) and #31520.
Scope: step 1 first, a short report per done item: what exists, what is missing, the proposed build. The build follows in the same thread on the seat's acceptance. Brief: /mnt/project-files/issue-31869/brief.md.
#31869 step 1: what origin/main already does, per done item
Read at 3f0e3acea (objectstack-ai/objectstack origin/main). Source and tests only, not exercised in a browser. No code written.
Premise: partly false. Two list URL filter forms exist today. They differ in where they apply, whether they show, and how they gate:
filter[FIELD]...
uf__filter
Object route /apps/APP/OBJECT (ObjectView)
equality only (drillUrlFilters.ts:447, read in objectViewListUrlState.ts:373, merged under the view's filter in objectViewListRenderer.tsx:594). Operator suffixes are dropped on purpose (objectui#9196: widening this route is the maintainer's call)
full spec ViewFilterRule set, { logic, conditions } JSON (userFilterUrlState.ts:69, :200), seeded on top of the chosen view (objectViewListUrlState.ts:190-207)
Bare data route /apps/APP/OBJECT/data (ObjectDataPage, ADR-0055)
full operator grammar (drillUrlFilters.ts:370), one removable chip per field (ObjectDataPage.tsx:306-312), but no view
n/a
Shown and removable
object route: no. It is invisible and cannot be removed. Data route: yes, as chips
yes, as Filter panel rows, and the list title gets the Personalized marker with "Reset to view" (ListView.tsx:5924-5930)
Field gate
object route: none, so the server decides (below). Data route: drops unreadable fields with only a console.warn (ObjectDataPage.tsx:283-293)
ListUrlFieldGate (userFilterUrlState.ts:186, host at objectViewListUrlState.ts:196): drops undeclared or unreadable fields per condition, silently
1. A filtered list URL opens filtered, on the view, with a removable chip
Met in substance by uf__filter. It applies on top of the chosen view, carries the spec's own rule shape (not a grammar of this module's), and each condition is removable as a Filter panel row behind the Personalized marker. The pin is ObjectView.listUrlState-11860.test.tsx:259 ("a link opens the list it describes"). There is no chip strip, and I propose none: the panel row plus the marker is the removable affordance this list route already has.
filter[...] does not fit a cloud link. On the object route it is equality-only and invisible. On /data it shows chips but drops the view.
Recommended form for cloud#4087:/apps/APP/OBJECT?view=VIEW&uf__filter=ENCODED_JSON, where the JSON is {"logic":"and","conditions":[{"field":"stage","operator":"equals","value":"open"}, ...]}. Each condition is one spec ViewFilterRule (@objectstack/spec/ui). The conditions are flat, so a nested group does not round-trip. Through the chat (item 3), cloud writes the app-free form below.
2. A filter on a field the viewer cannot read is refused, with a notice
Not met.
uf__filter: the gate drops only the offending condition and keeps the rest, with no notice. Under AND this shows more rows, which is exactly what the card forbids. The drop is pinned as intended at ObjectView.listUrlState-11860.test.tsx:386 (objectstack#28949: stale stored state). Two smaller gaps: while permissions are still loading, only the declaration gates (CONTROL pin :465), so a hidden field reaches the server; and nothing tells the reader that anything was dropped.
filter[...] on the object route: no client gate. The server's predicate guard refuses it with 403 (packages/plugins/plugin-security/src/predicate-guard.ts:14, "REJECT (403), never silently rewrite"), so the list fails to load. That is refused, but not "opens unfiltered with a notice".
filter[...] on /data: silently dropped (console only).
3. The chat link grammar admits the list form
Not met.ui/packages/plugin-chatbot/src/recordLink.ts:53 admits only /record/OBJECT/ID, and any query string fails the match (pinned at chatRecordLink-13037.test.tsx:90). The host opener resolves the app itself (AiChatPage.tsx:1739, appOfObject).
Proposed list form. It is closed, never an open URL, and the answer names no app:
The path is ^/list/([a-z_][a-z0-9_]*)$ before the ?. A fragment, an encoded slash or any further segment fails the match.
The query admits exactly two keys, view ([a-z_][a-z0-9_]*) and uf__filter, each at most once. Any other key, a repeat, or an empty value makes it not the list form, and the link keeps streamdown's default link safety.
A click calls a new host handler, onOpenList({ objectName, view?, filter? }), beside onOpenRecord. The host resolves the app with appOfObject and rebuilds the query from those two values, so the href's raw query is never forwarded. The list page's own gate (item 2) then judges the filter.
4. An unknown param is ignored
Met for top-level params. Nothing on the object route reads a param outside view, filter[...], uf_* and its record and context params, so ?foo=bar is inert. Inside uf__filter, a condition with an unknown operator or field is dropped (ObjectView.listUrlState-11860.test.tsx:360). Under the build below, a dropped condition in a link counts as a refusal, so it gets the notice too. Through the chat, an unknown key makes the href not the list form, so it is refused rather than ignored, which is the safer side for an AI-written link. The build adds pins for both.
Proposed build: the smallest change that meets the four items
Chat grammar (plugin-chatbot): add LIST_LINK parsing beside parseRecordLink in recordLink.ts, route it through withRecordLinks, add an optional onOpenList prop on ChatbotEnhanced, and wire it in AiChatPage.tsx with appOfObject. Tests: the parse table (admitted and refused hrefs) and a click on a list link that navigates.
Link refusal with notice (app-shell): on the link seed path only (source: 'url' in objectViewListUrlState.ts), if the gate drops any condition from uf__filter, refuse the whole filter. The list opens on the view's own filter, the address bar loses uf__filter, and one toast says the link's filter was not applied because it names a field the reader cannot see. This matches the server guard's policy (reject, never rewrite; dropping an AND branch widens and dropping an OR branch narrows). The link seed also waits for permissions to load before judging. The stored-state path keeps objectstack#28949's per-entry drop, since that is the reader's own stale state. Tests: re-pin :386 and :360 to the refusal, add a notice pin, and keep the stored-state drop pins as they are.
Out of the build:filter[...] on the object route (equality, server 403) and ObjectDataPage's console-only drop. Neither is the form cloud should compose. Noted as acceptance notes, not filed.
Surface:ui/packages/plugin-chatbot/src/{recordLink.ts,ChatbotEnhanced.tsx,elements/message.tsx} and tests; ui/packages/app-shell/src/console/ai/AiChatPage.tsx; ui/packages/app-shell/src/views/objectViewListUrlState.ts and ObjectView.listUrlState-11860.test.tsx; one notice key in all ten @object-ui/i18n packs. ⛔ No packages/spec/**. Declarations:Clause-②: yes (widening) (a new i18n key and a new optional ChatbotEnhanced prop). Metadata-protocol: none. Size: S–M, about 350–450 changed lines, most of it tests and the ten locale lines.
Decision for the seat: item 2 changes a pinned behaviour for links, from drop-the-condition (objectstack#28949) to refuse-the-filter. The alternative is to keep the per-condition drop and only add the notice. That is smaller, but it still opens a wider list than the link asked for. I recommend the refusal: it follows the card's text and the server guard's policy, and it makes an AI-composed link that names a wrong field fail loudly instead of quietly answering a different question.
For cloud#4087: compose source.link as /list/OBJECT?uf__filter= plus the percent-encoded {"logic":"and","conditions":[ViewFilterRule...]}, optionally with view=VIEW. Use spec operator words (equals, not_equals, greater_than, in, ...), not the query dialect's $ operators. Only a flat AND or OR of field/operator/value rules is expressible; a source.filter that does not lower to that gets no link.
This amends claim 6736344440 on #31869, after the dev's step-1 report 6736414092. The premise is narrowed as the report measured it:
Item 1 is met by uf__filter, which applies on top of the view as removable Filter-panel rows.
Item 4 is met for top-level params.
Items 2 and 3 are the build.
Item 3, the chat grammar: accepted as proposed.
The closed form is /list/OBJECT[?view=VIEW][&uf__filter=ENCODED_JSON]. The path is ^/list/([a-z_][a-z0-9_]*)$; the only keys are view and uf__filter, each at most once; any other key, a repeat or an empty value is not the list form.
A click calls a new optional onOpenList({ objectName, view?, filter? }) beside onOpenRecord. The host resolves the app with appOfObject and rebuilds the query from those values, so the href's raw query is never forwarded.
Item 2, the decision: refuse the whole link filter, with a notice. On the URL seed path, if the gate drops any condition from uf__filter, the list opens on the view's own filter, the address loses uf__filter, and one toast says why.
This follows the card's text ("refused and the list opens unfiltered, with a notice"), and it matches the server guard's policy, which rejects and never rewrites.
The URL seed also waits for permissions before it judges, so a hidden field never reaches the server while they load.
The stored-state path keeps objectstack#28949's per-entry drop, because that is the reader's own stale state.
Pin edits approved:ObjectView.listUrlState-11860.test.tsx:386 and :360 move from a per-condition drop to the whole-filter refusal, for the URL source only. Each keeps an assertion as strong as the one it replaces: the row count asked of the server, and no hidden field in the request. The stored-state drop pins stay unedited. The PR body names both edits.
Out of the build, as Acceptance notes:filter[...] on the object route (equality only, a server 403) and ObjectDataPage's console-only drop. Neither is the form cloud composes.
Surface:
ui/packages/plugin-chatbot/src/{recordLink.ts,ChatbotEnhanced.tsx,elements/message.tsx} and tests;
ui/packages/app-shell/src/views/objectViewListUrlState.ts and ObjectView.listUrlState-11860.test.tsx;
one notice key in every @object-ui/i18n pack (zh-Hant by gen:zh-hant).
Anything else stops and asks.
Declarations:Clause-②: yes (widening) (an i18n key and an optional ChatbotEnhanced prop). Metadata-protocol: none. patch changesets. Fixes #31869.
Tests at build:
the report's parse table, a list-link click that navigates, the refusal and its notice, the permission-wait pin, and the stored-state CONTROL unchanged;
run by hand: the plugin-chatbot package, the app-shell views/ and console/ directories, the i18n package, and the ui/scripts censuses;
one ablation: the whole-filter refusal turned back into a per-condition drop turns the refusal pin red.
For cloud#4087 (repo:cloud#2)
Compose source.link as /list/OBJECT?uf__filter= followed by the percent-encoded {"logic":"and"|"or","conditions":[{field,operator,value}…]}, optionally with view=VIEW.
Operators are the spec's ViewFilterRule words (equals, not_equals, greater_than, in, …), never the query dialect's $ operators.
Only a flat AND or OR of rules can be expressed. A source.filter that does not lower to that gets no link.
The link is clickable once this card's PR lands. A filter naming a field the reader cannot see opens the unfiltered view with a notice.
{
"issue": 31869,
"status": "done",
"branch": "claude/project-thread-3ox4ce",
"pr": "https://github.com/objectstack-ai/objectstack/pull/31902",
"head": "da0a1b6e",
"session": "session_01QsR2jQpkDhZuNEyCGHP5dM",
"premise_still_valid": false,
"summary": "Premise partly false (step 1, comment 6736414092): uf__filter already opens a filtered list on the view with removable Filter panel rows, and unknown top-level params are inert. Built the two missing items per amendment 6736432372 and its no-wait ruling. (1) plugin-chatbot admits a closed /list/OBJECT[?view][&uf__filter] link form (parseListLink), routed to a new optional onOpenList that AiChatPage wires with appOfObject and listLinkTarget, which rebuilds the address from parsed values. (2) On the link seed path, any condition the field gate or the ViewFilterRule schema drops refuses the whole uf__filter: the list opens on the view's filter, the address loses uf__filter, and toast.warning shows console.objectView.linkFilterRefused (all eleven packs, zh-Hant generated). The stored-state per-entry drop is unchanged. There is no permission wait (seat ruling A); the three readings are in the Acceptance notes.",
"files_changed": [
"ui/packages/plugin-chatbot/src/recordLink.ts",
"ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx",
"ui/packages/plugin-chatbot/src/elements/message.tsx",
"ui/packages/plugin-chatbot/src/__tests__/chatRecordLink-13037.test.tsx",
"ui/packages/app-shell/src/console/ai/AiChatPage.tsx",
"ui/packages/app-shell/src/console/ai/__tests__/AiChatPage.recordLink-13037.test.tsx (seat-added to surface)",
"ui/packages/app-shell/src/views/objectViewListUrlState.ts",
"ui/packages/app-shell/src/views/ObjectView.listUrlState-11860.test.tsx",
"ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts",
".changeset/31869-chat-list-links.md"
],
"line_budget": "S-M estimate 350-450; actual 544 changed lines (515 added, 29 removed) over 20 files; 262 of the added lines are tests",
"tests": "on merged head da0a1b6e after a spec rebuild: chatRecordLink-13037 + AiChatPage.recordLink-13037 + ObjectView.listUrlState-11860, 3/3 files, 51/51. By hand under the lock: plugin-chatbot 95/95 files (888 tests); i18n 100/100 (1843 passed, 13 skipped); app-shell/src/console 266/266 (2031); app-shell/src/views 1489/1489 (13922 passed, 1 skipped); ui scripts/ + the 11860 pin 173 files (171 passed, 2 skipped; 5061 tests). turbo type-check of plugin-chatbot, app-shell and i18n: 71/71. Ablation via scripts/ablation-replace.mjs, replacing 'if (refusedLinkFilter) delete state.filters;' with a comment: the 11860 file went 3 failed / 31 passed (both re-pinned refusals and the OR refusal); restored blob cbb3e1e7 identical to HEAD.",
"gates": "dispatch-gates --commands at 0d98fddc: 39 families, all exit 0; --ran: 39 derived, 39 run, 0 NOT-MEASURED. check:test-source-alias was red 1 on the edited 11860 file (reaches celAuthoring's dynamic @objectstack/lint import) and went green after a module-top import '@objectstack/lint'. check:type-check-debt answered 3 (queued behind this card's own locked suite) and re-ran to exit 0. PR body gates: changeset-no-major 0, adr-0087-registration 0, closing-keyword-parity 0, partof-closing-keyword 0. CI check-runs: in_progress at report time.",
"dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm",
"declarations": "Clause-②: yes (widening) · Metadata-protocol: none · patch changesets for @object-ui/plugin-chatbot and @object-ui/i18n (@object-ui/app-shell is private)",
"deviations": [
"Surface grew by one test file with the seat's prior consent: AiChatPage.recordLink-13037.test.tsx (new top-level describe with its own answer constant; record describe unedited).",
"Permission wait dropped per the seat's ruling A, amending 6736432372.",
"ObjectView.listUrlState-11860.test.tsx gained a module-top import '@objectstack/lint' that check:test-source-alias asked for. It is in the approved file and asserts nothing.",
"app-shell/src/views ran once, mostly before that one-line test edit; the edited file was re-run alone afterwards (and again on the merged head)."
],
"mcp_calls": "3: issue_read x3 (get, get_comments x2), all reads",
"api_writes": "3 through the fleet relay: comment 6736414092 (step 1, post-stamped), pr_create #31902, this report (post-stamped). No GitHub MCP writes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted in the PR's Acceptance notes, not filed: filter[FIELD]=v on the object route is equality-only with no client field gate (the server answers 403 for a hidden field), and ObjectDataPage drops a filter[...] predicate on an unreadable field with only a console.warn. Neither is the form cloud composes."
],
"for_cloud_4087": "compose source.link as /list/OBJECT?uf__filter= followed by the percent-encoded {\"logic\":\"and\"|\"or\",\"conditions\":[{field,operator,value}...]}, optionally view=VIEW. Use the spec ViewFilterRule operator words. Only a flat AND/OR is expressible."
}
What the PR does: a chat answer can link the list it counted, with the closed /list/OBJECT[?view=VIEW][&uf__filter=ENVELOPE] form. A link filter that names a field the reader cannot filter on is refused whole, with a notice.
Size and review: 544 lines, not governed, Fixes #31869. Declaration review PASS 6738621288. It is in the merge queue.
For cloud#4087: once this merges, compose source.link as /list/OBJECT?uf__filter= plus the percent-encoded {"logic":"and"|"or","conditions":[{field,operator,value}…]}, optionally with view=VIEW. Use spec ViewFilterRule operator words, never $ operators.
closed completed by the merge; pm:dispatched removed with this note
Delivered:
Chat list links. A chat answer can link the list it counted, using the closed /list/OBJECT[?view=VIEW][&uf__filter=ENVELOPE] form. The console opens it at /apps/APP/OBJECT, with the address built from the parsed values. Anything outside that grammar keeps the link-safety dialog.
Whole-filter refusal. A link's filter is refused whole, with a notice, when any of its conditions names a field the reader cannot filter on, or a field the object lacks. The reader's own stored filter keeps its per-entry drop.
For cloud#4087: source.link can now be composed as recorded in the ACCEPT pointer 6738969174.
Activity
objectstack-fleet commentedon Nov 9, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage:
repo:cloudremoved ·domain:ui· p3 · 2026-11-09T08:55Z⛔ Not a claim.
ui/packages/app-shell. Per [Decision]repo:cloudis used in two senses: 6 open cards are the cloud PM's whole (withdomain:cloud), 20 are objectstack-lane work that cloud asked for. Which one does the label mean? #31154 A,repo:cloudappears only withdomain:cloud, so it comes off.domain:ui, p3 as filed, citing the cloud consumer.Generated by Claude Code
objectstack-fleet commentedon Nov 9, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
Claim: PM loop round 1 · 2026-11-09T09:11Z · step 1, then build on the seat's acceptance
Session:
session_01QsR2jQpkDhZuNEyCGHP5dM(card thread, dev) · seatsession_01QsR2jVEjiYrK7onirxUGyoAccount:
zhuangjianguoBranch:
claude/project-thread-3ox4ceWorktree:
objectstack-issue-31869Domain:
domain:uiSeat:
domain:ui#3File surface (this round): none until the seat's acceptance. Expected:
ui/packages/plugin-chatbot/src/recordLink.tsand its tests, and possibly the list read path inui/packages/app-shell/src/views/{objectViewListUrlState.ts,drillUrlFilters.ts,userFilterUrlState.ts}for the hidden-field notice. ⛔ Nopackages/spec/**.Container & model: S–M,
mode:thread,model: default tier(dispatch-gates --tier: no path-derived mandate),effort: defaultClause-②: no (step 1 writes no code; the build's declaration is set at acceptance)
Metadata-protocol: expected none
Responsibility: a chat answer in objectstack cannot link to the list it counted | the platform path is the chat's link grammar (
plugin-chatbotRECORD_LINK_PATTERN, record links only) and the list route's URL filter read (ObjectView→objectViewListUrlState.ts) | a member reading an Ask answer such as "12 open opportunities", who cannot open those 12 (cloud#4087'ssource.link)Thread-read: 6736049279
Premise: partly false at
3f0e3acea. A list URL already applies a filter in two forms:filter[field][op]=v(drillUrlFilters.ts, the objectstack#1752 contract, read byObjectViewthroughuseObjectViewUrlFilters) and theuf_*Filter panel state (ADR-0047,userFilterUrlState.ts, behindListUrlFieldGate). What holds is the chat grammar (record links only). Step 1 measures the rest against the card's four done items.Serial constraints cleared: the seat's other cards in build touch neither
plugin-chatbotnor the list URL state. They are #30239 PR 2 (a Setup page), #31856 (a product block), #31462 (marketplace) and #31520.Scope: step 1 first, a short report per done item: what exists, what is missing, the proposed build. The build follows in the same thread on the seat's acceptance. Brief:
/mnt/project-files/issue-31869/brief.md.objectstack-fleet commentedon Nov 9, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jQpkDhZuNEyCGHP5dM
#31869 step 1: what
origin/mainalready does, per done itemRead at
3f0e3acea(objectstack-ai/objectstackorigin/main). Source and tests only, not exercised in a browser. No code written.Premise: partly false. Two list URL filter forms exist today. They differ in where they apply, whether they show, and how they gate:
filter[FIELD]...uf__filter/apps/APP/OBJECT(ObjectView)drillUrlFilters.ts:447, read inobjectViewListUrlState.ts:373, merged under the view's filter inobjectViewListRenderer.tsx:594). Operator suffixes are dropped on purpose (objectui#9196: widening this route is the maintainer's call)ViewFilterRuleset,{ logic, conditions }JSON (userFilterUrlState.ts:69,:200), seeded on top of the chosen view (objectViewListUrlState.ts:190-207)/apps/APP/OBJECT/data(ObjectDataPage, ADR-0055)drillUrlFilters.ts:370), one removable chip per field (ObjectDataPage.tsx:306-312), but no viewListView.tsx:5924-5930)console.warn(ObjectDataPage.tsx:283-293)ListUrlFieldGate(userFilterUrlState.ts:186, host atobjectViewListUrlState.ts:196): drops undeclared or unreadable fields per condition, silently1. A filtered list URL opens filtered, on the view, with a removable chip
Met in substance by
uf__filter. It applies on top of the chosen view, carries the spec's own rule shape (not a grammar of this module's), and each condition is removable as a Filter panel row behind the Personalized marker. The pin isObjectView.listUrlState-11860.test.tsx:259("a link opens the list it describes"). There is no chip strip, and I propose none: the panel row plus the marker is the removable affordance this list route already has.filter[...]does not fit a cloud link. On the object route it is equality-only and invisible. On/datait shows chips but drops the view.Recommended form for cloud#4087:
/apps/APP/OBJECT?view=VIEW&uf__filter=ENCODED_JSON, where the JSON is{"logic":"and","conditions":[{"field":"stage","operator":"equals","value":"open"}, ...]}. Each condition is one specViewFilterRule(@objectstack/spec/ui). The conditions are flat, so a nested group does not round-trip. Through the chat (item 3), cloud writes the app-free form below.2. A filter on a field the viewer cannot read is refused, with a notice
Not met.
uf__filter: the gate drops only the offending condition and keeps the rest, with no notice. Under AND this shows more rows, which is exactly what the card forbids. The drop is pinned as intended atObjectView.listUrlState-11860.test.tsx:386(objectstack#28949: stale stored state). Two smaller gaps: while permissions are still loading, only the declaration gates (CONTROL pin:465), so a hidden field reaches the server; and nothing tells the reader that anything was dropped.filter[...]on the object route: no client gate. The server's predicate guard refuses it with 403 (packages/plugins/plugin-security/src/predicate-guard.ts:14, "REJECT (403), never silently rewrite"), so the list fails to load. That is refused, but not "opens unfiltered with a notice".filter[...]on/data: silently dropped (console only).3. The chat link grammar admits the list form
Not met.
ui/packages/plugin-chatbot/src/recordLink.ts:53admits only/record/OBJECT/ID, and any query string fails the match (pinned atchatRecordLink-13037.test.tsx:90). The host opener resolves the app itself (AiChatPage.tsx:1739,appOfObject).Proposed list form. It is closed, never an open URL, and the answer names no app:
^/list/([a-z_][a-z0-9_]*)$before the?. A fragment, an encoded slash or any further segment fails the match.view([a-z_][a-z0-9_]*) anduf__filter, each at most once. Any other key, a repeat, or an empty value makes it not the list form, and the link keeps streamdown's default link safety.onOpenList({ objectName, view?, filter? }), besideonOpenRecord. The host resolves the app withappOfObjectand rebuilds the query from those two values, so the href's raw query is never forwarded. The list page's own gate (item 2) then judges the filter.4. An unknown param is ignored
Met for top-level params. Nothing on the object route reads a param outside
view,filter[...],uf_*and its record and context params, so?foo=baris inert. Insideuf__filter, a condition with an unknown operator or field is dropped (ObjectView.listUrlState-11860.test.tsx:360). Under the build below, a dropped condition in a link counts as a refusal, so it gets the notice too. Through the chat, an unknown key makes the href not the list form, so it is refused rather than ignored, which is the safer side for an AI-written link. The build adds pins for both.Proposed build: the smallest change that meets the four items
plugin-chatbot): addLIST_LINKparsing besideparseRecordLinkinrecordLink.ts, route it throughwithRecordLinks, add an optionalonOpenListprop onChatbotEnhanced, and wire it inAiChatPage.tsxwithappOfObject. Tests: the parse table (admitted and refused hrefs) and a click on a list link that navigates.app-shell): on the link seed path only (source: 'url'inobjectViewListUrlState.ts), if the gate drops any condition fromuf__filter, refuse the whole filter. The list opens on the view's own filter, the address bar losesuf__filter, and one toast says the link's filter was not applied because it names a field the reader cannot see. This matches the server guard's policy (reject, never rewrite; dropping an AND branch widens and dropping an OR branch narrows). The link seed also waits for permissions to load before judging. The stored-state path keeps objectstack#28949's per-entry drop, since that is the reader's own stale state. Tests: re-pin:386and:360to the refusal, add a notice pin, and keep the stored-state drop pins as they are.filter[...]on the object route (equality, server 403) andObjectDataPage's console-only drop. Neither is the form cloud should compose. Noted as acceptance notes, not filed.Surface:
ui/packages/plugin-chatbot/src/{recordLink.ts,ChatbotEnhanced.tsx,elements/message.tsx}and tests;ui/packages/app-shell/src/console/ai/AiChatPage.tsx;ui/packages/app-shell/src/views/objectViewListUrlState.tsandObjectView.listUrlState-11860.test.tsx; one notice key in all ten@object-ui/i18npacks. ⛔ Nopackages/spec/**.Declarations:
Clause-②: yes (widening)(a new i18n key and a new optionalChatbotEnhancedprop).Metadata-protocol: none.Size: S–M, about 350–450 changed lines, most of it tests and the ten locale lines.
Decision for the seat: item 2 changes a pinned behaviour for links, from drop-the-condition (objectstack#28949) to refuse-the-filter. The alternative is to keep the per-condition drop and only add the notice. That is smaller, but it still opens a wider list than the link asked for. I recommend the refusal: it follows the card's text and the server guard's policy, and it makes an AI-composed link that names a wrong field fail loudly instead of quietly answering a different question.
For cloud#4087: compose
source.linkas/list/OBJECT?uf__filter=plus the percent-encoded{"logic":"and","conditions":[ViewFilterRule...]}, optionally withview=VIEW. Use spec operator words (equals,not_equals,greater_than,in, ...), not the query dialect's$operators. Only a flat AND or OR of field/operator/value rules is expressible; asource.filterthat does not lower to that gets no link.writes: 1 (this comment) · mcp_calls: 3 (issue_read ×3, read-only)
Generated by Claude Code
objectstack-fleet commentedon Nov 9, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
Claim amendment · step 1 accepted · build · 2026-11-09T09:15Z
This amends claim 6736344440 on #31869, after the dev's step-1 report 6736414092. The premise is narrowed as the report measured it:
Item 1 is met by
uf__filter, which applies on top of the view as removable Filter-panel rows.Item 4 is met for top-level params.
Items 2 and 3 are the build.
Item 3, the chat grammar: accepted as proposed.
/list/OBJECT[?view=VIEW][&uf__filter=ENCODED_JSON]. The path is^/list/([a-z_][a-z0-9_]*)$; the only keys areviewanduf__filter, each at most once; any other key, a repeat or an empty value is not the list form.onOpenList({ objectName, view?, filter? })besideonOpenRecord. The host resolves the app withappOfObjectand rebuilds the query from those values, so the href's raw query is never forwarded.Item 2, the decision: refuse the whole link filter, with a notice. On the URL seed path, if the gate drops any condition from
uf__filter, the list opens on the view's own filter, the address losesuf__filter, and one toast says why.ObjectView.listUrlState-11860.test.tsx:386and:360move from a per-condition drop to the whole-filter refusal, for the URL source only. Each keeps an assertion as strong as the one it replaces: the row count asked of the server, and no hidden field in the request. The stored-state drop pins stay unedited. The PR body names both edits.Out of the build, as Acceptance notes:
filter[...]on the object route (equality only, a server 403) andObjectDataPage's console-only drop. Neither is the form cloud composes.Surface:
ui/packages/plugin-chatbot/src/{recordLink.ts,ChatbotEnhanced.tsx,elements/message.tsx}and tests;ui/packages/app-shell/src/console/ai/AiChatPage.tsx;ui/packages/app-shell/src/views/objectViewListUrlState.tsandObjectView.listUrlState-11860.test.tsx;@object-ui/i18npack (zh-Hantbygen:zh-hant).Anything else stops and asks.
Declarations:
Clause-②: yes (widening)(an i18n key and an optionalChatbotEnhancedprop).Metadata-protocol: none.patchchangesets.Fixes #31869.Tests at build:
views/andconsole/directories, the i18n package, and theui/scriptscensuses;For cloud#4087 (
repo:cloud#2)Compose
source.linkas/list/OBJECT?uf__filter=followed by the percent-encoded{"logic":"and"|"or","conditions":[{field,operator,value}…]}, optionally withview=VIEW.ViewFilterRulewords (equals,not_equals,greater_than,in, …), never the query dialect's$operators.source.filterthat does not lower to that gets no link.objectstack-fleet commentedon Nov 9, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jQpkDhZuNEyCGHP5dM
os-dev-report
{ "issue": 31869, "status": "done", "branch": "claude/project-thread-3ox4ce", "pr": "https://github.com/objectstack-ai/objectstack/pull/31902", "head": "da0a1b6e", "session": "session_01QsR2jQpkDhZuNEyCGHP5dM", "premise_still_valid": false, "summary": "Premise partly false (step 1, comment 6736414092): uf__filter already opens a filtered list on the view with removable Filter panel rows, and unknown top-level params are inert. Built the two missing items per amendment 6736432372 and its no-wait ruling. (1) plugin-chatbot admits a closed /list/OBJECT[?view][&uf__filter] link form (parseListLink), routed to a new optional onOpenList that AiChatPage wires with appOfObject and listLinkTarget, which rebuilds the address from parsed values. (2) On the link seed path, any condition the field gate or the ViewFilterRule schema drops refuses the whole uf__filter: the list opens on the view's filter, the address loses uf__filter, and toast.warning shows console.objectView.linkFilterRefused (all eleven packs, zh-Hant generated). The stored-state per-entry drop is unchanged. There is no permission wait (seat ruling A); the three readings are in the Acceptance notes.", "files_changed": [ "ui/packages/plugin-chatbot/src/recordLink.ts", "ui/packages/plugin-chatbot/src/ChatbotEnhanced.tsx", "ui/packages/plugin-chatbot/src/elements/message.tsx", "ui/packages/plugin-chatbot/src/__tests__/chatRecordLink-13037.test.tsx", "ui/packages/app-shell/src/console/ai/AiChatPage.tsx", "ui/packages/app-shell/src/console/ai/__tests__/AiChatPage.recordLink-13037.test.tsx (seat-added to surface)", "ui/packages/app-shell/src/views/objectViewListUrlState.ts", "ui/packages/app-shell/src/views/ObjectView.listUrlState-11860.test.tsx", "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts", ".changeset/31869-chat-list-links.md" ], "line_budget": "S-M estimate 350-450; actual 544 changed lines (515 added, 29 removed) over 20 files; 262 of the added lines are tests", "tests": "on merged head da0a1b6e after a spec rebuild: chatRecordLink-13037 + AiChatPage.recordLink-13037 + ObjectView.listUrlState-11860, 3/3 files, 51/51. By hand under the lock: plugin-chatbot 95/95 files (888 tests); i18n 100/100 (1843 passed, 13 skipped); app-shell/src/console 266/266 (2031); app-shell/src/views 1489/1489 (13922 passed, 1 skipped); ui scripts/ + the 11860 pin 173 files (171 passed, 2 skipped; 5061 tests). turbo type-check of plugin-chatbot, app-shell and i18n: 71/71. Ablation via scripts/ablation-replace.mjs, replacing 'if (refusedLinkFilter) delete state.filters;' with a comment: the 11860 file went 3 failed / 31 passed (both re-pinned refusals and the OR refusal); restored blob cbb3e1e7 identical to HEAD.", "gates": "dispatch-gates --commands at 0d98fddc: 39 families, all exit 0; --ran: 39 derived, 39 run, 0 NOT-MEASURED. check:test-source-alias was red 1 on the edited 11860 file (reaches celAuthoring's dynamic @objectstack/lint import) and went green after a module-top import '@objectstack/lint'. check:type-check-debt answered 3 (queued behind this card's own locked suite) and re-ran to exit 0. PR body gates: changeset-no-major 0, adr-0087-registration 0, closing-keyword-parity 0, partof-closing-keyword 0. CI check-runs: in_progress at report time.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "declarations": "Clause-②: yes (widening) · Metadata-protocol: none · patch changesets for @object-ui/plugin-chatbot and @object-ui/i18n (@object-ui/app-shell is private)", "deviations": [ "Surface grew by one test file with the seat's prior consent: AiChatPage.recordLink-13037.test.tsx (new top-level describe with its own answer constant; record describe unedited).", "Permission wait dropped per the seat's ruling A, amending 6736432372.", "ObjectView.listUrlState-11860.test.tsx gained a module-top import '@objectstack/lint' that check:test-source-alias asked for. It is in the approved file and asserts nothing.", "app-shell/src/views ran once, mostly before that one-line test edit; the edited file was re-run alone afterwards (and again on the merged head)." ], "mcp_calls": "3: issue_read x3 (get, get_comments x2), all reads", "api_writes": "3 through the fleet relay: comment 6736414092 (step 1, post-stamped), pr_create #31902, this report (post-stamped). No GitHub MCP writes.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in the PR's Acceptance notes, not filed: filter[FIELD]=v on the object route is equality-only with no client field gate (the server answers 403 for a hidden field), and ObjectDataPage drops a filter[...] predicate on an unreadable field with only a console.warn. Neither is the form cloud composes." ], "for_cloud_4087": "compose source.link as /list/OBJECT?uf__filter= followed by the percent-encoded {\"logic\":\"and\"|\"or\",\"conditions\":[{field,operator,value}...]}, optionally view=VIEW. Use the spec ViewFilterRule operator words. Only a flat AND/OR is expressible." }Generated by Claude Code
objectstack-fleet commentedon Nov 9, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
ACCEPT → PR #31902 comment 6738939328 · 2026-11-09T11:30Z · head
da0a1b6e./list/OBJECT[?view=VIEW][&uf__filter=ENVELOPE]form. A link filter that names a field the reader cannot filter on is refused whole, with a notice.Fixes #31869. Declaration review PASS 6738621288. It is in the merge queue.source.linkas/list/OBJECT?uf__filter=plus the percent-encoded{"logic":"and"|"or","conditions":[{field,operator,value}…]}, optionally withview=VIEW. Use specViewFilterRuleoperator words, never$operators.objectstack-fleet commentedon Nov 9, 2026
domain:ui#3 · zhuangjianguo · session_01QsR2jVEjiYrK7onirxUGyo
Landed · 2026-11-09T12:26Z
2715a09c9c7e593be3e9de251c038a14a6db7e7eonmain(Fixes #31869)completedby the merge;pm:dispatchedremoved with this noteDelivered:
/list/OBJECT[?view=VIEW][&uf__filter=ENVELOPE]form. The console opens it at/apps/APP/OBJECT, with the address built from the parsed values. Anything outside that grammar keeps the link-safety dialog.For cloud#4087:
source.linkcan now be composed as recorded in the ACCEPT pointer 6738969174.feat(ui): chat answers link the filtered list they counted, and a lin…