@nathapp/nax 0.46.0 → 0.46.2

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
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.46.2] - 2026-03-17
9
+
10
+ ### Fixed
11
+ - **Review rectification:** When lint or typecheck fails in the review stage and mechanical autofix (`lintFix`, `formatFix`) cannot resolve it, nax now spawns an agent rectification session with the exact error output as context. The agent fixes the issues, commits, and re-runs review to verify. Reuses `quality.autofix.maxAttempts` (default: 2) for agent attempts.
12
+
13
+ ### Tests
14
+ - 12 new tests in `test/unit/pipeline/stages/autofix.test.ts` covering agent rectification paths.
15
+
16
+ ## [0.46.1] - 2026-03-17
17
+
18
+ ### Fixed
19
+ - **BUG-074:** `working-tree-clean` precheck now allows 12 nax runtime files to be dirty without blocking. Includes fix for `--porcelain` trim bug that corrupted leading status chars.
20
+ - **BUG-074:** `nax init` now adds complete gitignore entries for all nax runtime files (was missing: status.json, plan/, acp-sessions.json, interactions/, progress.txt, acceptance-refined.json, .nax-pids, .nax-wt/, ~/).
21
+ - **BUG-074:** `checkGitignoreCoversNax` warning now checks 6 critical patterns (was only 3).
22
+ - **BUG-075:** `acceptance-refined.json` now written to featureDir instead of workdir root.
23
+ - **BUG-076:** HOME env is now validated before passing to spawned agents — if not an absolute path (e.g. unexpanded "~"), falls back to `os.homedir()` with a warning log. Prevents literal "~/" directory creation in repo.
24
+ - **BUG-076:** New `checkHomeEnvValid()` precheck warning fires when HOME is unset or not absolute.
25
+
26
+ ### Tests
27
+ - New tests in `test/unit/precheck/checks-git.test.ts` (188 lines) for working-tree-clean allowlist.
28
+ - New tests in `test/unit/agents/claude/execution.test.ts` (79 lines) for HOME sanitization.
29
+
8
30
  ## [0.46.0] - 2026-03-16
9
31
 
10
32
  ### Fixed