8000 docs(policy): v2.x gets all bug fixes; every binding releases in lock-step (#943, #945) by adityamukho · Pull Request #957 · 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
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ 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) now gets only data-integrity and security fixes as patch releases (v2.0.3 is the first); v2.0.2 was the last planned v2.x release.
- **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).
- 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 data-integrity and security fixes for 12 months after v3.0.0. Tier 1 = Rust + Python + browser WASM (from v3.0.0); other bindings are Tier 2.
- 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.

## Testing Conventions

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Releases are managed by the project maintainer. The process is documented in iss
3. `cargo check --workspace` passes cleanly
4. All affected docs synced (see `CLAUDE.md` — "Keep documentation synchronized")
5. Tag pushed — CI publishes to crates.io, PyPI, npm, and Maven Central automatically
6. Tier 1 bindings (Python, and browser WASM from v3.0.0) released alongside the core release; Tier 2 bindings follow on a best-effort schedule (see [support tiers](PHILOSOPHY.md#support-tiers))
6. Every binding, including Tier 2, publishes every core release in lock-step, including prereleases; a binding that cannot publish blocks the release until it is fixed or successfully re-dispatched (see [support tiers](PHILOSOPHY.md#support-tiers))
7. Known-issues issue updated, and `data-integrity`/`corruption`/`durability` issues fixed by this release closed with a link to it (see above)
8. For a minor or major release: the performance envelope re-run and the snapshot in [`docs/BENCHMARKS.md`](docs/BENCHMARKS.md) and the README refreshed (`cargo run --profile envelope --example perf_envelope`; see [Reproducing](docs/BENCHMARKS.md#reproducing))

Expand Down
12 changes: 7 additions & 5 deletions PHILOSOPHY.md
8000
Original file line number Diff line number Diff line change
Expand Up @@ -248,22 +248,24 @@ This section is a policy, not a promise of a frozen format. Minigraf has changed

| Release line | Gets | For how long |
|---|---|---|
| Latest minor of the current major (today: 2.0.x) | All fixes: bugs, data integrity, security | Until the next release |
| Previous major, after the next major's `.0` release | Data-integrity and security fixes only, as patch releases | 12 months after the next major's `.0` release |
| Latest minor of the current stable major (2.x until v3.0.0 final ships, then 3.x) | All fixes: bugs, data integrity, security | Until the next release |
| v2.x (specific policy) | All bug fixes, including data integrity and security, as patch releases; no new features | Until 12 months after v3.0.0 final ships |
| Previous major, except v2.x, after the next major's `.0` final release | Data-integrity and security fixes only, as patch releases | 12 months after the next major's `.0` final release |
| 3.0.0 prereleases (`-alpha`, `-beta`, `-rcN`) | Fixes in the next prerelease only; no backports to an earlier prerelease | Until the next prerelease |
| Older lines | Nothing | — |

When v3.0.0 ships, v2.x gets data-integrity and security fixes for 12 months after that date. A data-integrity fix that needs a format change cannot ship on the older line; in that case the older line gets a documented workaround and the issue stays listed as a known issue until the line leaves support. #371 is the current example.
v2.x gets all bug fixes, including data-integrity and security fixes, from now until 12 months after v3.0.0 final ships. No new features land on v2.x. The 12-month clock starts at v3.0.0 final, not a prerelease. A data-integrity fix that needs a format change cannot ship on the older line; in that case the older line gets a documented workaround and the issue stays listed as a known issue until the line leaves support. #371 is the current example.

Data-integrity bugs stay visible until they are fixed in a published release; see the known-issues process in [CONTRIBUTING.md](CONTRIBUTING.md#known-issues-and-data-integrity-bugs).

#### Support tiers

"Supported" depends on which binding and which platform. Tier 1 is what the project tests and releases together; Tier 2 is built and smoke-tested but released on a best-effort schedule.
"Supported" depends on which binding and which platform. Every binding, including Tier 2, releases in lock-step with core and publishes every core release, including prereleases. A binding that cannot publish blocks the release until it is fixed or successfully re-dispatched. Tiers differ in testing and support: Tier 1 is fully tested; Tier 2 is experimental, built and smoke-tested in its own repo.

| Tier | Bindings | What it means |
|---|---|---|
| **Tier 1** | Rust crate (`minigraf`), Python (`minigraf` on PyPI), browser WASM (`@minigraf/browser` on npm) from v3.0.0 | Full test suite in CI. Released at the same time as every core release. Data-integrity fixes land here first. |
| **Tier 2 (experimental)** | Node.js, WASI, Java/JVM, Android, Swift (iOS/macOS), C | Built and smoke-tested in its own repo. Released on a best-effort schedule, possibly after the core release. |
| **Tier 2 (experimental)** | Node.js, WASI, Java/JVM, Android, Swift (iOS/macOS), C | Built and smoke-tested in its own repo. Released at the same time as every core release, including prereleases. |

A binding moves to Tier 1 when real users need it: issues from outside users, or known dependents. The project's own tools count as dependents when they ship to users and rely on the binding: Python is Tier 1 because `temporal_reasoning` stores its memory through it, and browser WASM is Tier 1 because the playground, the graph visualizer and the docs site run on it. A promotion takes effect at a major or minor release, never in a patch. No binding is removed by being Tier 2.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Bugs present in the current release, with affected versions, workarounds and fix

- Two values of the same attribute for one entity written in a single `transact` (or retracted in a single `retract`) can read back as one value ([#371](https://github.com/project-minigraf/minigraf/issues/371)). Write or retract each value of a multi-valued attribute in its own call. The fix changes the file format and ships in v3.0.0.

v2.x gets data-integrity and security fixes for 12 months after v3.0.0 ships. See the [support policy](PHILOSOPHY.md#support-policy).
v2.x gets all bug fixes, including data-integrity and security fixes, but no new features, until 12 months after v3.0.0 final ships. Prereleases do not start that clock. See the [support policy](PHILOSOPHY.md#support-policy).

## Quick Start

Expand Down Expand Up @@ -243,7 +243,7 @@ No other database offers this combination:
| iOS / macOS | 2 (experimental) | `.xcframework` via Swift Package Manager ([minigraf-swift](https://github.com/project-minigraf/minigraf-swift)) | see [docs](https://project-minigraf.github.io/minigraf-docs/latest/use-cases/) |
| C / FFI | 2 (experimental) | header + tarball on [minigraf-c releases](https://github.com/project-minigraf/minigraf-c/releases) | see [docs](https://project-minigraf.github.io/minigraf-docs/latest/use-cases/) |

**Tier 1** bindings are fully tested and released at the same time as every core release. **Tier 2** bindings are built and smoke-tested, released on a best-effort schedule, and experimental. The Rust crate and Python are Tier 1; browser WASM joins them from v3.0.0. A binding moves to Tier 1 when real users need it, including the project's own published tools. Tier 1 operating systems and filesystems are Linux (ext4, xfs), macOS (APFS) and Windows (NTFS) on local disk; NFSv4 is supported with caveats, and NFSv3 `nolock` is unsupported for multiple writers. Details: [support tiers](PHILOSOPHY.md#support-tiers).
Every binding, including Tier 2, releases in lock-step with core and publishes every core release, including prereleases. A binding that cannot publish blocks the release. **Tier 1** bindings are fully tested. **Tier 2** bindings are experimental, built and smoke-tested in their own repos. The Rust crate and Python are Tier 1; browser WASM joins them from v3.0.0. A binding moves to Tier 1 when real users need it, including the project's own published tools. Tier 1 operating systems and filesystems are Linux (ext4, xfs), macOS (APFS) and Windows (NTFS) on local disk; NFSv4 is supported with caveats, and NFSv3 `nolock` is unsupported for multiple writers. Details: [support tiers](PHILOSOPHY.md#support-tiers).

**Embedded graph memory for agents, mobile, and the browser — SQLite's simplicity + Datomic's temporal model.**

Expand Down
6 changes: 3 additions & 3 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Shipped:
- Indexed queries return correct results with more than 65,535 uncheckpointed facts (#445)
- The transaction counter no longer rewinds when reopening next to an already-checkpointed WAL (#447)

Further v2.x releases are data-integrity and security patches only.
Further v2.x releases carry all bug fixes, including data-integrity and security fixes, but no new features, until 12 months after v3.0.0 final ships (not a prerelease).

---

Expand All @@ -154,7 +154,7 @@ Shipped:

**Known issue on all v2.x releases:** same-transaction multi-valued facts read back as one value (#371, #287). The fix needs format v8 and ships in v3.0.0. Workaround: write or retract each value of a multi-valued attribute in its own `transact`/`retract` call. All v2.x known issues are listed in the pinned issue #421.

**After v3.0.0 ships,** v2.x gets data-integrity and security fixes for 12 months ([support policy](PHILOSOPHY.md#support-policy)).
v2.x gets all bug fixes, including data-integrity and security fixes, but no new features, until 12 months after **v3.0.0 final ships**; prereleases do not start that clock ([support policy](PHILOSOPHY.md#support-policy)).

---

Expand Down Expand Up @@ -323,7 +323,7 @@ When evaluating features, ask:

## Current Focus

- v2.x maintenance on `main`: data-integrity and security fixes only
- v2.x maintenance on `main`: all bug fixes, including data-integrity and security fixes, but no new features, until 12 months after v3.0.0 final ships (not a prerelease)
- v3.0.0 (format v8 and data integrity) on the `v3` branch, then v3.next features
- Production readiness for high-stakes deployments, tracked in the [v3.0.0 milestone](https://github.com/project-minigraf/minigraf/milestone/1)
- Ecosystem work tracked in [`minigraf-examples`](https://github.com/project-minigraf/minigraf-examples)
Expand Down
Loading
0