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
14 changes: 9 additions & 5 deletions docs/rfcs/0002-query-dsl.md
Original file line number Diff line number Diff line change
@@ -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 <jens@holdgaard.org>
drafting-assistance: Claude
created: 2026-04-24
Expand All @@ -15,10 +15,14 @@ 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
> #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,
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
> 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
Expand Down
36 changes: 19 additions & 17 deletions docs/rfcs/0007-querier.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
rfc: 0007
title: Querier — DataFusion execution frontend for the logs DSL
status: specified
status: green
author: Jens Holdgaard Pedersen <jens@holdgaard.org>
drafting-assistance: Claude
created: 2026-06-01
Expand All @@ -11,18 +11,20 @@ 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 `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
> 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.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

## 1. Summary

Expand Down Expand Up @@ -227,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?
Expand Down
Loading