Skip to content

Rewrite README around the actual CLI workflow - #3

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

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

Conversation

@Igloczek

@Igloczek Igloczek commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Proposal

Rewrite README.md as a factual user and contributor guide for the current CLI. It explains the audience, the explicit init → prepare → search workflow, installation, credentials and network behavior, indexed sources, snapshot freshness, commands, alternatives, trade-offs, limitations, and project maturity.

Conflict resolution

Rebased the original README-only proposal onto current main and resolved the conflict caused by retrieval-v2 landing after this PR was opened. The README now describes the implemented Qwen/BM25/Luna/Voyage retrieval path and current configuration and build behavior. No product code was changed.

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, storage, permissions, and prompting.
  • 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 retrieval design and evaluation docs for provider stages and rollout status.
  • package.json, build/check/QA scripts, docs/third-party.md, and the GitHub workflow for build and verification behavior.

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; the repository evaluation is corpus-specific and records NO_ROLLOUT. No parity or superiority claim is made.
  • Provider data flow, snapshot staleness, and displayed-snippet limits are stated as operational constraints.

Checks

  • git diff --check — pass.
  • bun run lint — pass.
  • bun run format:check — pass.
  • sh scripts/check.sh — pass: 184 tests, 0 failures, strict typecheck and formatting.
  • sh scripts/build.sh — pass: Linux standalone executable built.
  • python3 scripts/qa-terminal.py — pass.
  • python3 scripts/qa-clean.py — pass with network disabled and Bun/Node/npm/Git absent in the container.
  • npx --yes bun@1.4.2 --no-env-file --no-install --config=/dev/null scripts/qa-cli.ts — pass.
  • GitHub Actions Linux checks — pass (2 jobs).

Changed files: README.md only.

@Igloczek
Igloczek force-pushed the docs/readme-rewrite branch from 44bad4e to 6e1ffd1 Compare September 7, 2026 12:05
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