Commit 6b23dff
authored
chore(copilot): drop repo-specific details from canonical instructions (#116)
## Why
Copilot review on
[mojwang/ihw#33](mojwang/ihw#33) correctly
flagged two bullets in the canonical that leaked mojwang.tech-specific
details into the shared file:
1. **Secrets bullet**: prescribed `.env.sync-vault.local` as the
required destination for admin DB creds — a mojwang.tech-only
convention.
2. **Skip bullet**: hardcoded `src/db/queries/related.ts` and
`scripts/sync-vault.ts` (files that only exist in mojwang.tech) as the
"AI Gateway migration, Tier 2.1" known-deferral.
Both are repo-specific and belong in each repo's own CLAUDE.md or TODO —
not in the shared canonical that gets synced fleet-wide.
## What changes
```diff
### Security + safety
- ...payment-safety hook...
-- Admin DB creds (DATABASE_URL_ADMIN) in .env.local — they belong in .env.sync-vault.local.
+- Secrets (API keys, DB admin creds) in committed .env.local or any checked-in env file. Repo-specific env-file conventions live in that repo's CLAUDE.md.
## Skip (don't suggest these)
-- AI Gateway migration (Tier 2.1). Direct openai imports in src/db/queries/related.ts, scripts/sync-vault.ts are known and deferred...
+- Known, repo-specific deferrals (e.g., "migrate to X", "adopt Y provider"). If a repo has an active deferral, it lives in that repo's CLAUDE.md or a TODO file — do not re-flag it here from a general stance.
```
## Already synced downstream
Re-ran `scripts/sync-copilot-instructions.sh` before this PR. Synced
copies have already landed via:
- [mojwang/ihw#33](mojwang/ihw#33) — merged
- mojwang/mojwang.tech — needs a small sync PR separately
This PR brings the canonical into alignment with what's already in the
sibling repos.
## Test plan
- [x] Copilot's two flagged threads on ihw#33 resolved after sync landed
- [x] ihw#33 merged with all seven required status checks green
- [ ] mojwang.tech re-sync PR opened as a follow-up1 parent fe783b7 commit 6b23dff
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments