docs(llms.txt): add GET /api/v1/stacks/:slug + canonical browser auth surface#14
Merged
Merged
Conversation
… surface
Closes BIZ-FINDING-5/6 content-sync follow-up.
- Add GET /api/v1/stacks/{slug} — inspection endpoint already live in
openapi.go L2268 but missing from agent-facing llms.txt.
- Add the canonical browser auth surface (/auth/email/{start,callback},
/auth/github*, /auth/me, /auth/logout) as a single grouped bullet so
agents reading llms.txt don't try to POST a non-existent /auth/login
or /auth/refresh. Explicit note: no /auth/refresh equivalent today.
- Enrich POST /stacks/new response shape (was just 'requires JWT').
Source of truth: api/internal/router/router.go + CLAUDE.md 'Live API
surface' block (also updated this sprint).
Follow-up (outside this PR): instanode-web/public/llms.txt is a stale
copy of this file. Operator must manually re-sync per CLAUDE.md
'Operator follow-ups' note — content repo has no auto-deploy.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Sync agent-facing llms.txt with two surfaces that exist in api/internal/router/router.go but were missing here:
{ok, slug, stack_url, services: [...]}+ anonymous-tier behaviour).Source of truth
api/internal/router/router.go(canonical route list)api/internal/handlers/auth_logout.go:18-25(no /auth/refresh, explicit scope-out)Follow-up (NOT in this PR)
instanode-web/public/llms.txtis a stale copy of this file. Per CLAUDE.md 'Operator follow-ups' note (content repo has no auto-deploy), operator must manually re-sync after this merges. I have not opened the instanode-web companion PR — the operator should either:cpthe file across in instanode-web and open that follow-up PR; orCloses
🤖 Generated with Claude Code