Skip to content

spec: the dataset tools' output declares nextStep on list_datasets and sourceLine on query_dataset #34918

Closed

Description

@objectstack-fleet

epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU

Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed by the session the maintainer set to file this epic's cards. Ruling: #34894 = A, comment 6953671481, the maintainer verbatim: 「两件都同意:构建提交进仓库,#34894 选 A」.

Why

A client that asks through MCP is handed the matches and left to work out what they mean; the product's own agent is handed the conclusion and a citation ready to quote. The ruling makes that one result for both doors. This card is the shape.

Evidence (objectstack a0326b06; the hosted wrapper read on cloud 53a5844)

  • ListDatasetsOutputSchema and the query_dataset output carry no nextStep and no sourceLine (packages/spec/src/ai/dataset-tools.zod.ts).
  • ADR-0149 M1, ruled A: guidance text does not enter the spec (dataset-tools.zod.ts:37-39).
  • The hosted product adds both members in a wrapper of its own, with a closed decision, the candidates and a finished sentence.

Scope

  • list_datasets output gains optional nextStep: a closed decision enum covering one metric matches, several match, near candidates only, nothing; the candidates it rests on; and a note string slot.
  • query_dataset output gains optional sourceLine, a string.
  • .describe() on each says what the member is for. No sentence of guidance is written in the spec: the note and the sourceLine text are the executor's.
  • One shape with spec: list_datasets answers a term with no match with a candidates list, never selected; ADR-0149 D3 gains the amendment note #34761's candidates: the PR says how nextStep refers to them, and does not declare the same list twice.
  • An add-only note in ADR-0149 that M1 stands and where the sentence is written. Regenerate the spec's artifacts.

Done when

  • The two members are in the output schemas and the generated references; an answer without them still parses.

Relations

Activity

  1. added
    area:ai
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1199, 16:5xZ): p2 · domain:spec → pm:blocked.

    Theme: MCP and epic #34659. This declares nextStep and sourceLine in the dataset tools' output, implementing the maintainer's ruling on #34894 (A). No named customer effect, so p2. Blocked: it waits on #34763.

  3. added
    domain:spec
    pm:blocked
    priority:p2
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlock (20:0xZ): the only blocker, #34763, closed at 20:01Z. Moved pm:blocked → pm:queue. The grade is unchanged.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm

    Claim: PM loop round 1 · 2026-11-17T20:08Z
    Session: session_01WGufzfR33NbV51QQU6R6bm
    Account: os-support-ai
    Branch: claude/issue-34918-dataset-next-step-source-line
    Worktree: objectstack-issue-34918
    Domain: domain:spec
    Seat: repo:objectstack#3
    File surface: packages/spec/src/ai/dataset-tools.zod.ts (optional nextStep on ListDatasetsOutputSchema: a closed decision enum, a reference to the candidates it rests on, a note string slot; optional sourceLine string on QueryDatasetOutputSchema), packages/spec/src/ai/dataset-tools.test.ts, the generated spec artefacts the change regenerates (as #34761/PR #34828 found: packages/spec/{api-surface,authorable-surface,declaration-map,export-origins,json-schema.manifest}/ai.json, content/docs/references/ai/dataset-tools.mdx, content/docs/references/index.mdx, the strictness-ledger counts, type-alias-convention.pin.test.ts if a new exported type needs its row), docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md (add-only amendment note: M1 stands, the sentence is the executor's), root .changeset/. ⛔ No executor (packages/services/service-analytics/**, packages/mcp/**: #34919).
    Container & model: M, mode:subagent (area o3-E), model: CONTRACT_REVIEW_TIER (dispatch-gates --tier MANDATORY: 'docs/adr/**', effort floor xhigh; no one-line exit), effort: xhigh
    Clause-②: yes (widening: two optional output members on published schemas)
    Metadata-protocol: added (provisional, as on PR #34828: the dataset-tools output schemas have authorable-surface rows; the dev confirms from the generators and declares it in the PR body and changeset)
    Responsibility: n/a — not a defect card
    Thread-read: 6959430017
    Premise: holds (area reading at origin/main after 44c7a4a415: no nextStep or sourceLine in packages/spec/src/ai/dataset-tools.zod.ts; ListDatasetsOutputSchema at :217 already carries #34761's candidates; QueryDatasetOutputSchema at :326 derives from AnalyticsResultResponseSchema.shape.data; M1 stated at :41 and ADR-0149 ### M1 at :240)
    Serial constraints cleared: #34763 closed 20:01Z; #34919 (executor) follows this card; #34868 (skills/**, same area) touches no spec file; overlap-check runs at the first push and before every push
    Pre-claim lane: domain:spec — packages/spec/src/ai/**, its generated artefacts, and docs/adr/0149-…md
    Pre-claim deps: #34763 closed (triage unlock 6959430017)
    Prior rulings read: nextStep,sourceLine,candidates,M1 → #34894 A (6953671481: 「两件都同意:构建提交进仓库,#34894 选 A」); ADR-0149 M1 A (guidance text out of the spec), D2, D3 + amendment note; #34691 F1 B; repo: objectstack-ai/objectstack. nextStep refers to candidates and does not declare the list twice (card scope).

    Lease o3-E (seat post #34584); child of epic #34659. Tier H (docs/adr/** + packages/spec/**): after L1-c the seat runs L2 at CONTRACT_REVIEW_TIER and takes the PR to os-zhuang; o3-E lands only on approval.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm
    os-dev-report

    {
      "issue": 34918,
      "status": "done",
      "branch": "claude/issue-34918-dataset-next-step-source-line",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34982",
      "session": "session_01WGufzfR33NbV51QQU6R6bm",
      "premise_still_valid": true,
      "summary": "CI at d10ea09296 is settled with ONE red job, not this diff's: `Test Core (10/10)` (and the aggregate `Test Core`), a timing test in @objectstack/plugin-hono-server (details under gates); it needs a re-run of the failed job, which is the seat's write. Every other check is success or skipped. Spec half of the #34894 A ruling (record 6953671481, verbatim 「两件都同意:构建提交进仓库,#34894 选 A」). `ListDatasetsOutputSchema` gains optional `nextStep` (`DatasetNextStepSchema`: `decision`, `terms`, `note`, all required; `decision` is the closed enum `DatasetNextStepDecision` = `one_measure`, `several_measures`, `candidates_only`, `no_measure`), and `QueryDatasetOutputSchema` gains optional non-empty `sourceLine`, declared in the tool's own `.extend()` so `AnalyticsResultResponseSchema` is not edited. `nextStep` holds no member list: it refers to the members by the caller's terms, the key every `matches` and `candidates` entry already carries, so the `candidates` list of card 34761 stays the one list; that differs in form from the ruling record's \"the candidates\", and the PR body says why. The enum values name what the platform found, not what a reader then does, and no sentence of guidance enters the spec (M1). ADR-0149 M1 gains an add-only amendment note (11 lines added, 0 changed) quoting the ruling: M1 stands and both sentences are the executor's (card 34919). Changeset `@objectstack/spec` minor; `Clause-②: yes (widening: two optional output members on published schemas)`; `Metadata-protocol: added`, confirmed from the generators (five rows added to packages/spec/authorable-surface/ai.json; the level axis exits 0 on `added` and 1 on the `none` control). Draft PR 34982 at head d10ea09296, assignee os-support-ai, no reviewer request; Tier H, never readied or queued by this run, and it owes L1-c and the seat's L2. Known overlaps: PR 34925 (head 8f6048c352) and PR 34719 (head 5a05e4f2f4) conflict with this branch in packages/spec/src/type-alias-convention.pin.test.ts (the pinned isomorphic-alias count, 858 to 860 here: header line, case title, history comment with toHaveLength) and in the generated content/docs/references/index.mdx (the frontmatter description count and the Total row, in one hunk with the UI row; the AI row merges). Remedy for the second lander: merge main, re-run gen:docs, re-sum the pin. PR 34928 shares the ADR-0149 file and merges cleanly. Outside the claimed surface: none, all 13 changed paths are in the claim's File surface. Nothing under packages/services, packages/mcp or skills is in the diff. The card assignee was not written by this run. The worktree is removed after this report is posted.",
      "tests": "All at head d10ea09296, clean tree, under the verify lock. `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/ai/dataset-tools.test.ts src/type-alias-convention.pin.test.ts`: `Test Files  2 passed (2)`, `Tests  47 passed (47)`, `VERDICT command-exit 0` (the dataset-tools file alone: 44, of which 11 are new). `pnpm --filter @objectstack/spec typecheck`: `check:test-typecheck: OK`, `VERDICT command-exit 0`. `pnpm --filter @objectstack/spec test`: `Test Files  849 passed (849)`, `Tests  27213 passed | 1 todo (27214)`, `VERDICT command-exit 0`. Consumers of spec (direction: downstream; the two packages that import the dataset-tool schemas), against a spec dist that carries the new members: `pnpm --filter @objectstack/service-analytics test` `Test Files  218 passed (218)`, `Tests  5560 passed | 335 skipped (5895)`; `pnpm --filter @objectstack/mcp test` `Test Files  71 passed (71)`, `Tests  1252 passed (1252)`; `VERDICT command-exit 0`. `pnpm exec eslint --no-inline-config` on the three changed TypeScript files: exit 0. Ablations, three, each through scripts/ablation-replace.mjs on packages/spec/src/ai/dataset-tools.zod.ts (anchor hit once, blob changed, restore proven \"blob == HEAD (332deaf8eec5) and `git diff HEAD` is empty\"); the suite imports from src, so no dist leg: (1) a fifth value `ask` added to the enum: `Tests  2 failed | 42 passed (44)` (the four-cases case, the list_datasets projection case); (2) `.optional()` dropped from `nextStep`: `Tests  6 failed | 38 passed (44)`; (3) `.optional()` dropped from `sourceLine`: `Tests  4 failed | 40 passed (44)`. After the last restore the two files ran `Tests  47 passed (47)` again. Direction observed each time: red, as expected. `test:repo` was not run locally: CI's.",
      "gates": "Local subset at d10ea09296 (exit codes captured before any pipe). `node scripts/pm/dispatch-gates.mjs --commands` (no paths) derives 109 commands; `--ran`: \"109 derived famil(ies) accounted for — 109 run, 0 NOT-MEASURED\", exit 0. First pass: 103 exit 0, six exit 3 (PREREQUISITE NOT MET, packages not built in this worktree: the two @objectstack/lint doc gates, check:skill-examples, check:docs-transcript-drift, check:dual-build-cjs-loads, check:lean-entry-closure); after `pnpm check:type-check-debt` (a derived gate; it runs a turbo build of the packages under the verify lock; exit 0, \"0 ledger entr(ies) re-measured\") all six exit 0 on a re-run. Verdict lines: check:generated \"All 14 generated artifacts are up to date\"; check:spec-parsed-alias \"1594 bare z.input aliases, 860 pinned isomorphic, 734 paired with an XParsed. OK\"; check:api-surface \"public API surface + factory signatures unchanged\"; check:export-origins \"6228 exports across 19 entry points resolve exactly as recorded\"; check:docs \"248 generated files in sync with packages/spec\"; check:adr-symbol-anchors \"3738 anchors across 158 records resolve\"; check-adr-links \"1150 relative link destination(s) under docs/adr/ resolve\"; check:nul-bytes \"no raw ASCII control bytes\". Changeset level: `node scripts/check-changeset-no-major.mjs --base origin/main --event` with the PR title and body: exit 0, \"LEVEL AXIS: this PR declares clause-② `yes (widening)` and metadata-protocol `added`\"; control with `Metadata-protocol: none`: exit 1. `node scripts/pm/dispatch-gates.mjs --tier`: MANDATORY contract tier for docs/adr/**; 388 changed lines (+372 / -16). `node scripts/pm/check-governed-merges.mjs --branch claude/issue-34918-dataset-next-step-source-line`: exit 3, GOVERNED, landing tier H, 1 of 13 paths governed (docs/adr/**), size 388 under 3000. `node scripts/pm/overlap-check.mjs` at d10ea09296 against origin/main 2ce9c7f990: \"VERDICT overlap exit 1\" (origin/main merges cleanly; PR 34928 merges cleanly; PR 34925 and PR 34719 conflict in the two Known-overlaps files, and in no other). Local-state gates: check:skill-frame-freshness exit 0; check:dev-prereqs exit 1 (\"34 of 107 workspace packages declare an entry point under dist/ that is not on disk\", this machine's state). check-platform-checklist --changed-from: not owed, no exported symbol renamed or removed. CI, PR 34982 check-runs at d10ea09296 as read when this report was written (all settled; RED: failure): failure 2: Test Core | Test Core (10/10) · success 58: Auto Label | Build & E2E UI | Build Core | Build Docs | Build UI Deps | Check Changeset | Check Documentation Links | Check PR Size | Dogfood Regression Gate | Flag docs affected by code changes | Governed Surface Queue Guard | Lint & Repo Gates | Lint · CI, release & engine gates | Lint · ESLint | Lint · PM dispatch-gates | Lint · docs & code guards | Lint · repo & tooling gates | Lint · scoped · query-options erasure | Lint · scoped · slot lookup & corpus | Lint · scoped · tooling self-tests | Live E2E UI | PR-body guards (claim · duplicate · Part-of · single-writer path) | Plan Test Core shards | Plan Test UI shards | Spec property liveness | Test Core (1/10) | Test Core (2/10) | Test Core (3/10) | Test Core (4/10) | Test Core (5/10) | Test Core (6/10) | Test Core (7/10) | Test Core (8/10) | Test Core (9/10) | Test UI | Test UI (1/16) | Test UI (10/16) | Test UI (11/16) | Test UI (12/16) | Test UI (13/16) | Test UI (14/16) | Test UI (15/16) | Test UI (16/16) | Test UI (2/16) | Test UI (3/16) | Test UI (4/16) | Test UI (5/16) | Test UI (6/16) | Test UI (7/16) | Test UI (8/16) | Test UI (9/16) | Type Check UI | Type Check · consumer gates | Type Check · debt ledger | Type Check · source gates | Type Check · workspace | TypeScript Type Check | filter · skipped 10: 18.x upgrade harness (opt-in) | Borrowed queue verdict | Dogfood Regression Gate (MATRIX_SHARD/3) | Dogfood Verify CLI | Lint UI | Packed-tarball smoke (opt-in) | Queue verdict | Schedule gate · skip when a green push run covers the commit | Temporal Conformance (live PG + MySQL) | UI Published Artifacts. The red: job 134374463545 of run 44177643620, `Test Core (10/10)`; turbo \"Failed: @objectstack/plugin-hono-server#test\"; `src/adapter-drain.test.ts > HonoHttpServer — graceful close drains in-flight requests (P1-3) > an idle keep-alive connection is released at drain start`, \"AssertionError: expected undefined to be 'keep-alive'\" at line 243, the line after a fixed `sleep(50)` on a raw socket; `Test Files  1 failed | 41 passed (42)`, `Tests  1 failed | 575 passed (576)`. Not this diff: the test file names nothing from spec, the diff has no file under packages/plugins, and on d10ea09296 locally `pnpm --filter @objectstack/plugin-hono-server exec vitest run --maxWorkers=2 src/adapter-drain.test.ts` ran three times, `Tests  12 passed (12)` each (verify lock). `Test Core` is the roll-up job of the same run; shards 1 to 9 are success. One skipped name is an unexpanded workflow expression, written here as MATRIX_SHARD. Not re-run locally: test:repo, the repo-wide pnpm lint and the rest of the farm.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub call, read or write",
      "api_writes": "2 relay strokes, both as objectstack-fleet[bot]: (1) scripts/pm/fleet-write/dispatch.mjs `pr_create` (run 44177586632): POST /repos/objectstack-ai/objectstack/pulls (draft), then POST /repos/objectstack-ai/objectstack/issues/34982/assignees; read-back \"identical\", 22482 bytes sent and stored; (2) scripts/pm/post-stamped.mjs: POST /repos/objectstack-ai/objectstack/issues/34918/comments, this report. No label was written. git push: 3 (the empty branch marker, fe96c22d84, d10ea09296); no force-push.",
      "deviations": [
        "Two stop-and-report heads-ups went to the dispatching seat mid-run, as the order requires on a non-zero overlap-check: at fe96c22d84 (the pin test file against PR 34925 and PR 34719) and at d10ea09296 (the generated content/docs/references/index.mdx against the same two). Each push was made only after the seat amended the order (\"push and open the draft PR despite the overlap\"; \"Approved: push d10ea09296 and open the draft PR\"). Neither of those PRs nor their branches was touched.",
        "Conflict between os-dev.md and the dispatch order, followed the order: os-dev.md allows no dev-written HTML comment in a PR body and puts the `Fixes` line right after the harness attribution line; the order sets an attribution comment as line 1, a Requested-by line as line 2 and a `signed:` HTML comment as the last non-empty line, with no plain-text signature (it says the area order wins and the relay requires the trailer).",
        "Conflict between the harness attribution reminder and the repo's model-free rule, followed the repo rule and the order: both commits end with the model-free Co-Authored-By and Claude-Session pair, and the PR footer is the session-URL form the order names. No history was rewritten.",
        "NOT MEASURED: the hosted wrapper the card cites as prior art, reason: that repository is not enabled for this session (a single-file read answered 403; no access was requested). The four enum values come from the card, the ruling record, ADR-0149 D3 and the executor on main (findDatasetTermCandidates, the listDatasets fill).",
        "`test:repo` was not run locally (the diff edits no test of that project and the derivation does not name it); the seat reads it from CI's Test Core once the red shard is re-run.",
        "The branch is 4 commits behind origin/main 2ce9c7f990. None of the four touches a file of the PR, and main was not merged in, so every local reading is of d10ea09296, the final commit.",
        "Shallow checkout. No claim in this report rests on history dates or ancestry.",
        "CI was awaited in the foreground on the seat's amended order (\"finish as ordered: CI, the full report, and remove the worktree\"): three bounded foreground reads until every check-run completed, no background watcher. The one red job was read from its log; this dev re-ran no CI job and pushed nothing to re-trigger it."
      ],
      "open_questions": [
        {
          "question": "When the caller's terms are in different cases (one equals a measure, another has only candidates), which case does the single `nextStep` report?",
          "options": [
            "A: one `nextStep` per answer, and the executor (card 34919) fixes and documents the precedence among cases; `nextStep.terms` already says which terms the reported case is about. No spec change.",
            "B: `nextStep` becomes a list with one entry per case present. A contract-shape change to this PR before merge (cheap now, breaking once published), and the ruling record says \"a closed decision\", singular."
          ],
          "recommendation": "A, because it is the ruled shape and needs no further spec change; the precedence rule is behaviour, and card 34919 is where it is written and tested. If the seat wants B it has to be said before this PR merges."
        },
        {
          "question": "Are the four published values of `DatasetNextStepDecision` (`one_measure`, `several_measures`, `candidates_only`, `no_measure`) the names to publish? The hosted wrapper the card cites was not readable from this session, so its value names were not compared.",
          "options": [
            "A: keep the four as written: named for what the platform found, counted in measures, snake_case.",
            "B: rename to the hosted wrapper's values if the seat's own read of it shows a case or a meaning these four cannot express. A rename is free before merge and a breaking change after."
          ],
          "recommendation": "A, because the values follow the card's four cases and D3's rules and carry no instruction (M1); B only on evidence from the hosted wrapper, which the seat can read and this dev could not."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #34919 · noted, not filed: the executor owes what no schema can refuse: `decision` is the case the named terms are in; every term in `nextStep.terms` was sent; `nextStep` is present only when `terms` were sent; a `candidates_only` term has entries in `candidates`; a term that equals only a dimension is reported as `no_measure`. The TSDoc on DatasetNextStepSchema names these as the executor's.",
        "carrier: the seat (the PR body's Skills-docs line) · noted, not filed: skills/objectstack-ask/SKILL.md follows `nextStep` and cites `sourceLine` once card 34919 fills them.",
        "carrier: PR 34925, PR 34719 and the seat · noted, not filed: the merge-order overlap on the pinned count and the generated index totals; no defect.",
        "carrier: the seat (re-run of job 134374463545) · noted, not filed: packages/plugins/plugin-hono-server/src/adapter-drain.test.ts, the case \"an idle keep-alive connection is released at drain start\", reads a raw socket a fixed 50 ms after the write and failed once in CI at this head (received nothing yet); 3 of 3 green locally. One failure, no local reproduction, no reach through a public door. Dedupe words: adapter-drain, keep-alive, sleep(50), plugin-hono-server, flaky.",
        "carrier: cloud · noted, not filed: the card says the hosted product adds both members in a wrapper of its own. Once card 34919 lands there are two producers of `nextStep` and `sourceLine` for hosted answers; whether the wrapper is retired or kept was not read here."
      ]
    }
  9. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm

    Dev fix round 1 · PR #34982 · 2026-11-17T22:00Z

    Head-sha: d304f1b86183c1a484c72b09b62606e0752da39b (was d10ea09296e107c40685477e157d64ef8746e1a5)

    Asked by the seat (area o3-E) after L1-c ACCEPT 6962024627: Q1 ruled A and Q2 ruled A, one addition to the doc comment, and L1-c's N2 folded in. One commit, d304f1b861, 2 files, 6 lines added and 3 removed. Pushed without force.

    Diff

    One reading that differs from the order

    The order says to match how the D3 note's header reads on main. On main at db1a05cdae that header (the #34761 note) still reads "— this PR", so there was no "PR #N" form on it to match. The form used here is the one N2 names, and the one the note in PR #34928 and other ADR notes on main use. The D3 note's own header is not this card's and was not touched.

    Checks at d304f1b861, clean tree

    Check Result
    pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/ai/dataset-tools.test.ts src/type-alias-convention.pin.test.ts (verify lock) Test Files 2 passed (2), Tests 47 passed (47)
    pnpm --filter @objectstack/spec typecheck (same lock run) check:test-typecheck: OK; VERDICT command-exit 0
    pnpm --filter @objectstack/spec run check:generated, after a spec build of the edited source exit 0, "All 14 generated artifacts are up to date". Nothing was regenerated
    node scripts/check-adr-links.mjs exit 0, "1150 relative link destination(s) under docs/adr/ resolve"
    pnpm check:adr-anchors, check:adr-index, check:adr-symbol-anchors exit 0 each; "3738 anchors across 158 records resolve"
    pnpm check:spec-docblock-symbol-anchors, check:issue-citations, check:doc-anchors, check:nul-bytes, check:spec-parsed-alias exit 0 each
    check:api-surface, check:docs (spec), check-adr-0087-registration --base origin/main, check-closing-keyword-parity exit 0 each
    pnpm exec eslint --no-inline-config packages/spec/src/ai/dataset-tools.zod.ts exit 0
    node scripts/check-closing-keyword-parity.mjs --body on the commit message "no registered parser binds a closing declaration"
    node scripts/pm/overlap-check.mjs against origin/main db1a05cdae "VERDICT overlap exit 1": the same two declared overlaps (PR 34925 and PR 34719, in the pin test file and the generated content/docs/references/index.mdx) and nothing new. origin/main and PR 34928 merge cleanly

    Narrowing, declared. 14 of the 109 derived commands were re-run at this head (dispatch-gates --ran: "109 derived, 14 run, 0 NOT-MEASURED, 95 UNRUN", exit 1). All 109 ran at d10ea09296; the change since is one doc-comment paragraph and one header phrase. CI runs the farm on the new head: read once after the push, 18 check-runs in progress, 3 skipped, 1 success, none completed red.

    Left as it was

    • Tests, changeset, generated artefacts and every .describe(). No test was added: no behaviour changed.
    • The PR body is the seat's to bring to the new head. Its readings name d10ea09296, and its What changes line for the spec file says 100 added and 2 removed (now 103 and 2 against main). This dev does not edit a PR body after the create.
    • The first report on this card is comment 6961889053; it describes d10ea09296.

    A later push owes an L1-c delta read, as the L1 record says.

  10. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm

    Dev merge round · PR #34982 · 2026-11-17T22:59Z

    Head-sha: d80b2d888ddfd4ce5285e4157f645732e1955173 (was d304f1b86183c1a484c72b09b62606e0752da39b)
    Merged main: 4443014630c094cde840f9dd0b0b45ade45b48d9

    Asked by the seat (area o3-E): the PR read mergeable_state dirty at d304f1b861. The cause is PR 34719, which merged to main as 227ae368ab. PR 34925 has not merged (open, head 8f6048c352). This round is git merge origin/main, with no rebase, pushed without force. Two commits: f10de61e76, the merge (parents d304f1b861 and 4443014630), and d80b2d888d, the regeneration. After the push the PR reads mergeable: true.

    Classification: REGENERATED-ONLY, plus a count re-sum that is hand-made

    git merge-tree --write-tree d304f1b861 4443014630 exits 1 with one conflict and writes tree 19be7b9bd1. Measured against that tree:

    • the merge commit f10de61e76 differs in one file, packages/spec/src/type-alias-convention.pin.test.ts, the conflict;
    • the head d80b2d888d differs from the merge commit in one file, content/docs/references/index.mdx, which is generated.

    Every other path is git's own result. So the merge is not PURE, and it has no hand-made change in source, docs prose, the ADR or test logic.

    Conflicted files

    1. packages/spec/src/type-alias-convention.pin.test.ts: a text conflict in three hunks, all of them on the pin count. The count edit is hand-made. Main's count is 859 (858 plus PR 34719's Iso_ui_action__ActionRefusalSchema), and this PR adds two aliases, so the sum is 861. The lines edited:

      • the section header, // 861 isomorphic aliases: ... (860 on this branch, 859 on main);
      • the case title, it('still declares all 861 isomorphic pins', ...;
      • the count history in that case: main's // 858 -> 859 is #34273 ... comment is kept word for word, and this PR's comment follows it with its first line changed from 858 -> 860 to 859 -> 861. No other word of either comment changed;
      • the assertion, expect(pins).toHaveLength(861);.

      The pin rows did not conflict: git merged this PR's two Iso_ai_datasetTools__ rows and main's one row by itself. The file holds 861 export type Iso_ rows.

    2. content/docs/references/index.mdx: generated, and both sides moved it. The os-regen merge driver owns the path, so it was never text-merged: the merge commit carries this branch's copy, and scripts/pm/os-regen-merge.sh then took main's side. pnpm --filter @objectstack/spec check:generated --fix rewrote it from the merged tree ("1 of 14 artifact(s) stale") and nothing else was stale. The commit changes 5 lines: the total is 1673 (main's 1671 plus DatasetNextStep and DatasetNextStepDecision), and the UI row is 178 with ActionRefusal. It was not edited by hand.

    Merged by git with no conflict, although both sides moved it: docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md. Main's note under D3 rule 1 (PR 34928, 9e71ef829f) and this PR's note under M1 are both in place, and the file's blob at the head equals the one in the merge-tree result (9cd17d9add).

    Gate readings at d80b2d888d, clean tree

    Check Result
    pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/ai/dataset-tools.test.ts src/type-alias-convention.pin.test.ts (verify lock) Test Files 2 passed (2), Tests 47 passed (47); VERDICT command-exit 0
    pnpm --filter @objectstack/spec typecheck (verify lock) check:test-typecheck: OK; VERDICT command-exit 0
    pnpm --filter @objectstack/spec run check:generated (verify lock) exit 0, "All 14 generated artifacts are up to date", measured against the dist built from the merged source in this worktree
    pnpm check:spec-parsed-alias exit 0, "1595 bare z.input aliases, 861 pinned isomorphic, 734 paired with an XParsed. OK"
    node scripts/check-adr-links.mjs exit 0, "1150 relative link destination(s) under docs/adr/ resolve"
    pnpm check:adr-anchors, check:adr-index, check:adr-symbol-anchors exit 0 each; "3755 anchors across 158 records resolve"
    pnpm check:spec-docblock-symbol-anchors, check:issue-citations, check:doc-anchors, check:nul-bytes exit 0 each
    check:api-surface, check:docs (spec), check-adr-0087-registration --base origin/main exit 0 each; "248 generated files in sync with packages/spec"
    node scripts/pm/overlap-check.mjs, before the push "VERDICT overlap exit 1", the expected leftover: origin/main (4443014630) "merges cleanly", and PR 34925 is the one open overlap, in the same two files (the pin test and content/docs/references/index.mdx). Nothing new
    push check:commit-card-trailers: "2 commit message(s) on this push carry no card relation and no model identifier in the trailer pair"; d304f1b861..d80b2d888d, no force

    Narrowing, declared. These are the checks the seat's order names plus the ADR and generated-artefact gates, not the 109 derived commands. Those ran in full at d10ea09296, and CI runs the farm at this head.

    Left as it was

    • packages/spec/src/ai/dataset-tools.zod.ts, its test, the changeset and the PR's other seven generated files are byte for byte what they were at d304f1b861. Against main the PR is 13 files, 375 lines added and 16 removed.
    • The PR body is the seat's. Its readings name d10ea09296. The Tier H record 6962980723 was taken at d304f1b861.
    • This dev did not touch the PR's ready state or its auto-merge setting.
    • When PR 34925 lands, the same two files will need the same treatment on whichever of the two is still open.
  11. removed
    pm:dispatched
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:specpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions