Refactor README and add docs/api.md + docs/development.md#2
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor README.md and create API documentation
Refactor README and add docs/api.md + docs/development.md
Mar 12, 2026
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.
README was being used as a session journal — handoff notes, nightly status bullets, priority lists, and debug instructions all mixed with the project description. Separate developer documentation didn't exist.
Changes
README.mdStripped to essentials only: project description, the three living regions, core design principles, a four-command quick start, and a docs index table.
docs/api.md(new)Full API reference for current public interfaces:
Page,Book,Volume,Shelf,Edge,MetroidNeighborVectorStore/MetadataStore— all methods with signaturesVectorBackend+createVectorBackend— backend detection and WASM fallbackEmbeddingBackend,EmbeddingRunner,resolveEmbeddingBackend— provider resolution optionsModelProfileResolver,buildModelProfileFromSeed— model profile constructioncreateRoutingPolicy,resolveRoutingPolicyForModel— routing policy derivationdocs/development.md(new)Build/test/lint reference, runtime harness usage, benchmark commands, VS Code Electron debug configs (table), Docker lane setup, and the model-derived numeric guard with examples of what it blocks.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.