Skip to content

Commit 9c6cebf

Browse files
chore(release): v0.3.2
Export AdfLockfile and AdfSyncStatus types from @stackbilt/adf public API. Document .adf.lock schema in README. Add tsconfig.build.json, dev watch script, publishConfig.access on all packages, sideEffects false on all packages. Simplify publish workflow.
1 parent c5ac55c commit 9c6cebf

11 files changed

Lines changed: 43 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to this project are documented in this file.
44

55
The format is based on Keep a Changelog and follows Semantic Versioning.
66

7+
## [0.3.2] - 2026-02-26
8+
9+
### Added
10+
- **Lockfile types exported**: `AdfLockfile` and `AdfSyncStatus` interfaces now exported from `@stackbilt/adf` public API, giving agents `.d.ts` visibility into the `.adf.lock` schema without reverse-engineering compiled output.
11+
- **Lockfile schema documented**: `.adf.lock` format (flat JSON map of `filename → sha256-prefix-16`) documented in the `@stackbilt/adf` README.
12+
- **`pnpm run dev` watch script**: New `tsc --build --watch` dev script for incremental rebuilds during local development via `tsconfig.build.json`.
13+
- **Research papers directory**: `papers/` with versioned white papers (CSA-001: Context-as-Code v1.1, CSA-002: Greenfield measurement rubric draft) and Architect v2 integration brief.
14+
15+
### Changed
16+
- **Build uses `tsconfig.build.json`**: Root build script replaced hardcoded 9-path `tsc --build` invocation with a `tsconfig.build.json` reference file. TypeScript resolves build order from project references automatically.
17+
- **Publish workflow simplified**: PUBLISHING.md no longer instructs manual `workspace:^` replacement — PNPM handles this at publish time. Publish commands no longer need `--access public` flag.
18+
- **`publishConfig.access: "public"`** declared in all 9 packages (previously only cli and adf).
19+
- **`sideEffects: false`** declared in all 9 packages for bundler tree-shaking.
20+
721
## [0.3.1] - 2026-02-25
822

923
### Added
@@ -249,6 +263,7 @@ The format is based on Keep a Changelog and follows Semantic Versioning.
249263
### Security
250264
- Added repository security policy and reporting process.
251265

266+
[0.3.2]: https://github.com/stackbilt-dev/charter-kit/compare/v0.3.1...v0.3.2
252267
[0.3.1]: https://github.com/stackbilt-dev/charter-kit/compare/v0.3.0...v0.3.1
253268
[0.3.0]: https://github.com/stackbilt-dev/charter-kit/compare/v0.2.0...v0.3.0
254269
[0.2.0]: https://github.com/stackbilt-dev/charter-kit/compare/v0.1.20...v0.2.0

packages/adf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/adf",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "ADF (Attention-Directed Format) — AST-backed context format for AI agents",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

packages/adf/src/types.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,25 @@ export interface BundleResult {
203203
advisoryOnlyModules: string[];
204204
}
205205

206+
// ============================================================================
207+
// Sync / Lockfile Types
208+
// ============================================================================
209+
210+
/**
211+
* .adf.lock file format: flat JSON map of source filename → sha256 prefix (16 hex chars).
212+
* Generated by `charter adf sync --write`, checked by `charter adf sync --check`.
213+
*/
214+
export interface AdfLockfile {
215+
[sourceFile: string]: string;
216+
}
217+
218+
export interface AdfSyncStatus {
219+
source: string;
220+
sourceHash: string;
221+
lockedHash: string | null;
222+
inSync: boolean;
223+
}
224+
206225
// ============================================================================
207226
// Constraint Validation
208227
// ============================================================================

packages/ci/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/ci",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "GitHub Actions adapter for Charter governance checks",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

packages/classify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/classify",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Heuristic change classification (SURFACE/LOCAL/CROSS_CUTTING)",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/cli",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Charter CLI \u2014 repo-level governance checks",
66
"bin": {
77
"charter": "./dist/bin.js"

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/core",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Core schemas, sanitization, and error handling for Charter Kit",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

packages/drift/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/drift",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Drift scanner \u2014 detects codebase divergence from governance patterns",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

packages/git/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/git",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Git trailer parsing, commit risk scoring, and PR validation",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stackbilt/types",
33
"sideEffects": false,
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"description": "Shared type definitions for the Charter Kit",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)