M5c-2 plan: task 10, ask_memory in memoryd; task 08 keeps its own copy of the fake Honcho
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,9 @@ side. This task writes the Honcho part itself, as a new module
|
||||
then, for another agent's workspace only, `query_conclusions` with `top_k = k` for that
|
||||
agent's peer, then for the owner's peer (observer and observed the same peer, as `memoryd`
|
||||
writes conclusions). The fleet's is the one search. A source has answered only when all its
|
||||
calls have; its kept items are task 06's `items`.
|
||||
calls have; its kept items are task 06's `items`. A read agent's three calls share the
|
||||
source's one limit, so a slow rift makes the whole source unavailable, not only its last
|
||||
call.
|
||||
- **Each source has `wait`** (5 s in `memoryd`, `SOURCE_WAIT`; the tests give less), counted
|
||||
from when the Honcho part starts, not added up. A source that failed, or has not answered by
|
||||
then, is unavailable. A late thread is left to finish on its own, holding no lock; what it
|
||||
@@ -65,7 +67,8 @@ This is the complete list.
|
||||
|
||||
- Copy, from `docs/plans/M5c2/files/` (the same path under it): the new test
|
||||
`crates/memoryd/tests/honcho_search.rs`; a **new version** of
|
||||
`crates/memoryd/tests/support/honcho.rs` (it replaces the file in the tree); and the skeleton
|
||||
`crates/memoryd/tests/support/honcho.rs` (it replaces the file in the tree): yours is the given
|
||||
`honcho.rs-task08`, since the given `honcho.rs` is task 10's; and the skeleton
|
||||
`crates/memoryd/src/honcho/search.rs`.
|
||||
- Modify: `crates/memoryd/src/honcho/mod.rs`, `docs/implementer-log.md`.
|
||||
- Do not touch: any other file, and in the skeleton anything but its two `todo!()` bodies.
|
||||
@@ -134,7 +137,8 @@ pub mod search;
|
||||
|
||||
```sh
|
||||
cp docs/plans/M5c2/files/crates/memoryd/tests/honcho_search.rs crates/memoryd/tests/
|
||||
cp docs/plans/M5c2/files/crates/memoryd/tests/support/honcho.rs crates/memoryd/tests/support/
|
||||
cp docs/plans/M5c2/files/crates/memoryd/tests/support/honcho.rs-task08 \
|
||||
crates/memoryd/tests/support/honcho.rs
|
||||
```
|
||||
|
||||
Then `git status --short` lists `crates/memoryd/tests/support/honcho.rs` as modified and
|
||||
|
||||
Reference in New Issue
Block a user