aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-ai.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install-ai.sh')
-rwxr-xr-xscripts/install-ai.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/install-ai.sh b/scripts/install-ai.sh
index 7007eed..0c90f64 100755
--- a/scripts/install-ai.sh
+++ b/scripts/install-ai.sh
@@ -141,6 +141,13 @@ today="$(date +%Y-%m-%d)"
sed "s|\[Project Name\]|$project_name|g; s|\[Date\]|$today|g" \
"$CANONICAL/notes.org" > "$project/.ai/notes.org"
+# Seed AGENTS.md — the runtime-neutral agent entry file (thin pointer at
+# protocols.org, rules, and /name resolution) for Codex-style harnesses.
+# Seed-only, like CLAUDE.md: project-owned after bootstrap, never overwritten.
+if [ ! -e "$project/AGENTS.md" ]; then
+ cp "$REPO/claude-templates/AGENTS.md" "$project/AGENTS.md"
+fi
+
# Tracking setup.
case "$track_mode" in
track)