Skip to content

Commit 50e8318

Browse files
committed
feat: ship AGENTS.md in framework and appstarter distributions
Add admin/framework/AGENTS.md so the framework distribution includes managed agent instructions pointing at system/Docs, and copy the same file into the appstarter root during deploy so both install channels (zip and Composer) get it.
1 parent a3f2d71 commit 50e8318

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/scripts/deploy-appstarter‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ done
2929
# Copy repo-specific files
3030
cp -Rf ${SOURCE}/admin/starter/. ./
3131

32+
# Reuse the framework AGENTS.md at the project root
33+
cp -Rf ${SOURCE}/admin/framework/AGENTS.md ./AGENTS.md
34+
3235
# Commit the changes
3336
git add .
3437
git commit -m "Release ${RELEASE}"

‎admin/framework/AGENTS.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- BEGIN:codeigniter-agent-rules -->
2+
3+
## This is NOT the CodeIgniter you know
4+
5+
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `system/Docs/` (framework distribution) or `vendor/codeigniter4/framework/system/Docs/` (app starter installed via Composer) before writing any code. Heed deprecation notices.
6+
7+
<!-- END:codeigniter-agent-rules -->

0 commit comments

Comments
 (0)