Open
Conversation
Captures architectural principle from cowboyd: 'The server is the build. There is no separate build step, only capture of what the server already serves.' Session-ID:
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughAdds a new policy "Server-Is-The-Build": updates the policies index to include the entry and adds a new policy document describing the server-as-build principle, rules for asset generation and static builds, verification checklist, examples, and common mistakes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.policies/server-is-the-build.md:
- Around line 45-54: The TypeScript example's signature is incorrect:
blogRoutes() is declared to return Route[] but actually returns a single Route
object; either adjust the function to return an array (wrap the returned object
in [...]) or change the return type to Route; update the signature to match the
implementation (modify blogRoutes() return type or return value) and ensure the
symbol names Route and blogRoutes are consistent across the file.
cowboyd
approved these changes
Feb 20, 2026
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.
Motivation
Captures an architectural principle articulated by Charles Lowell during PR review:
This principle guides decisions about build-time vs runtime asset generation, favoring on-demand server generation with capture (staticalize) over separate build pipelines.
Approach
.policies/server-is-the-build.mdas a Recommended policy.policies/index.mdSummary by CodeRabbit