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
finding(lint): the two line-item inlineEdit advisories read only inlineEdit: true, so a relationship declaring 'grid' or 'form' is told to add inlineEdit, and an association declaring 'grid' or 'form' is never warned #34636
bugSomething isn't workingdomain:specDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Found while reviewing PR #34600 (cards #34567, #34566): L1 record 6938263188 (D2) and contract review 6938207311 (③, out-of-scope finding). Not fixed there; that PR's diff does not touch these two checks.
FieldSchema.inlineEdit accepts true, 'grid' and 'form' (packages/spec/src/data/field.zod.ts), and the spec's own predicate and the console's attachInlineSubforms treat all three as "edited inline". Two advisories in packages/lint/src/data-model-rules.ts on origin/main082f9c2 read only the literal true:
Line 1090, relationship/line-items-inline-edit: if (isLineItemName(obj.name) && def.inlineEdit !== true). A *_line child whose relationship already declares inlineEdit: 'grid' or 'form' is still told "consider inlineEdit: true", and the fix offered (inlineEdit: true) would replace the author's chosen mode.
Line 1113, the association check: if (def.inlineEdit === true && isAssociationName(obj.name)). An association (comments, audit, activity) declaring inlineEdit: 'grid' or 'form' clutters the parent's entry form the same way and gets no warning.
Repro
A stack with order and order_line, where order_line.order is a master_detail with inlineEdit: 'grid': os lint prints the line-items suggestion for it. Change the value to true: the suggestion disappears. An object that isAssociationName matches (comments, audit, activity), related to order with inlineEdit: 'form', draws no association warning; with true it does. (Read from the code at the lines above; not yet run as a stack.)
Fix direction
Both checks should ask the same question the spec predicate asks (is the relationship inline-edited at all, any of the three values), ideally by calling that predicate rather than restating it. Each rule gets a test for 'grid' and 'form'.
Acceptance
relationship/line-items-inline-edit is silent when inlineEdit is true, 'grid' or 'form'.
The association check fires for true, 'grid' and 'form'.
Theme: MCP (authoring). Lint advisories are what an external agent reads when it authors line items through the door.
The wrong advice has a concrete cost: it tells the author to replace a deliberate 'grid' / 'form' with true, and it stays silent on the association case.
There is no runtime effect, so in theme without a direct user effect → p2.
Domain, corrected: there is no domain:objectstack label; repo-wide seats hold no domain:* of their own. packages/lint anchors to spec in the SKILL.md domain table → domain:spec.
Fix direction as written: call the spec's own inline-edit predicate rather than restating it, and add a 'grid' and a 'form' test per rule.
Claim: PM loop round 1 · 2026-11-17T06:28Z
Session: session_01ADHkmPJxG4vBVaLCBWLcWJ (area o2-A of seat repo:objectstack#2; an os-dev subagent of this session is the dev)
Account: os-steve
Branch: claude/issue-34636-inline-edit-advisories
Worktree: objectstack-issue-34636
Domain: domain:spec
Seat: repo:objectstack#2
File surface: packages/lint/src/data-model-rules.ts (the relationship/line-items-inline-edit check and the association check only), their tests under packages/lint/src/, root .changeset/ (@objectstack/lint patch). Rule ids and messages keep their public names; a rename, a packages/spec/src/** change or a new export stops the dev and comes back to the area
Container & model: S, mode:subagent, model: default tier, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — advisory reads one of three accepted values (found in review of PR #34600, L1 6938263188 D2)
Thread-read: 6938321298
Premise: holds (on origin/main the line-items check reads def.inlineEdit !== true at data-model-rules.ts:1149 and the association check def.inlineEdit === true at :1172, while :303 in the same file already treats true, 'grid' and 'form' as inline)
Serial constraints cleared: #34600 merged (the sibling relationship/inline-edit-needs-bulk rule); no open PR changes data-model-rules.ts (#34545 and #34674 checked by file list)
Pre-claim lane: domain:spec — packages/lint/**, seat repo:objectstack#2 area o2-A (seat assigned it)
Pre-claim deps: none open; hot file idle across open PRs
Prior rulings read: inlineedit,true,lint,line-item,advisories,read,relationship,declaring,grid,form,told,association (+1 more) → 216 hits; ADR-0035 Decision §3, ADR-0014 Decision §2, ADR-0035 Decision §2, ADR-0035 Decision §4, ADR-0055 Decision §2, ADR-0120 D5, ADR-0146 D6; thread: none; repo: objectstack-ai/objectstack — the card asks both checks to share one "inline-edited" predicate rather than restate the three values
{
"issue": 34636,
"status": "done",
"branch": "claude/issue-34636-inline-edit-advisories",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34712",
"head": "21e33be20323b6475f4fe2058acc30cc60d80fff",
"session": "session_01ADHkmPJxG4vBVaLCBWLcWJ",
"premise_still_valid": true,
"summary": "Both advisories in packages/lint/src/data-model-rules.ts now ask whether the relationship is inline-edited at all, through one file-local, unexported predicate isInlineEdited(def) that returns true for true, 'grid' or 'form'. The existing relationship/inline-edit-needs-bulk loop, which restated the three values inline, calls it too, with identical behaviour. R5 relationship/line-items-inline-edit now fires only when inlineEdit is absent or false. R6 relationship/association-inline-edit now warns for all three values. Rule ids, severities, messages and fix text are unchanged. The spec exports no standalone inline-edited predicate: isBodyTableRelationship also reads relatedList and is master_detail-only, so it would change R6's reach. The console reads any truthy inlineEdit, and lint cannot import from ui. Files: packages/lint/src/data-model-rules.ts, packages/lint/src/data-model-rules.inline-edit-advisories.test.ts (new), .changeset/34636-lint-inline-edit-advisories-every-mode.md (@objectstack/lint patch).",
"tests": "Premise on origin/main fecd2e95d4, with the new test run before the source edit: Tests 4 failed | 6 passed (10). Exactly the grid/form cases of both rules were red; true, absent and false were green. After the fix: 10/10. Post-merge head 21e33be203: pnpm --filter @objectstack/lint test gave Test Files 215 passed (215) and Tests 9117 passed (9117); typecheck exit 0 with check:test-typecheck OK, and the new file is in the tsconfig.test.json program (listFilesOnly count 1). Pre-merge, the cli unit test test/data-model-rules.test.ts gave 64 passed. Ablation via scripts/ablation-replace.mjs, on source with no dist path because the test imports ./data-model-rules.js: R5 reverted to inlineEdit !== true, anchor x1 to x0, blob 78bd12081be5 to 72e0563d1751, red on R5 grid and form (2 failed / 8 passed), restored to blob == HEAD 78bd12081be5 with git diff HEAD empty. R6 reverted to inlineEdit === true, blob 78bd12081be5 to 85ab31f4f1fc, red on R6 grid and form (2 failed / 8 passed), restored to blob == HEAD with git diff HEAD empty.",
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 21e33be203 derived 63 commands from 3 paths. All 63 ran after a full turbo build (VERDICT command-exit 0, 120/120 tasks); 63 exit 0, each exit captured before any pipe. --ran reconciliation: 63 derived, 63 run, 0 NOT-MEASURED, 0 UNRUN (a derived zero). Pre-merge, the first pass had check:dual-build-cjs-loads and check:lean-entry-closure at exit 3 (PREREQUISITE NOT MET, no dist); after a full build both were exit 0, and on the final head both are exit 0. check-platform-checklist not owed: no export renamed or deleted. PR check-runs when the report was written: Lint, Type Check, Check Changeset, Governed Surface Queue Guard and PR-body guards in_progress; opt-in jobs and queue verdicts skipped. Not waited on.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "5 — all reads: issue_read get, issue_read get_comments, pull_request_read get, pull_request_read get_check_runs, plus ToolSearch loads; no MCP write tool",
"api_writes": "3 — git push of the branch (empty probe, fix commit, merge commit); fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, plus the POST issues/34712/assignees leg for os-steve) via repository_dispatch run 44042155403; os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/34636/comments via post-stamped.mjs",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "The first push was refused by the pre-push hook because the commit message carried a Fixes card trailer. The trailer was removed by amending the unpushed commit, and card relations now appear only in the PR body. The PR body carries no attribution footer of my own: the area adds the signed trailer, and the relay's read-back reports the 9490 stored bytes identical to the bytes sent."
}
bugSomething isn't workingdomain:specDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch → p2 ·
domain:spec·pm:queue· 2026-11-17T04:26Z⛔ Not a claim.
'grid'/'form'withtrue, and it stays silent on the association case.inlineEdit得到一张存不了的表单:父对象的apiMethods没有bulk时,带行保存被 405 拒绝,技能没写这个前提,编写期也没有任何提示 #34566, skills/objectstack-ui:表单类型表把tabbed推荐给「字段组多的复杂对象」,照做得到必填项跨页签、手机上页签被截断的表单;改为默认分组堆叠,并补上折叠分组、列数、弹窗尺寸的选用指引 #34567).domain:objectstacklabel; repo-wide seats hold nodomain:*of their own.packages/lintanchors to spec in the SKILL.md domain table →domain:spec.'grid'and a'form'test per rule.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmPJxG4vBVaLCBWLcWJ
Claim: PM loop round 1 · 2026-11-17T06:28Z
Session:
session_01ADHkmPJxG4vBVaLCBWLcWJ(area o2-A of seatrepo:objectstack#2; anos-devsubagent of this session is the dev)Account:
os-steveBranch:
claude/issue-34636-inline-edit-advisoriesWorktree:
objectstack-issue-34636Domain:
domain:specSeat:
repo:objectstack#2File surface:
packages/lint/src/data-model-rules.ts(therelationship/line-items-inline-editcheck and the association check only), their tests underpackages/lint/src/, root.changeset/(@objectstack/lintpatch). Rule ids and messages keep their public names; a rename, apackages/spec/src/**change or a new export stops the dev and comes back to the areaContainer & model:
S,mode:subagent,model: default tier,effort: highClause-②: no
Metadata-protocol: none
Responsibility:
n/a — advisory reads one of three accepted values(found in review of PR #34600, L1 6938263188 D2)Thread-read: 6938321298
Premise: holds (on
origin/mainthe line-items check readsdef.inlineEdit !== trueatdata-model-rules.ts:1149and the association checkdef.inlineEdit === trueat:1172, while:303in the same file already treatstrue,'grid'and'form'as inline)Serial constraints cleared: #34600 merged (the sibling
relationship/inline-edit-needs-bulkrule); no open PR changesdata-model-rules.ts(#34545 and #34674 checked by file list)Pre-claim lane:
domain:spec—packages/lint/**, seatrepo:objectstack#2area o2-A (seat assigned it)Pre-claim deps: none open; hot file idle across open PRs
Prior rulings read: inlineedit,true,lint,line-item,advisories,read,relationship,declaring,grid,form,told,association (+1 more) → 216 hits; ADR-0035 Decision §3, ADR-0014 Decision §2, ADR-0035 Decision §2, ADR-0035 Decision §4, ADR-0055 Decision §2, ADR-0120 D5, ADR-0146 D6; thread: none; repo: objectstack-ai/objectstack — the card asks both checks to share one "inline-edited" predicate rather than restate the three values
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmPJxG4vBVaLCBWLcWJ
os-dev-report
{ "issue": 34636, "status": "done", "branch": "claude/issue-34636-inline-edit-advisories", "pr": "https://github.com/objectstack-ai/objectstack/pull/34712", "head": "21e33be20323b6475f4fe2058acc30cc60d80fff", "session": "session_01ADHkmPJxG4vBVaLCBWLcWJ", "premise_still_valid": true, "summary": "Both advisories in packages/lint/src/data-model-rules.ts now ask whether the relationship is inline-edited at all, through one file-local, unexported predicate isInlineEdited(def) that returns true for true, 'grid' or 'form'. The existing relationship/inline-edit-needs-bulk loop, which restated the three values inline, calls it too, with identical behaviour. R5 relationship/line-items-inline-edit now fires only when inlineEdit is absent or false. R6 relationship/association-inline-edit now warns for all three values. Rule ids, severities, messages and fix text are unchanged. The spec exports no standalone inline-edited predicate: isBodyTableRelationship also reads relatedList and is master_detail-only, so it would change R6's reach. The console reads any truthy inlineEdit, and lint cannot import from ui. Files: packages/lint/src/data-model-rules.ts, packages/lint/src/data-model-rules.inline-edit-advisories.test.ts (new), .changeset/34636-lint-inline-edit-advisories-every-mode.md (@objectstack/lint patch).", "tests": "Premise on origin/main fecd2e95d4, with the new test run before the source edit: Tests 4 failed | 6 passed (10). Exactly the grid/form cases of both rules were red; true, absent and false were green. After the fix: 10/10. Post-merge head 21e33be203: pnpm --filter @objectstack/lint test gave Test Files 215 passed (215) and Tests 9117 passed (9117); typecheck exit 0 with check:test-typecheck OK, and the new file is in the tsconfig.test.json program (listFilesOnly count 1). Pre-merge, the cli unit test test/data-model-rules.test.ts gave 64 passed. Ablation via scripts/ablation-replace.mjs, on source with no dist path because the test imports ./data-model-rules.js: R5 reverted to inlineEdit !== true, anchor x1 to x0, blob 78bd12081be5 to 72e0563d1751, red on R5 grid and form (2 failed / 8 passed), restored to blob == HEAD 78bd12081be5 with git diff HEAD empty. R6 reverted to inlineEdit === true, blob 78bd12081be5 to 85ab31f4f1fc, red on R6 grid and form (2 failed / 8 passed), restored to blob == HEAD with git diff HEAD empty.", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 21e33be203 derived 63 commands from 3 paths. All 63 ran after a full turbo build (VERDICT command-exit 0, 120/120 tasks); 63 exit 0, each exit captured before any pipe. --ran reconciliation: 63 derived, 63 run, 0 NOT-MEASURED, 0 UNRUN (a derived zero). Pre-merge, the first pass had check:dual-build-cjs-loads and check:lean-entry-closure at exit 3 (PREREQUISITE NOT MET, no dist); after a full build both were exit 0, and on the final head both are exit 0. check-platform-checklist not owed: no export renamed or deleted. PR check-runs when the report was written: Lint, Type Check, Check Changeset, Governed Surface Queue Guard and PR-body guards in_progress; opt-in jobs and queue verdicts skipped. Not waited on.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "5 — all reads: issue_read get, issue_read get_comments, pull_request_read get, pull_request_read get_check_runs, plus ToolSearch loads; no MCP write tool", "api_writes": "3 — git push of the branch (empty probe, fix commit, merge commit); fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, plus the POST issues/34712/assignees leg for os-steve) via repository_dispatch run 44042155403; os-dev-report comment POST /repos/objectstack-ai/objectstack/issues/34636/comments via post-stamped.mjs", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "The first push was refused by the pre-push hook because the commit message carried a Fixes card trailer. The trailer was removed by amending the unpushed commit, and card relations now appear only in the PR body. The PR body carries no attribution footer of my own: the area adds the signed trailer, and the relay's read-back reports the 9490 stored bytes identical to the bytes sent." }