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
8 changes: 8 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ These instructions define repository-specific execution rules and scope limits f
- Run `cargo make` from the repository root, and use it whenever an equivalent task exists.
- Run standalone commands only when `Makefile.toml` does not cover the capability or cannot produce the required effect for the current task.
- When task details are needed, inspect `Makefile.toml` directly or run `cargo make --list-all-steps`.

## Rust channel policy

Use the unversioned `stable` channel for Rust builds and tests. Use the
unversioned `nightly` channel for Rust formatting. Do not select numbered
compiler versions or dated nightly versions in local tasks, CI, or container
builds. Rust container images must follow the stable release with a floating
distribution tag.
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,23 @@ fn adapter_has_passing_text(adapter: &ExternalAdapterReport, needles: &[&str]) -
adapter.result.status,
adapter.result.evidence.as_str(),
needles,
) || adapter.capabilities.iter().any(|capability| {
adapter_status_mentions_any(capability.status, capability.capability.as_str(), needles)
|| adapter_status_mentions_any(capability.status, capability.evidence.as_str(), needles)
}) || adapter.suites.iter().any(|suite| {
adapter_status_mentions_any(suite.status, suite.suite_id.as_str(), needles)
|| adapter_status_mentions_any(suite.status, suite.evidence.as_str(), needles)
}) || adapter.scenarios.iter().any(|scenario| {
adapter_status_mentions_any(scenario.status, scenario.scenario_id.as_str(), needles)
|| adapter_status_mentions_any(scenario.status, scenario.evidence.as_str(), needles)
})
)
|| adapter.capabilities.iter().any(|capability| {
adapter_status_mentions_any(capability.status, capability.capability.as_str(), needles)
|| adapter_status_mentions_any(
capability.status,
capability.evidence.as_str(),
needles,
)
})
|| adapter.suites.iter().any(|suite| {
adapter_status_mentions_any(suite.status, suite.suite_id.as_str(), needles)
|| adapter_status_mentions_any(suite.status, suite.evidence.as_str(), needles)
})
|| adapter.scenarios.iter().any(|scenario| {
adapter_status_mentions_any(scenario.status, scenario.scenario_id.as_str(), needles)
|| adapter_status_mentions_any(scenario.status, scenario.evidence.as_str(), needles)
})
}

fn adapter_has_reported_same_corpus_text(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ pub(super) fn is_memory_summary_category(category: &str) -> bool {
category,
"top_of_mind"
| "background"
| "stale" | "superseded"
| "stale"
| "superseded"
| "tombstone"
| "derived_project_profile"
)
Expand All @@ -107,7 +108,8 @@ pub(super) fn is_memory_summary_freshness_status(status: &str) -> bool {
"current"
| "background"
| "historical"
| "stale" | "superseded"
| "stale"
| "superseded"
| "tombstoned"
| "unsupported"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ pub(super) fn assert_memsearch_first_generation_records(memsearch: &Value) {
|evidence| evidence.contains("fixture-backed retrieval-debug prompt coverage")
&& evidence.contains(
"No live memsearch runtime adapter executes retrieval prompt scoring yet"
) && evidence.contains("not a suite pass")
)
&& evidence.contains("not a suite pass")
));
assert_eq!(memsearch.pointer("/scenarios/1/status").and_then(Value::as_str), Some("pass"));
assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion docker/benchmark/openviking.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.91.1-trixie AS rust-toolchain
FROM rust:trixie AS rust-toolchain

FROM ghcr.io/astral-sh/uv:python3.13-trixie-slim AS builder

Expand Down
3 changes: 2 additions & 1 deletion docs/runbook/agent-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ Then set `search.expansion.mode = "off"` to avoid LLM-backed query expansion. Th

The machine must have:

- Rust toolchain (pinned by `rust-toolchain.toml`).
- The `stable` Rust toolchain selected by `rust-toolchain.toml`.
- The unversioned `nightly` toolchain with Rustfmt for formatting.
- Docker Compose for the checked-in local dependency stack, or separately running Postgres and Qdrant.
- `psql` available on PATH.
- Running Postgres instance with `pgvector` installed/enabled when not using Compose.
Expand Down
3 changes: 2 additions & 1 deletion packages/elf-service/src/context_pack/assembly.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ fn stale_or_non_current(freshness_state: &str) -> bool {
"deleted"
| "deprecated"
| "expired"
| "stale" | "superseded"
| "stale"
| "superseded"
| "tombstoned"
| "historical"
| "future"
Expand Down
Loading