dd-338 catalog refresh: diffCatalogs does not track granularity.returns_result_set #45
Labels
No labels
boundary:crosses
boundary:none
bug
devfu
documentation
duplicate
enhancement
epic
good first issue
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Stallari/plugins#45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed under: follow-ups round 2026-11-22 (operator word
~/src/_architect/afk-batch-2026-11-22/operator-word-followups.md, sha256 7056b2c277c5). Found while landing #40 (PR #44,3ee6e76).What happens
scripts/dd-338-refresh-catalog.mjsdiffCatalogs()compares five granularity axes per tool:scope_filtering,field_projection,deterministic_ordering,audit_surfaceanddomain_scope(granularityAxes, lines 66-72 at3ee6e76).Since #44, a tool's
granularityblock can also carryreturns_result_set(pack-spec 4.20.0).build-catalog.jspasses the block through unchanged, so the key reachescatalog.json. The diff never reads it.returns_result_set: falseshort-circuits the assembler's granularity verdict to proceed beforescope_filteringis evaluated. A tool that changes from absent (ortrue) tofalseis therefore the flip that most needs review, and the refresh summary reports no change for it.Expected
diffCatalogs()tracksreturns_result_setas a sixth axis.true(pack-spec 4.20.0,docs/granularity.md#before-the-dimensions-returns_result_set). Absent andtruecompare equal, so a catalog that starts to writetrueexplicitly shows no flip.truetofalseshows as{ field: "returns_result_set", before: true, after: false }.Acceptance criteria
granularityAxesincludesreturns_result_set, and the header comment names it.falseas one tool change withbefore: trueandafter: false.truegive no tool change.node --test scripts/*.test.jspasses, and CIvalidationis green.Blocked by
None - can start immediately