Skip to content

Start the README with a first run that needs no model - #90

Merged
drevendev merged 1 commit into
mainfrom
beautifulrepo/offline-first-run-20261023
Oct 23, 2026
Merged

drevendev merged 1 commit into
mainfrom
beautifulrepo/offline-first-run-20261023

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Reader problem

A first-time visitor met the 0.2.0 review-candidate story (README:16-53) and "an already prepared Windows checkout" (README:54) before any install step. The only clean setup (README:84-92) required Ollama and ollama pull gemma4:12b, a download of several GB. Yet loading a reviewed fact pack never runs a model, so the app is worth opening without Ollama. CONTRIBUTING and SECURITY files were also missing.

Change

  1. Try it first. The recorded demo, then a clean clone with commands for Windows and Linux/macOS that runs without Ollama. The README quotes the messages the app actually shows: "Facts loaded. Review the selected notes before generating." and, from Write the announcement while Ollama is stopped, "Ollama is not reachable at 127.0.0.1:11434. Start Ollama and try again."
  2. Generate with local Gemma follows, with the model pull and the existing settings paragraphs. The Python requirement now reads the same everywhere: 3.11+, tested with 3.12.
  3. Text moved, unchanged:
    • the Social Field Test details and the live-evidence steps go to docs/social-field-test.md, with only one relative link adjusted;
    • the prepared-workspace launcher (start_local.ps1) goes to Optional local demo tooling;
    • a short "What's new in 0.2.0" section links both review documents.
  4. CONTRIBUTING.md: setup, the MOCK-based test run, the product boundaries to discuss first, the changelog, no secrets.
  5. SECURITY.md: the private vulnerability reporting route, best-effort triage with no promised time, and a scope drawn from the README'"'"'s own guarantees (loopback only, Ollama at 127.0.0.1:11434, Git importer limits, the Sentry allowlist).

Trade-off: the 0.2.0 details are one click further away. In exchange, the first screen answers "can I try it?" for people without a GPU-sized model.

Before merging: owner actions

  • Enable private vulnerability reporting (Settings → Security). It is off today (enabled: false), and SECURITY.md points to it.
  • Optionally add 3–5 topics. Suggestions: release-notes, changelog, ollama, gemma, local-first.

Evidence

  • Before: 1424fc8fbfef82a5cd473272843e0c5cdc097b36. BeautifulRepo tools pinned at v0.2.0 (4f06f26):
    • before: audit 0 errors, 0 warnings, 1 info (contributing.missing); link checks clean (7/7);
    • on this branch: audit 0/0/0 with CONTRIBUTING detected; links and anchors 13/13, including #try-it.
  • First run without a model, observed on 2026-10-23 on Windows 11 with Python 3.13 in a fresh clone at 1424fc8, with Ollama not running: requirements.txt installed, uvicorn started, /api/health reported ollama_unavailable, a reviewed fact pack loaded, and Generate showed the quoted error with the input kept.

Not verified

  • pytest -q locally (the Playwright browser download was skipped). This PR'"'"'s CI run is the evidence, and it changes only documentation.
  • Live model quality and the X composer.
  • The commands on Linux or macOS.

Part of the BeautifulRepo case study drevendev/BeautifulRepo#81, using the procedure in case-studies/README.md.

🤖 Generated with Claude Code

A newcomer met the 0.2.0 review-candidate story and an "already prepared
Windows checkout" before any install step, and the only clean setup required
Ollama and a several-GB model. Loading a reviewed fact pack never runs a model,
so the README now starts with the recorded demo and a clean clone that runs
without Ollama, quoting the messages the app actually shows, including the
error Generate gives while Ollama is stopped. Model setup follows.

The Social Field Test details and live-evidence steps move unchanged to
docs/social-field-test.md, and the prepared-workspace launcher moves to the demo
tooling section. CONTRIBUTING.md and SECURITY.md are added; SECURITY.md relies
on private vulnerability reporting, which must be enabled before merge.

Prepared as BeautifulRepo case study drevendev/BeautifulRepo#81.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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