docs(adr-0002): restore backend-consumer framing for asap-precompute-rs - #246
Merged
Merged
Conversation
PR #242 over-deleted ADR text when fixing edge/backend terminology. The correct scoping is: - Backend QUERY-side engine (PromQL aggregation, storage, planning): separate design, not shared with edge runtime. - Backend INGEST path (envelope parsing, delta apply, sketch reconstruction, merge): SHARED via asap-precompute-rs. Restores §"What gets extracted" / §"Positive consequences" framing. References issue #243 as byte-alignment prerequisite for backend integration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Surgical doc-only fix to ADR-0002. PR #242 over-deleted text when
fixing edge/backend terminology — I parsed the user's clarification
("backend's precompute engine is separate design") as "backend
doesn't depend on
asap-precompute-rsat all", which was wrong.The correct scoping is:
planning) is a separate design, NOT shared with the edge runtime.
state reconstruction, merge) IS shared with the edge runtime —
this is exactly what
asap-precompute-rsprovides.Edits
scoping out the backend's query-side engine.
dual-purpose framing — consumed by (a) future Rust-based edge
agents (Vector, OTAP-Rust receiver), AND (b)
ASAPQuery-backend'singest path; backend's query-side engine kept separate.
bullet — explicit that the SHARED ingest pieces (envelope parsing,
delta apply, sketch reconstruction, merge) are deduplicated, NOT
the backend's query-side engine.
edge-side (mirrors
asap-precompute-gobit-identically) andbackend-ingest-side (bit-identical envelope parsing across
languages — bytes from
sketchlib-gomust reconstruct viaasap_sketchlib). Reference issue asap_sketchlib ↔ sketchlib-go byte-format harmonization (cross-language parity) #243 as the cross-languagebyte-alignment prerequisite for backend integration (Phase 3
step 3).
Test plan
docs/adr/adr-0002-extract-precompute-runtime.md,+45/-18). No code touched.
remains (grep clean).
(ingest = shared, query = separate).
🤖 Generated with Claude Code