docs: sync auth, CI API, tRPC routers, and dotenv Keys UI#9
Draft
cursor[bot] wants to merge 1 commit intomainfrom
Draft
docs: sync auth, CI API, tRPC routers, and dotenv Keys UI#9cursor[bot] wants to merge 1 commit intomainfrom
cursor[bot] wants to merge 1 commit intomainfrom
Conversation
- Fix auth.md: JWT sessions and user upsert; remove obsolete Prisma adapter/session tables - Extend architecture.md: Postgres metadata, CI route, updated diagram - Document objects.delete, full collections and accessTokens routers in api-trpc.md - Describe Keys view add/remove/save in storage-and-encryption.md - Add GET /api/ci/file contract to README for custom CI integrations
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.
Summary
Documentation-only update to match current behavior in
src/auth.ts,src/app/api/ci/file/route.ts, tRPC routers (collections,objects,accessTokens,secrets), and the file workspace Keys UI.Docs added/updated
docs/auth.md— JWT session strategy; user upsert in Postgres; removed incorrect Prisma adapter /Sessionmodel claims.docs/architecture.md— Postgres stores users, grants, and access tokens; CIGET /api/ci/fileflow; diagram and trust/source-of-truth sections updated.docs/api-trpc.md— Fullcollectionstable (including owner-only grant procedures);objects.delete;accessTokensprocedures and permission model; expanded error codes.docs/storage-and-encryption.md— Keys view: add/remove constraints, draft vs save, copy viasecrets.getValue.README.md— HTTP contract for/api/ci/filefor custom integrations beyond the composite action.Codepaths covered
src/auth.ts,src/server/trpc/routers/*.ts,src/app/api/ci/file/route.ts,src/app/vault/[slug]/file/file-workspace.tsx,src/lib/dotenv-parse.ts,src/server/access/*.tsGaps addressed
usersupsert.accessTokenstRPC surface.objects.deleteand mostcollectionsprocedures.