Skip to content

fix: harden options and publication contracts - #44

Merged
tensornull merged 1 commit into
mainfrom
agent/fix-publication-contract
Jul 31, 2026
Merged

fix: harden options and publication contracts#44
tensornull merged 1 commit into
mainfrom
agent/fix-publication-contract

Conversation

@tensornull

Copy link
Copy Markdown
Contributor

Summary

  • make the three CometAPI-owned constructor controls structurally unsupplyable through variables, spreads, generics, and withOptions while retaining secret-free OpenAIError runtime guards
  • remove mutable exact-version state from durable documentation and make package.json the sole candidate-version authority
  • enforce publication-neutral source and packed READMEs so normal four-file Release Please patch PRs remain sufficient

Verification

  • npm ci
  • npm run verify (520 tests plus exact copied standalone repository verification)
  • node scripts/validate-release.mjs --require-final --require-releasable-docs
  • npm audit --omit=dev --audit-level=high
  • git diff --check

No 0.2 resource surface is included.

@tensornull
tensornull merged commit 1d62b52 into main Jul 31, 2026
9 checks passed
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