Skip to content

docs: route readers to the CSP mechanism and the api README (P-routing) - #364

Merged
arzafran merged 1 commit into
mainfrom
docs/csp-routing
Aug 4, 2026
Merged

arzafran merged 1 commit into
mainfrom
docs/csp-routing

Conversation

@arzafran

@arzafran arzafran commented Aug 4, 2026

Copy link
Copy Markdown
Member

A fork owner asking how to change the CSP could not route there; README gains Security and API Routes doc-table rows, AGENTS.md's proxy note names cspSources/PROJECT_CSP_EXTRA_SOURCES, app/README links the orphaned api README.

Process-audit docs finding. Test plan: oxfmt clean on touched files, link targets verified, full check green on the branch set.

Copilot AI review requested due to automatic review settings August 4, 2026 20:58
@vercel

vercel Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
satus Ready Ready Preview Aug 4, 2026 8:58pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves repo documentation discoverability by routing fork owners to the correct CSP/security documentation and making the API routes documentation easier to find from the app docs.

Changes:

  • Adds SECURITY.md and app/api/README.md entries to the top-level Documentation table in README.md.
  • Adds an explicit link from app/README.md to the API routes reference.
  • Updates AGENTS.md to point readers to the CSP composition mechanism and SECURITY.md.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Expands the documentation index to include Security and API Routes docs.
app/README.md Links readers directly to the API routes documentation.
AGENTS.md Clarifies where CSP/security header composition is defined and documented.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/README.md
deliberate decision to ship it to `/studio` too. App-flavored concerns
(providers, metadata, analytics) belong in `app/(site)/layout.tsx`.

See [app/api/README.md](api/README.md) for the API surface (endpoints, webhook setup).
@arzafran
arzafran merged commit 40371d1 into main Aug 4, 2026
13 checks passed
@arzafran
arzafran deleted the docs/csp-routing branch August 26, 2026 17:08

This branch was successfully deployed

1 active deployment
Preview — 2118de78 Deployed Aug 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants