Skip to content

Commit 6bab6ce

Browse files
authored
Merge pull request #25 from commandlayer/codex/prepare-runtime-core-for-npm-publication
release: prepare runtime-core for npm publication
2 parents 8fcebef + d53cf8c commit 6bab6ce

5 files changed

Lines changed: 77 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
55

66
---
77

8+
## [1.2.0] — 2026-05-18
9+
10+
### Changed
11+
12+
- Declared npm publication readiness for `@commandlayer/runtime-core` with release metadata aligned to `dist/` exports and packaged artifacts.
13+
- Canonical CLAS proof envelope documentation now explicitly tracks:
14+
- `metadata.proof.canonicalization = "json.sorted_keys.v1"`
15+
- `metadata.proof.hash.alg = "SHA-256"`
16+
- `metadata.proof.signature.alg = "Ed25519"` (with legacy lowercase verification compatibility only)
17+
- README installation guidance now points to npm package installs rather than GitHub git/tarball installs.
18+
19+
### Notes
20+
21+
- This release is a **minor bump** (1.1.0 → 1.2.0) because it preserves current public runtime behavior while formalizing release packaging and documentation for downstream consumption.
22+
- A major bump (`2.0.0`) is not required here because no additional breaking API change is introduced beyond the already-landed 1.1.0 breaking changes.
23+
24+
---
25+
826
## [1.1.0] — 2026-05-12
927

1028
### Breaking Changes

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Canonical crypto and receipt verification primitives for CommandLayer CLAS.
44

5+
## Installation
6+
7+
Install from npm (not GitHub tarball/git dependency):
8+
9+
```bash
10+
npm install @commandlayer/runtime-core@1.2.0
11+
```
12+
513
## Canonical proof envelope (CLAS)
614

715
`signCommandLayerReceipt()` writes the canonical proof envelope:

RELEASE_CHECKLIST.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Release Checklist — @commandlayer/runtime-core
2+
3+
This checklist is for preparing npm releases of `@commandlayer/runtime-core`.
4+
5+
## Package metadata
6+
7+
- [ ] `package.json` name is `@commandlayer/runtime-core`
8+
- [ ] `package.json` version matches intended semver bump
9+
- [ ] `main`, `types`, and `exports` point to `dist/` outputs
10+
- [ ] `files` includes `dist/`, `README.md`, `LICENSE`, `CHANGELOG.md`
11+
12+
## Protocol and API compatibility
13+
14+
- [ ] CLAS canonicalization remains `json.sorted_keys.v1`
15+
- [ ] Hash algorithm remains `SHA-256`
16+
- [ ] Signature algorithm remains `Ed25519` (legacy lowercase only for compatibility in verification)
17+
- [ ] Verification remains fail-closed for malformed/invalid proofs
18+
- [ ] Any public API change is documented in `CHANGELOG.md`
19+
20+
## Documentation
21+
22+
- [ ] README install instructions use npm registry package (`npm install @commandlayer/runtime-core@<version>`)
23+
- [ ] README proof envelope docs match current implementation
24+
- [ ] CHANGELOG contains release entry with migration notes when needed
25+
26+
## Local release-readiness checks
27+
28+
Run and verify all pass:
29+
30+
- [ ] `npm install`
31+
- [ ] `npm run build`
32+
- [ ] `npm test`
33+
- [ ] `npm run typecheck`
34+
- [ ] `npm pack --dry-run`
35+
36+
## Package content review
37+
38+
- [ ] Tarball includes only intended publish artifacts
39+
- [ ] Tarball excludes secrets, local env files, and irrelevant test/dev junk
40+
- [ ] Dist output contains JS and `.d.ts` for exported entry points
41+
42+
## Finalization
43+
44+
- [ ] Commit release-readiness updates
45+
- [ ] Open PR with checks/results and any publish blockers
46+
- [ ] Do **not** publish from this checklist workflow

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@commandlayer/runtime-core",
3-
"version": "1.1.0",
4-
"description": "CommandLayer protocol core canonicalization, Ed25519 crypto, receipt signing/verification, ENS resolution",
3+
"version": "1.2.0",
4+
"description": "CommandLayer protocol core \u2014 canonicalization, Ed25519 crypto, receipt signing/verification, ENS resolution",
55
"license": "Apache-2.0",
66
"author": "CommandLayer <team@commandlayer.org>",
77
"homepage": "https://commandlayer.org",
@@ -85,4 +85,4 @@
8585
"signing",
8686
"canonicalization"
8787
]
88-
}
88+
}

0 commit comments

Comments
 (0)