Add shared instruction files and copilot history maintenance scripts

- Add 12 cross-project instruction files to resources/instructions/
- Add cleanup-copilot-history.mjs/.sh: quarantine-based history cleanup with dry-run and aggressive scope
- Add restore-copilot-history.mjs/.sh: restore from quarantine by run, path, or filter
- Add purge-copilot-history-quarantine.mjs/.sh: purge old quarantine runs with keep-latest guard
- Add copilot-history-maintenance.test.mjs: 3 passing unit tests covering all three scripts
This commit is contained in:
2026-06-30 17:18:11 -04:00
parent 14b71eac0a
commit 71e89ca5c0
19 changed files with 1488 additions and 0 deletions
@@ -0,0 +1,9 @@
---
name: "Global Engineering Best Practices"
description: "Umbrella baseline for cross-project engineering guidance."
applyTo: "**"
---
- Use `engineering-core-defaults.instructions.md` for global engineering behavior.
- Use `language-and-tooling-defaults.instructions.md` for file-type and tooling baselines.
- When project-local instructions are present, treat them as the authoritative source.