docs(analysis-view): qualify javascript-fact-groups readback to scalar values

where.properties selects only present JSON scalar values, so a group over
array, object or missing values cannot be read back through it. Say so in
the group_by description and the workflow guide, and assert the exact node
count of a repeated channel in the MCP test.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
This commit is contained in:
gensokyo-devandgensokyo-dev authored and Ysopwnable committed 2026-11-24 00:08:10 +08:00
1 parent e19dbcf857
commit 1dc1c20cd6
3 files changed
+7 -5

No files matched your search

@@ -166,9 +166,11 @@ Each row reports one distinct combination with its `observation_count` and
`node_count`. A missing key is omitted from the combination, distinct from a
retained null such as an unresolved dynamic channel. Rows are ordered by the
canonical JSON of their values; the default offset/limit is 0/256 and the page
total counts distinct combinations. Read a group's observations, with
provenance, through `javascript-facts` and the same `where` plus matching
`where.properties`.
total counts distinct combinations. When every grouped value is a present JSON
scalar, read that group's observations, with provenance, through
`javascript-facts` and the same `where` plus matching `where.properties`.
`where.properties` cannot select array, object or missing values, so read
such groups by paging `javascript-facts` with the same `where`.
Rows follow retained node/observation order. The default offset/limit is 0/64;
follow `coverage.next_offset`. Page totals count matching retained observations,