Skip to content

docs(design): predicate compilation convergence — design and cost account - #20732

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-5930-predicate-convergence-design
Sep 29, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/issue-5930-predicate-convergence-design

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Part of #5930. This PR lands the investigation's deliverable. The build decision (the document's §6, D1–D7) goes to the maintainer on #5930 after it merges, so merging must not close the card.
Clause-②: no

This PR is the investigation's whole deliverable: docs/design/predicate-compilation-convergence.md. It is a design and a cost account for shape A (a shared semantic tree, with compilers that own only their dialect), measured on 3711e0b763.

⛔ It is not a build. The diff adds one document and edits no source, test, schema, gate or skill file. The document proposes; the build decision is the maintainer's.

What the document measures

Verification

  • Gates. node scripts/pm/dispatch-gates.mjs --commands on c814d60164 derived 12 families, and --ran reconciled them: 12 run, 0 NOT MEASURED, every exit code recorded. All 12 exit 0.
    • check:doc-formula-expressions first answered PREREQUISITE NOT MET (exit 3), because @objectstack/lint was not built. After the build it exits 0.
  • Probes. The probes behind sections 2.4 and 2.5 are scratch scripts, not committed. Appendix A describes them.
  • NOT MEASURED: PostgreSQL and MySQL, a live mongod, a live Turso remote server, every HTTP door, and the sibling repositories.
  • Changeset. docs/design/ ships in no package, so this PR carries none and takes the skip-changeset label.

Acceptance notes

The census found these candidate defects. The dev report handed them to the seat, and nothing is filed from this PR itself. The seat filed items 1 and 2 as bare findings; items 3–5 stay notes.

  1. The read-scope compiler compileScopedFilterToSql applies no whole-day upper bound and binds temporal comparands exactly as written (section 2.5, item 1). Filed as [finding] service-analytics read scope: compileScopedFilterToSql applies no whole-day upper bound and binds a temporal comparand as written, so an RLS $lte on a bare day drops the rest of that day in NativeSQL analytics #20733.
  2. MemoryAnalyticsService runs neither shared comparand door, so {d: undefined} reads as {d: null} (section 2.5, item 2). Filed as [finding] driver-memory analytics: MemoryAnalyticsService runs neither shared comparand door, so a cube where {d: undefined} answers the null rows instead of a 400 #20734.
  3. The draft-preview evaluator's $contains folds case (section 2.5, item 3).
  4. memory-matcher.ts match() has no production caller (section 2.5, item 4).
  5. .claude/skills/pm-dispatch/references/compile-surfaces.md has drifted from the code it lists (section 5, option C).

Generated by Claude Code

@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation labels Sep 29, 2026
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Sep 29, 2026
@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review September 29, 2026 23:02
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit f05919b Sep 29, 2026
44 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-5930-predicate-convergence-design branch September 29, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants