diff options
Diffstat (limited to 'scripts/install-ai.sh')
| -rwxr-xr-x | scripts/install-ai.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/install-ai.sh b/scripts/install-ai.sh index 8993f0d..a5b38a8 100755 --- a/scripts/install-ai.sh +++ b/scripts/install-ai.sh @@ -119,6 +119,13 @@ mkdir -p "$project/.ai/sessions" mkdir -p "$project/.ai/references" mkdir -p "$project/.ai/retrospectives" +# Top-level inbox/ — the cross-project messaging target (inbox-send needs a +# .ai/ marker AND a top-level inbox/). Created in both track and gitignore +# modes since inbox/ is a project-root convention independent of .ai/ +# tracking. Idempotent: a pre-existing inbox/ and its contents are preserved. +mkdir -p "$project/inbox" +touch "$project/inbox/.gitkeep" + # Rsync canonical content (everything except notes.org, which gets templated). rsync -a "$CANONICAL/protocols.org" "$project/.ai/protocols.org" rsync -a "$CANONICAL/someday-maybe.org" "$project/.ai/someday-maybe.org" @@ -159,6 +166,7 @@ echo echo " project: $project" echo " tracking: ${track_mode:-not-a-git-repo}" echo " notes.org: project=$project_name, date=$today" +echo " inbox/: created (inbox-send target)" echo echo "Next steps:" echo " - Add a language bundle: make install-lang PROJECT=$project" |
