You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.0 tools: eval harness v1 surface and v0.24.1 baseline #1828
Measure the 1.0 tool surface with the agent-task benchmark (benchmarks/src/basic_memory_benchmarks/agent_tasks/) before and after.
Add a v1ToolSurface to surfaces.py listing the bm_* tools. It runs against the 1.0 branch; verify_surface_tools refuses a build without them.
Add tasks for the 1.0 decisions:
bm_read by title, permalink, path and memory:// URL
answering from one section of a long note
the first lines of a note (checks that end_line is enough without a head parameter)
bm_write at an exact path
each bm_edit command
bm_list a folder; bm_find by name and by JSON filters
bm_search with lines, within one note and within a folder
addressing another project by workspace/project and by id
bm_project(command="recent")
directory delete without recursive
a decoy search tool from another server
New metric: invalid-argument rate per tool.
Models: Claude (Sonnet 5.5, Haiku 5.5), an OpenAI model, DeepSeek V4.1 Flash; a pinned judge that is never the model under test; at least 3 repeats, with confidence intervals.
Baseline: rich + POSIX surfaces on v0.24.1, before any 1.0 code lands.
BEAM is skipped: its pipeline does not go through MCP tools.
Latest main passed 93/93 valid goals, with zero project-scope errors across three repeats. The previous 1.0 RC had 16 scope errors on the same suite. Fresh v0.24.1 runs passed 91/93. Latest main used 49.1% fewer agent tokens and 19.1% fewer tool calls than the fresh baseline.
Metric
v0.24.1, fresh
Previous 1.0 RC
Latest main
Goals passed
91/93
93/93
93/93
Agent tokens
7,118,509
4,054,370
3,623,906
Tool calls
324
311
262
Schema-invalid calls
0
0
0
Tool errors, including expected conflicts
10
27
7
Final assistant responses
92/93
93/93
93/93
Project-scope errors
2
16
0
Agent tokens are input plus output across all attempted model turns, including recovery and budget stops. Latest main used 3,623,906 tokens versus 7,118,509 for the fresh baseline. Tokens per passed goal were 38,966.7 versus 78,225.4. The paired task-bootstrap descriptive 95% interval for token reduction is 41.0%–55.5% (10,000 resamples of task IDs retaining their three repeats, seed 42). It describes this small suite, not a population guarantee or dollar cost.
Compared with the previous 1.0 RC, latest main used 10.6% fewer tokens, 15.8% fewer calls (311 to 262), and had 74.1% fewer tool errors (27 to 7). Multiple main changes landed between candidates, so all resource savings cannot be causally attributed to the project-argument fix alone.
Scope and remaining refusals
The advertised schemas mark project as a required nonnullable string on all nine always-project tools. Every recorded call to those tools supplied project/project_id across all three latest-main runs. No required-project schema errors or path/project ambiguity refusals occurred. The full installed catalogs matched the advertised benchmark allowlists: 27 legacy tools and 12 current tools.
Latest main had seven refusal events:
Three deliberately requested stale-checksum conflicts; all left content unchanged.
Three over-one-year timeframe rejections in orphan discovery (one per repeat); Haiku recovered and passed each goal.
One extra checksum conflict during replace_section: Haiku invented expected_checksum="use-current". The guard rejected it, and Haiku recovered and passed.
Fresh v0.24.1 had ten tool-error events: three intended checksum conflicts, two timeframe rejections, two project-scope errors, two unsupported find requests, and one read-before-create NOT_FOUND. Its two failed valid goals occurred in repeat one: orphan discovery exhausted the pre-call token budget without a final answer, and task resumption omitted requested verbatim step text/tracking markers. Repeats two and three passed all 31 valid goals.
Correctness audit
All required graders passed on latest main: reads, seven edit operations, exact-path creation, move/delete, stale-write rejection, discovery, graph work, metadata queries and task workflows. Mutation checks cover expected body lines, unrelated frontmatter, counts, and byte identity of unrelated notes. No unintended note deletion or content change was detected by those checks; blank-line layout and universal data safety are not established. All 93 latest-main attempts ended with a final assistant response. Neither product had a model/API/harness error.
The known-invalid contract-read-first-lines task remains unmodified in raw artifacts: it asks for five physical lines but grades a status outside that range. Exclude all six new attempts symmetrically from both success and resource totals, as in the prior report. Each product actually ran 32 tasks three times; headline totals contain 31 valid tasks three times.
Corpus SHA-256: bbfaaf0bdc7c16668c895b61ff3eec688339cf365422d72e83e476428f6aff7d; 25 notes.
Model configuration: openai-compat:claude-haiku-5-5@https://api.anthropic.com/v1, temperature omitted, no independent judge. Model alias is service-selected; no independent backend-version guarantee.
Same original prompts, corpus and graders, full tool catalogs and defaults. Tools receive no harness-injected project arguments. Canonical skill documents are not separately loaded into the agent prompt by this benchmark; it measures the advertised tools and fixed skill-inspired task prompts.
Budgets: 20 model turns, 200,000 pre-call tokens, 300 seconds per task. The final allowed call may exceed the token threshold.
SQLite, product-default semantic settings, Python 3.14.8, no Redis configuration; fresh isolated home and corpus/project per task.
Six sequential runs; order legacy/current, current/legacy, legacy/current. Separate clean pinned worktrees for products and harness prevented shared-workspace branch changes from affecting fixtures.
All six manifests were checked for matching harness, task/corpus fingerprints, model settings, product revisions, and complete catalogs. Product and harness worktrees remained clean after execution.
Local artifacts
Paths below are relative to basic-memory-haiku-harness/benchmarks/:
benchmarks/runs/project-scope-haiku-{legacy,bm}-{01,02,03}/: manifests, full schemas, task grades, turn records and summaries.
.scratch/haiku-project-scope/run.py and run.log: execution configuration and log.
.scratch/haiku-project-scope/analyze.py and analysis.json: reproducible offline aggregation and bootstrap.
.scratch/haiku-project-scope/refusals.md and refusals.json: event ledger, including the previous comparison.
Raw artifacts have not been published. No latency/throughput, hosted routing, Postgres, other-model, or broad retrieval-quality claim is made. Within this Haiku suite, the explicit-project contract removed the observed scope failures while preserving goal success. The remaining recurring usability issue is timeframe discoverability.
Closure scope
Closing this issue with the agreed Haiku-only release evaluation. This does not claim completion of the original broader model/feature matrix: Sonnet, OpenAI, DeepSeek, decoy-tool scored runs, hosted workspace routing, the repaired first-lines task, and other uncovered original scenarios remain deferred. Deterministic task/state graders were used; no LLM judge was needed or run. The baseline measures the full installed rich + POSIX catalog together, rather than separate subset headline runs.
The path/project ambiguity follow-up is tracked in #1919 and the explicit-scope fix landed in #1934. The rerun found no recurrence across 93 valid latest-main attempts. The remaining timeframe-discoverability issue is documented above for follow-up.
Activity
claude commentedon Oct 23, 2026
Claude finished @phernandez's task in 20s —— View job
Triage
Type: Enhancement (labeled
enhancement)Component: Testing and benchmarks (
benchmarks/src/basic_memory_benchmarks/agent_tasks/), covering the MCP tool surface. No Cloud label applies.Priority: Medium. This blocks measuring the 1.0 tool changes in 1.0 MCP tool surface: one tool per job, bm_ names #1827. The baseline has to be captured on v0.24.1 before any 1.0 code lands, so the ordering matters.
Complexity: Medium to complex. The work is:
v1ToolSurface;Most of the effort is the evaluation runs rather than the code.
Duplicates: None. This is one of the sibling 1.0 tools issues (1.0 tools: shared foundations (identifier, project, since, filters, errors, aliases) #1829 through 1.0 tools: skills, plugins, prompts and docs #1834) under 1.0 MCP tool surface: one tool per job, bm_ names #1827. POSIX tool surface and memory evals (SPEC-47 A/B, BEAM, xAFS) #1398 (the earlier POSIX surface and evals work, closed) is related background.
Notes and questions
verify_surface_toolswill refuse a build without thebm_*tools. The task definitions can land first, but they can only be validated once those PRs exist.Triage only. I made no code changes.
phernandez commentedon Oct 29, 2026
Haiku rerun: explicit project scope
Latest main passed 93/93 valid goals, with zero project-scope errors across three repeats. The previous 1.0 RC had 16 scope errors on the same suite. Fresh v0.24.1 runs passed 91/93. Latest main used 49.1% fewer agent tokens and 19.1% fewer tool calls than the fresh baseline.
Agent tokens are input plus output across all attempted model turns, including recovery and budget stops. Latest main used 3,623,906 tokens versus 7,118,509 for the fresh baseline. Tokens per passed goal were 38,966.7 versus 78,225.4. The paired task-bootstrap descriptive 95% interval for token reduction is 41.0%–55.5% (10,000 resamples of task IDs retaining their three repeats, seed 42). It describes this small suite, not a population guarantee or dollar cost.
Compared with the previous 1.0 RC, latest main used 10.6% fewer tokens, 15.8% fewer calls (311 to 262), and had 74.1% fewer tool errors (27 to 7). Multiple main changes landed between candidates, so all resource savings cannot be causally attributed to the project-argument fix alone.
Scope and remaining refusals
The advertised schemas mark project as a required nonnullable string on all nine always-project tools. Every recorded call to those tools supplied project/project_id across all three latest-main runs. No required-project schema errors or path/project ambiguity refusals occurred. The full installed catalogs matched the advertised benchmark allowlists: 27 legacy tools and 12 current tools.
Latest main had seven refusal events:
Fresh v0.24.1 had ten tool-error events: three intended checksum conflicts, two timeframe rejections, two project-scope errors, two unsupported find requests, and one read-before-create NOT_FOUND. Its two failed valid goals occurred in repeat one: orphan discovery exhausted the pre-call token budget without a final answer, and task resumption omitted requested verbatim step text/tracking markers. Repeats two and three passed all 31 valid goals.
Correctness audit
All required graders passed on latest main: reads, seven edit operations, exact-path creation, move/delete, stale-write rejection, discovery, graph work, metadata queries and task workflows. Mutation checks cover expected body lines, unrelated frontmatter, counts, and byte identity of unrelated notes. No unintended note deletion or content change was detected by those checks; blank-line layout and universal data safety are not established. All 93 latest-main attempts ended with a final assistant response. Neither product had a model/API/harness error.
The known-invalid contract-read-first-lines task remains unmodified in raw artifacts: it asks for five physical lines but grades a status outside that range. Exclude all six new attempts symmetrically from both success and resource totals, as in the prior report. Each product actually ran 32 tasks three times; headline totals contain 31 valid tasks three times.
Reproducibility
7b192632e029da4042d7ef22f92f56c80c30299d(latest fetched at start, includes fix(mcp): require explicit project scope for note tools #1934).1d0e09b6f4876c3f339c30e8dbfcf66e59e2c356.0884e204d84ac9d18124ad78601a80925643f901.910ccb39dd5934b03c65aa9a552b31b1a477731e; unchanged.a9f55366d0cfd1a3ab637889ed0ccc2558a706d1e15be554a221f052b4237d98.bbfaaf0bdc7c16668c895b61ff3eec688339cf365422d72e83e476428f6aff7d; 25 notes.openai-compat:claude-haiku-5-5@https://api.anthropic.com/v1, temperature omitted, no independent judge. Model alias is service-selected; no independent backend-version guarantee.All six manifests were checked for matching harness, task/corpus fingerprints, model settings, product revisions, and complete catalogs. Product and harness worktrees remained clean after execution.
Local artifacts
Paths below are relative to
basic-memory-haiku-harness/benchmarks/:benchmarks/runs/project-scope-haiku-{legacy,bm}-{01,02,03}/: manifests, full schemas, task grades, turn records and summaries..scratch/haiku-project-scope/run.pyandrun.log: execution configuration and log..scratch/haiku-project-scope/analyze.pyandanalysis.json: reproducible offline aggregation and bootstrap..scratch/haiku-project-scope/refusals.mdandrefusals.json: event ledger, including the previous comparison.Raw artifacts have not been published. No latency/throughput, hosted routing, Postgres, other-model, or broad retrieval-quality claim is made. Within this Haiku suite, the explicit-project contract removed the observed scope failures while preserving goal success. The remaining recurring usability issue is timeframe discoverability.
Closure scope
Closing this issue with the agreed Haiku-only release evaluation. This does not claim completion of the original broader model/feature matrix: Sonnet, OpenAI, DeepSeek, decoy-tool scored runs, hosted workspace routing, the repaired first-lines task, and other uncovered original scenarios remain deferred. Deterministic task/state graders were used; no LLM judge was needed or run. The baseline measures the full installed rich + POSIX catalog together, rather than separate subset headline runs.
The path/project ambiguity follow-up is tracked in #1919 and the explicit-scope fix landed in #1934. The rerun found no recurrence across 93 valid latest-main attempts. The remaining timeframe-discoverability issue is documented above for follow-up.