Releases: techarrow12/superbus-contract-action
Public launch
Full Changelog: v0.1.2...v0.1.3
Superbus Contract Action
- v0.1.3
No AI PR without a contract.
This release hardens the public GitHub Action and simplifies the onboarding path for developers installing Superbus for the first time.

Added
- Adversarial edge-case test coverage for path normalization and contract bypass attempts
- Tests for path traversal, Windows path separators, leading slashes, mixed-case paths, and blocked-scope overrides
- Tests for observe mode and enforce mode behavior
- README product visual for the contract violation PR comment
Changed
- Simplified README onboarding around two files:
.superbus/agent-contract.json.github/workflows/superbus-contract-check.yml
- Improved violation comments to show the matched
blocked_scopepattern - Removed duplicate outside-scope noise when a blocked file already explains the violation
- Neutralized examples to avoid app-specific/private domain language
- Removed unnecessary source map output from the published action bundle
Security and privacy
- The action checks PR changed-file paths only
- It does not fetch source file contents
- It does not inspect diffs
- It does not upload source code
- It does not call external APIs other than GitHub
Usage
- uses: techarrow12/superbus-contract-action@v0.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Superbus Contract Action v0.1.0
Public Release Audit
Package: superbus-contract-action
Audit date: 2026-05-13
Scope
This audit checks whether the public GitHub Action candidate is self-contained, safe to publish, and isolated from private Superbus intelligence.
Files Scanned
Scanned publish/source files:
action.ymlCONTRIBUTING.mddocs/contract-schema.mddocs/examples.mddocs/github-action.mddocs/limitations.mddocs/security-and-privacy.mdexamples/basic-workflow.ymlexamples/blocked-path-contract.jsonexamples/contract.jsonexamples/docs-only-contract.jsonLICENSEpackage.jsonREADME.mdRELEASE_CHECKLIST.mdschema/agent-contract.schema.jsonSECURITY.mdsrc/comment.tssrc/compliance.tssrc/contract.tssrc/github.tssrc/glob.tssrc/inputs.tssrc/main.tstests/comment.test.tstests/compliance.test.tstests/contract.test.tstests/fixtures/docs-only-contract.jsontests/fixtures/valid-contract.jsontests/fixtures/violated-contract.jsontests/github.test.tstests/glob.test.tstests/main.test.tstsconfig.jsontsup.config.tsvitest.config.ts
Also scanned the built output:
dist/main.jsdist/main.js.map
Excluded from manual review:
node_modules/
Private Concepts Not Found
No evidence was found for:
- imports from the private root package
- private scoring systems
- prompt-rewrite or prompt-diagnosis systems
- prediction engines
- private task analysis engines
- private rule engines
- private advisory modules
- private run-metric modules
- private benchmark harnesses or benchmark data
- model-provider review API calls
- source-code upload logic
- repo-wide source scanners
- hosted UI code
- commercial account code
- private app code
- private action code
Runtime Access Model
The action reads:
- the supplied Agent Contract from
contract-pathorcontract-json - pull request changed file paths via GitHub's PR files API
- existing PR comments when
update-comment=true
The action writes:
- one PR comment when
post-comment=true - GitHub Action outputs
- CI failure state only when
fail-on-violation=trueand the result isviolated_contract
The action does not fetch source file contents, inspect diffs, scan repository source, upload source code, or call external APIs other than GitHub.
Commands Run
Run from public/superbus-contract-action/:
pnpm install
pnpm typecheck
pnpm test
pnpm buildAdditional audit scans:
rg --files --glob '!node_modules/**' --glob '!dist/**'
rg '<private-concept-patterns>' . --glob '!node_modules/**' --glob '!dist/**'
rg '<runtime-access-patterns>' src --glob '!node_modules/**' --glob '!dist/**'
rg '<private-concept-patterns>' dist src action.yml package.json README.md docs examples schema SECURITY.md CONTRIBUTING.md RELEASE_CHECKLIST.md --glob '!node_modules/**'Test And Build Result
pnpm install: passed; lockfile up to date.pnpm typecheck: passed.pnpm test: passed; 6 test files, 35 tests.pnpm build: passed; generateddist/main.jsanddist/main.js.map.- private-concept scan: passed; no matches in source/docs/config or built output.
- runtime-access scan: passed; only expected contract file read, PR changed-file fetch, and GitHub comment APIs were found.
Remaining Risks
- A real GitHub smoke test should run after extraction into a standalone repository and before tagging
v0.1.0. - The action validates path scope only. It does not detect unsafe behavior inside allowed files.
- The action relies on the supplied contract being accurate and sufficiently narrow.
- If a repository has very large PRs, the GitHub changed-file API pagination behavior should be smoke-tested against that repository.
- Publish workflow should confirm
dist/main.jsis committed becauseaction.ymlpoints to the built file.