ENG-9646: Reflex Init --agents#6620
Conversation
Greptile SummaryThis PR introduces
Confidence Score: 5/5Safe to merge after the open review threads (exception scope and branch URL) are addressed; the new code path degrades gracefully on failure and does not touch core init logic. The feature is well-encapsulated, opt-out is supported via --no-agents, and a network failure is non-blocking. The one new finding (substring check for the CLAUDE.md bridge) is a low-probability edge case with no data-loss risk. The two previously flagged issues remain open but are tracked in earlier threads. reflex/utils/frontend_skeleton.py for the @AGENTS.md bridge-detection heuristic; packages/reflex-base/src/reflex_base/constants/config.py for the feature-branch URL in CANONICAL_URL. Important Files Changed
Reviews (8): Last reviewed commit: "Fix broken docs link and outdated AGENTS..." | Re-trigger Greptile |
Merging this PR will not alter performance
Comparing Footnotes
|
- Prepend managed section when markers are missing; repair unpaired or out-of-order markers instead of dropping user content. - Create a one-line @AGENTS.md CLAUDE.md bridge when CLAUDE.md is absent. - Manage AGENTS.md as usual when CLAUDE.md imports it or is the same file (symlink); otherwise write the managed section into CLAUDE.md directly, and into AGENTS.md too when it already exists. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
_plan_agents_md decides (file, action) pairs; _apply_agents_md_action performs a single action; initialize_agents_md just fetches and applies. No behavior change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@greptile |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The MCP overview page lives at /docs/ai/integrations/mcp-overview/, not /docs/ai-builder/... (failed the sitemap link check). Also update the agents_md doc to describe the new prepend behavior for markerless files and the CLAUDE.md bridge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
All Submissions:
Type of change
Please delete options that are not relevant.
New Feature Submission:
After these steps, you're ready to open a pull request.