Repository navigation
Document provenance and QMD prior art - #7
Conversation
Record what the history shows about where the design came from: the PRD is the first commit, and QMD is the evaluated comparator whose typed query expansion retrieval v2 follows. List the deliberate differences and leave an open question about the original PRD's inspiration. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Cite the retrieval-v2 brief (d965d18) for QMD's comparator role and the rejection of QMD as the product runtime, note that expansion and reranking arrived with v2 and superseded the PRD, and describe RRF constant 60 as the standard value rather than QMD's. Rephrase the README section for end users. Co-Authored-By: Claude Opus 5.5 <[email protected]>
28726dd to
fdf5b57
Compare
Cite d965d18 (docs/specs/retrieval-v2.md) as where the RRF constant 60 and the x2 original-query weight were first specified, note the missing top-rank bonus as a difference from QMD, and mirror the precise typed-expansion wording in the README. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The owner confirmed on 2026-11-30 that iglo.memory is modeled on QMD. Replace the no-single-upstream framing and open question with that decision, keep the commit evidence as supporting history, and list the deliberate differences: per-worktree snapshot, explicit prepare, OpenRouter inference, no daemon or MCP server, single executable. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Council verdict: APPROVE (unanimous, round 4, head |
Update #7 status after merge and cite its README and decisions text in U2 and U4, fix the retrieval-contracts line span, describe the lexical record() helper as a wrapper, soften the U12 error claim and cite validText, and describe QMD 92ac75a accurately. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Add researched roadmap candidates Collect upstream QMD changes since the pinned comparator, features of comparable agent-memory search tools, and an audit of this repository into a prioritized, sourced list of candidates. Nothing in it is committed work. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Apply review findings to the roadmap candidates - State that iglo.memory is modeled on QMD, the primary upstream reviewed. - Correct upstream citations: 21a0b28 merged via #1021; the missing-root fix 20fa36e (issue #989) reached main via #1024, #990 closed unmerged; replace the unrelated fda5e5f and #1021 citations in the rejected table; retitle the cache row to match QMD's llm_cache and 2cfaa6a's rerank score cache. - A1: describe QMD's behaviour and recommend failing prepare on a missing source root, without an override flag. - Promote U4 to P1 above M1 and note the overlap with the README rewrite. - U2: list the PRD and README statements that understate what search sends. - Add U12 (half-implemented retrieval.model) and U13 (dynamic import in scripts/benchmark-cli.ts). - Fix U7's benchmark description, U9's dead constant, U5's redaction decision, A2's latency ratios and U4's line references and error codes. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Apply round-2 review nits to the roadmap candidates Update #7 status after merge and cite its README and decisions text in U2 and U4, fix the retrieval-contracts line span, describe the lexical record() helper as a wrapper, soften the U12 error claim and cite validText, and describe QMD 92ac75a accurately. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Adds a short Prior art section at the end of
README.mdand a Provenance and prior art section todocs/decisions.md. The change is docs-only. It is rebased ontomainafter the rename in #5 merged, and it adds noiglo.memstrings.Decision
iglo.memory is modeled on QMD, confirmed by the owner on 2026-11-30. Both sections now say so directly, replacing the earlier "no single upstream" framing and the open question. iglo.memory is a separate implementation, not a fork. The repository history below supports the decision, and the docs list the places where iglo.memory deliberately differs from QMD.
Supporting evidence from the history
PRD.md:63(first commit57105f9): must not "require QMD, Obsidian, SQLite, a vector database, or a daemon"docs/retrieval-v2-brief.md:18in commitd965d18(removed in2c45625): "Use QMD's full retrieval mode as a measured comparator, not an architectural definition of success". Stock QMD pinned atdbfd0b4736aeaf761d1a16ca8e424f071df8feb9(scripts/retrieval-eval/cli.ts:80). Commit7c9209f: "The user's clarified outcome is retrieval quality at least as good as stock full QMD". QMD-relative gates are indocs/evaluation/retrieval-v2-release-gates.md:31. Results are indocs/evaluation/retrieval-v2-heldout.md:9-13(17/39 for QMD vs 38/39 for the v2 diagnostic). PR #2 body.d965d18,docs/retrieval-v2-brief.md:126: "Adopt QMD as the product runtime: rejected because its local-model runtime conflicts with the executable constraint." Brief.ai/briefs/retrieval-v2.md:91in commite1c8538: "Reuse QMD as the product: rejects standalone/no-local-model constraints. Use stock QMD only as an isolated evaluator dependency."d965d18,docs/retrieval-v2-brief.md:24: "The new request supersedes the PRD's exclusion of expansion/reranking" (PRD.md:360: "No reranking LLM is used"); lines 154-155 list QMD's "typed expansion, file candidate selection and localrankAllreranker" as differences from the proposal. Typed expansion was adopted in commit8d52b0b(.ai/research/retrieval-v2-expansion-restored.md: "QMD routes typed lex variants to BM25 and vec/hyde variants to vector retrieval", citing SYNTAX.md). RRF constant 60 and ×2 weight for the original query were first specified ind965d18:docs/specs/retrieval-v2.md:208-210, the same commit whosedocs/specs/retrieval-v2-foundation.md:96links QMD's pinned hybrid search implementation, including fusion (src/store.ts#L5438); QMD's README documents the same values. Unlike QMD, the spec andsrc/search.ts:92add no top-rank bonus.Deliberate differences from QMD (verified against code/docs and QMD's README)
.agent/memory-index/per worktree (src/store.ts:42), which can be committed and searched as-is; no SQLite or vector database~/.cache/qmd/by default; optional project-local.qmd/indexpreparescans and embeds;searchnever updates or repairsqmd updateandqmd embedcommandsdocs/retrieval-v2-design.md:3-5,src/embedding.ts:4)docs/retrieval-v2-design.md:57-61)docs/retrieval-v2-design.md:85-86)--daemonsearch/vsearch/query, collections, contextsValidation
bun run format:checkpasses, andgit grep -nP 'iglo\.mem(?!ory)'matchesmainexactly.🤖 Generated with Claude Code