From acd5bb9eb27a21b1ec9cef35ed618dc830a8cf72 Mon Sep 17 00:00:00 2001 From: Jens Holdgaard Pedersen Date: Mon, 8 Jun 2026 00:30:09 +0200 Subject: [PATCH 1/3] docs(rfc): advance RFC 0002 + RFC 0007 to green MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RFC 0002: all 11 §5 criteria (RFC0002.1-.11) pass (crates/ourios-querier/tests/rfc0002_dsl.rs), #144-#154 — parser + structured surface, IR->DataFusion compile, YAML + JSON schema, and resolves_to alias expansion via the RFC 0001 §6.7 operator alias map. RFC 0007: RFC0007.1-.5 have live passing tests; the prove-thesis gate is cleared now the DSL is green, so the execution frontend advances specified->green. (RFC 0001 stays specified — its miner criteria .5/.6/.8/.9/.10/.11 + hazards/invariants are still red-gate stubs.) Co-Authored-By: Claude Opus 4.8 --- docs/rfcs/0002-query-dsl.md | 13 ++++++++----- docs/rfcs/0007-querier.md | 27 ++++++++++++++------------- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/docs/rfcs/0002-query-dsl.md b/docs/rfcs/0002-query-dsl.md index e7e3f6b91..6ff89a314 100644 --- a/docs/rfcs/0002-query-dsl.md +++ b/docs/rfcs/0002-query-dsl.md @@ -1,7 +1,7 @@ --- rfc: 0002 title: Query DSL — the Ourios logs query language (Branch B, surface β) -status: specified +status: green author: Jens Holdgaard Pedersen drafting-assistance: Claude created: 2026-04-24 @@ -15,10 +15,13 @@ superseded-by: — > sublanguage takes **Branch B** (distance from OTTL), on the > **β** (pipe-composable) top-level surface. Decided 2026-06-07 from the > audience analysis in §3.6 (primary: Perses dashboard authors; future: -> MCP agents). This RFC is now `specified` — §6 gives the design, §7 the -> grammar, §5 the testable acceptance criteria. It advances to `red` → -> `green` as the parser/compiler lands (the RFC 0007 execution layer it -> targets is already implemented and tested — RFC 0007 §5); then, per the +> MCP agents). This RFC is now **`green`** — all 11 §5 acceptance +> criteria (RFC0002.1–.11) have passing tests +> (`crates/ourios-querier/tests/rfc0002_dsl.rs`), landed across PRs +> #144–#154: the Branch-B parser + structured surface → one IR, the +> IR→DataFusion compile, YAML-embeddability + the structured JSON Schema, +> and `resolves_to` alias-set expansion via the RFC 0001 §6.7 operator +> alias map. §6 gives the design, §7 the grammar, §5 the criteria. Per the > `docs/rfcs/README.md` ladder, `validated` and finally `accepted` (a > maintainer flip) follow the §9 validation. > Hazard 6 (`CLAUDE.md` §4 — no DataFusion/SQL leakage) constrains the diff --git a/docs/rfcs/0007-querier.md b/docs/rfcs/0007-querier.md index 926182ead..71649965d 100644 --- a/docs/rfcs/0007-querier.md +++ b/docs/rfcs/0007-querier.md @@ -1,7 +1,7 @@ --- rfc: 0007 title: Querier — DataFusion execution frontend for the logs DSL -status: specified +status: green author: Jens Holdgaard Pedersen drafting-assistance: Claude created: 2026-06-01 @@ -11,18 +11,19 @@ superseded-by: — # RFC 0007 — Querier: DataFusion execution frontend for the logs DSL -> **Status note.** `specified` — §§1–9 are complete (including §5 -> acceptance criteria and §6 testing strategy, the content the -> `specified` gate introduces per `docs/rfcs/README.md`). It pins -> the *execution* -> layer — how a compiled query runs against the RFC 0005 Parquet -> contract with predicate pushdown, and how the B1/B2 thesis gates -> are measured — which is independent of RFC 0002's unresolved -> Branch A/B *syntax* decision (both branches compile to the same -> DataFusion `LogicalPlan` target, RFC 0002 §5.5). It deliberately -> does **not** re-decide the DSL surface. Cannot flip past -> `specified` until RFC 0002 §3 lands and the §5 acceptance -> scenarios below have executable tests. +> **Status note.** **`green`** — the §5 acceptance criteria +> RFC0007.1–.5 all have live passing tests +> (`crates/ourios-querier/tests/{execution,boundary,forward_compat}.rs` +> and the `lib.rs` no-leakage unit test; `tests/acceptance.rs` is now a +> pointer to them). It pins the *execution* layer — how a compiled query +> runs against the RFC 0005 Parquet contract with predicate pushdown, and +> how the B1/B2 thesis gates are measured. The status was held at +> `specified` by the prove-thesis gate (it deliberately did not re-decide +> the DSL surface); that gate is now cleared — RFC 0002 §3 landed +> (Branch B, #143) and the DSL is fully `green` (#154) — so this RFC +> advances to `green`. `validated` (the B1/B2 thesis-gate measurement, +> `docs/benchmarks.md`) and `accepted` follow per the +> `docs/rfcs/README.md` ladder. ## 1. Summary From bec8048d1be504e058ad2472a4cca31b91f06f39 Mon Sep 17 00:00:00 2001 From: Jens Holdgaard Pedersen Date: Mon, 8 Jun 2026 00:37:09 +0200 Subject: [PATCH 2/3] docs(rfc-0007): use full crate-relative test paths in the status note Co-Authored-By: Claude Opus 4.8 --- docs/rfcs/0007-querier.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/rfcs/0007-querier.md b/docs/rfcs/0007-querier.md index 71649965d..03b455edd 100644 --- a/docs/rfcs/0007-querier.md +++ b/docs/rfcs/0007-querier.md @@ -14,8 +14,9 @@ superseded-by: — > **Status note.** **`green`** — the §5 acceptance criteria > RFC0007.1–.5 all have live passing tests > (`crates/ourios-querier/tests/{execution,boundary,forward_compat}.rs` -> and the `lib.rs` no-leakage unit test; `tests/acceptance.rs` is now a -> pointer to them). It pins the *execution* layer — how a compiled query +> and the `crates/ourios-querier/src/lib.rs` no-leakage unit test; +> `crates/ourios-querier/tests/acceptance.rs` is now a pointer to them). +> It pins the *execution* layer — how a compiled query > runs against the RFC 0005 Parquet contract with predicate pushdown, and > how the B1/B2 thesis gates are measured. The status was held at > `specified` by the prove-thesis gate (it deliberately did not re-decide From 237a93ecf22994ec04f00457e80b9efbacac29a8 Mon Sep 17 00:00:00 2001 From: Jens Holdgaard Pedersen Date: Mon, 8 Jun 2026 00:44:26 +0200 Subject: [PATCH 3/3] =?UTF-8?q?docs(rfc):=20include=20#143=20in=20the=20RF?= =?UTF-8?q?C=200002=20range;=20clear=20RFC=200007=20=C2=A78=20stale=20bloc?= =?UTF-8?q?ker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Review: RFC 0002 status note now credits #143 (the spec PR) alongside #144-#154; RFC 0007 §8 + the alternatives no longer say parser integration is blocked on the RFC 0002 §3 branch decision (resolved, Branch B) — the contradiction with the green status note is removed. Co-Authored-By: Claude Opus 4.8 --- docs/rfcs/0002-query-dsl.md | 3 ++- docs/rfcs/0007-querier.md | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/rfcs/0002-query-dsl.md b/docs/rfcs/0002-query-dsl.md index 6ff89a314..b7d5de4cf 100644 --- a/docs/rfcs/0002-query-dsl.md +++ b/docs/rfcs/0002-query-dsl.md @@ -18,7 +18,8 @@ superseded-by: — > MCP agents). This RFC is now **`green`** — all 11 §5 acceptance > criteria (RFC0002.1–.11) have passing tests > (`crates/ourios-querier/tests/rfc0002_dsl.rs`), landed across PRs -> #144–#154: the Branch-B parser + structured surface → one IR, the +> #143 (this spec) and #144–#154 (the red gate + implementation): the +> Branch-B parser + structured surface → one IR, the > IR→DataFusion compile, YAML-embeddability + the structured JSON Schema, > and `resolves_to` alias-set expansion via the RFC 0001 §6.7 operator > alias map. §6 gives the design, §7 the grammar, §5 the criteria. Per the diff --git a/docs/rfcs/0007-querier.md b/docs/rfcs/0007-querier.md index 03b455edd..004a4086a 100644 --- a/docs/rfcs/0007-querier.md +++ b/docs/rfcs/0007-querier.md @@ -229,13 +229,13 @@ Mapped to `CLAUDE.md` §6.2: B1/B2 measurement) is branch-independent (RFC 0002 §5.5), and B1/B2 are the project's largest unmeasured risk — building the branch-independent half now buys the thesis signal soonest. The - parser integration waits on RFC 0002 (§8). + parser integration landed once RFC 0002 §3 resolved (Branch B); see §8. ## 8. Open questions -- [ ] Blocked on RFC 0002 §3 (Branch A vs B) before the parser - integration is final — but the execution layer here is - branch-independent. +- [x] RFC 0002 §3 resolved (Branch B, #143) and the parser integration + landed (#145–#154; RFC 0002 is `green`). The execution layer here was + branch-independent throughout, as planned. - [ ] `ListingTable` vs a custom `TableProvider` — does partition pruning over object storage need the custom provider, or does the listing table's pruning suffice?