Repository navigation
Enable npm provenance on publish and add CODEOWNERS. - #303
Conversation
The repo is public, so publish can attest source repo and commit. Path owners split UI packages from the rest of the tree. Co-authored-by: Cursor <cursoragent@cursor.com>
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b5eb8d8. Configure here.
| "publishConfig": { | ||
| "access": "public", | ||
| "provenance": false | ||
| "provenance": true |
There was a problem hiding this comment.
Hand-edited generated SDK package
Low Severity
packages/trueforge-sdk is regenerated in CI from .github/fern/generators.yml, so this hand-edit of publishConfig.provenance violates the no-manual-SDK-edits rule. The matching generators.yml update is the durable source of truth; the Generate SDK workflow is what should rewrite the SDK package.json.
Triggered by project rule: TrueForge review rules
Reviewed by Cursor Bugbot for commit b5eb8d8. Configure here.


The repo is public, so publish can attest source repo and commit. Path owners split UI packages from the rest of the tree.
Note
Medium Risk
Provenance changes affect the release publish path; a misconfiguration could break npm publishes until fixed. CODEOWNERS only affects review policy, not runtime behavior.
Overview
Turns on npm provenance for public package publishes now that the repo is public, so npmjs.com can attest source repo and commit alongside existing OIDC trusted publishing.
publishConfig.provenanceflips fromfalsetotrueon@truefoundry/trueforge-core,@truefoundry/trueforge,@truefoundry/trueforge-sdk, and@truefoundry/trueforge-ui, plus the Fern SDK generator config. The Release publish job setsNPM_CONFIG_PROVENANCE: "true"(replacing a TODO that deferred provenance until the repo was public). RELEASING.md documents the provenance behavior.Adds
.github/CODEOWNERS: default reviewers for*, with separate owners for/packages/trueforge-ui/and/packages/frontend/. Comments note enabling “Require review from Code Owners” on the default branch.Reviewed by Cursor Bugbot for commit b5eb8d8. Bugbot is set up for automated code reviews on this repo. Configure here.