@punks/cli 5.1.1 → 5.2.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/AGENTS.md +28 -10
- package/dist/BASELINE_CHANGELOG.md +19 -1
- package/dist/CHANGELOG.md +49 -0
- package/dist/baseline/scaffold-baseline/baseline.json +5 -10
- package/dist/baseline/scaffold-baseline/data/catalog/packs.json +1 -1
- package/dist/baseline/scaffold-baseline/data/catalog/skills.json +0 -8
- package/dist/baseline/scaffold-baseline/data/hooks/format-edited-file.mjs +408 -309
- 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 +206 -58
- package/dist/baseline/scaffold-baseline/data/scripts/commit-gate-runner.test.ts +496 -29
- 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 +323 -0
- package/dist/baseline/scaffold-baseline/data/scripts/managed-lint-runner.test.ts +821 -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/data/scripts/sync-subagents-validator.test.ts +39 -0
- package/dist/baseline/scaffold-baseline/data/scripts/sync-subagents.mjs +8 -2
- 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 +6 -7
- 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 +20 -19
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/define-handoffs.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/model-state.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/test-routes.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/write-phases.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/phases/write-router.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/docs/write-graph-based-skills/references/authoring-contract.md +8 -8
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/autoreview/SKILL.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/agnostic/quality/make-tsuite/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/agnostic/requirements/brainstorm/SKILL.md +21 -11
- package/dist/baseline/scaffold-baseline/skills/phases/debugging-phase/SKILL.md +3 -4
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/SKILL.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/debug.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/human-steering.md +25 -0
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/implement.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/review.md +2 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/router.md +3 -2
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/context-continuity.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/failure-continuity.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/references/phase-handoff.md +4 -3
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/AUTHORING-HANDOFF.md +9 -9
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/SKILL.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/ensure-fog.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/grilling.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/human-steering.md +25 -0
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/prototype.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/reconcile.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/research.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/router.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/references/state-graph.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/return-route.md +6 -5
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/router.md +1 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/phases/run-review.md +2 -1
- package/dist/baseline/scaffold-baseline/skills/phases/review-phase/references/state-graph.md +3 -3
- package/dist/baseline/scaffold-baseline.json +5 -5
- package/dist/baseline/scaffold-baseline.tgz +0 -0
- package/dist/data/AGENTS.md +22 -5
- package/dist/data/hooks/format-edited-file.mjs +237 -325
- package/dist/data/scripts/commit-gate-runner.mjs +206 -58
- package/dist/data/scripts/managed-lint-runner.d.mts +55 -0
- package/dist/data/scripts/managed-lint-runner.mjs +323 -0
- package/dist/data/scripts/managed-lint.d.mts +97 -0
- package/dist/data/scripts/managed-lint.mjs +658 -0
- package/dist/data/scripts/sync-subagents.mjs +8 -2
- package/dist/index.js +131 -153
- package/dist/skills/agnostic/cli/hi-cli/SKILL.md +2 -0
- package/dist/skills/agnostic/cli/hi-cli/references/commands.md +6 -7
- 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 +6 -5
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/define-handoffs.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/model-state.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/test-routes.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/write-phases.md +2 -2
- package/dist/skills/agnostic/docs/write-graph-based-skills/phases/write-router.md +1 -1
- package/dist/skills/agnostic/docs/write-graph-based-skills/references/authoring-contract.md +8 -8
- package/dist/skills/agnostic/quality/autoreview/SKILL.md +1 -1
- package/dist/skills/agnostic/quality/make-tsuite/SKILL.md +2 -2
- package/dist/skills/agnostic/requirements/brainstorm/SKILL.md +21 -11
- package/dist/skills/phases/debugging-phase/SKILL.md +3 -4
- package/dist/skills/phases/delivery-phase/SKILL.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/debug.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/human-steering.md +25 -0
- package/dist/skills/phases/delivery-phase/phases/implement.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/review.md +2 -2
- package/dist/skills/phases/delivery-phase/phases/router.md +3 -2
- package/dist/skills/phases/delivery-phase/references/context-continuity.md +1 -1
- package/dist/skills/phases/delivery-phase/references/failure-continuity.md +1 -1
- package/dist/skills/phases/delivery-phase/references/phase-handoff.md +4 -3
- package/dist/skills/phases/finder-phase/AUTHORING-HANDOFF.md +6 -6
- package/dist/skills/phases/finder-phase/SKILL.md +1 -1
- package/dist/skills/phases/finder-phase/phases/ensure-fog.md +1 -1
- package/dist/skills/phases/finder-phase/phases/grilling.md +1 -1
- package/dist/skills/phases/finder-phase/phases/human-steering.md +25 -0
- package/dist/skills/phases/finder-phase/phases/prototype.md +1 -1
- package/dist/skills/phases/finder-phase/phases/reconcile.md +1 -1
- package/dist/skills/phases/finder-phase/phases/research.md +1 -1
- package/dist/skills/phases/finder-phase/phases/router.md +1 -1
- package/dist/skills/phases/finder-phase/references/state-graph.md +1 -1
- package/dist/skills/phases/review-phase/phases/return-route.md +6 -5
- package/dist/skills/phases/review-phase/phases/router.md +1 -1
- package/dist/skills/phases/review-phase/phases/run-review.md +2 -1
- package/dist/skills/phases/review-phase/references/state-graph.md +3 -3
- package/package.json +12 -6
- package/dist/baseline/scaffold-baseline/skills/agnostic/generic/handback/SKILL.md +0 -27
- package/dist/baseline/scaffold-baseline/skills/phases/delivery-phase/phases/handback.md +0 -27
- package/dist/baseline/scaffold-baseline/skills/phases/finder-phase/phases/handback.md +0 -29
- package/dist/skills/agnostic/generic/handback/SKILL.md +0 -27
- package/dist/skills/phases/delivery-phase/phases/handback.md +0 -27
- package/dist/skills/phases/finder-phase/phases/handback.md +0 -29
package/AGENTS.md
CHANGED
|
@@ -1,20 +1,38 @@
|
|
|
1
1
|
## CLI App Guidance
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This app owns the `hi`/`hint` executable, repository detection, local scaffold and update writes, bundled baseline fallback, diff ergonomics, and release/baseline publishing scripts. Keep remote registry, provenance, auth, telemetry, and artifact access behind the control-plane boundary.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Work within the accepted goal. Obtain explicit user authorization before changing requirements, weakening a gate, or substantially redesigning implementation.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
Autonomy ends at accepted goal bounds. If progress requires changed requirements, a weaker gate, or substantial implementation redesign, invoke `$handback` before expanding work.
|
|
7
|
+
Use [Rule Registry](../../.agents/rules/index.md) as the exhaustive codebase-rule index. Activate every rule whose path or task trigger matches the work, read its linked file, and record `pass`, `fail`, or `not-applicable` with evidence in the current handoff work log.
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
### Skills
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
Read the installed skill on its exact invocation below; phase routing remains inherited from the root guidance.
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
| Skill | Exact trigger |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `autoreview` | When the task explicitly invokes `autoreview`, read `../../.agents/skills/autoreview/SKILL.md`. |
|
|
16
|
+
| `codebase-design` | When the task explicitly invokes `codebase-design`, read `../../.agents/skills/codebase-design/SKILL.md`. |
|
|
17
|
+
| `effect` | When the task explicitly invokes `effect`, read `../../.agents/skills/effect/SKILL.md`. |
|
|
18
|
+
| `effect-backend-structure` | When the task explicitly invokes `effect-backend-structure`, read `../../.agents/skills/effect-backend-structure/SKILL.md`. |
|
|
19
|
+
| `effect-recoverable-actions` | When the task explicitly invokes `effect-recoverable-actions`, read `../../.agents/skills/effect-recoverable-actions/SKILL.md`. |
|
|
20
|
+
| `effect-service-design` | When the task explicitly invokes `effect-service-design`, read `../../.agents/skills/effect-service-design/SKILL.md`. |
|
|
21
|
+
| `improve-codebase-architecture` | When the task explicitly invokes `improve-codebase-architecture`, read `../../.agents/skills/improve-codebase-architecture/SKILL.md`. |
|
|
22
|
+
| `make-tsuite` | When the task explicitly invokes `make-tsuite`, read `../../.agents/skills/make-tsuite/SKILL.md`. |
|
|
23
|
+
| `parallel-research` | When the task explicitly invokes `parallel-research`, read `../../.agents/skills/parallel-research/SKILL.md`. |
|
|
24
|
+
| `prototype` | When the task explicitly invokes `prototype`, read `../../.agents/skills/prototype/SKILL.md`. |
|
|
25
|
+
| `quality-types` | When the task explicitly invokes `quality-types`, read `../../.agents/skills/quality-types/SKILL.md`. |
|
|
26
|
+
| `review` | When the task explicitly invokes `review`, read `../../.agents/skills/review/SKILL.md`. |
|
|
27
|
+
| `simplify` | When the task explicitly invokes `simplify`, read `../../.agents/skills/simplify/SKILL.md`. |
|
|
28
|
+
| `swarm-planner` | When the task explicitly invokes `swarm-planner`, read `../../.agents/skills/swarm-planner/SKILL.md`. |
|
|
29
|
+
| `tdd` | When the task explicitly invokes `tdd`, read `../../.agents/skills/tdd/SKILL.md`. |
|
|
30
|
+
| `turborepo` | When the task explicitly invokes `turborepo`, read `../../.agents/skills/turborepo/SKILL.md`. |
|
|
15
31
|
|
|
16
|
-
|
|
32
|
+
### Source and validation seams
|
|
17
33
|
|
|
18
|
-
- `opensrc path cevr/sentry-cli` (`https://github.com/cevr/sentry-cli`)
|
|
34
|
+
Read the [Source Guide](../../opensrc/README.md) when work depends on third-party library behavior. For CLI UX, packaging, or release behavior patterns, inspect `opensrc path cevr/sentry-cli` (`https://github.com/cevr/sentry-cli`).
|
|
19
35
|
|
|
20
|
-
|
|
36
|
+
Validate the changed CLI behavior with the narrowest applicable tests and checks in `package.json`; use the nested source guidance for source and packaged-data changes. For release-bearing work, run `bun run release:classify -- --base <base-ref> --head <head-ref>` from the repository root and require it to pass.
|
|
37
|
+
|
|
38
|
+
When work changes operator workflow, setup, or AI scaffolding behavior, update [docs index](../../docs/README.md) and [CLI scaffolding runbook](../../docs/runbooks/hi-cli-scaffolding.md) in the same task.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
Compatibility: `>=5.1
|
|
5
|
+
Compatibility: `>=5.2.1 <5.3.0`
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
8
|
|
|
@@ -12,6 +12,24 @@ Compatibility: `>=5.1.0 <5.2.0`
|
|
|
12
12
|
|
|
13
13
|
### Fixed
|
|
14
14
|
|
|
15
|
+
- Give generated lint, CI, Commit Gate, and post-edit checks one explicit scope
|
|
16
|
+
and effective-policy authority, excluding wiki paths, user-excluded paths, and
|
|
17
|
+
unselected package boundaries (#224).
|
|
18
|
+
- Preserve inherited project Oxlint policy, compatible custom commands, and
|
|
19
|
+
warning limits during managed lint adoption; retain referenced catalogs and
|
|
20
|
+
retire only unchanged receipt-owned obsolete assets (#224).
|
|
21
|
+
- Ship managed lint selection, drift, and migration guidance aligned with
|
|
22
|
+
read-only checks and recoverable updates (#224).
|
|
23
|
+
- Cover staged deletions, root changes, and cross-owner renames in the bundled
|
|
24
|
+
Commit Gate runner. Honor explicit file, owner, and repository execution modes,
|
|
25
|
+
deduplicate identical checks, and preserve successful command diagnostics;
|
|
26
|
+
accept the matching execution metadata in generated subagent contracts (#222).
|
|
27
|
+
- Retire the standalone `handback` skill from the shipped catalog and interaction
|
|
28
|
+
pack; keep human steering and scope decisions within their owning workflow
|
|
29
|
+
phases (#222).
|
|
30
|
+
- Update bundled brainstorm guidance to trace the system from the operating
|
|
31
|
+
agent's perspective and reconcile affected design documents and plans when
|
|
32
|
+
their edits are authorized (#222).
|
|
15
33
|
- Restore Effect internal-module topology and repository-boundary guidance; keep
|
|
16
34
|
service qualification and application policy in `effect-service-design` (#205).
|
|
17
35
|
- Sync canonical `wearedevpunks/skills@0519d685213a8085928bde8a5d744fcd6737c931`
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,55 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 5.2.1 - 2026-09-23
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Make managed lint scope selection explicit and route every eligible file to
|
|
10
|
+
its most-specific selected owner across package scripts, CI, Commit Gate, and
|
|
11
|
+
edited-file checks (#224).
|
|
12
|
+
- Preserve inherited Oxlint policy, supported custom commands, warning
|
|
13
|
+
thresholds, and referenced lint catalogs through adoption and repeated updates
|
|
14
|
+
(#224).
|
|
15
|
+
- Skip managed checks for excluded-only changes while preserving independent
|
|
16
|
+
Python/Ruff behavior; keep wiki paths and unselected package boundaries outside
|
|
17
|
+
managed software lint (#224).
|
|
18
|
+
- Validate dependent policy, config, routes, and tool inputs before activation,
|
|
19
|
+
and report selection, drift, findings, and unresolved migration failures with
|
|
20
|
+
actionable context (#224).
|
|
21
|
+
|
|
22
|
+
## 5.2.0 - 2026-09-22
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Add explicit file, owner, and repository execution scopes for Commit Gate checks,
|
|
27
|
+
including repository lint and format authority in project settings (#222).
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- Validate the complete update candidate, including live guidance targets, staged
|
|
32
|
+
replacements, and removals, before publishing managed changes (#222).
|
|
33
|
+
- Limit update installation and lint work to affected consumers, including optional
|
|
34
|
+
dependency consumers; support generated backoffice Vitest overrides and preserve
|
|
35
|
+
actionable installation and configuration errors (#222).
|
|
36
|
+
- Keep unrelated archives and migration payloads out of generation freshness while
|
|
37
|
+
retaining validation of explicitly referenced inputs (#222).
|
|
38
|
+
- Cover root changes, deletions, and cross-owner renames in Commit Gate checks;
|
|
39
|
+
preserve command output, deduplicate identical checks, and enforce zero warnings
|
|
40
|
+
for generated Oxlint commands (#222).
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- Retire the standalone handback skill and its generated prompt pointers in favor
|
|
45
|
+
of handback guidance owned by lifecycle phases (#222).
|
|
46
|
+
- Use Bun 1.4.0 for repository tooling and two-vCPU Linux CI workers, removing
|
|
47
|
+
automated macOS jobs and provisioning browsers only for selected consumers (#223).
|
|
48
|
+
- Reuse verification results across unrelated documentation changes while tracking
|
|
49
|
+
consumed inputs and runtime capabilities; remove duplicate task execution (#223).
|
|
50
|
+
- Reduce routine test setup and repeated assertions, use minimal real release
|
|
51
|
+
recovery histories, and retain full historical recovery replay and updater
|
|
52
|
+
benchmarking as on-demand diagnostics (#223).
|
|
53
|
+
|
|
5
54
|
## 5.1.1 - 2026-09-17
|
|
6
55
|
|
|
7
56
|
### 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.23-66535546",
|
|
5
|
+
"tag": "baseline/stable/2026.09.23-66535546",
|
|
6
|
+
"commit": "66535546af2cdfab73f8fe1438ee8295ebee45f1",
|
|
7
7
|
"sha256": null,
|
|
8
8
|
"compatibility": {
|
|
9
|
-
"cliVersionRange": ">=5.
|
|
9
|
+
"cliVersionRange": ">=5.2.1 <5.3.0"
|
|
10
10
|
},
|
|
11
|
-
"generatedAt": "2026-09-
|
|
11
|
+
"generatedAt": "2026-09-23T12:18:32.000Z",
|
|
12
12
|
"capabilities": {
|
|
13
13
|
"scopedAuthoring": {
|
|
14
14
|
"revision": "1",
|
|
@@ -358,11 +358,6 @@
|
|
|
358
358
|
"authoringRevision": "1",
|
|
359
359
|
"id": "handoff"
|
|
360
360
|
},
|
|
361
|
-
{
|
|
362
|
-
"activationRevision": "1",
|
|
363
|
-
"authoringRevision": "1",
|
|
364
|
-
"id": "handback"
|
|
365
|
-
},
|
|
366
361
|
{
|
|
367
362
|
"activationRevision": "1",
|
|
368
363
|
"authoringRevision": "1",
|
|
@@ -551,14 +551,6 @@
|
|
|
551
551
|
"sourceDirectory": "skills/agnostic/generic/handoff",
|
|
552
552
|
"tier": "agnostic"
|
|
553
553
|
},
|
|
554
|
-
{
|
|
555
|
-
"framework": null,
|
|
556
|
-
"id": "handback",
|
|
557
|
-
"language": null,
|
|
558
|
-
"requiresTools": [],
|
|
559
|
-
"sourceDirectory": "skills/agnostic/generic/handback",
|
|
560
|
-
"tier": "agnostic"
|
|
561
|
-
},
|
|
562
554
|
{
|
|
563
555
|
"framework": null,
|
|
564
556
|
"id": "improve-codebase-architecture",
|