@haus-tech/haus-workflow 0.18.0 → 0.18.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/cli.js +159 -164
  4. package/library/catalog/manifest.json +2 -2
  5. package/package.json +4 -8
  6. package/tests/README.md +0 -54
  7. package/tests/fixtures/catalog/agents/code-reviewer.md +0 -15
  8. package/tests/fixtures/catalog/agents/docs-researcher.md +0 -15
  9. package/tests/fixtures/catalog/agents/planner.md +0 -15
  10. package/tests/fixtures/catalog/agents/security-reviewer.md +0 -15
  11. package/tests/fixtures/catalog/agents/test-reviewer.md +0 -15
  12. package/tests/fixtures/catalog/manifest.json +0 -1065
  13. package/tests/fixtures/catalog/policy-gates-manifest.json +0 -120
  14. package/tests/fixtures/catalog/skills/auth-oidc-azure-bankid-patterns/SKILL.md +0 -14
  15. package/tests/fixtures/catalog/skills/bullmq-patterns/SKILL.md +0 -14
  16. package/tests/fixtures/catalog/skills/database-patterns/SKILL.md +0 -14
  17. package/tests/fixtures/catalog/skills/dotnet-patterns/SKILL.md +0 -14
  18. package/tests/fixtures/catalog/skills/dotnet-service-patterns/SKILL.md +0 -14
  19. package/tests/fixtures/catalog/skills/eslint-setup/SKILL.md +0 -14
  20. package/tests/fixtures/catalog/skills/expo-react-native-patterns/SKILL.md +0 -14
  21. package/tests/fixtures/catalog/skills/global-engineering-rules/SKILL.md +0 -14
  22. package/tests/fixtures/catalog/skills/i18next-patterns/SKILL.md +0 -14
  23. package/tests/fixtures/catalog/skills/jest-patterns/SKILL.md +0 -14
  24. package/tests/fixtures/catalog/skills/laravel-nova-patterns/SKILL.md +0 -14
  25. package/tests/fixtures/catalog/skills/laravel-patterns/SKILL.md +0 -14
  26. package/tests/fixtures/catalog/skills/nestjs-graphql-patterns/SKILL.md +0 -14
  27. package/tests/fixtures/catalog/skills/nextauth-patterns/SKILL.md +0 -14
  28. package/tests/fixtures/catalog/skills/nextjs-patterns/SKILL.md +0 -14
  29. package/tests/fixtures/catalog/skills/nx21-monorepo-patterns/SKILL.md +0 -14
  30. package/tests/fixtures/catalog/skills/package-manager-yarn4-pnpm89/SKILL.md +0 -14
  31. package/tests/fixtures/catalog/skills/phpunit-patterns/SKILL.md +0 -14
  32. package/tests/fixtures/catalog/skills/playwright-patterns/SKILL.md +0 -14
  33. package/tests/fixtures/catalog/skills/prettier-setup/SKILL.md +0 -14
  34. package/tests/fixtures/catalog/skills/prisma-patterns/SKILL.md +0 -14
  35. package/tests/fixtures/catalog/skills/production-readiness-review/SKILL.md +0 -14
  36. package/tests/fixtures/catalog/skills/qliro-patterns/SKILL.md +0 -14
  37. package/tests/fixtures/catalog/skills/radix-shadcn-patterns/SKILL.md +0 -14
  38. package/tests/fixtures/catalog/skills/react-router-v7-patterns/SKILL.md +0 -14
  39. package/tests/fixtures/catalog/skills/react19-patterns/SKILL.md +0 -14
  40. package/tests/fixtures/catalog/skills/sanity-patterns/SKILL.md +0 -14
  41. package/tests/fixtures/catalog/skills/security-review/SKILL.md +0 -14
  42. package/tests/fixtures/catalog/skills/sentry-patterns/SKILL.md +0 -14
  43. package/tests/fixtures/catalog/skills/storybook-patterns/SKILL.md +0 -14
  44. package/tests/fixtures/catalog/skills/strapi-patterns/SKILL.md +0 -14
  45. package/tests/fixtures/catalog/skills/stripe-patterns/SKILL.md +0 -14
  46. package/tests/fixtures/catalog/skills/supabase-patterns/SKILL.md +0 -14
  47. package/tests/fixtures/catalog/skills/tailwind-scss-patterns/SKILL.md +0 -14
  48. package/tests/fixtures/catalog/skills/tanstack-query-router-patterns/SKILL.md +0 -14
  49. package/tests/fixtures/catalog/skills/testing-library-patterns/SKILL.md +0 -14
  50. package/tests/fixtures/catalog/skills/turbo-monorepo-patterns/SKILL.md +0 -14
  51. package/tests/fixtures/catalog/skills/typescript5-patterns/SKILL.md +0 -14
  52. package/tests/fixtures/catalog/skills/vendure-app-patterns/SKILL.md +0 -14
  53. package/tests/fixtures/catalog/skills/vendure-plugin-patterns/SKILL.md +0 -14
  54. package/tests/fixtures/catalog/skills/vite8-patterns/SKILL.md +0 -14
  55. package/tests/fixtures/catalog/skills/vitest-patterns/SKILL.md +0 -14
  56. package/tests/fixtures/catalog/skills/vue-patterns/SKILL.md +0 -14
  57. package/tests/fixtures/catalog/skills/wordpress-acf-elementor-jetengine-patterns/SKILL.md +0 -14
  58. package/tests/fixtures/catalog/skills/wordpress-bedrock-patterns/SKILL.md +0 -14
  59. package/tests/fixtures/catalog/skills/wordpress-patterns/SKILL.md +0 -14
@@ -1,120 +0,0 @@
1
- {
2
- "version": "0.1.0",
3
- "_note": "Policy gates test fixture. One item per gate exercised by recommend-eligibility.test.js.",
4
- "items": [
5
- {
6
- "id": "test.unsupported-python",
7
- "source": "haus",
8
- "type": "skill",
9
- "path": "skills/test.unsupported-python",
10
- "title": "Test: Unsupported Python",
11
- "purpose": "Triggers UNSUPPORTED gate (python in tags).",
12
- "tags": ["python", "backend"],
13
- "repoRoles": [],
14
- "default": false,
15
- "tokenEstimate": 100
16
- },
17
- {
18
- "id": "test.curated-not-approved",
19
- "source": "curated",
20
- "type": "skill",
21
- "path": "skills/test.curated-not-approved",
22
- "title": "Test: Curated Not Approved",
23
- "purpose": "Triggers curated-not-approved gate (reviewStatus:candidate).",
24
- "tags": ["frontend"],
25
- "repoRoles": [],
26
- "reviewStatus": "candidate",
27
- "default": false,
28
- "tokenEstimate": 100
29
- },
30
- {
31
- "id": "test.curated-risk-blocked",
32
- "source": "curated",
33
- "type": "skill",
34
- "path": "skills/test.curated-risk-blocked",
35
- "title": "Test: Curated Risk Blocked",
36
- "purpose": "Triggers curated-risk-blocked gate (reviewStatus:approved but riskLevel:blocked).",
37
- "tags": ["frontend"],
38
- "repoRoles": [],
39
- "reviewStatus": "approved",
40
- "riskLevel": "blocked",
41
- "default": false,
42
- "tokenEstimate": 100
43
- },
44
- {
45
- "id": "test.env-management",
46
- "source": "haus",
47
- "type": "skill",
48
- "path": "skills/test.env-management",
49
- "title": "Test: Sensitive Secrets Item",
50
- "purpose": "Triggers sensitive-policy gate (secrets in tags, matched by SENSITIVE_ITEM_KEYWORDS).",
51
- "tags": ["secrets", "workflow"],
52
- "repoRoles": [],
53
- "default": false,
54
- "tokenEstimate": 100
55
- },
56
- {
57
- "id": "test.third-party-unapproved",
58
- "source": "third-party-plugin",
59
- "type": "skill",
60
- "path": "skills/test.third-party-unapproved",
61
- "title": "Test: Third-Party Unapproved",
62
- "purpose": "Triggers source-approval gate (non-haus, non-curated, not in sources-report.json).",
63
- "tags": ["typescript"],
64
- "repoRoles": [],
65
- "default": false,
66
- "tokenEstimate": 100
67
- },
68
- {
69
- "id": "test.requires-svelte",
70
- "source": "haus",
71
- "type": "skill",
72
- "path": "skills/test.requires-svelte",
73
- "title": "Test: Requires Svelte",
74
- "purpose": "Triggers requiresAny unsatisfied gate when svelte not in context.",
75
- "tags": ["svelte"],
76
- "repoRoles": [],
77
- "requiresAny": [{ "dependency": "svelte" }],
78
- "default": false,
79
- "tokenEstimate": 100
80
- },
81
- {
82
- "id": "test.default-baseline",
83
- "source": "haus",
84
- "type": "skill",
85
- "path": "skills/test.default-baseline",
86
- "title": "Test: Default Baseline",
87
- "purpose": "Passes all gates because default:true. Used to verify tokenEstimate is preserved.",
88
- "tags": ["workflow"],
89
- "repoRoles": [],
90
- "default": true,
91
- "tokenEstimate": 999
92
- },
93
- {
94
- "id": "test.role-matched",
95
- "source": "haus",
96
- "type": "skill",
97
- "path": "skills/test.role-matched",
98
- "title": "Test: Role Matched",
99
- "purpose": "Recommended when context has nextjs stack. Tests positive matching path.",
100
- "tags": ["nextjs", "frontend"],
101
- "repoRoles": ["next-app"],
102
- "requiresAny": [{ "stack": "nextjs" }],
103
- "default": false,
104
- "tokenEstimate": 100
105
- },
106
- {
107
- "id": "haus.nx21-monorepo-patterns",
108
- "source": "haus",
109
- "type": "skill",
110
- "path": "skills/haus.nx21-monorepo-patterns",
111
- "title": "Haus Nx 21 Monorepo Patterns",
112
- "purpose": "Triggers required-role-missing gate when nx-monorepo role is absent. Hardcoded check in recommend().",
113
- "tags": ["nx", "monorepo"],
114
- "repoRoles": ["nx-monorepo"],
115
- "requiresAny": [{ "stack": "nx" }],
116
- "default": false,
117
- "tokenEstimate": 100
118
- }
119
- ]
120
- }
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.
@@ -1,14 +0,0 @@
1
- ---
2
- name: fixture-stub
3
- description: Fixture stub — minimal valid SKILL.md for CLI tests.
4
- ---
5
-
6
- # Fixture stub
7
-
8
- ## Use when
9
-
10
- Use this skill when working with the relevant technology.
11
-
12
- ## Do not use when
13
-
14
- Do not use for unrelated tasks.