Skip to content

Commit d1da6b6

Browse files
committed
build: preflight governed-surface gates in gated-push
A governed-surface edit stales the byte-pinned v0.49 manifests, and the unit suite fails at merge on exactly that; running the audit and release gate before pushing turns the CI round-trip into a local refusal.
1 parent d89cf8c commit d1da6b6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

scripts/gated-push.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,14 @@ if [[ $rc -ne 0 ]]; then
3030
exit "$rc"
3131
fi
3232

33-
echo "gated-push: gate green — pushing to $remote $branch"
33+
echo "gated-push: gate green — running governed-surface preflight"
34+
# The v0.49 governed manifests byte-pin surface files (path-aliases.ts, the
35+
# .md inventories, tool schemas). Any edit to one of them silently stales the
36+
# manifests, and the unit suite fails at merge time on exactly that. Running
37+
# the audit and release gate here turns that from a CI round-trip into a
38+
# local refusal. See docs/v0.49-agent-surface-manifest.json for the pinned set.
39+
bun scripts/audit-v049-agent-surface.ts
40+
node scripts/release-gate-v049.mjs
41+
42+
echo "gated-push: preflight green — pushing to $remote $branch"
3443
git push "$remote" "$branch"

0 commit comments

Comments
 (0)