mason-context 0.20.1 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased
3
+ ## 0.21.0 — 2026-10-10
4
+
5
+ - Continue Claude once at Stop when outstanding decision drift overlaps observed session anchor edits. Require source inspection, preserve human approval boundaries, and keep repeat Stops and Codex advisory. Add local `mason auto config --stop-block off|drift` controls and status reporting. Include uncommitted anchor changes in drift findings for accepted and legacy decisions using Git baselines.
6
+
7
+ - Capture readable decision anchors when saving proposals, so committing a proposal with its implementing code does not create false drift. Later source edits still require inspection; unreadable scopes retain unknown freshness.
8
+ - Add separate source inspections that resolve covered drift without claiming human acceptance or changing the accepted revision. Bind preparation tokens to source bytes, preserve original audit evidence, and reopen inspections after relevant changes.
9
+ - Batch anchor inventories, index path scopes, and reuse decision reads within each inspection while retaining fresh final validation. Add reproducible validation against pinned Now in Android and WordPress Android repositories, with measured hook costs documented in `docs/hook-performance.md`.
10
+
11
+ ## 0.20.2 — 2026-09-30
12
+
13
+ - Show decision titles and the inspection command before changed file paths in completion warnings, so long paths cannot hide the reason for review or the next step.
14
+ - Add regression coverage for long Android paths and historical advisory closure after accepting a replacement decision, including automation checks.
4
15
 
5
16
  ## 0.20.1 — 2026-09-30
6
17
 
package/README.md CHANGED
@@ -86,3 +86,17 @@ Earlier read-only decision-retrieval evaluations scored **9.0/10 with Mason vs 7
86
86
  - [Audits, repair verification, and CI evidence](docs/checks.md)
87
87
  - [Decisions, tools, and optional architecture maps](docs/reference.md)
88
88
  - [Roadmap](ROADMAP.md) · [Changelog](CHANGELOG.md) · [MIT license](LICENSE)
89
+
90
+ ## Development
91
+
92
+ For development, use Node 20 (20.19+), Node 22 (22.13+), or Node 24+.
93
+ After `npm ci`, run `npm run format` to format TypeScript sources, tests, and tooling configs.
94
+ CI checks formatting with `npm run format:check` and runs `npm run lint`,
95
+ `npm run typecheck`, and the test suite. Run `npm test` locally to check behavior.
96
+
97
+ ESLint uses the recommended TypeScript rules plus type-aware checks for unhandled
98
+ promises, misused async callbacks, and invalid awaits. Prettier handles formatting.
99
+ Test fixtures and generated outputs are excluded from formatting and linting.
100
+ Production sources also reject explicit `any` and unsafe assignments, property
101
+ access, calls, arguments, and returns. External data is validated before use.
102
+ Test doubles keep the more permissive rules.