@haus-tech/haus-workflow 0.11.0 → 0.12.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,19 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.11.1...v0.12.0) (2026-06-03)
4
+
5
+ ### Features
6
+
7
+ - **install:** full-auto postinstall on global npm install + prepare crash fix ([aa5cfb2](https://github.com/WeAreHausTech/haus-workflow/commit/aa5cfb2a6be50f6513ef344ecef514d0cbf4c8de)), closes [package.json#files](https://github.com/WeAreHausTech/package.json/issues/files)
8
+ - **memory+router:** delete in-repo memory store, enforce token budget ([d54e220](https://github.com/WeAreHausTech/haus-workflow/commit/d54e2208c7e3636bf5481733d0a4268f08346286))
9
+ - **scanner:** data-driven detection registry + detectionStatus ([6951a72](https://github.com/WeAreHausTech/haus-workflow/commit/6951a72490a53b3643ebfd8f329d49a4cafc5e06))
10
+ - **security:** write permissions.deny + consolidate SENSITIVE (WS1, partial) ([32baf77](https://github.com/WeAreHausTech/haus-workflow/commit/32baf7792e2298ac7dc2f45489a326cf5be009e3))
11
+ - **security:** write permissions.deny into project .claude/settings.json (WS1) ([c2e6a23](https://github.com/WeAreHausTech/haus-workflow/commit/c2e6a2324fb708de2162b699362c06deba82dcc7))
12
+ - **ux:** non-developer desktop UX — slash commands, scoped allow, plain language ([3d95a1b](https://github.com/WeAreHausTech/haus-workflow/commit/3d95a1b581cc40deb117406a86acd91f7853f645))
13
+ - **workflow-config:** auto-fill commands from the repo + --refill-config ([2c16bbe](https://github.com/WeAreHausTech/haus-workflow/commit/2c16bbed464efa4ca1d0895e5d3f3b1ad2dd89f3))
14
+
15
+ ### Bug Fixes
16
+
17
+ - **catalog:** skip id-less items in tag audit ([d04b5ab](https://github.com/WeAreHausTech/haus-workflow/commit/d04b5aba54264f1cf4fe10236aa144c2b0edfb10)), closes [#3](https://github.com/WeAreHausTech/haus-workflow/issues/3)
18
+ - **context:** preserve tokenEstimate in normalize; drop stale memory hook from install fragment ([63e980c](https://github.com/WeAreHausTech/haus-workflow/commit/63e980cc5e9d3951e45fbaef8c5747cb74276933))
19
+ - **doctor,guard:** verdict truly first; well-formed import check; flag() for hooks; drop backticks in guard reasons ([d562199](https://github.com/WeAreHausTech/haus-workflow/commit/d5621996b49fa331b5d895ed13197a8f797883eb))
20
+ - **install:** postinstall notice distinguishes added vs updated; settings 'ensured present' ([e3737b8](https://github.com/WeAreHausTech/haus-workflow/commit/e3737b82d83b2cc44a354ea635fd9e6606c99839))
21
+ - **scanner:** address PR [#50](https://github.com/WeAreHausTech/haus-workflow/issues/50) review — chunked reads, typed bucket, hermetic test ([385de24](https://github.com/WeAreHausTech/haus-workflow/commit/385de2413ff55e2040b1a7fb16bb4543d0477e22))
22
+ - **workflow-config:** skip derive on existing-no-refill; npx --no-install ([5688f02](https://github.com/WeAreHausTech/haus-workflow/commit/5688f02e5664a9c3475158ea82d1b60837b5ed5a)), closes [#51](https://github.com/WeAreHausTech/haus-workflow/issues/51)
23
+
24
+ ## [0.11.1](https://github.com/WeAreHausTech/haus-workflow/compare/v0.11.0...v0.11.1) (2026-06-01)
25
+
26
+ ### Bug Fixes
27
+
28
+ - return null from writeWorkflowConfig when file exists ([9ad36c1](https://github.com/WeAreHausTech/haus-workflow/commit/9ad36c1800023737d4a65feaeca1dc10fb5f797b))
29
+
3
30
  ## [0.11.0](https://github.com/WeAreHausTech/haus-workflow/compare/v0.10.1...v0.11.0) (2026-06-01)
4
31
 
5
32
  ### Features
6
33
 
7
- * add agentic workflow standard — replace haus-way-of-work ([a5d2fba](https://github.com/WeAreHausTech/haus-workflow/commit/a5d2fba7ff866403586a1d0f79885184458a3fe1))
34
+ - add agentic workflow standard — replace haus-way-of-work ([a5d2fba](https://github.com/WeAreHausTech/haus-workflow/commit/a5d2fba7ff866403586a1d0f79885184458a3fe1))
8
35
 
9
36
  ### Bug Fixes
10
37
 
11
- * **ci:** sync-catalog-fixture creates PR instead of pushing to main ([547e604](https://github.com/WeAreHausTech/haus-workflow/commit/547e60490b7dac6b3ce47ca6d862cb75d6e83b89))
12
- * **lint:** correct import order in write-claude-files, write-workflow, doctor ([edff887](https://github.com/WeAreHausTech/haus-workflow/commit/edff8877675fa6c604f9707043659130b044fede))
13
- * negate secret-scan grep in bundled template ([1b7e226](https://github.com/WeAreHausTech/haus-workflow/commit/1b7e22631ea7680ad54ee9675ca70f4fcef9e989))
14
- * remove unused imports, add BLOCK_END assertion, use cache-precedence in doctor ([cc566d5](https://github.com/WeAreHausTech/haus-workflow/commit/cc566d51d816f3c65550b7f791b06d8b3318603f))
15
- * **test:** remove no-op || true from warnings assertion ([9929d5c](https://github.com/WeAreHausTech/haus-workflow/commit/9929d5c2030e70b41a4c165bff87b3b45ca6753d))
16
- * use CACHE_DIR from remote-catalog for template path resolution ([4d8b784](https://github.com/WeAreHausTech/haus-workflow/commit/4d8b784303ff8c76d4ef2d55bac3fbd6c77efd9a))
38
+ - **ci:** sync-catalog-fixture creates PR instead of pushing to main ([547e604](https://github.com/WeAreHausTech/haus-workflow/commit/547e60490b7dac6b3ce47ca6d862cb75d6e83b89))
39
+ - **lint:** correct import order in write-claude-files, write-workflow, doctor ([edff887](https://github.com/WeAreHausTech/haus-workflow/commit/edff8877675fa6c604f9707043659130b044fede))
40
+ - negate secret-scan grep in bundled template ([1b7e226](https://github.com/WeAreHausTech/haus-workflow/commit/1b7e22631ea7680ad54ee9675ca70f4fcef9e989))
41
+ - remove unused imports, add BLOCK_END assertion, use cache-precedence in doctor ([cc566d5](https://github.com/WeAreHausTech/haus-workflow/commit/cc566d51d816f3c65550b7f791b06d8b3318603f))
42
+ - **test:** remove no-op || true from warnings assertion ([9929d5c](https://github.com/WeAreHausTech/haus-workflow/commit/9929d5c2030e70b41a4c165bff87b3b45ca6753d))
43
+ - use CACHE_DIR from remote-catalog for template path resolution ([4d8b784](https://github.com/WeAreHausTech/haus-workflow/commit/4d8b784303ff8c76d4ef2d55bac3fbd6c77efd9a))
17
44
 
18
45
  ## [0.10.1](https://github.com/WeAreHausTech/haus-workflow/compare/v0.10.0...v0.10.1) (2026-05-29)
19
46
 
package/README.md CHANGED
@@ -10,10 +10,35 @@ Requires Node 22+.
10
10
 
11
11
  ```bash
12
12
  npm install -g @haus-tech/haus-workflow
13
- haus install
14
13
  ```
15
14
 
16
- `haus install` seeds `~/.claude/` with Haus-managed skills, agents, and hooks.
15
+ A **global** install auto-runs `haus install` via a postinstall hook it seeds
16
+ `~/.claude/` with Haus-managed skills, global slash commands, and hooks, merges
17
+ security rules into `~/.claude/settings.json`, and prints a notice of what changed.
18
+ It is non-fatal, idempotent, and global-only. Skip it with `HAUS_NO_POSTINSTALL=1`;
19
+ re-run or repair any time with `haus install`. Undo with `haus uninstall`.
20
+
21
+ **Driving it from Claude Code (no terminal):** once installed, every project's `/`
22
+ menu has `/haus-setup`, `/haus-doctor`, and `/haus-fix`. Run `/haus-setup` (or just
23
+ ask "set up my project") and the agent scans, asks a few plain-language questions,
24
+ and configures the repo for you.
25
+
26
+ ---
27
+
28
+ ## haus-workflow skill
29
+
30
+ Once installed, Claude Code gains a `/haus-workflow` slash command.
31
+
32
+ ```
33
+ /haus-workflow # interactive menu — pick setup, update, refresh, etc.
34
+ /haus-workflow init # first-time project setup
35
+ /haus-workflow apply # refresh .claude/ and regenerate CLAUDE.md imports
36
+ /haus-workflow update # update npm package + catalog + ~/.claude/
37
+ /haus-workflow catalog # fetch only latest catalog
38
+ /haus-workflow doctor # health check for drift
39
+ ```
40
+
41
+ Without an argument, the skill presents a menu so you can pick the task. With an argument, it runs immediately.
17
42
 
18
43
  ---
19
44
 
@@ -38,15 +63,20 @@ haus scan # scan repo and write context-map
38
63
  haus recommend # score and recommend catalog items
39
64
  haus apply --dry-run # preview what would be written
40
65
  haus apply --write # write .claude/ files
41
- haus update # sync remote catalog + refresh lockfile
42
- haus update --check # check for updates without applying
43
- haus doctor # health check: hooks, CLAUDE.md, catalog cache
44
- haus config # manage hook configuration
45
- haus memory # view project memory store
46
- haus guard # test bash/file-access guards
47
- haus uninstall # remove Haus-managed files from ~/.claude/
66
+ haus apply --refill-config # fill still-blank workflow-config.md fields, keep edits
67
+ haus context --task "<task>" # select context rules for a task (token-budgeted)
68
+ haus update # sync remote catalog + refresh lockfile
69
+ haus update --check # check for updates without applying
70
+ haus undo # undo last applied changes
71
+ haus doctor # health check: hooks, CLAUDE.md, imports, catalog cache
72
+ haus config # manage hook configuration
73
+ haus guard # test bash/file-access guards
74
+ haus uninstall # remove Haus-managed files from ~/.claude/
48
75
  ```
49
76
 
77
+ > Cross-session learnings use Claude Code's **native memory** (`MEMORY.md`); haus
78
+ > ships no memory store — see the `haus.memory-conventions` catalog doc.
79
+
50
80
  ---
51
81
 
52
82
  ## Development
@@ -62,3 +92,4 @@ yarn dev <cmd> # run CLI without building (tsx)
62
92
  - [Architecture](docs/architecture.md)
63
93
  - [CLI reference](docs/cli.md)
64
94
  - [Security](docs/security.md)
95
+ - [Developer scripts](docs/dev.md)