Add shared port registry workflow and improve scaffold tooling

This commit is contained in:
2026-05-19 21:22:34 -04:00
parent 107f8a2691
commit 3b668c9ced
33 changed files with 2235 additions and 2 deletions

View File

@@ -22,6 +22,31 @@ install/verify.ps1
Scheduled sync will be added on top of the same update and verify entrypoints.
## Port Registry
Session start hooks append events and also synchronize project-local port
declarations into the machine-wide registry.
Source-of-truth file:
- `~/.copilot-resources-state/project-ports-registry.json`
Project-local declaration file:
- `.local/project-ports.json`
Manual sync for the current workspace:
```bash
node ~/.copilot-resources/resources/scripts/update-port-registry.mjs
```
Conflict report:
```bash
node ~/.copilot-resources/resources/scripts/update-port-registry.mjs --report
```
## Audit
```bash