Skip to content

Rewrite README around current retrieval behavior - #4

Open
Igloczek wants to merge 1 commit into
mainfrom
docs/readme-rewrite-prose
Open

Igloczek wants to merge 1 commit into
mainfrom
docs/readme-rewrite-prose

Conversation

@Igloczek

@Igloczek Igloczek commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Rewrite README.md as a factual user and contributor guide for the current CLI and retrieval-v2 implementation.

The README now covers:

  • audience, fit, trade-offs, and non-fit cases;
  • Linux source installation, CI artifacts, tokenizer assets, and build requirements;
  • the explicit init -> prepare -> search workflow and all five commands;
  • credentials, precedence, storage permissions, provider data flow, and privacy boundaries;
  • fixed indexed roots, snapshot ownership, staleness, publication, and garbage collection;
  • Qwen/BM25/Luna/Voyage retrieval stages, result fields, ordinal scores, deadlines, and input limits;
  • plain-text, offline, note/search-app, hosted-service, and QMD alternatives;
  • pre-release maturity and the explicit NO_ROLLOUT evaluation caveat;
  • repository checks and live-provider verification boundaries.

This is a documentation-only change and touches README.md only. It is a separate PR from the existing README proposal in PR #3; PR #3 is unchanged.

Evidence used

  • src/cli.ts, src/arguments.ts, and src/errors.ts for commands, JSON output, exit behavior, and failure codes.
  • src/init.ts, src/config.ts, and src/credentials.ts for setup, defaults, credential precedence, hidden input, storage, and prompting rules.
  • src/chunks.ts, src/prepare.ts, src/search.ts, src/presentation.ts, src/store.ts, src/lexical.ts, and src/token-budget.ts for source roots, chunking, snapshots, ranking, output, and limits.
  • src/embedding.ts, src/expansion.ts, and src/rerank.ts plus docs/retrieval-contracts.md and docs/retrieval-v2-design.md for provider stages and current envelopes.
  • docs/evaluation/retrieval-v2-heldout.md, docs/evaluation/retrieval-v2-release-gates.md, and docs/evaluation/README.md for the corpus-specific evidence and NO_ROLLOUT status.
  • package.json, scripts/build.sh, scripts/check.sh, scripts/run.sh, docs/third-party.md, docs/verification.md, and .github/workflows/check.yml for build, QA, and contributor instructions.

Uncertainty and omitted claims

  • No semantic-quality, latency, cost, scale, portability, roadmap, badge, or stable-release claims are made.
  • QMD is described only as an external comparator and scope alternative. The README makes no quality, latency, cost, or parity claim; the repository evaluation remains corpus-specific and NO_ROLLOUT.
  • The README explicitly says that provider requests receive question and indexed-document text, that snapshots can be stale, and that displayed snippets can omit context. These are operational constraints, not marketing claims.

Checks

  • git diff --check — pass.
  • bun run format:check — pass.
  • bun run lint — pass.
  • sh scripts/check.sh — pass: 184 tests, 0 failures, strict TypeScript check.
  • sh scripts/build.sh — pass: Linux standalone executable built.
  • npx --yes bun@1.4.2 --no-env-file --no-install --config=/dev/null scripts/qa-cli.ts — pass.
  • python3 scripts/qa-terminal.py — pass.
  • python3 scripts/qa-clean.py — pass: network-disabled Debian runtime with Bun/Node/npm/Git absent and no source addon mounted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant