chore(delivery): align BT6 build and release gates (#160)

Make the contributor, CI, package, and tagged-release contracts agree with the shared BT6 baseline while preserving T3MP3ST's project-specific integrity checks. Exclude workspace-only material from published packages and keep local-agent detection tests host-independent.\n\nCloses #159
This commit is contained in:
Joseph Magly authored and GitHub committed 2026-08-23 16:22:24 -04:00
1 parent 6d4e01756a
commit c352f34843
10 files changed
+193 -20

No files matched your search

+15
View File
@@ -19,6 +19,7 @@ npm run test:no-self-fitting
npm run test:no-phantom-tools
npm run test:gate
npm run prompt:audit
npm run pack:dry-run # inspect the allowlisted package manifest; no workspace/private files
```
## 2. Local API smoke (loopback only)
@@ -56,8 +57,22 @@ degrade gracefully — they never fail the core run.
## 6. Publish
- Confirm the release commit is already on `main`, CI is green at that exact
SHA, the version and changelog agree, and the tag is signed and points to that
commit. Never move or reuse a failed release tag; correct the release and use
a new version/tag.
- Verify `repository.url` in `package.json` points at this repo. To retarget it:
```bash
npm pkg set repository.url="git+https://github.com/<owner>/<repo>.git"
```
- Tag the release only after Sections 1–2 are green.
- Push the `v*` tag and wait for the tag workflow. It reruns
`npm run test:release`, the high-severity dependency audit, and the package
dry run against the exact tag, then retains the tested `.tgz`, its manifest,
and `SHA256SUMS` as workflow artifacts.
- Inspect `pack-result.json`: only the allowlisted runtime, scripts, tools,
documentation, examples, and package metadata may ship. Workspace notes,
tests, AIWG/provider deployment internals, secrets, and local artifacts are
release blockers.
- Publish the retained, checksum-matched package artifact. Do not rebuild a
different archive from another checkout after certification.