Repository navigation
Rewrite README for end users; move internals to docs and CONTRIBUTING - #9
Conversation
The README now covers what the tool is, install, a three-command quick start with real output, agent usage, a short how-it-works, privacy, configuration, a troubleshooting table for every error code, migration and prior art. Technical detail moves to docs/how-it-works.md (command contract, sources, prepare/search/status/gc behavior, locking, credential storage, provider data, cron) and CONTRIBUTING.md (build, tokenizer cache, source launcher, QA). docs/decisions.md: replace the stale v1 ranking paragraph with the v2 pipeline (BM25 + vector + typed expansion, RRF k=60 with x2 original weight, Voyage rerank, 0.435546875 cutoff) and mark the v1 chunking details as superseded by markdown-lossless-v2. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…very - Quick start: run init yourself in a terminal (no TTY gives API_KEY_MISSING), add a paste-able auth.md note, then prepare and search. Example output is re-captured from that exact note and marked as shortened. - Install: the installer prints the PATH line when ~/.local/bin is missing; the OpenRouter key needs credit because every model is billed per use. - CREDENTIALS_INVALID: --reset-credentials validates the existing folder and file first, so unsafe permissions need chmod (or removing the file). Same note in docs/how-it-works.md. - EXPANSION_FAILED/RERANK_FAILED mention key and credit; CREDENTIALS_SAVE_FAILED points at ~/.config/iglo.memory. - Index commit guidance (~16 KiB per passage vector with the default model). - Privacy: generated rephrasings are embedded too. - decisions.md: results at or above the reranker cutoff. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep the first screen to what, why, install and quick start with no internals: drop model names and response metadata from the example (still real output, shortened), and point to docs for field details, which model receives what, and the configuration file. Make "Is it a good fit?" brief, plain-language the troubleshooting rows for the rephrasing and ordering requests, and say the installer needs curl. Add a CREDENTIALS_INVALID fix to the migration section: reset credentials (it never reads the old file) or chmod the old folder. Move the 16 KiB per-vector note to docs/how-it-works.md and rewrap long lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rebased onto the release work (#6). The README install section now matches install.sh: next step after install, --version output, IGLO_MEMORY_DOWNLOAD_URL, curl-only downloads and attestation verification. CONTRIBUTING uses the pinned node-api-headers default, describes both workflows, qa-install.sh and the cached build inputs. The retrieval decision separates the evaluation's missing clean-machine check from the CI qa-clean runs, and the held-out report points to that decision. Co-Authored-By: Claude Opus 5.5 <[email protected]>
92b24a9 to
e3c25d0
Compare
|
Council verdict: APPROVE (unanimous, round 3, head |
Summary
The README now targets a developer who has never heard of the tool and wants memory search in their agent's repo within five minutes. It covers what the tool is and why you would use it, then install, then a 3-command quick start (
init→prepare→search) with real output. That output was captured from a throwaway demo repo using the builtdist/iglo.memory: one prepare and one search. The example is shortened with…: the response metadata (responseVersion,scoreKind,retrievalRevision,preparedAt),passageIdandsnippetSpanare elided and the second result is collapsed. The pitch and quick start use a calm, confident voice and name no internals (no ranking methods, model names, snapshots or locks); those live indocs/how-it-works.md.After that the README has these sections:
AGENTS.mdsnippetsrc/errors.tsiglo.memAll technical content moved to the new
docs/how-it-works.mdandCONTRIBUTING.md. Nothing was dropped.Accuracy fixes along the way
docs/how-it-works.md#what-providers-receive. In detail, thatsearchsends the question to the embedding model and to the expansion model (openai/gpt-5.6-luna). The generated rephrasings are embedded too. The question plus up to 40 complete candidate passages, with project, path and headings, go tovoyageai/rerank-2.5. The old README said "search embeds only the query" (roadmap U2).qwen/qwen3-embedding-8bin the example config. It wasopenai/text-embedding-3-small.markdown-lossless-v2), not 5,000 code points.retrieval.model: not advertised in the README.docs/how-it-works.mdsays to leave it unset and points to roadmap U12.docs/decisions.md:retrieval-v2-design.md.markdown-blocks-v1chunking details are marked as superseded.Where each old README section went
docs/how-it-works.md#command-contractdocs/how-it-works.md#credentialsCREDENTIALS_INVALIDfix for an unsafe legacy file); fallback rules + manualinstall -d/mv/chmodcommands indocs/how-it-works.md#moving-a-key-saved-by-iglomemdocs/how-it-works.md→ Sources, Prepare, Search, Status and gc, Freshness/worktrees/lockingdocs/how-it-works.md#configurationdocs/how-it-works.md→ Prepare (retries), Search (deadline), What providers receive, Keeping the index freshCONTRIBUTING.md(set up/check, build, pinned build inputs, CI and releases, running from source, QA) anddocs/releasing.md;docs/verification.mdnow links thereRebased on #6
Rebased onto
mainafter #6 (release workflow,install.sh,--version) merged. Reconciliation:install.sh:~/.local/bin/iglo.memory, the printed PATH line andiglo.memory initnext step,--version→{"version":"0.1.0"}, four platforms (glibc, AVX2 on x64),IGLO_MEMORY_VERSION/IGLO_MEMORY_INSTALL_DIR/IGLO_MEMORY_DOWNLOAD_URL, curl only (no wget),iglo.memory-<os>-<arch>.tar.gz+SHA256SUMS, and optionalgh attestation verifyviadocs/releasing.md#verifying-a-release. "More" links releasing through Contributing.node-api-headersdev dependency (scripts/native.sh;NODE_INCLUDE_DIRoverrides). New "Pinned build inputs" (tokenizer + notice inputs in.cache/, hash-checked) and "CI and releases" (Linux check workflow, four-platform release workflow, link todocs/releasing.md,scripts/qa-install.sh).docs/decisions.md: main's platform, notices and "Ship retrieval v2 as the 0.x default…" sections kept. That decision now says the evaluation skipped its clean-machine check, while CI runsscripts/qa-clean.pyper Linux platform. The ranking-paragraph rewrite stays.docs/evaluation/retrieval-v2-heldout.md: "no default rollout follows from this report" now points to that decision.docs/verification.md: main's Linux/macOS wording, prerequisites link toCONTRIBUTING.md#build.docs/third-party.mdis main's.Supersedes #3 and #4
Supersedes #3 and #4. From them this PR keeps:
Left out as stale:
iglo.memnaming throughout;openai/text-embedding-3-smallmodel (in Rewrite README around the actual CLI workflow #3/Rewrite README around current retrieval behavior #4's credential text);~/.config/iglo.memas the save location;Checks
npx --yes [email protected] install --frozen-lockfile: OKbun run format:check: all files formattedsh scripts/check.sh: lint, format, typecheck and 190 tests pass (headers fromnode-api-headers)docs/how-it-works.md,docs/decisions.md,docs/verification.mdand every other tracked Markdown file resolve (scripted check).git grep -nP 'iglo\.mem(?!ory)': beyond origin/main's hits, new ones only in the how-it-works migration subsection (README hits are the migration section).🤖 Generated with Claude Code