lore-forge/crates/forge-lore/proto
Peterino ab8555c65f Build phase 1 and the read-only repository browser
lore-forge now runs beside an unmodified loreserver as its token
issuer, user directory and repository registry, with a server-rendered
UI in the desktop client's pixel style.

Accounts and sign-in: first-run setup, password sign-in with rate
limiting, signup modes and invite links, GitHub, Discord and Google
sign-in by explicit linking (tested against a fake provider), sessions
and CLI logins with revocation, API tokens, and service accounts.

Issuer: device code, refresh with rotation and reuse detection, token
exchange to repository-scoped tokens, API-token login, the client
credentials grant for service accounts, revocation, and signing key
rotation from the admin page or the rotate-signing-key command.

Access: user and organisation namespaces, members, teams, role
presets with extra actions, per-repository grants, and the admin pages.

Repository browser: FILES, GRAPH and TREE tabs and a revision page
with diffs, read from loreserver as the viewer with a one-minute
read-only token per page view. File diffs are computed here because
Lore's ContentDiff is unimplemented.

scripts/e2e-lore.sh checks all of this against the pinned Lore
v0.14.0 release, including a branch and a merge. The design documents
record what was verified in Lore's source and what is still assumed.
2026-11-25 19:09:42 -07:00
..
lore Build phase 1 and the read-only repository browser 2026-11-25 19:09:42 -07:00
README.md Build phase 1 and the read-only repository browser 2026-11-25 19:09:42 -07:00

README.md

Vendored Lore protocol definitions

Copied unchanged from Lore (MIT licence), lore-proto/proto/, at commit 6b12f00 (2026-11-25, workspace version 0.14.1-nightly).

File Used for
lore/user/v1/user.proto UserService and RepositoryRegistryService, which lore-forge serves at user_url
lore/model/v1/model.proto Shared messages
lore/revision/v1/revision.proto RevisionService: branches and revision lists, for the browser
lore/repository/v1/repository.proto RepositoryService: the default branch, for the browser
lore/thin_client/v1/thin_client.proto, model.proto ThinClientService: revisions, trees, diffs, for the browser

Lore is pre-1.0. When upgrading the Lore version lore-forge targets, re-copy these files from the matching Lore commit, update the commit above, and re-run the end-to-end test.