mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #640] [MERGED] docs: codify generated entry refactor guidance #736
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#736
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/640
Author: @southpolesteve
Created: 3/22/2026
Status: ✅ Merged
Merged: 3/22/2026
Merged by: @southpolesteve
Base:
main← Head:codex/agents-generated-entry-guidance📝 Commits (1)
fd576d0docs: codify generated entry refactor guidance📊 Changes
1 file changed (+47 additions, -0 deletions)
View changed files
📝
AGENTS.md(+47 -0)📄 Description
Summary
Add repo guidance for the refactor pattern we've been using to make generated entry code more maintainable:
vpfor local check/test/build loopspackages/vinext/src/entries/*as thin codegen gluepackages/vinext/src/server/*/bigbonkreview loop for high-risk refactorsWhy
We've been steadily extracting App Router runtime logic out of large generated template strings. This codifies the broad strokes of that pattern in
AGENTS.mdso future agents keep moving in the same direction instead of reintroducing large inline runtime subsystems.Testing
vp check AGENTS.md🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.