The open-source agent harness - the runtime layer that turns an LLM into a working agent.
Enable npm provenance on publish and add CODEOWNERS. (#303)
Chirag Jainf04cd5aaa6fd
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERSnew file mode 100644index 000000000..53914f432--- /dev/null+++ b/.github/CODEOWNERS@@ -0,0 +1,9 @@+# Last matching pattern wins. Enable "Require review from Code Owners" on the+# default branch for these rules to gate merges.+#+# UI packages have their own owners; everyone else falls through to `*`.++* @debajyoti-truefoundry @chiragjn @heerambavi1998 @sr07asthana @bhaveshpatel640 @thesujai++/packages/trueforge-ui/ @govindavashishtha @sayan-truefoundry @qaifi-tf @vinit-truefoundry+/packages/frontend/ @govindavashishtha @sayan-truefoundry @qaifi-tf @vinit-truefoundrydiff --git a/.github/fern/generators.yml b/.github/fern/generators.ymlindex b6f286bc1..f3b90ecc5 100644--- a/.github/fern/generators.yml+++ b/.github/fern/generators.yml@@ -55,7 +55,7 @@ groups:url: https://github.com/truefoundry/trueforge/issuespublishConfig:access: public- provenance: false+ provenance: trueengines:node: '>=22'allowExtraFields: truediff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 890bd68bb..c39d18f03 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -169,9 +169,12 @@ jobs:with:pack-dir-artifact-id: ${{ needs.pack.outputs.pack-dir-artifact-id }}create-github-releases: true- # TODO(oss): set NPM_CONFIG_PROVENANCE once the repo is public. Do NOT- # set it now: provenance publicly attests the source repo and commit.- # publishConfig.provenance is false on every public package.+ env:+ # Attest source repo + commit on every publish. Trusted publishing+ # already uses OIDC (`id-token: write`); this flag is what changesets+ # / pnpm honor (they do not accept `--provenance`).+ # publishConfig.provenance is true on every public package.+ NPM_CONFIG_PROVENANCE: "true"- name: Detect @truefoundry/trueforge publishid: trueforgediff --git a/RELEASING.md b/RELEASING.mdindex f0f013a6f..bf557cbe5 100644--- a/RELEASING.md+++ b/RELEASING.md@@ -83,6 +83,10 @@ Each public package must list this repo + workflow as a trusted publisher on npmDo not set `NPM_TOKEN` / `_authToken` on the publish job — that disables OIDC.Only the **publish** job has `id-token: write`.+Publish attaches npm provenance (`NPM_CONFIG_PROVENANCE` on the publish job, and+`publishConfig.provenance: true` on every public package). That publicly attests+the source repo and commit on npmjs.com.+## Local without publishing```bashdiff --git a/packages/trueforge-core/package.json b/packages/trueforge-core/package.jsonindex 87c8e0355..b69306815 100644--- a/packages/trueforge-core/package.json+++ b/packages/trueforge-core/package.json@@ -15,7 +15,7 @@},"publishConfig": {"access": "public",- "provenance": false+ "provenance": true},"private": false,"type": "module",diff --git a/packages/trueforge-sdk/package.json b/packages/trueforge-sdk/package.jsonindex 4d3f77d42..f3fcad93f 100644--- a/packages/trueforge-sdk/package.json+++ b/packages/trueforge-sdk/package.json@@ -273,6 +273,6 @@},"publishConfig": {"access": "public",- "provenance": false+ "provenance": true}}diff --git a/packages/trueforge-ui/package.json b/packages/trueforge-ui/package.jsonindex 98b972f43..b04b2d05d 100644--- a/packages/trueforge-ui/package.json+++ b/packages/trueforge-ui/package.json@@ -22,7 +22,7 @@],"publishConfig": {"access": "public",- "provenance": false+ "provenance": true},"type": "module","exports": {diff --git a/packages/trueforge/package.json b/packages/trueforge/package.jsonindex 0fcf0fd9b..dd1049986 100644--- a/packages/trueforge/package.json+++ b/packages/trueforge/package.json@@ -15,7 +15,7 @@},"publishConfig": {"access": "public",- "provenance": false+ "provenance": true},"private": false,"type": "module",