Commit Graph
41 Commits
Author SHA1 Message Date
Michael D'Angelo c40e2cba18 fix(release): bind Darwin signing to builds from protected main (#2495) 2026-11-09 11:32:47 -08:00
Michael D'Angelo 61fc3a061f fix(release): sign macOS addons for packaged review items (#2331)
* fix(release): sign macOS addons for packaged review items

* fix(release): bind signing to the verified release artifacts

* chore(ci): retry GitHub Code Quality after upload rate limit

* fix(release): sign Darwin addons through Signer Service
2026-11-09 08:37:24 -08:00
Michael D'Angelo 590e3909a0 ci(release): share npm setup and verification (#2476)
* ci(release): share npm setup and verification

Use the same local composite action after checkout in both release jobs. Keep the Node and registry settings, Socket Firewall installation and next-step PATH verification in one place. Each job retains its own checkout, credentials and publication controls. Existing tags continue to use the workflow in their release commit. No public interface migration is required.

Both release suites pass (318 tests), including 312 tests with the separate bootstrap and release-history changes applied. Five mocked setup runs checked success and failures during installation, version validation and executable selection. Compared workflow selection for npm-v0.8.2 and npm-v0.8.3 and linted both workflows. These checks did not dispatch a release or publish a package.

* ci(release): scope the workflow lint exception to the verified npm path

Moving the shared setup into a composite action brings its existing PATH write under the github-env audit. Both release jobs install the pinned npm from the firewall, verify the executable in a fixed directory under RUNNER_TEMP and recheck it on PATH in the next step. Explain that input on the installation step.

Reproduced the initial diagnostic with zizmor 1.30.1. Its repository-wide workflow check now passes, and it still reports an unchecked PATH write added to a neighboring fixture step. Both release automation and release PR suites pass (429 tests).
2026-11-09 04:07:40 -08:00
Michael D'Angelo f956b5792f refactor(release): retire first-publish npm bootstrap (#2472)
The public package has already shipped 0.1.0 and npm permanently reserves
that name and version. Remove the first-publish token step and the local
adapter that treated an E404 as an empty release history. Both workflows
stop on lookup failure. Normal publication still uses trusted publishing.
Historical GitHub release verification keeps its original recovery path.

Across 22 synthetic release-cut and publisher comparisons, only the two
initial-404 cases changed. The candidate passed 407 release, Action, and
container tests. The historical 0.1.0 npm and GitHub archives matched
byte for byte. The pinned npm signature audit and both revisions'
provenance and publication checks accepted the same archive and run.
No package user or downstream release command needs to change.
2026-11-09 04:07:11 -08:00
Michael D'Angelo 9e38dd3084 chore(ci): share the pinned Bun version (#2422)
* chore(ci): share the pinned Bun version

* test(ci): match the shared Bun setup step directly
2026-11-07 00:30:33 -08:00
khai-oaiandMichael D'Angelo 794edbe957 chore(deps): update the Bun toolchain to 1.4.4 (#2417)
* ci(deps): update Bun to 1.4.4

* test(ci): align the Bun workflow version assertion

* chore(deps): align remaining Bun toolchain pins

* fix(ci): preserve test timeouts with Bun 1.4 options

---------

Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
2026-11-06 18:38:02 -08:00
Michael D'Angelo bd59acf5cc build(sdk): ship only the embedding tokenizer and its encoding (#2333)
* ci: audit bundled MCP and triage eval dependencies

* build(sdk): ship only the embedding tokenizer and its encoding

* fix(packaging): require complete tokenizer inventories

* test(sdk): check installed tokenizer parity without build dependencies
2026-11-04 12:58:43 -08:00
Michael D'Angelo b63d38afc7 ci: audit bundled MCP and triage eval dependencies (#2328) 2026-11-04 11:08:26 -08:00
Michael D'Angelo 12cbba751a chore(release): approve npm and scanner images together (#2143) 2026-10-29 16:10:11 -07:00
Michael D'Angelo a828e0ab72 ci: share the exact npm setup for release workflows (#1998) 2026-10-26 01:15:47 +05:30
Michael D'Angeloandmldangelo-oai c44cf58a24 chore(release): update Socket Firewall Free to 1.15.4 (#1959)
Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-25 12:44:22 +08:00
Michael D'Angelo 40ba5a4baa ci: install ripgrep from existing Ubuntu package lists (#1952)
* ci: install ripgrep from existing Ubuntu package lists

* ci: retain ShellCheck coverage for the ripgrep installer
2026-10-25 12:07:01 +08:00
Michael D'Angelo 2b8a96907c chore(release): shard verification tests and report release progress (#1798)
Run release test shards and MCP verification in parallel, then gate publication on every verification result. Maintain a release PR progress comment across CI, approvals, and publication, including recovery through follow-up fix commits.

Give parameterized tests unique JUnit names so baseline, parallel, and sharded inventories can be compared.
2026-10-21 12:16:11 +08:00
dependabot[bot] 179c9656d6 ci: bump actions/download-artifact from 8.0.1 to 8.0.2 (#1650)
## Summary

Update actions/download-artifact from 8.0.1 to 8.0.2 so CI and release downloads use the updated artifact client.

## Changes

- Replace existing download-artifact pins with the verified v8.0.2 commit and matching version comments.
- Preserve artifact names, IDs, patterns, merge settings, and extraction paths.

## Testing

- Reviewed the complete workflow diff, upstream source changes, and official tag-to-commit match.
- Native and packaged-artifact consumers passed CI.
- Reran the Windows test shard after it reached application tests and timed out. Required checks must pass before merge.
- The optional runner-inventory comparison fails on a duplicate JUnit test identity already present on main.

## Risk and rollout

Patch update within the existing action major version. Artifact selection and extraction behavior remain unchanged. No rollout steps are required.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-14 12:41:59 -07:00
dependabot[bot] 9d8e8f23dd ci: bump actions/setup-node from 7.0.0 to 7.1.0 (#1651)
## Summary

Update actions/setup-node from 7.0.0 to 7.1.0 for CI and release Node setup.

## Changes

- Replace existing setup-node pins with the verified v7.1.0 commit and matching version comments.
- Preserve explicit Node versions and existing cache, architecture, and authentication inputs.

## Testing

- Reviewed the complete workflow diff, upstream source changes, and official tag-to-commit match.
- Required Linux, macOS, Windows, and PR-title checks passed. Native and installed-package CI passed across supported platforms and Node versions.
- Reran an optional Windows isolated-test timeout. The optional runner-inventory comparison also has a pre-existing duplicate JUnit test identity on main.

## Risk and rollout

Minor update within the existing action major version. Current callers continue to specify explicit Node versions; new version-file support does not alter those callers. No rollout steps are required.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-14 12:13:08 -07:00
dependabot[bot] e32c94a9e2 ci: bump actions/upload-artifact from 7.0.1 to 7.0.2 (#1647)
## Summary

Update actions/upload-artifact from 7.0.1 to 7.0.2 so CI and release uploads use the updated artifact client.

## Changes

- Replace all existing upload-artifact pins with the verified v7.0.2 commit and matching version comment.
- Preserve workflow inputs, artifact names, permissions, and release behavior.

## Testing

- Reviewed the complete workflow diff, upstream release, and tag-to-commit match.
- GitHub CI passed all required Linux, macOS, Windows, and PR-title checks, plus native builds, package checks, and artifact uploads.
- The optional runner-inventory comparison fails on a duplicate JUnit test identity already present on main; this dependency update does not change that test.

## Risk and rollout

Patch update within the existing action major version. Existing CI exercises artifact uploads and downstream consumption. No rollout steps are required.

## Public disclosure review

- [x] No customer, partner, prospect, or user identities, data, or identifying details are included.
- [x] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
- [x] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.
2026-10-14 12:11:41 -07:00
mldangelo-oai eaed287d65 feat(release): align Action publication with CLI releases (#1418)
* feat(release): publish matching Action after verified CLI release

* fix(release): isolate Action verification from publication

* fix(release): verify Action runtime through Socket

* fix(ci): shard isolated Linux test runs

* fix(release): validate reused Action tags before installation

* test(release): keep Socket exit cases distinct in reports

* ci: pin Linux quality tests to the Bun subprocess fix
2026-10-09 08:17:47 -04:00
mldangelo-oai 6ce7f47059 feat(onboarding): add cs alias and clarify onboarding (#1415)
* feat(cli): add cs alias and clarify onboarding

* docs: clarify CLI install collision fallback

* docs: clarify authentication for local SDK installs

* fix(cli): keep help examples usable with alias conflicts

* docs: streamline CLI onboarding walkthrough
2026-10-08 21:10:54 -04:00
mldangelo-oaiandmldangelo-oai 42dedbb794 ci: require workflow checks and production dependency audits (#1128)
* ci: require workflow checks and production dependency audits

* test: select CI coverage gates by name

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
2026-10-01 13:08:22 -07:00
mldangelo-oai d03eb3f668 ci: declare native release workflow permissions (#925) 2026-09-14 10:56:48 -07:00
dependabot[bot] c965e87d43 ci: bump actions/setup-node from 6.3.0 to 7.0.0
Update 23 actions/setup-node pins from 6.3.0 to 7.0.0 and correct their version comments. Preserve requested Node versions, architectures, registry URLs, cache settings, and publishing authentication.

Validated exact upstream compatibility, workflow YAML, patch scope, and integration with main. Current-head CI passed all 57 executed jobs, including the full Windows suites and inventory comparison. The shared Windows deadline fix is already present on main.
2026-09-11 13:46:36 -07:00
dependabot[bot] f65872fad0 ci: bump actions/checkout from 6.0.2 to 7.0.1
Update 27 actions/checkout pins from 6.0.2 to 7.0.1. Preserve workflow refs, inputs, and disabled credential persistence.

Allow Windows baseline and isolated test-quality suites 45 minutes after repeated 30-minute timeouts near completion. Other deadlines remain unchanged.

Validated exact upstream compatibility, workflow YAML, patch scope, and integration with main. Current-head CI passed all 57 executed jobs, including both full Windows suites and the inventory comparison.
2026-09-11 13:45:14 -07:00
dependabot[bot] 14c8602874 ci: bump SocketDev/action from 1.3.0 to 1.3.2 (#884)
Bumps [SocketDev/action](https://github.com/socketdev/action) from 1.3.0 to 1.3.2.
- [Release notes](https://github.com/socketdev/action/releases)
- [Commits](https://github.com/socketdev/action/compare/937f824ec476dfd164d4a4d9995751427b0be143...ba6de6cc0565af1f42295590380973573297e31f)

---
updated-dependencies:
- dependency-name: SocketDev/action
  dependency-version: 1.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-11 13:16:13 -07:00
Kyle Brown e019a6b790 build(plugin): bundle verified native runtime artifacts (#797)
* build(plugin): assemble native payloads for package builds

* build(plugin): preserve native dependency notices

* fix(ci): prepare native notices before container build

* test(ci): account for reusable native build jobs

* test(ci): avoid stale Windows synchronous subprocess timers

* fix(plugin): derive native copies from the package manifest

* ci: share native artifacts across pull request checks

* test: update reusable workflow contract

* ci: simplify container release concurrency and authorization
2026-09-08 22:27:30 +00:00
soyeon-oai 8a8af897d6 build: align pnpm toolchain on 11.19 (#760)
* build: align pnpm toolchain on 11.19

* build: centralize pnpm pin at repository root
2026-08-31 09:59:18 -07:00
mldangelo-oaiandMichael D'Angelo def641eef6 build(plugin): use pnpm for MCP app dependencies (#725)
* build(plugin): use pnpm for MCP app dependencies

* test: fix CI reports and Windows subprocess checks

---------

Co-authored-by: Michael D'Angelo <269034524+mldangelo-oai@users.noreply.github.com>
2026-08-28 18:58:30 -07:00
Kyle Brown 243436b497 fix(ci): install ripgrep for npm release verification (#698) 2026-08-27 19:13:47 -07:00
soyeon-oai 42a60ff473 refactor(plugin): generate the bundled runtime from canonical source (#675)
* refactor(plugin): establish canonical source tree

* build(plugin): generate the npm runtime payload

* ci(plugin): reject tracked runtime payload

* feat(plugin): add patch risk assessment

* fix(plugin): reconcile portable runtime contracts

* test(plugin): add deterministic triage evals

* ci(plugin): validate portable source contracts

* fix(package): preserve bundled MCP launcher permissions

* fix(plugin): reconcile scan runtime and recovery contracts

* fix(plugin): align finding evidence schemas and scan guidance

* fix(plugin): resolve completed checkpoint follow-ups

* fix(plugin): restore preflight and Windows build contracts

* fix(plugin): preserve portable build and recovery contracts

* fix(plugin): restore portable CI contracts

* fix(ci): install ripgrep for MCP tests

* fix(ci): type workflow job lookup

* test(plugin): preserve resumable completion failures
2026-08-27 11:40:42 -07:00
15e2e5c6af fix(release): harden release workflow validation (#622)
* fix(release): harden release workflow validation

* fix(release): reject NUL in reviewed notes

* fix(release): preserve historical note bytes

* fix(ci): decode release titles portably

* fix(ci): isolate body-only pull request edits

* fix(release): preserve terminal CRLF notes

* fix(release): preserve generated note bytes

* fix(release): preserve existing conventional title types

* test: resolve a usable Python for Windows scan history

---------

Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>
Co-authored-by: Faizan Minhas <faizan@openai.com>
2026-08-25 10:40:03 -07:00
mldangelo-oai 1ad674b595 ci(release): enforce reviewed conventional release notes (#616)
* docs(release): add changelog and maintainer runbook

* ci(release): enforce reviewed conventional release notes

* fix(ci): align pull request title validation

* fix(ci): require reviewed notes before publishing
2026-08-23 15:16:46 -07:00
mldangelo-oai 14109190ad ci: remove redundant package builds and unreachable setup (#397) 2026-08-13 21:53:06 -07:00
Kyle Brown 381eabb463 fix: publish GitHub release notes after npm releases (#301)
* fix: publish GitHub release notes after npm releases

* cleanup: remove unused GitHub release trigger
2026-08-07 12:09:39 -07:00
mldangelo-oai 68a1dfe58b fix(ci): make production dependency audits advisory (#242) 2026-08-03 15:45:29 -07:00
mldangelo-oai 358717f056 feat: automate verified npm and GitHub releases (#91)
* feat: automate verified npm and GitHub releases

* fix: harden release backfills and changelog labels

* fix: address all release automation review feedback

* fix: harden release queues and signing verification

* fix: enforce protected release tag and version checks

* test: derive release workflow versions from the current manifest

* fix: resolve release commits from exact tag objects

* fix: recover verified releases and address review feedback

* fix: preserve manual release-note exclusions

* fix: harden release automation review safeguards

* fix: bind release provenance to authenticated workflow runs

* fix: validate release provenance attempts and annotated tags

* fix: reconcile release metadata and initial publication safely

* test: drain mocked release verification input on macOS

* test: stabilize provenance mock pipelines on macOS

* fix: preserve latest status when reconciling existing releases

* fix: reconcile absent latest releases and managed labels

* fix: verify release API status and pin runtime minimum

* test: stream oversized workflow fixtures on Windows

* fix: fail closed on existing release lookup errors
2026-07-30 16:40:51 -07:00
mldangelo-oai 3e863a7aa6 fix: harden npm package lifecycle and Node support (#104)
* fix: harden npm package lifecycle and Node support

* fix: make npm package lifecycle package-manager agnostic

* fix: test every supported minimum Node.js version

* fix: preserve required Node CI status checks
2026-07-29 17:19:18 -07:00
mldangelo-oai 4357b1edd7 fix: harden Node CI and Windows package smoke (#84) 2026-07-29 16:37:40 -07:00
mldangelo-oai 79a05082a8 fix: preserve npm release gitHead (#74) 2026-07-29 10:24:13 -07:00
mldangelo-oai a45e3ee2f9 release: prepare stable Codex Security npm publishing (#12)
* release: publish stable Codex Security versions

* release: validate stable npm tags against package metadata

* release: harden public npm publishing and contributor guidance

* fix: complete the stable Codex Security npm package

Add the three exact plugin projection-contract files from the merged monorepo and remove issue, Dependabot, and pull request templates unrelated to publishing.

* fix: keep internal OWNERS out of the public npm package

The current package inspector intentionally excludes internal ownership metadata and requires only the public plugin manifest plus shipped skill files. Retain the two policy skill files and remove the non-public OWNERS file.

* fix: harden stable npm release safeguards

* fix: retain bundled plugin in stable release

* fix: remove internal links from release workflow

* fix(release): keep socket firewall public-compatible

* fix(release): validate firewall cutoff dates

* fix: restore public SDK cross-platform CI

* fix(release): make stable trusted publishing runnable

* fix(release): always enforce Socket Firewall

* fix(release): validate firewall-backed trusted publishing

* fix: harden trusted npm publishing

* fix: bootstrap protected first npm publication
2026-07-28 08:56:29 -07:00
bryane-oai 7bcdd50d43 Add Socket Firewall to release workflow (#10) 2026-07-24 16:34:15 -07:00
mldangelo-oai 4f43f351e6 test: smoke test the npm release tarball (#5)
* fix: harden scan prompt and bound login cleanup

* fix: close package and scan prompt gaps

* fix: harden scoped inputs and PNG metadata

* fix: close scoped scan and artifact gaps

* fix: close filtered asset and literal scope gaps

* fix: preserve shell policies and legacy scopes

* fix: preserve inherited policies and login cleanup

* fix: close cross-platform scan and artifact gaps

* fix: preserve isolated runtime and simplify login

* fix: isolate scoped targets and encoded artifacts

* fix: harden scoped input and artifact decoding

* fix: bound encoded artifacts and binary previews

* fix: revalidate scopes and bound source-like previews

* fix: cap overlapping scoped-file previews

* fix: reject wrapped and UTF-16 encoded artifacts

* fix: reject hidden PNG and short-wrapped payloads

* fix: validate PNG metadata and wrapped payloads

* fix: reject malformed public PNG artifacts

* refactor: pin the public logo artifact

* fix: bound artifact and scoped-input lifecycles

* fix: normalize encoded artifact whitespace

* fix: bound public tarball expansion

* fix: reject mismatched tar entry types

* fix: validate raw tar header types

* fix: keep the public content guard self-safe

* fix: reject malformed ustar directory headers

* fix: validate canonical output paths

* fix: validate canonical temporary roots

* test: smoke test the npm release tarball

* fix: install the npm release tarball as a local path
2026-07-20 11:19:47 -07:00
mldangelo-oai aed7c66ec1 feat: bootstrap TypeScript public SDK and Node workflows (#3)
* ci: switch Codex Security workflows to Node

* fix(ci): set runner temp at the test step

* feat: bootstrap TypeScript public projection

* fix(ci): stabilize Windows SDK tests

* test: trace Windows authentication timeout

* fix(test): finish Windows fake-login processes

* fix(test): use Node for Windows login doubles

* fix: observe fast Windows login exits and refresh plugin

* test: inherit the Windows login environment

* fix: complete interactive login on process exit

* fix: make the TypeScript SDK Windows suite portable

* test: narrow Windows root-path assertion

* fix: preserve LF text files on Windows

* fix: harden public artifact and login boundaries

* fix: harden public package and process boundaries

* fix: encode scoped scan paths in prompts

* test: keep scoped-path regression portable

* fix: harden public package boundaries

* fix: enforce exact public artifact contents

* fix: reject unsafe public archive entries

* fix: escape scoped-path line separators

* docs: make SDK quickstarts valid on Node 22

* fix: reject hidden tar payloads in package gate

* fix: align projected CLI launcher and package gate
2026-07-18 00:52:58 -07:00