GeezerVison is showing github.com — atlas memory slice 5: cross-agent eval sets for the unified index (standing oracle) (#8567) · Issue #8627 · developing-today/code
atlas memory slice 5: cross-agent eval sets for the unified index (standing oracle) (#8567) #8627Labels effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DescriptionSlice 5 of the Atlas memory integration (parent #8567; design record: pkgs/atlas-search/docs/memory-integration-design-8567.md, section 6).
Extend the Atlas eval harness (graded qrels, nDCG, recall — the #5741 harness line) with cross-corpus, per-agent-family query sets for the memory integration: queries whose answers live in different corpora, ceiling-respecting negative cases, and provenance checks. This is the standing oracle for slices 1–4 and for every later corpus/connector change.
Acceptance:
- An eval set exists per agent family (OpenClaw, OpenCode, OpenChamber, Muse lanes) with graded qrels over the unified index; baseline results recorded on this issue.
- A corpus or connector change can attach eval evidence (before/after) from a single documented command.
- Ceiling/scope negative cases are part of the set, so a policy regression fails the eval, not just a code review.
Activitydezren39 commented on Nov 17, 2026
🤖 Agent note · triaged — task 18715 (lane code-a)
- Work kind: task/small-fix · Priority: priority/normal (priorities brief line 5, by usefulness) · Effort: effort/l (format extension + run producer + four family eval sets + baselines) · Kind: kind/design (already present — design record §6 is the spec)
- Fresh state (2026-11-17): issue atlas memory slice 5: cross-agent eval sets for the unified index (standing oracle) (#8567) #8627 OPEN, labels kind/design + epic/atlas-program, no hard-stop labels, zero comments — never triaged, never worked. Parent atlas: integrate fleet/agent memory into Atlas — one queryable memory surface across agents/corpora (follow-on to the #1300 decision) #8567 is CLOSED; the design record (
pkgs/atlas-search/docs/memory-integration-design-8567.md §6) files this as slice 5, the standing oracle.
- What already exists: the Atlas search: SPLADE investigation — third retrieval signal, eval harness, query-adaptive weighting #5741 harness is landed —
crates/atlas-core/src/eval.rs scores saved rankings against graded qrels (atlas-eval/v1, nDCG@10 / Recall@100/1000 / MRR@10, dev/test split discipline) via the atlas-eval bin; sets live in pkgs/atlas-search/eval/.
- What is missing (the fix packet's scope): (1) per-agent-family sets (OpenClaw, OpenCode, OpenChamber, Muse lanes) with cross-corpus queries + graded qrels; (2) ceiling/scope negatives the format cannot yet express — an above-ceiling doc in a run currently just scores grade 0, it does not fail; the packet extends v1 compatibly with per-query forbidden docs as hard failures; (3) provenance checks; (4) a run producer + one documented command from the unified index to an eval report (the harness only scores saved rankings today).
- Dependency, stated plainly: slices 1–4 are all still OPEN (atlas memory slice 1: corpus registry + memory-lancedb connector into Atlas staging (#8567) #8622, atlas memory slice 2: embedding unification + per-corpus model identity and re-embed job (#8567) #8623, atlas memory slice 3: MCP query surface over the unified Atlas index (mcpx namespace) (#8567) #8625, atlas memory slice 4: remaining corpus connectors — memory files, notes, repo docs, research reports (#8567) #8626). The format extension, producer, and set authoring are unblocked now; qrels/baselines for corpora that aren't staged yet must dep-block on the slice issue (
--blocked-by-issue), never be invented. Baselines record per corpus as slices land.
- First concrete step for the fix: add the forbidden-doc semantics to
eval.rs with scorer tests (a run surfacing a forbidden doc fails the eval; existing v1 sets score unchanged), then the slice-1 corpus set.
- Acceptance check: all four family sets exist with baselines recorded here (or a named dep-block per gated set), negatives fail runs as designed, and the single documented command emits a report end-to-end.
- Follow-on: task 20199 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:8627; packet hidden_files/18715-fix-packet-8627.json). Issue stays OPEN.
dezren39 commented on Nov 17, 2026
state: blocked (task 20199, lane code-c) — dependency-blocked on slices 1–4, per this task's own packet instruction.
- Blockers (all verified OPEN on fresh reads this shift, 2026-11-17): slice 1 atlas memory slice 1: corpus registry + memory-lancedb connector into Atlas staging (#8567) #8622 (corpus registry + memory-lancedb connector), slice 2 atlas memory slice 2: embedding unification + per-corpus model identity and re-embed job (#8567) #8623 (embedding unification), slice 3 atlas memory slice 3: MCP query surface over the unified Atlas index (mcpx namespace) (#8567) #8625 (MCP query surface), slice 4 atlas memory slice 4: remaining corpus connectors — memory files, notes, repo docs, research reports (#8567) #8626 (remaining corpus connectors). Parent atlas: integrate fleet/agent memory into Atlas — one queryable memory surface across agents/corpora (follow-on to the #1300 decision) #8567 is CLOSED; the design record is pkgs/atlas-search/docs/memory-integration-design-8567.md §6.
- Why the fleet cannot clear this itself from here: slice 5's acceptance — per-agent-family eval sets with graded qrels and recorded baselines over the unified index, closing when every family has a set with a baseline — needs the slices 1–4 corpora staged. The packet forbids inventing qrels against corpora that do not exist yet and prescribes dep-blocking on the slice issues in exactly this case. The eval harness itself is landed (pkgs/atlas-search/crates/atlas-core/src/eval.rs, atlas-eval/v1, atlas-eval bin); pkgs/atlas-search/eval/ today holds only experiment artifacts, no staged unified-index corpora.
- Resume state for the next claimant: (1) build the corpus-independent format extension first — per-query forbidden doc list in atlas-eval/v1 (backward compatible; scorer hard-fails a run that surfaces a forbidden doc) plus provenance verification of retrieved docs against each query's expected corpora; (2) build the run producer + the one documented command from unified index to eval report; (3) as each slice lands, add that family's set with graded qrels and record its baseline on this issue; (4) the issue closes when every agent family (OpenClaw, OpenCode, OpenChamber, Muse lanes) has a set with a recorded baseline and the ceiling/scope negative cases run in the single command.
- Task 20199 was blocked via the queue with reason-class dependency naming all four slice issues (this binary build offers no --blocked-by-issue flag; the dep record lives here and in the task's blocker text).
dezren39 commented on Nov 23, 2026 Lane felix picking up #8627.
Done check (fresh, 2026-11-23): slices 1–4 (#8622, #8623, #8625, #8626) are all still OPEN, and eval.rs on current main has no forbidden-doc or provenance semantics — the state matches the 2026-11-17 triage exactly. Per that record, the corpus-independent slice is unblocked now and lands in this pass:
- per-query forbidden docs in
atlas-eval/v1 (backward compatible; a run surfacing a forbidden doc records a hard-failure violation, and the atlas-eval command exits non-zero);
- provenance checks: a doc→corpus attribution map plus per-query allowed corpora, so a run surfacing an out-of-scope or unattributed doc fails the same way;
- scorer tests + smoke fixtures proving existing v1 sets score unchanged.
The per-family sets with graded qrels and baselines, and a run producer against the unified index, stay dep-blocked on #8622/#8623/#8625/#8626 — qrels are not invented for corpora that are not staged. Full disposition on completion. dezren39 commented on Nov 23, 2026 Lane felix — corpus-independent slice landed as PR #13627 (unmerged, awaiting Felix's review). #8627 stays open for the dep-blocked remainder below.
Done check (fresh, 2026-11-23): slices 1–4 (#8622, #8623, #8625, #8626) all still OPEN; eval.rs on main had no forbidden-doc or provenance semantics — the 2026-11-17 triage state was unchanged, so the slice that record prescribes first was built here.
Landed (PR #13627):
atlas-eval/v1 extended compatibly (all optional; pre-extension sets score and serialize byte-identically, test-proven): per-query forbidden doc ids; per-query corpora scope + document-level docs attribution map for provenance.
- A ranking surfacing a forbidden doc, an out-of-scope doc, or an unattributed doc records a
Violation (query, doc, rank, kind, corpus) in the signal report. Metrics are unchanged (the doc still scores grade 0) but the signal fails: select_best_signal refuses a violating report and the atlas-eval runner exits 1 after printing the report. Validation rejects forbidden+relevant contradictions and duplicate/empty constraint entries.
- Synthetic negatives smoke fixture (one clean, one leaking signal; labelled not-evidence) + the one documented evidence command in
eval/README.md.
Evidence: remote run 45237996451 — cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core success; lib 175 passed / 0 failed incl. all six new tests; integration targets green. (Placement dispatch fp_55dd936275f8589336309b8a9301fcbd was still queued under org load; the direct run is the evidence of record.)
Remainder — dep-blocked, resume condition named: per-family sets (OpenClaw, OpenCode, OpenChamber, Muse lanes) with graded qrels and baselines recorded here, plus a run producer against the unified index. Each family's set lands when its staging slice lands: #8622 (corpus registry + memory connector), #8623 (embedding unification), #8625 (MCP query surface), #8626 (remaining connectors). The issue closes when every family has a set with a recorded baseline and the negatives run in the single documented command — the command and the negative semantics now exist; the corpora do not yet.
MetadataMetadataeffort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests DevelopmentNo branches or pull requestsIssue actions
|