Re-export DataServer/DEFAULT_DATA_PATH from aura-ingest (or add open_default_archive) so real-data sources build from aura-ingest alone #81
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: fieldtest milestone "The World, part II" — finding F7 (friction).
See
docs/specs/fieldtest-milestone-the-world-orchestration-families.md.The headline real-data scenario (
M1FieldSource::opentakes&Arc<DataServer>)is reachable only if the consumer pulls and names a transitive external crate
whose construction is undocumented in aura's public surface:
aura-ingestre-exports neitherDataServernorDEFAULT_DATA_PATH.data-servergit dependency directly anduse data_server::{...}— discoveredonly by reading a commit body, not from any aura-ingest rustdoc or example.
/mnt/tickdata/Pepperstoneappears only in plan/spec prose,never in the API docs a consumer reads.
Fix options: re-export
data_server::DataServer(and a data-path accessor)from
aura-ingest, or add anaura-ingestconstructor(
M1FieldSource::open_default_archive(symbol, from, to, field)) so a real-datasource is buildable from
aura-ingestalone.Design reconciliation (specify, in-context entry)
Cycle: Runway-1 — aura-ingest real-data source-open seam (milestone "Runway — real-data ergonomics & honesty hardening"; closes #80 #81 #92). Per-cycle specs are now local-only ephemeral artifacts (retired from git in
28958f2), so this tracker comment is the durable record of the fork resolution. The fix-option fork below is listed open on this issue; it was resolved in the in-context design discussion.DataServer+DEFAULT_DATA_PATHfrom aura-ingest AND add a shareddefault_data_server() -> Arc<DataServer>thatopen_ohlcconsumes. The issue-sketched per-fieldM1FieldSource::open_default_archive(symbol, from, to, field)was rejected on substance: constructing the server inside a per-field open builds oneDataServer(one cache) per field — 4× for a single OHLC bundle — breaking theArc<DataServer>chunk-sharing the streaming model relies on across the four fields and across disjoint sims (C12). A sharedArc<DataServer>passed intoopen_ohlckeeps one cache shared.Provenance: orchestrator decision ratified by the user in the specify session on 2026-06-18 (AskUserQuestion fork 2 → "Re-export + geteiltes default_data_server()").
Shipped in
8c9a1b4(consolidate the real-data source-open seam), in main since cycle 0052. The commit body declared 'closes #80 #81 #92' but the auto-close only fired for #80. Verified at HEAD: 'pub use data_server::{DataServer, DEFAULT_DATA_PATH}' (lib.rs:30) and default_data_server() -> Arc (lib.rs:338), with the firewall test tests/open_ohlc_absent_archive.rs importing the whole source-open stack from aura_ingest alone. The per-field open_default_archive alternative was rejected (one DataServer/cache per field breaks C12 Arc sharing). Closing as done.