Skip to content

feat(sdk): prepare sealed security scans for publication - #445

Merged
kmbroai merged 4 commits into
mainfrom
dev/kyleb/linear-publish-foundation
Aug 16, 2026
Merged

feat(sdk): prepare sealed security scans for publication#445
kmbroai merged 4 commits into
mainfrom
dev/kyleb/linear-publish-foundation

Conversation

@kmbroai

@kmbroai kmbroai commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Prepare completed, sealed security scans for destination-neutral publication while preserving the existing scan and finding provenance.

Changes

  • Validate sealed scan artifacts before preparing publication payloads.
  • Render one deterministic issue per finding, using the scan ID as the publication ID and [Codex Security][SEVERITY] titles.
  • Keep scan-ID provenance in issue descriptions without repeating a redundant Upload ID.
  • Preserve truthful scan-mode provenance for all seven schema-supported coverage modes, including path, commit, branch-diff, and working-tree scans.
  • Include source-code evidence, affected locations, repository and coverage metadata, remediation, and safe immutable source links.
  • Support a required Linear team with an optional project, omitting the project identifier entirely for team-only publication.
  • Add the new compiled module to the public package allowlist.

Testing

  • bun test tests-ts/publication.test.ts: 20 passing tests and 106 assertions, including real resealed fixtures for all seven supported coverage modes and a team-only destination.
  • tsc --noEmit: passed.
  • Built, packed, and installed this stack layer independently; the package allowlist and installed-package smoke passed.

Risk and rollout

  • This foundation does not contact external services or create issues.
  • Source-code snippets remain explicit publication data for a later connected-app integration.

Public disclosure review

  • No customer, partner, prospect, or user identities, data, or identifying details are included.
  • No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included.
  • I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure.

@github-actions github-actions Bot added the enhancement New feature or request label Aug 15, 2026
@kmbroai
kmbroai marked this pull request as ready for review August 15, 2026 19:30
wholley-oai
wholley-oai previously approved these changes Aug 15, 2026

@soyeon-oai soyeon-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the exact PR delta. I found one publication-provenance issue.

Comment thread sdk/typescript/src/publication.ts Outdated
@kmbroai
kmbroai merged commit ca9633a into main Aug 16, 2026
35 checks passed
@kmbroai
kmbroai deleted the dev/kyleb/linear-publish-foundation branch August 16, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants