@punks/cli 5.2.0 → 5.2.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/README.md +2 -2
- package/dist/BASELINE_CHANGELOG.md +46 -1
- package/dist/CHANGELOG.md +37 -0
- package/dist/baseline/scaffold-baseline/baseline.json +15 -5
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +2 -0
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +16 -0
- package/dist/baseline/scaffold-baseline/data/hooks/format-edited-file.mjs +459 -318
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.d.ts +1 -0
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.mjs +98 -27
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.test.ts +156 -8
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint-runner.d.mts +55 -0
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint-runner.mjs +329 -0
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint-runner.test.ts +864 -0
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint.d.mts +97 -0
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint.mjs +658 -0
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint.test.ts +614 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/SKILL.md +2 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/commands.md +8 -9
- package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/managed-lint.md +165 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/post-command-flow.md +28 -24
- package/dist/baseline/scaffold-baseline/skills/agnostic/cli/hi-cli/references/wiki-structure.md +16 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/SKILL.md +21 -16
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +16 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-architecture/SKILL.md +65 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-architecture/assets/ARCHITECTURE-TEMPLATE.md +119 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-architecture/references/artifact-contract.md +200 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/SKILL.md +11 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/architecture-convergence.md +19 -4
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-plan/references/plan-schema.md +17 -3
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/SKILL.md +38 -20
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +11 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/readiness.md +40 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +8 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/SKILL.md +4 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/architecture-conformance.md +10 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/planning/implement-spec/references/lifecycle.md +23 -10
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/brainstorm/SKILL.md +22 -0
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/SKILL.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +3 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +6 -3
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/plan.md +4 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +5 -1
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +15 -9
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/spec.md +13 -26
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/artifact-state.md +39 -1
- package/dist/baseline/scaffold-baseline/skills/phases/requirements-phase/SKILL.md +31 -14
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/prepare-review.md +12 -4
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/hooks/format-edited-file.d.mts +5 -0
- package/dist/data/hooks/format-edited-file.mjs +282 -333
- package/dist/data/scripts/commit-gate-runner.mjs +98 -27
- package/dist/data/scripts/managed-lint-runner.d.mts +55 -0
- package/dist/data/scripts/managed-lint-runner.mjs +329 -0
- package/dist/data/scripts/managed-lint.d.mts +97 -0
- package/dist/data/scripts/managed-lint.mjs +658 -0
- package/dist/index.js +86 -1184
- package/dist/skills/agnostic/cli/hi-cli/SKILL.md +2 -0
- package/dist/skills/agnostic/cli/hi-cli/references/commands.md +8 -9
- package/dist/skills/agnostic/cli/hi-cli/references/managed-lint.md +165 -0
- package/dist/skills/agnostic/cli/hi-cli/references/post-command-flow.md +15 -11
- package/dist/skills/agnostic/cli/hi-cli/references/wiki-structure.md +16 -0
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +21 -16
- package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +1 -1
- package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +16 -4
- package/dist/skills/agnostic/planning/create-architecture/SKILL.md +65 -0
- package/dist/skills/agnostic/planning/create-architecture/assets/ARCHITECTURE-TEMPLATE.md +119 -0
- package/dist/skills/agnostic/planning/create-architecture/references/artifact-contract.md +200 -0
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +11 -3
- package/dist/skills/agnostic/planning/create-plan/references/architecture-convergence.md +19 -4
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +17 -3
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +38 -20
- package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +11 -0
- package/dist/skills/agnostic/planning/create-spec/references/readiness.md +40 -0
- package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +8 -0
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +4 -2
- package/dist/skills/agnostic/planning/implement-spec/references/architecture-conformance.md +10 -6
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +23 -10
- package/dist/skills/agnostic/requirements/brainstorm/SKILL.md +22 -0
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +2 -1
- package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +3 -2
- package/dist/skills/phases/delivery-phase/SKILL.md +6 -3
- package/dist/skills/phases/delivery-phase/phases/plan.md +4 -2
- package/dist/skills/phases/delivery-phase/phases/review.md +5 -1
- package/dist/skills/phases/delivery-phase/phases/router.md +15 -9
- package/dist/skills/phases/delivery-phase/phases/spec.md +13 -26
- package/dist/skills/phases/delivery-phase/references/artifact-state.md +39 -1
- package/dist/skills/phases/requirements-phase/SKILL.md +31 -14
- package/dist/skills/phases/review-phase/phases/prepare-review.md +12 -4
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ At runtime, stable and exact scaffold requests resolve through the verified cont
|
|
|
9
9
|
- `hi`
|
|
10
10
|
show the command guide
|
|
11
11
|
- `hi init`
|
|
12
|
-
choose
|
|
12
|
+
choose project providers and backlog project URL, then scaffold the default Harness context
|
|
13
13
|
- `hi scaffold`
|
|
14
14
|
detect the target repo, confirm or auto-accept pack selection, and write repo-aware scaffold output
|
|
15
15
|
- `hi tools ensure`
|
|
@@ -39,7 +39,7 @@ bun run baseline:build
|
|
|
39
39
|
|
|
40
40
|
`bun run sync:skills` updates a local cache clone of `wearedevpunks/skills` and then replaces only `skills/`, overwriting any local changes there.
|
|
41
41
|
|
|
42
|
-
`hi init` asks for the backlog
|
|
42
|
+
`hi init` asks for the backlog, asset, and repository providers and an absolute HTTP(S) backlog project URL, stores those settings in `.devpunks/settings.json`, distributes the default-pack scaffold, and prints the post-command handoff. Agents should activate `$hi-cli`, read `.devpunks/AGENT-SYSTEM-PROMPT.md`, and check the existing project-owned wiki structure before starting `$docs-onboarding`. If no wiki exists, the wiki check is `not-applicable` and onboarding stays pending until the user authorizes project-owned wiki creation or selects an existing wiki. Init does not generate a wiki or write a wiki provider page; settings remain authoritative. Keep selected providers unless the user changes them.
|
|
43
43
|
|
|
44
44
|
`hi scaffold` scans the target repo from `cwd` or `-i`, resolves the active scaffold baseline, writes scaffold output into the scan root or `-o`, copies the selected baseline skills, resolves pack-owned lint assets into `.devpunks/specs/lint/`, and ensures required global tool prerequisites for those skills. Use `--yes` in non-interactive harnesses to accept the resolved default pack selection without prompts.
|
|
45
45
|
|
|
@@ -2,7 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
Compatibility: `>=5.2.
|
|
5
|
+
Compatibility: `>=5.2.1 <5.3.0`
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Add `create-architecture` to the default planning pack. Requirements now retain
|
|
10
|
+
`ARCHITECTURE.md` before `SPEC.md`, preserving exact accepted implementation
|
|
11
|
+
choices, source traceability, and visual explanations. Every delivery entrypoint,
|
|
12
|
+
including resumed and local work, requires the current retained artifact pair.
|
|
13
|
+
Spec outcome/acceptance codes map to architecture blocks, flow steps, and source grill questions.
|
|
14
|
+
Install the shared `brainstorm` dependency in the default requirements pack.
|
|
15
|
+
Canonical source: `wearedevpunks/skills@1991389066f56e7297bacc5fe2cafd3858ca0ee4`
|
|
16
|
+
(`sync/create-architecture-1991389066f5`).
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Adopt managed lint for the eleven selected app and package roots while
|
|
21
|
+
preserving their inherited Oxlint policy and the repository check graph.
|
|
22
|
+
- Keep required root static verification scoped to root code while affected
|
|
23
|
+
- Validate affected workspace lint through the saved managed route and enforce its warning limit on changed lines.
|
|
24
|
+
- Keep CLI skills, build output, and cache paths excluded from managed lint enumeration as they already are in the CLI Oxlint config; this bounds the Windows command line.
|
|
25
|
+
- Match installed-consumer validation to the four current `hi init` prompts.
|
|
26
|
+
verification checks changed files under each selected lint route.
|
|
27
|
+
- Keep the wiki app project-owned; the baseline no longer aligns its package,
|
|
28
|
+
routes, content, or metadata during scaffold and update.
|
|
29
|
+
- Sync the shared `hi-cli` post-command wiki structure check from canonical
|
|
30
|
+
`wearedevpunks/skills@e9ffa55393dae12ffb061125575a2053bb49a7eb`
|
|
31
|
+
(`sync/hi-cli-wiki-onboarding-e9ffa55`).
|
|
32
|
+
|
|
33
|
+
- Centralize architectural failure lenses in `brainstorm`; run its checkpoint
|
|
34
|
+
initially and after every requirements-grill response set, including an incomplete
|
|
35
|
+
frontier response, after recording supplied answers and before computing and
|
|
36
|
+
persisting the next frontier or requesting closure (#226).
|
|
37
|
+
|
|
38
|
+
## Published 2026-09-23
|
|
39
|
+
|
|
40
|
+
Published as [baseline/stable/2026.09.23-66535546](https://github.com/wearedevpunks/harness-intelligence/releases/tag/baseline/stable/2026.09.23-66535546).
|
|
41
|
+
|
|
42
|
+
Compatibility: `>=5.2.1 <5.3.0`
|
|
6
43
|
|
|
7
44
|
### Added
|
|
8
45
|
|
|
@@ -12,6 +49,14 @@ Compatibility: `>=5.2.0 <5.3.0`
|
|
|
12
49
|
|
|
13
50
|
### Fixed
|
|
14
51
|
|
|
52
|
+
- Give generated lint, CI, Commit Gate, and post-edit checks one explicit scope
|
|
53
|
+
and effective-policy authority, excluding wiki paths, user-excluded paths, and
|
|
54
|
+
unselected package boundaries (#224).
|
|
55
|
+
- Preserve inherited project Oxlint policy, compatible custom commands, and
|
|
56
|
+
warning limits during managed lint adoption; retain referenced catalogs and
|
|
57
|
+
retire only unchanged receipt-owned obsolete assets (#224).
|
|
58
|
+
- Ship managed lint selection, drift, and migration guidance aligned with
|
|
59
|
+
read-only checks and recoverable updates (#224).
|
|
15
60
|
- Cover staged deletions, root changes, and cross-owner renames in the bundled
|
|
16
61
|
Commit Gate runner. Honor explicit file, owner, and repository execution modes,
|
|
17
62
|
deduplicate identical checks, and preserve successful command diagnostics;
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 5.2.2 - 2026-09-24
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Leave wiki package setup, routes, content, and metadata to the owning project;
|
|
10
|
+
`hi init`, `hi scaffold`, and `hi update` no longer create or align a wiki.
|
|
11
|
+
- Check an existing wiki against the project structure during the shared
|
|
12
|
+
`hi-cli` post-command handoff.
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Recognize the repository's Turbo check route and read-only format commands
|
|
17
|
+
when adopting managed lint, and preserve disjoint inherited Oxlint policy.
|
|
18
|
+
- Accept the scoped root static gate while retaining the full managed lint
|
|
19
|
+
dispatcher for operator runs and linting changed files in CI.
|
|
20
|
+
- Find Node when the managed lint runner validates tools from a scoped runtime.
|
|
21
|
+
- Keep edited-file lint available when an unrelated repository symlink points outside the root, while rejecting external required lint inputs.
|
|
22
|
+
- Preserve update preparation evidence when publication readiness fails after a lint preview.
|
|
23
|
+
- Plan the edited-file hook when managed quality setup will add Oxfmt during the same update.
|
|
24
|
+
|
|
25
|
+
## 5.2.1 - 2026-09-23
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Make managed lint scope selection explicit and route every eligible file to
|
|
30
|
+
its most-specific selected owner across package scripts, CI, Commit Gate, and
|
|
31
|
+
edited-file checks (#224).
|
|
32
|
+
- Preserve inherited Oxlint policy, supported custom commands, warning
|
|
33
|
+
thresholds, and referenced lint catalogs through adoption and repeated updates
|
|
34
|
+
(#224).
|
|
35
|
+
- Skip managed checks for excluded-only changes while preserving independent
|
|
36
|
+
Python/Ruff behavior; keep wiki paths and unselected package boundaries outside
|
|
37
|
+
managed software lint (#224).
|
|
38
|
+
- Validate dependent policy, config, routes, and tool inputs before activation,
|
|
39
|
+
and report selection, drift, findings, and unresolved migration failures with
|
|
40
|
+
actionable context (#224).
|
|
41
|
+
|
|
5
42
|
## 5.2.0 - 2026-09-22
|
|
6
43
|
|
|
7
44
|
### Added
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"channel": "stable",
|
|
4
|
-
"version": "2026.09.
|
|
5
|
-
"tag": "baseline/stable/2026.09.
|
|
6
|
-
"commit": "
|
|
4
|
+
"version": "2026.09.24-84dd3d24",
|
|
5
|
+
"tag": "baseline/stable/2026.09.24-84dd3d24",
|
|
6
|
+
"commit": "84dd3d249f6a9a9e420e48c940c9629337314a5e",
|
|
7
7
|
"sha256": null,
|
|
8
8
|
"compatibility": {
|
|
9
|
-
"cliVersionRange": ">=5.2.
|
|
9
|
+
"cliVersionRange": ">=5.2.2 <5.3.0"
|
|
10
10
|
},
|
|
11
|
-
"generatedAt": "2026-09-
|
|
11
|
+
"generatedAt": "2026-09-24T14:01:29.000Z",
|
|
12
12
|
"capabilities": {
|
|
13
13
|
"scopedAuthoring": {
|
|
14
14
|
"revision": "1",
|
|
@@ -58,6 +58,16 @@
|
|
|
58
58
|
"authoringRevision": "1",
|
|
59
59
|
"id": "better-auth-security-best-practices"
|
|
60
60
|
},
|
|
61
|
+
{
|
|
62
|
+
"activationRevision": "1",
|
|
63
|
+
"authoringRevision": "1",
|
|
64
|
+
"id": "brainstorm"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"activationRevision": "1",
|
|
68
|
+
"authoringRevision": "1",
|
|
69
|
+
"id": "create-architecture"
|
|
70
|
+
},
|
|
61
71
|
{
|
|
62
72
|
"activationRevision": "1",
|
|
63
73
|
"authoringRevision": "1",
|
|
@@ -250,6 +250,7 @@
|
|
|
250
250
|
"goalify",
|
|
251
251
|
"grilling",
|
|
252
252
|
"handoff",
|
|
253
|
+
"create-architecture",
|
|
253
254
|
"create-spec",
|
|
254
255
|
"create-plan",
|
|
255
256
|
"implement-spec",
|
|
@@ -358,6 +359,7 @@
|
|
|
358
359
|
"skills": [
|
|
359
360
|
"requirements-phase",
|
|
360
361
|
"requirements-grill",
|
|
362
|
+
"brainstorm",
|
|
361
363
|
"domain-modeling",
|
|
362
364
|
"repo-asset-management",
|
|
363
365
|
"write-backlog"
|
|
@@ -71,6 +71,22 @@
|
|
|
71
71
|
"sourceDirectory": "skills/frameworks/better-auth/better-auth-security-best-practices",
|
|
72
72
|
"tier": "framework"
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"framework": null,
|
|
76
|
+
"id": "brainstorm",
|
|
77
|
+
"language": null,
|
|
78
|
+
"requiresTools": [],
|
|
79
|
+
"sourceDirectory": "skills/agnostic/requirements/brainstorm",
|
|
80
|
+
"tier": "agnostic"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"framework": null,
|
|
84
|
+
"id": "create-architecture",
|
|
85
|
+
"language": null,
|
|
86
|
+
"requiresTools": [],
|
|
87
|
+
"sourceDirectory": "skills/agnostic/planning/create-architecture",
|
|
88
|
+
"tier": "agnostic"
|
|
89
|
+
},
|
|
74
90
|
{
|
|
75
91
|
"framework": null,
|
|
76
92
|
"id": "create-plan",
|