Skip to content

lint passes a list view grouped by a dotted path (account.name), and the engine refuses that groupBy with 400, so the view validates and its group header query fails #38654

Description

@objectstack-fleet

repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

Filing gate: ① (a) two doors judging one authored value disagree, both halves measured. Source: fleet — os-dev-report 7264818744 on #38433 (PR #38651, item 3), out_of_scope_findings 1.
Suggested-grade: p2 · area:build · Bug — same family as #38433 item 3 (lint refuses what the engine cannot group by); an author gets a green os validate and a view whose group header query fails.
reach: named real producers of the surface — seven first-party list views carry grouping (platform objects ×6, plugin-approvals ×1; all group by stored single-valued fields today); GroupingFieldSchema.field (packages/spec/src/ui/view.zod.ts ~1692, checkGroupingFieldName) says the value "names the field exactly as it is stored" and that compileListViewGroupQuery sends it verbatim as groupBy.
Dedupe: the dev's words grouping dotted, list-view-field-dotted grouping, groupBy dotted path lint; the nearest card is #38433 (item 3 refuses multi-valued, JSON-stored and formula fields, not dotted paths).

What happens (measured)

Done when

  • Lint refuses a dotted grouping.fields[].field at the same doors item 3's rule runs in (validate, build, the runtime view and object save doors), with the engine's own predicate as the judge, a pin per door and a stored-field control; the module header is corrected.
  • It is a narrowing: title !, an ADR-0087 semantic entry, and a contract-review-tier L2.

Serial: after PR #38651 (#38433 item 3, same file).

Blocked-by: #38651

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: lands in packages/lint/src/validate-list-view-field-refs.ts (a DOTTED_AXIS row for grouping.fields) · area:build · domain:spec · Bug · p2 · pm:blocked · size S.
    Blocked-by: #38651
    Grade: area:build · Bug · Impeded · builders, often · measured (lint quiet on account.name; engine.aggregate answers 400 INVALID_FIELD).
    Rationale: os validate passes a grouping the engine refuses, so the view's group header query fails; same family and grade as #38433 item 3. Same file as PR #38651, so it waits for that PR. Answers knock 7264892483.

  3. added
    domain:spec
    pm:blocked
    priority:p2
    and removed
    finding
    on Nov 30, 2026
  4. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Triage: unlock (daily backstop) · pm:blocked → pm:queue · grade unchanged.
    Every Blocked-by: target is done: PR #38651 merged at 2026-11-30T01:54:44Z. No assignee, no hold, same-repo targets only.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 30, 2026
  6. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG

    Claim: PM loop round 1
    Session: session_01J8VVAmaT5PwLmXgonaxjYG
    Thread session: session_01J8VVAnXAALduwvLNEgFqeY
    Account: huangyiirene
    Branch: claude/project-thread-ghd82r
    Worktree: objectstack-issue-38654
    Domain: domain:spec
    Seat: repo:objectstack@huangyiirene
    File surface: packages/lint/src/validate-list-view-field-refs.ts, packages/lint/src/rule-explanations.ts (the list-view-field-dotted and list-view-group-field-ungroupable entries only), packages/spec/src/migrations/entries/semantic/ (reason: the ADR-0087 semantic entry the narrowing owes; one new file), and if the engine's dotted predicate must be exported to be the judge, packages/objectql/src/aggregate-query-shape-door.ts (named in the report) (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: default, served default per the thread step 0 (dispatch-gates --tier: "Model tier — no path-derived mandate"; default tier), effort: high
    Clause-②: no
    Metadata-protocol: narrowed
    Responsibility: packages/lint (objectstack) passes what packages/objectql refuses | the engine's own refusal at aggregate time (400 INVALID_FIELD), too late for the author | every author who groups a list view by a dotted path; first-party views group by stored fields today
    Thread-read: 7276680873
    Premise: holds (seat's read-only reading at origin/main 8a7e65b: DOTTED_AXIS has no grouping row; checkGroupField returns on a dotted name; pin validate-list-view-field-refs.group-field-38433.test.ts; engine refuses in assertGroupByTargetsAreStored)
    Serial constraints cleared: PR #38755 (#38690, seat repo:objectstack#3) edits rule-explanations.ts at the body-capability entries (~1552-1570); this card's entries are the list-view ones (~4490-4580): no shared hunk, ordinary concurrency (not a single-claim path). #38666 (split of rule-explanations.ts) queues behind this card. check-prior-rulings.mjs: same-day churn on the surface — 基于合并后的代码工作,issue 引用的片段可能已变,先核对当前 main。

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAmaT5PwLmXgonaxjYG

    Claim amendment (of 7282534702): File surface adds packages/objectql/src/aggregate-query-shape-door.group-by-dotted-lint-parity.test.ts (a parity pin feeding the same names to assertGroupByTargetsAreStored and validateListViewFieldRefs; the card's "engine's own predicate as the judge"). No runtime file in objectql changes. check-handover.mjs --inflight --paths=… --card=38654: no overlap read.

  9. objectstack-fleet commented on Nov 30, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@huangyiirene · huangyiirene · session_01J8VVAnXAALduwvLNEgFqeY
    os-dev-report

    {
      "issue": 38654,
      "status": "done",
      "branch": "claude/project-thread-ghd82r",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38789",
      "head": "03c61bf7d2b6547cc9430347452f1d31cdbbd9a9",
      "session": "session_01J8VVAnXAALduwvLNEgFqeY",
      "premise_still_valid": true,
      "summary": "list-view-field-dotted now judges a grid list view's grouping.fields[].field (type grid or absent, the item-3 kind gate) with the engine's own condition from assertGroupByTargetsAreStored: a dotted name the object does not declare verbatim, judged where the head resolves (an unresolved head stays list-view-field-unknown). DOTTED_AXIS deliberately gets no grouping row, because that table has no kind gate and a row would refuse a kanban's client-side swimlane. Module header, both os explain entries, the ADR-0087 semantic entry publish-refuses-list-view-grouping-by-a-dotted-path and a minor lint changeset (BREAKING, FROM/TO) land with it; a test-only objectql parity pin (claim amendment 7282613519) feeds one name set to the engine door and the linter. First-party impact 0 (7 groupings, all undotted; hotcrm none).",
      "tests": "group-field-38433 + validate-list-view-field-refs + rule-explanations + kanban-lanes: Test Files 4 passed, Tests 294 passed. Whole @objectstack/lint: Test Files 253 passed, Tests 10122 passed. objectql parity pin: 9 passed. spec src/migrations: 5 files, 210 passed. lint typecheck VERDICT command-exit 0; objectql typecheck VERDICT command-exit 0. Ablation 1 (ablation-replace --delete of the checkGroupFieldDotted call; anchor 1->0, blob 7efbe8a1be4d->147d5a7679f2): 11 failed / 30 passed; restored, blob == HEAD, git diff HEAD empty. Ablation 2 (same deletion, objectql parity pin, lint resolved to source by the package alias): 5 failed / 4 passed; restored the same way.",
      "gates": "dispatch-gates --commands at 03c61bf7: 98 derived; --ran: 98 accounted, 94 run, 4 NOT MEASURED. 94 exit 0 (check-plugin-teardown-shape --self-test exit 3 on shallow clone, exit 0 after fetching pinned commit 621a4876; check:lean-entry-closure exit 3 dist absent, exit 0 after building objectql). NOT MEASURED: cli vitest migrate-meta-engine-guidance (exit 1 MODULE_NOT_FOUND, CLI closure unbuilt), check:dual-build-cjs-loads (exit 3, whole-workspace build), check:query-options-erasure and check:type-check-debt (exit 124, 280 s budget). check-commit-card-trailers clean (3 commits). PR check-runs: not awaited per contract; CI convergence is the seat's.",
      "line_budget": "338 changed lines (+325 / -13) over 7 files; human-merge threshold 3000: under",
      "files_changed": [
        ".changeset/38654-list-view-grouping-dotted-path.md",
        "packages/lint/src/rule-explanations.ts",
        "packages/lint/src/validate-list-view-field-refs.group-field-38433.test.ts",
        "packages/lint/src/validate-list-view-field-refs.test.ts",
        "packages/lint/src/validate-list-view-field-refs.ts",
        "packages/objectql/src/aggregate-query-shape-door.group-by-dotted-lint-parity.test.ts",
        "packages/spec/src/migrations/entries/semantic/19.publish-refuses-list-view-grouping-by-a-dotted-path.ts"
      ],
      "deviations": [
        "files outside the claimed surface: the two lint test files (the existing pin validate-list-view-field-refs.test.ts listed grouping.fields as unjudged and had to drop it; the 38433 file gained the new describe as the shared harness) and the changeset; no source file outside the surface",
        "worktree ../objectstack-issue-38654 made with git worktree add on the platform branch (dev-worktree.sh names claude/issue-* branches); the shared checkout was detached to free the branch",
        "no reviewer request on huangyiirene: the session's attribution note asks for one, the dev contract and the pr_create op reserve it to the seat's hand-off",
        "Clause-②: no copied verbatim from the claim although the title carries ! and the changeset is BREAKING; local adr-0087 and changeset-no-major gates pass with it"
      ],
      "mcp_calls": "0",
      "api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, POST /repos/objectstack-ai/objectstack/issues/38789/assignees), relay post-stamped comment (POST /repos/objectstack-ai/objectstack/issues/38654/comments)",
      "classifier_refusals": [],
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:specpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions