Skip to content

Commit 745d314

Browse files
[AI] Add repository metadata for npm provenance
1 parent 50525a7 commit 745d314

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,8 @@ When asked to create commits in this repository:
144144
- Context: Package publication should happen automatically when a GitHub release is published.
145145
- Decision: Add a `publish-npm` GitHub Actions workflow triggered by `release.published` with manual `workflow_dispatch` support, using `NPM_TOKEN`, validating tag/version alignment when a tag is supplied, and publishing with `--access public --provenance`.
146146
- Consequence: Publishing is automated for releases, can be manually retried without creating a new release, and remains guarded against version/tag mismatches.
147+
148+
- 2026-02-18 - npm provenance repository metadata requirement
149+
- Context: npm provenance validation for GitHub Actions publish failed when package metadata lacked repository linkage.
150+
- Decision: Set `package.json.repository.url` to `https://github.com/intellectronica/mdbasequery`.
151+
- Consequence: npm can verify sigstore provenance repository information during publish.

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"email": "eleanor@intellectronica.net",
1010
"url": "https://intellectronica.net/"
1111
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/intellectronica/mdbasequery"
15+
},
1216
"bin": {
1317
"mdbasequery": "./dist/cli.js"
1418
},

0 commit comments

Comments
 (0)