docs: add 8.2 routing DSL coverage to AI guidelines template - #87
Merged
Conversation
Route middleware, middleware groups, route-level caching, SSE routes, and AI gateway routing were all missing from the Routing section, which still only documented the pre-8.x route()/resources()/group() surface. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D7vyEDCVLA9nFp6NrsajWL
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.
Description
The AI coding-agent guidelines template (
templates/ai/guidelines/core/coldbox.md) that ships withcoldbox aiscaffolding still only documented the pre-8.x routing surface (route()/resources()/group()). This adds a new Routing subsection covering the ColdBox 8.1/8.2 additions: route middleware, middleware groups, route-level caching (.withCache()), Server-Sent Events, and AI/AI Gateway routing (toAi(),toMCP(),toAiGateway()).No route-generator command exists in this repo today, so nothing was broken by 8.2 — this is purely filling a documentation gap so AI agents scaffolding ColdBox 8.2 apps have accurate routing examples to draw from.
Issues
Found during a ColdBox 8.2 release-readiness audit; no separate CLI issue was filed since this is docs-template-only.
Type of change
Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01D7vyEDCVLA9nFp6NrsajWL
Generated by Claude Code