@haus-tech/haus-workflow 0.31.1 → 0.32.1
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 +18 -0
- package/dist/cli.js +1494 -530
- package/library/catalog/decisions-triggers.json +26 -0
- package/library/catalog/manifest.json +82 -25
- package/library/global/settings-fragments/hooks.json +7 -0
- package/package.json +8 -8
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"decisionsDir": "docs/decisions",
|
|
3
|
+
"legacyDecisionsDir": "docs/adr",
|
|
4
|
+
"pathGlobs": [
|
|
5
|
+
"**/package.json",
|
|
6
|
+
"**/pnpm-lock.yaml",
|
|
7
|
+
"**/yarn.lock",
|
|
8
|
+
"**/package-lock.json",
|
|
9
|
+
"**/migrations/**",
|
|
10
|
+
"**/prisma/schema.prisma",
|
|
11
|
+
"**/.github/workflows/**",
|
|
12
|
+
"**/Dockerfile*",
|
|
13
|
+
"**/docker-compose*.yml",
|
|
14
|
+
"**/terraform/**",
|
|
15
|
+
"**/openapi*.yaml",
|
|
16
|
+
"**/schema.graphql"
|
|
17
|
+
],
|
|
18
|
+
"securityPathGlobs": ["**/.env.example", "**/auth/**", "**/middleware/**"],
|
|
19
|
+
"pathRegex": ["(^|/)src/.*/auth/", "(^|/)middleware/", "\\.env\\.example$"],
|
|
20
|
+
"minFilesChanged": 8,
|
|
21
|
+
"minLinesChanged": 200,
|
|
22
|
+
"exemptGlobs": ["docs/**", "tests/**", "**/*.md", ".haus-workflow/**"],
|
|
23
|
+
"requiredSections": ["## Context", "## Decision", "## Consequences"],
|
|
24
|
+
"recommendedSections": ["## Motivation (why)", "## Alternatives considered"],
|
|
25
|
+
"decisionFilePattern": "^\\d{4}-.+\\.md$"
|
|
26
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.
|
|
2
|
+
"version": "3.2.1",
|
|
3
3
|
"items": [
|
|
4
4
|
{
|
|
5
5
|
"id": "haus.agentic-workflow-standard",
|
|
6
|
-
"version": "1.0
|
|
6
|
+
"version": "1.1.0",
|
|
7
7
|
"source": "haus",
|
|
8
8
|
"type": "template",
|
|
9
9
|
"path": "templates/agentic-workflow-standard.md",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
"id": "haus.bullmq-patterns",
|
|
241
|
-
"version": "1.0.
|
|
241
|
+
"version": "1.0.1",
|
|
242
242
|
"source": "haus",
|
|
243
243
|
"type": "skill",
|
|
244
244
|
"path": "skills/haus-owned/stack-patterns/bullmq-patterns",
|
|
@@ -1226,7 +1226,7 @@
|
|
|
1226
1226
|
},
|
|
1227
1227
|
{
|
|
1228
1228
|
"id": "haus.i18next-patterns",
|
|
1229
|
-
"version": "1.0.
|
|
1229
|
+
"version": "1.0.1",
|
|
1230
1230
|
"source": "haus",
|
|
1231
1231
|
"type": "skill",
|
|
1232
1232
|
"path": "skills/haus-owned/stack-patterns/i18next-patterns",
|
|
@@ -1257,7 +1257,7 @@
|
|
|
1257
1257
|
},
|
|
1258
1258
|
{
|
|
1259
1259
|
"id": "haus.laravel-nova-patterns",
|
|
1260
|
-
"version": "1.0.
|
|
1260
|
+
"version": "1.0.1",
|
|
1261
1261
|
"source": "haus",
|
|
1262
1262
|
"type": "skill",
|
|
1263
1263
|
"path": "skills/haus-owned/stack-patterns/laravel-nova-patterns",
|
|
@@ -1300,6 +1300,63 @@
|
|
|
1300
1300
|
"reviewStatus": "approved",
|
|
1301
1301
|
"riskLevel": "low"
|
|
1302
1302
|
},
|
|
1303
|
+
{
|
|
1304
|
+
"id": "haus.decision-template",
|
|
1305
|
+
"version": "1.0.0",
|
|
1306
|
+
"source": "haus",
|
|
1307
|
+
"type": "template",
|
|
1308
|
+
"path": "templates/decision-template.md",
|
|
1309
|
+
"title": "ADR decision template",
|
|
1310
|
+
"purpose": "Copy-paste skeleton for Architecture Decision Records under docs/decisions/.",
|
|
1311
|
+
"whenToUse": "When drafting a new ADR manually or seeding docs/decisions/ in a new repo.",
|
|
1312
|
+
"whenNotToUse": "Prefer `haus decisions suggest` for machine-drafted ADRs during development.",
|
|
1313
|
+
"tags": ["workflow", "project-instructions"],
|
|
1314
|
+
"repoRoles": [],
|
|
1315
|
+
"ecosystem": "general",
|
|
1316
|
+
"installMode": "copy-selected",
|
|
1317
|
+
"tokenEstimate": 180,
|
|
1318
|
+
"default": false,
|
|
1319
|
+
"reviewStatus": "approved",
|
|
1320
|
+
"riskLevel": "low"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"id": "haus.decisions-ci-gate",
|
|
1324
|
+
"version": "1.0.1",
|
|
1325
|
+
"source": "haus",
|
|
1326
|
+
"type": "template",
|
|
1327
|
+
"path": "templates/decisions-ci-gate.yml",
|
|
1328
|
+
"title": "GitHub Actions decisions gate",
|
|
1329
|
+
"purpose": "CI job fragment that runs `haus decisions check` on pull requests.",
|
|
1330
|
+
"whenToUse": "Projects using haus ADR enforcement that need a merge-blocking decisions gate.",
|
|
1331
|
+
"whenNotToUse": "Repos without haus CLI in CI or that have not adopted docs/decisions/.",
|
|
1332
|
+
"tags": ["workflow", "quality"],
|
|
1333
|
+
"repoRoles": [],
|
|
1334
|
+
"ecosystem": "general",
|
|
1335
|
+
"installMode": "copy-selected",
|
|
1336
|
+
"tokenEstimate": 120,
|
|
1337
|
+
"default": false,
|
|
1338
|
+
"reviewStatus": "approved",
|
|
1339
|
+
"riskLevel": "low"
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
"id": "haus.adr-decisions",
|
|
1343
|
+
"version": "1.0.1",
|
|
1344
|
+
"source": "haus",
|
|
1345
|
+
"type": "skill",
|
|
1346
|
+
"path": "skills/haus-owned/general/adr-decisions",
|
|
1347
|
+
"title": "ADR decisions",
|
|
1348
|
+
"purpose": "Draft and gate Architecture Decision Records when changes are decision-worthy; machine drafts, human approves.",
|
|
1349
|
+
"whenToUse": "When `haus decisions suggest` fires, adding deps/schema/auth/API changes, or answering why a choice was made.",
|
|
1350
|
+
"whenNotToUse": "Trivial edits with no architectural consequence.",
|
|
1351
|
+
"tags": ["workflow", "haus", "project-instructions"],
|
|
1352
|
+
"repoRoles": [],
|
|
1353
|
+
"ecosystem": "general",
|
|
1354
|
+
"tokenEstimate": 650,
|
|
1355
|
+
"tokenBudget": 900,
|
|
1356
|
+
"default": false,
|
|
1357
|
+
"reviewStatus": "approved",
|
|
1358
|
+
"riskLevel": "low"
|
|
1359
|
+
},
|
|
1303
1360
|
{
|
|
1304
1361
|
"id": "haus.nextauth-patterns",
|
|
1305
1362
|
"version": "1.0.0",
|
|
@@ -1333,7 +1390,7 @@
|
|
|
1333
1390
|
},
|
|
1334
1391
|
{
|
|
1335
1392
|
"id": "haus.nx-monorepo-patterns",
|
|
1336
|
-
"version": "1.1.
|
|
1393
|
+
"version": "1.1.1",
|
|
1337
1394
|
"source": "haus",
|
|
1338
1395
|
"type": "skill",
|
|
1339
1396
|
"path": "skills/haus-owned/stack-patterns/nx-monorepo-patterns",
|
|
@@ -1697,7 +1754,7 @@
|
|
|
1697
1754
|
},
|
|
1698
1755
|
{
|
|
1699
1756
|
"id": "haus.sentry-sentry-nestjs-sdk",
|
|
1700
|
-
"version": "1.0.
|
|
1757
|
+
"version": "1.0.1",
|
|
1701
1758
|
"source": "curated",
|
|
1702
1759
|
"type": "skill",
|
|
1703
1760
|
"path": "skills/sentry/sentry-nestjs-sdk",
|
|
@@ -1716,8 +1773,8 @@
|
|
|
1716
1773
|
"license": "MIT",
|
|
1717
1774
|
"licenseConfidence": "high",
|
|
1718
1775
|
"originSourceId": "getsentry-sentry-for-ai",
|
|
1719
|
-
"originUrl": "https://github.com/getsentry/sentry-for-ai/blob/
|
|
1720
|
-
"pinnedRef": "
|
|
1776
|
+
"originUrl": "https://github.com/getsentry/sentry-for-ai/blob/cc302403ebf647fd21c3ca736e1ec7ef6e4ed5a3/skills/sentry-nestjs-sdk/SKILL.md",
|
|
1777
|
+
"pinnedRef": "cc302403ebf647fd21c3ca736e1ec7ef6e4ed5a3",
|
|
1721
1778
|
"ecosystem": "sentry",
|
|
1722
1779
|
"requiresAny": [
|
|
1723
1780
|
{
|
|
@@ -1730,7 +1787,7 @@
|
|
|
1730
1787
|
},
|
|
1731
1788
|
{
|
|
1732
1789
|
"id": "haus.sentry-sentry-nextjs-sdk",
|
|
1733
|
-
"version": "1.0.
|
|
1790
|
+
"version": "1.0.2",
|
|
1734
1791
|
"source": "curated",
|
|
1735
1792
|
"type": "skill",
|
|
1736
1793
|
"path": "skills/sentry/sentry-nextjs-sdk",
|
|
@@ -1749,8 +1806,8 @@
|
|
|
1749
1806
|
"license": "MIT",
|
|
1750
1807
|
"licenseConfidence": "high",
|
|
1751
1808
|
"originSourceId": "getsentry-sentry-for-ai",
|
|
1752
|
-
"originUrl": "https://github.com/getsentry/sentry-for-ai/blob/
|
|
1753
|
-
"pinnedRef": "
|
|
1809
|
+
"originUrl": "https://github.com/getsentry/sentry-for-ai/blob/cc302403ebf647fd21c3ca736e1ec7ef6e4ed5a3/skills/sentry-nextjs-sdk/SKILL.md",
|
|
1810
|
+
"pinnedRef": "cc302403ebf647fd21c3ca736e1ec7ef6e4ed5a3",
|
|
1754
1811
|
"ecosystem": "sentry",
|
|
1755
1812
|
"requiresAny": [
|
|
1756
1813
|
{
|
|
@@ -1763,7 +1820,7 @@
|
|
|
1763
1820
|
},
|
|
1764
1821
|
{
|
|
1765
1822
|
"id": "haus.sentry-sentry-node-sdk",
|
|
1766
|
-
"version": "1.0.
|
|
1823
|
+
"version": "1.0.2",
|
|
1767
1824
|
"source": "curated",
|
|
1768
1825
|
"type": "skill",
|
|
1769
1826
|
"path": "skills/sentry/sentry-node-sdk",
|
|
@@ -1782,8 +1839,8 @@
|
|
|
1782
1839
|
"license": "MIT",
|
|
1783
1840
|
"licenseConfidence": "high",
|
|
1784
1841
|
"originSourceId": "getsentry-sentry-for-ai",
|
|
1785
|
-
"originUrl": "https://github.com/getsentry/sentry-for-ai/blob/
|
|
1786
|
-
"pinnedRef": "
|
|
1842
|
+
"originUrl": "https://github.com/getsentry/sentry-for-ai/blob/cc302403ebf647fd21c3ca736e1ec7ef6e4ed5a3/skills/sentry-node-sdk/SKILL.md",
|
|
1843
|
+
"pinnedRef": "cc302403ebf647fd21c3ca736e1ec7ef6e4ed5a3",
|
|
1787
1844
|
"ecosystem": "sentry",
|
|
1788
1845
|
"requiresAny": [
|
|
1789
1846
|
{
|
|
@@ -1859,7 +1916,7 @@
|
|
|
1859
1916
|
},
|
|
1860
1917
|
{
|
|
1861
1918
|
"id": "haus.storybook-patterns",
|
|
1862
|
-
"version": "1.0.
|
|
1919
|
+
"version": "1.0.2",
|
|
1863
1920
|
"source": "haus",
|
|
1864
1921
|
"type": "skill",
|
|
1865
1922
|
"path": "skills/haus-owned/stack-patterns/storybook-patterns",
|
|
@@ -1890,7 +1947,7 @@
|
|
|
1890
1947
|
},
|
|
1891
1948
|
{
|
|
1892
1949
|
"id": "haus.strapi-patterns",
|
|
1893
|
-
"version": "1.0.
|
|
1950
|
+
"version": "1.0.1",
|
|
1894
1951
|
"source": "haus",
|
|
1895
1952
|
"type": "skill",
|
|
1896
1953
|
"path": "skills/haus-owned/stack-patterns/strapi-patterns",
|
|
@@ -1921,7 +1978,7 @@
|
|
|
1921
1978
|
},
|
|
1922
1979
|
{
|
|
1923
1980
|
"id": "haus.stripe-stripe-best-practices",
|
|
1924
|
-
"version": "1.0.
|
|
1981
|
+
"version": "1.0.3",
|
|
1925
1982
|
"source": "curated",
|
|
1926
1983
|
"type": "skill",
|
|
1927
1984
|
"path": "skills/stripe/stripe-best-practices",
|
|
@@ -1931,7 +1988,7 @@
|
|
|
1931
1988
|
"whenNotToUse": "Do not use when a more specific skill or command applies.",
|
|
1932
1989
|
"tags": ["workflow", "stripe", "payments"],
|
|
1933
1990
|
"repoRoles": [],
|
|
1934
|
-
"tokenEstimate":
|
|
1991
|
+
"tokenEstimate": 1018,
|
|
1935
1992
|
"installMode": "copy-selected",
|
|
1936
1993
|
"default": false,
|
|
1937
1994
|
"reviewStatus": "approved",
|
|
@@ -1940,8 +1997,8 @@
|
|
|
1940
1997
|
"license": "MIT",
|
|
1941
1998
|
"licenseConfidence": "medium",
|
|
1942
1999
|
"originSourceId": "stripe-ai",
|
|
1943
|
-
"originUrl": "https://github.com/stripe/ai/blob/
|
|
1944
|
-
"pinnedRef": "
|
|
2000
|
+
"originUrl": "https://github.com/stripe/ai/blob/f54c9e6c0e8b6cfe4e648745eec68ecab3ddc994/skills/stripe-best-practices/SKILL.md",
|
|
2001
|
+
"pinnedRef": "f54c9e6c0e8b6cfe4e648745eec68ecab3ddc994",
|
|
1945
2002
|
"ecosystem": "stripe",
|
|
1946
2003
|
"requiresAny": [
|
|
1947
2004
|
{
|
|
@@ -2467,7 +2524,7 @@
|
|
|
2467
2524
|
},
|
|
2468
2525
|
{
|
|
2469
2526
|
"id": "haus.tanstack-query-router-patterns",
|
|
2470
|
-
"version": "1.0.
|
|
2527
|
+
"version": "1.0.2",
|
|
2471
2528
|
"source": "haus",
|
|
2472
2529
|
"type": "skill",
|
|
2473
2530
|
"path": "skills/haus-owned/stack-patterns/tanstack-query-router-patterns",
|
|
@@ -2498,7 +2555,7 @@
|
|
|
2498
2555
|
},
|
|
2499
2556
|
{
|
|
2500
2557
|
"id": "haus.turbo-monorepo-patterns",
|
|
2501
|
-
"version": "1.0.
|
|
2558
|
+
"version": "1.0.2",
|
|
2502
2559
|
"source": "haus",
|
|
2503
2560
|
"type": "skill",
|
|
2504
2561
|
"path": "skills/haus-owned/stack-patterns/turbo-monorepo-patterns",
|
|
@@ -2564,7 +2621,7 @@
|
|
|
2564
2621
|
},
|
|
2565
2622
|
{
|
|
2566
2623
|
"id": "haus.vendure-app-patterns",
|
|
2567
|
-
"version": "1.0.
|
|
2624
|
+
"version": "1.0.1",
|
|
2568
2625
|
"source": "haus",
|
|
2569
2626
|
"type": "skill",
|
|
2570
2627
|
"path": "skills/haus-owned/stack-patterns/vendure-app-patterns",
|
|
@@ -2592,7 +2649,7 @@
|
|
|
2592
2649
|
},
|
|
2593
2650
|
{
|
|
2594
2651
|
"id": "haus.vendure-plugin-patterns",
|
|
2595
|
-
"version": "1.0.
|
|
2652
|
+
"version": "1.0.1",
|
|
2596
2653
|
"source": "haus",
|
|
2597
2654
|
"type": "skill",
|
|
2598
2655
|
"path": "skills/haus-owned/stack-patterns/vendure-plugin-patterns",
|
|
@@ -14,6 +14,13 @@
|
|
|
14
14
|
"event": "PreToolUse",
|
|
15
15
|
"matcher": "Bash",
|
|
16
16
|
"command": "haus guard bash --from-hook"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "hook.decisions.suggest",
|
|
20
|
+
"gate": "keep",
|
|
21
|
+
"event": "Stop",
|
|
22
|
+
"matcher": "*",
|
|
23
|
+
"command": "haus decisions suggest --from-hook"
|
|
17
24
|
}
|
|
18
25
|
]
|
|
19
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haus-tech/haus-workflow",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "Haus AI workflow CLI for Claude Code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"security:audit": "yarn npm audit -A -R --severity high --environment production"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@inquirer/checkbox": "5.1
|
|
44
|
+
"@inquirer/checkbox": "5.2.1",
|
|
45
45
|
"commander": "13.1.0",
|
|
46
46
|
"diff": "8.0.4",
|
|
47
47
|
"execa": "9.6.1",
|
|
48
48
|
"fast-glob": "3.3.3",
|
|
49
49
|
"fs-extra": "11.3.5",
|
|
50
|
-
"semver": "7.8.
|
|
51
|
-
"yaml": "2.
|
|
50
|
+
"semver": "7.8.5",
|
|
51
|
+
"yaml": "2.9.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@release-it/conventional-changelog": "11.0.
|
|
54
|
+
"@release-it/conventional-changelog": "11.0.1",
|
|
55
55
|
"@types/fs-extra": "11.0.4",
|
|
56
|
-
"@types/node": "22.
|
|
56
|
+
"@types/node": "22.20.0",
|
|
57
57
|
"@types/semver": "7.7.1",
|
|
58
58
|
"@typescript-eslint/eslint-plugin": "8.59.3",
|
|
59
59
|
"@typescript-eslint/parser": "8.59.3",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"eslint": "9.39.4",
|
|
63
63
|
"eslint-plugin-import": "2.32.0",
|
|
64
64
|
"lefthook": "1.13.6",
|
|
65
|
-
"prettier": "3.8.
|
|
66
|
-
"release-it": "20.0
|
|
65
|
+
"prettier": "3.8.4",
|
|
66
|
+
"release-it": "20.2.0",
|
|
67
67
|
"tsx": "4.22.4",
|
|
68
68
|
"typescript": "5.9.3"
|
|
69
69
|
},
|