Skip to content

Bind Action evaluation to the workflow PR head SHA - #59

Merged
daichunghy merged 4 commits into
mainfrom
codex/tested-sha-interop
Sep 6, 2026
Merged

daichunghy merged 4 commits into
mainfrom
codex/tested-sha-interop

Conversation

@daichunghy

@daichunghy daichunghy commented Aug 27, 2026 •

Copy link
Copy Markdown
Owner

What\n\nBind the Action snapshot and Check Run delivery to the exact pull_request.head.sha, with full testedSha visibility and a fail-closed live-target mismatch.\n\n## How I checked\n\n

patchgate@0.1.0-dev verify
npm run lint && npm run typecheck && npm run check:fixture-budgets && npm run check:workflow-pins && npm run check:workflow-events && npm run check:doc-links && npm run check:consumer-docs && npm run check:community-schedule && npm run check:application-dossier && npm run check:agent-contract && npm run audit && npm test && npm run test:security && npm run test:github && npm run build && npm run bundle:action && npm run test:consumer-fixture && npm run check:release-candidate && npm run test:cli && npm run verify:dist

patchgate@0.1.0-dev lint
node scripts/lint.mjs

lint ok: 38 TypeScript source files

patchgate@0.1.0-dev typecheck
tsc -p tsconfig.json --noEmit

patchgate@0.1.0-dev check:fixture-budgets
node scripts/check-fixture-budgets.mjs

fixture budget checks passed: 10 API fixtures

patchgate@0.1.0-dev check:workflow-pins
node scripts/check-workflow-pins.mjs

workflow pin checks passed: 5 workflow files

patchgate@0.1.0-dev check:workflow-events
node scripts/check-workflow-events.mjs

workflow event and shadow-permission checks passed: required CI/CodeQL cover merge_group checks_requested and the Action can verify workflow provenance

patchgate@0.1.0-dev check:doc-links
node scripts/check-doc-links.mjs

documentation link checks passed: 79 Markdown files scanned

patchgate@0.1.0-dev check:consumer-docs
node scripts/check-consumer-docs.mjs

consumer documentation check passed: 4 public surfaces reference v0.1.0-beta.5

patchgate@0.1.0-dev check:community-schedule
node scripts/check-community-schedule.mjs

community schedule checks passed: 7 unique substantive posts, two-day cadence, built-in token and duplicate guard

patchgate@0.1.0-dev check:application-dossier
node scripts/check-application-dossier.mjs

application dossier checks passed: qualification=345, credits=440, context=344 characters

patchgate@0.1.0-dev check:agent-contract
node scripts/check-agent-contract.mjs

agent contract ok: verification map and evaluation protocol are present

patchgate@0.1.0-dev audit
npm audit --audit-level=high

found 0 vulnerabilities

patchgate@0.1.0-dev test
vitest run --exclude test/cli-smoke.test.ts

RUN v4.1.11 /Users/macos/Desktop/Github

Test Files 11 passed (11)
Tests 112 passed (112)
Start at 08:55:22
Duration 808ms (transform 969ms, setup 0ms, import 2.58s, tests 1.42s, environment 1ms)

patchgate@0.1.0-dev test:security
vitest run test/security.test.ts

RUN v4.1.11 /Users/macos/Desktop/Github

Test Files 1 passed (1)
Tests 14 passed (14)
Start at 08:55:23
Duration 220ms (transform 56ms, setup 0ms, import 127ms, tests 22ms, environment 0ms)

patchgate@0.1.0-dev test:github
vitest run test/integration

RUN v4.1.11 /Users/macos/Desktop/Github

Test Files 2 passed (2)
Tests 33 passed (33)
Start at 08:55:24
Duration 368ms (transform 185ms, setup 0ms, import 361ms, tests 167ms, environment 0ms)

patchgate@0.1.0-dev build
tsc -p tsconfig.json

patchgate@0.1.0-dev bundle:action
ncc build src/action/index.ts -o dist/action --minify --transpile-only

ncc: Version 0.45.0
ncc: Compiling file index.js into ESM
ncc: Using typescript@5.9.3 (local user-provided)
0kB dist/action/package.json
22kB dist/action/113.index.js
285kB dist/action/815.index.js
320kB dist/action/index.js
627kB [1173ms] - ncc 0.45.0

patchgate@0.1.0-dev test:consumer-fixture
node scripts/test-consumer-fixture.mjs

consumer fixture passed: full-SHA reference, clean-room bundle and non-blocking merge-group boundary verified

patchgate@0.1.0-dev check:release-candidate
node scripts/check-release-candidate.mjs

release candidate checks passed: patchgate@0.1.0-dev remains an unpublished development package with a complete CLI/Action pack surface

patchgate@0.1.0-dev test:cli
npm run build && vitest run test/cli-smoke.test.ts

patchgate@0.1.0-dev build
tsc -p tsconfig.json

RUN v4.1.11 /Users/macos/Desktop/Github

Test Files 1 passed (1)
Tests 6 passed (6)
Start at 08:55:30
Duration 12.36s (transform 92ms, setup 0ms, import 184ms, tests 12.09s, environment 0ms)

patchgate@0.1.0-dev verify:dist
node scripts/verify-dist.mjs

Verifying dist/ directory...

✅ SUCCESS: dist/ directory exists.
✅ SUCCESS: Found: /Users/macos/Desktop/Github/dist/src/cli.js
✅ SUCCESS: Found: /Users/macos/Desktop/Github/dist/action/index.js
✅ SUCCESS: Action bundle has no external ajv/yaml runtime import.
✅ SUCCESS: Action bundle starts in a clean room without source schemas or node_modules.
✅ SUCCESS: dist/ mtime is newer or equal to tsconfig.json.
✅ SUCCESS: No raw .ts files leaked into dist/.

Verification complete. passes: lint, 112 main tests, 14 security tests, 33 GitHub integration tests, 6 CLI smoke tests, consumer fixture, release-candidate and dist verification.\n\n## Boundary\n\nThis remains a shadow-only pre-release change. It does not claim external pilots, production use, merge blocking, or adoption.

daichunghy added a commit that referenced this pull request Aug 28, 2026
)

Record the 2026-08-25 maintainer merge batch across all repositories, the
open feature pull requests (#59, #33, #30, #17, #14, #19, #16), the current
main-branch CI runs on c9d11cb, and add agentsmd as the fifth registered
repository with its outside fork recorded as a lead, not usage. Supersedes
the 2026-08-24 register.
@daichunghy
daichunghy merged commit e598fb2 into main Sep 6, 2026
10 checks passed
@daichunghy
daichunghy deleted the codex/tested-sha-interop branch September 6, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant