Skip to content

Commit d93f1cd

Browse files
committed
docs(adr): the ADR-0149 note of 2026-11-19 says what it amends and narrows
The note now states plainly that it amends rule 1 in place and narrows the point ruled on fork F1, option B ("offered for a question and never selected") for a dimension offered to a term whose candidates are all dimensions, "never selected" included; every other candidate stays as ruled. Its state line no longer counts the spec among the copies of the door sentence: the spec carries the scope and not the sentence (M1). The authority line is unchanged. Claude-Session: https://claude.ai/code/session_016WV4d1Dv2AVwokgRqfdKp2 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 652c078 commit d93f1cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/adr/0149-ai-answers-business-questions-through-the-dataset-semantic-layer.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ Why the platform computes `matches` instead of leaving the whole rule to the mod
185185
> - **A term whose candidates are all dimensions is a possible grouping, not a question.** It is the ordinary shape of a grouping or time word: 「按行业」 near a dimension labelled 行业, "this quarter" near one named `quarter`. Asked 「按行业看销售额」, a person whose measure word had its hit was still asked about the grouping word. The AI now asks nothing about such a term, answers the measure hit as rule 2 says, and groups the answer only as the question asks.
186186
> - **Rule 5 still holds for it.** A possible grouping is not a number. Without a measure hit the AI still needs one, or asks which number is meant: a question about the missing measure, not about the term.
187187
> - **What does not change.** What counts as a hit (rule 1), and `matches`. The `candidates` list: it names both kinds as before, a dataset's measures before its dimensions, and no candidate becomes a hit. The four `nextStep.decision` values: a term whose candidates are all dimensions is still in `candidates_only`, and only the sentence the executor writes for it differs (`packages/services/service-analytics/src/dataset-next-step.ts#composeDatasetNextStep`). Rule 4, for a term with no hit and no candidate.
188-
> - **Sentences amended in place, and what they first said.** Rule 1's parenthesis read "(it may be offered in rule 3's question, never acted on)": neither half holds for a dimension offered to such a term, which is put in no question and may be the grouping the question asked for. The third point of the note above opened "With candidates, the AI asks in rule 3's form and acts on none." and ended at "the choice is the person's." Two sentences that name the question in passing stand as written and are read with this scope: the headline of the note above ("offered for a question") and the option C point of the note under rule 1 ("offer such a word for a question").
189-
> - **State on `main`.** The executor and both texts landed with PR #35156. This PR changes no executor and no shape. It brings three copies to the same sentence: the `candidates` description of `packages/spec/src/ai/dataset-tools.zod.ts#ListDatasetsOutputSchema`, the doc comment of `packages/spec/src/ai/dataset-tools.zod.ts#DatasetTermCandidateSchema`, and step 2 of the published ask skill (`skills/objectstack-ask/SKILL.md`), which `GET /mcp/skill` serves.
188+
> - **What this note amends, and what the amended sentences first said.** This note amends rule 1 in place, and it narrows the point ruled on #34691, fork F1, option B, which the note above records as "offered for a question and never selected". The narrowing is for a dimension offered to a term whose candidates are all dimensions: it is put in no question, and it may be used as the grouping the question asked for with no choice put to the person first. Both halves of that point are narrowed for it, "never selected" included. A measure candidate, and every candidate of a term with a measure among its candidates, stays as ruled: offered for a question and never selected. Rule 1's parenthesis read "(it may be offered in rule 3's question, never acted on)": neither half holds for such a dimension. The third point of the note above opened "With candidates, the AI asks in rule 3's form and acts on none." and ended at "the choice is the person's." Two sentences stand as written and are read with this scope: the headline of the note above ("offered for a question and never selected") and the option C point of the note under rule 1 ("offer such a word for a question").
189+
> - **State on `main`.** The executor and both texts landed with PR #35156. This PR changes no executor and no shape. It brings one more text to the same sentence: step 2 of the published ask skill (`skills/objectstack-ask/SKILL.md`), which `GET /mcp/skill` serves. The spec carries the scope and not the sentence: the `candidates` description of `packages/spec/src/ai/dataset-tools.zod.ts#ListDatasetsOutputSchema` and the doc comment of `packages/spec/src/ai/dataset-tools.zod.ts#DatasetTermCandidateSchema` say what such a term's candidates are offered for, a possible grouping and not a question, and give the reader no instruction, because AI guidance text does not enter the spec ([M1](#m1--where-the-ai-facing-text-of-a-measure-or-dimension-lives), ruled A).
190190
191191
### D4 — Permissions: the tools add no gate and bypass none
192192

0 commit comments

Comments
 (0)