-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.worktreeinclude
More file actions
21 lines (21 loc) · 1.26 KB
/
Copy path.worktreeinclude
File metadata and controls
21 lines (21 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Gitignored files copied into a fresh worktree from the primary checkout.
#
# Consumed two ways, for parity:
# - `npm run worktree:init` (manual `git worktree add` path) — see scripts/worktree-init.sh
# - the dotagents WorktreeCreate hook (EnterWorktree / --worktree / subagent isolation)
#
# This is an ALLOWLIST, not a blanket copy: node_modules is intentionally absent
# (worktree:init runs `npm ci` for a real install — never a symlink). The scheduler CLI
# reads TODOIST_API_KEY from .env.local. Paths are globbed against the primary checkout;
# zero matches are tolerated. Copied, never symlinked (a symlinked .env.local resolves
# outside the worktree root).
.env.local
.env.*.local
# SAM deploy config (gitignored, copied from samconfig.toml.example at repo root,
# then filled in with the prod profile + TodoistApiKey override). Without it,
# `npm run deploy:code` / the bare `sam build` in aws/deploy-code.sh fails from a
# fresh worktree with "Template file not found" because samconfig.toml is what
# carries template_file = "aws/template.yaml" and base_dir = ".". Holds a deploy
# secret in parameter_overrides, so it's carried like .env.local — never committed.
# (The pre-push GATE's sam build is unaffected: it passes -t/--base-dir explicitly.)
samconfig.toml