docs: rewrite the README in plain English and add a developer guide - #78
Merged
Merged
Conversation
The README now says what EdgeProc is in one sentence, shows a runnable example with real output from the PyPI package, then explains how it works, how it relates to edgeproc-core, @edgeproc/browser, edge-reco and privacy-core, and its limits. Technical material moved, not deleted: the configuration table to docs/CONFIGURATION.md; trust model, key rotation, router and budget notes to docs/ARCHITECTURE.md; the Python API example to docs/QUICKSTART.md. New docs/GETTING_STARTED.md covers a fresh clone to a green build and a first change, with every command run and timed. README contract tests pin the new section order, the Technical docs line, the Getting started links, and reject internal jargon. Release-contract tests that pinned README wording now pin the doc the content moved to. QUICKSTART's "poe gate ~20 s" claim is corrected to the measured ~3.5 min. pyproject description matches the new first line. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015oBArfm762nN1r4F4Fst5a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Rewrites the README in plain English, following the standard approved on aml-filter#151, and adds a developer guide.
Claim touched: none of the product's behavior. This is docs and doc-contract tests only; no library code changes (two docstrings updated to point at the new doc location).
First 15 lines, before
First 15 lines, after
Where the old README content went (nothing deleted)
## Try it(same commands, re-run against PyPI 0.5.0, plus the no-key refusal)docs/ARCHITECTURE.mddocs/QUICKSTART.md(linked)docs/QUICKSTART.md#use-it-from-pythondocs/ARCHITECTURE.mdEDGEPROC_ERROR_FORMATdocs/CONFIGURATION.md## When to use something else## What it does not do+ROADMAP.md## Develop+ newdocs/GETTING_STARTED.mdNew README sections:
## How it fits with the related projects(edgeproc-core underneath;@edgeproc/browserchecks the same signed format in a web page; edge-reco is a demo store using them; privacy-core shares the@edgeprocnpm scope but is unrelated and does not use EdgeProc).Tests (red first)
tests/test_readme_contract.pyrewritten: pins name, tagline == pyproject description, bold try-it line, at most 3 badges, section order, the Technical docs: line (Architecture first, Getting started present),## Developlinks Getting started,## More detaillinks every technical doc, related-projects section names edgeproc-core / @edgeproc/browser / privacy-core, retired template headings gone, and a banned-jargon check (northstar, seam, fail-closed, gate, fleet, portfolio, substrate, hype words) outside code spans. Plus a check that GETTING_STARTED has all six required sections.tests/test_release_contract_docs.py: README-pinned facts retargeted to where the content now lives (config table ->docs/CONFIGURATION.md, MemoryManager wording ->docs/ARCHITECTURE.md, Dagger-scope claim ->docs/GETTING_STARTED.md). The lock-free read-only loads check now covers OPERATIONS + ARCHITECTURE only (the README no longer discusses persistence). README still must name the 0.5.0 version, theedgeproc-core>=0.4.3floor, both refusal codes, theactivepointer file,run_loop.shinside Try it, and must not restate p50/p95.docs/QUICKSTART.mdpinned "uv run poe gate| ~20 s". That was false: from a fresh clone it took 204 s (pytest alone 110 s). The pin now reads "about 3.5 min".Evidence
pip install "edge-proc[bundles]"(0.5.0 + edgeproc-core 0.4.3) in a fresh 3.13 venv, README Try it run verbatimkey_idbash examples/run_loop.shon a fresh cloneuv run poe gateon this branchdagger call cilocally on a fresh clone of main.coverage; documented as a trap)demo_flag)git merge-treevs #77 headProposed GitHub About description
(Not applied; repo settings unchanged.)
Note on PyPI
The pyproject
descriptionchanges to match the new first line. The PyPI project page (summary and long description) only updates on the next release; 0.5.0 on PyPI keeps the old README until then.🤖 Generated with Claude Code
https://claude.ai/code/session_015oBArfm762nN1r4F4Fst5a