8000 docs: sync ROADMAP.md and CLAUDE.md with the finished v3.0.0 milestone (#932) by adityamukho · Pull Request #959 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ changes no code, tests or nightly routes.
The [#843 failure-path map](docs/benchmarks/843-failure-correctness/README.md)
ties the failure paths excluded from nightly timing to 138 correctness tests
with their error and data invariants. It changes no code, tests or nightly
routes; the heavy WAL replay test gap is #865.
routes. #865 closed the heavy WAL replay gap with the passing
`one_million_fact_wal_entry_replays_on_open` acceptance test.

The [#841 manual shape sweep](docs/benchmarks/841-shape-sweeps/README.md)
records native sort/window, set, UUID, recursive-control and sustained-reader
Expand Down Expand Up @@ -253,14 +254,16 @@ Auto-migrates v7 → v8 on open (spec §9, with a backup meta page). v1–v6 are
**2213 tests** (2190 active, 23 ignored; unit + integration + example + doc). Browser-only inventory is separate: #925 adds eight wasm tests (103 main-thread / 136 dedicated-worker tests in total); see `docs/testing/925-browser-incoming-refs.md` for execution results. #936 adds one browser golden-migration test to each. Engine answers once checked by the executor are frozen in `tests/answers/` (#551). The #924 Rust 1.99.1 dist binary is 1,250,568 bytes (+3,808 from the v3 base), below the 1,280,000-byte gate; [verification and acceptance mapping](docs/testing/924-incoming-refs.md).
See `docs/TEST_COVERAGE.md` for the full per-file breakdown.

The #760 deterministic storage suite adds three native unit tests in a separate `--cfg minigraf_shuttle` build, outside the default count. Run only `graph::storage::deterministic::` with that cfg; ordinary unit tests do not enter its scheduler. `deterministic-schedules.yml` runs relevant v3 PRs on Linux/macOS/Windows plus Linux MSRV, and larger nightly/manual searches with replay artifacts. The identical main workflow activates the v3 schedule after both PRs merge. See `docs/testing/deterministic-schedules.md` for scope, controls and findings.
The #760 deterministic storage suite adds three native unit tests in a separate `--cfg minigraf_shuttle` build, outside the default count. Run only `graph::storage::deterministic::` with that cfg; ordinary unit tests do not enter its scheduler. `deterministic-schedules.yml` runs relevant v3 PRs on Linux/macOS/Windows plus Linux MSRV, and larger nightly/manual searches with replay artifacts. The identical workflow on `main` schedules the v3 runs. See `docs/testing/deterministic-schedules.md` for scope, controls and findings.

**Testing conventions** — see the Testing Conventions section below before writing any tests.

On v3, ordinary `avg` skips nil/nonnumeric values and divides the exact rounded total by the numeric count, matching window `avg` (#777). It returns Float, or nil for an existing group with no numbers; no matching bindings yields no rows. Sum and extrema follow the value rules from #789; ordered execution for certified grouping tuples is implemented by #781.

## Current Maintainer Context

**The latest release is v2.0.12; v3.0.0-alpha is in preparation on `v3`.** The feature and correctness work is complete; the remaining milestone items are release tasks and documentation.

On `v3`, ordinary sum/sum-distinct skip nonnumbers and min/max compare all non-nil types by the window total order (#789). Empty-query conventions and all-nil min/max group dropping are preserved; INT-041/043/044 are deprecated for these paths. #781 expands Ordered Aggregate to sum/avg, fixed-scalar extrema and Integer/nil sum-distinct, with safe effective tuples and retained Sort for :with. Ordinary avg shipped in #777.

On `v3`, expression `=` / `!=` resolves literal keywords once per operator (#774), including nested expressions and substituted prepared slots. Dynamic values do not populate the cache. This is a performance-only change, with no v2.x backport; see `docs/benchmarks/774-expression-keywords.md`.
Expand All @@ -270,10 +273,10 @@ On `v3`, expression `=` / `!=` resolves literal keywords once per operator (#774
Current plan (see `ROADMAP.md` and the milestones):
- **In-memory ancestors (#723)**: eligible positive three-pattern delta runs retain an entity-first alternative with the same `Old`/`Delta`/`Full` ranges and separately planned head slots. Each round can select it when the committed dictionary is empty, the source relation has at most 128 rows and no stored records, and a capped AEVT count favors entity probes over building an uncached pending value map. Populated committed generations keep AVET probes. No additional write-time index.
- **v2.x** (`main`, format v7) gets all bug fixes, including data-integrity and security fixes, as patch releases, but no new features, until 12 months after v3.0.0 final ships (not a prerelease).
- **v3.0.0** (format v8 and data integrity, plus `:limit` #306, optional `:distinct` output #493, `lag`/`lead` #182, sliding row frames #183, set membership predicates #316 and prepared queries in every binding #181, UDF registration in every binding #180; [v3.0.0 milestone](https://github.com/project-minigraf/minigraf/milestone/1)) is developed on the long-lived `v3` branch. All v3 PRs target `v3`; `main` stays untouched. CI runs on PRs to `v3` the same as on PRs to `main`. Do not merge `main` into `v3` routinely: `main` only gets backports of fixes already on `v3`. Shared CI and workflow changes land on both branches as separate PRs. Just before the v3.0.0 cut, merge `main` into `v3` once (merge commit; source conflicts resolved to `v3`, `main`'s v2.0.x CHANGELOG sections brought over) so the cut is a fast-forward. At the first v3 release, the current `main` is copied to `v2` and `v3` becomes the new `main`.
- **Input order (#641)** targets v3.0.0 in three slices: committed scalar Sort omission, one-group count/count-distinct and partition-at-a-time windows are implemented in the dependent PRs for `v3`. The reviewed design, fallback scope and acceptance gates are in `docs/superpowers/specs/2026-10-28-641-input-order-design.md`.
- **Scalar key decoder proofs (#693)** target v3.0.0 before the release cut. The pure decoder refactor preserves key bytes and INT-049 behavior; Kani covers round trips and bounded malformed inputs. The approved design and CI limits are in `docs/superpowers/specs/2026-10-29-693-decoder-proofs.md`.
- **v3.next** (the release after v3.0.0) holds the query profiler (#185) and rule persistence (#241). OPFS `BrowserDb` (#441) shipped on `v3` for v3.0.0 at Tier 2; its benchmark is an explicit exclusion carried to v3.next (#844).
- **v3.0.0** (format v8 and data integrity, plus `:limit` #306, optional `:distinct` output #493, `lag`/`lead` #182, sliding row frames #183, set membership predicates #316 and prepared queries in every binding #181, UDF registration in every binding #180; [v3.0.0 milestone](https://github.com/project-minigraf/minigraf/milestone/1)) is implemented on the long-lived `v3` branch for the alpha. Until the branch move, all v3 PRs target `v3`; `main` remains the v2.x maintenance line. CI runs on PRs to `v3` the same as on PRs to `main`. Do not merge `main` into `v3` routinely: `main` only gets backports of fixes already on `v3`. Shared CI and workflow changes land on both branches as separate PRs. The pre-release `main` → `v3` merge is complete (#930), including the v2.0.x CHANGELOG sections. Before the alpha is tagged, rename `main` to `v2.x` and `v3` to `main` (#937).
- **Input order (#641)** is complete on `v3`: committed scalar Sort omission, one-group count/count-distinct and partition-at-a-time windows. The reviewed design, fallback scope and acceptance gates are in `docs/superpowers/specs/2026-10-28-641-input-order-design.md`.
- **Scalar key decoder proofs (#693)** are complete on `v3`. The pure decoder refactor preserves key bytes and INT-049 behavior; Kani covers round trips and bounded malformed inputs. The approved design and CI limits are in `docs/superpowers/specs/2026-10-29-693-decoder-proofs.md`.
- **v3.next** (the release after v3.0.0) holds the query profiler (#185) and rule persistence (#241). OPFS `BrowserDb` (#441) is implemented on `v3` and is Tier 2 in the 3.0.0 release; its benchmark is an explicit exclusion carried to v3.next (#844).
- Known v2.x data issue: same-transaction multi-valued facts (#371). Fix ships in v3.0.0. All v2.x known issues are listed in pinned issue #421 (`known-issue` label); `data-integrity`/`corruption`/`durability` issues fixed in a v2.x patch stay open until that patch is published; issues fixed on the unreleased `v3` branch close on merge (closing keywords do not fire on `v3`, so close them with `gh issue close`) and stay listed in #421 (CONTRIBUTING.md).
- Support policy and tiers: PHILOSOPHY.md §7 and §10. v2.x gets all bug fixes, but no new features, until 12 months after v3.0.0 final ships; prereleases do not start that clock. Tier 1 = Rust + Python + browser WASM (from v3.0.0); other bindings are Tier 2. Every binding publishes every core release, including prereleases; a binding that cannot publish blocks the release.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ isolate. It adds no nightly benchmark.
The [failure-path correctness map](docs/benchmarks/843-failure-correctness/README.md)
(#843) ties invalid inputs, callback errors, corruption, failed-handle refusal,
v1–v6 refusal and heavy WAL replay to the correctness tests that check their
error codes and data. It adds no nightly benchmark; a heavy-replay test gap is #865.
error codes and data. It adds no nightly benchmark; #865 closed the heavy-replay gap with the passing `one_million_fact_wal_entry_replays_on_open` acceptance test.

The [manual shape sweep](docs/benchmarks/841-shape-sweeps/README.md) (#841)
examines native sort/window, set and UUID shapes, recursive controls, and
Expand Down
Loading
Loading
0