@punks/cli 2.1.4 → 2.1.6

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 CHANGED
@@ -11,7 +11,7 @@ At runtime, scaffold content resolves from the latest stable GitHub release base
11
11
  - `punks scaffold`
12
12
  show the scaffold lifecycle index
13
13
  - `punks scaffold init`
14
- scaffold requirements/backlog skills and seed the initial wiki tree
14
+ choose a backlog provider, scaffold requirements/backlog skills, and seed the initial wiki tree
15
15
  - `punks scaffold setup`
16
16
  detect the target repo, confirm or auto-accept pack selection, and write repo-aware scaffold output
17
17
  - `punks report`
@@ -34,19 +34,21 @@ bun run baseline:build
34
34
 
35
35
  `bun run sync:skills` updates a local cache clone of `wearedevpunks/skills` and then replaces only `skills/`, overwriting any local changes there.
36
36
 
37
- `punks scaffold init` copies `.agents/skills/requirements-grill` and `.agents/skills/write-backlog`, seeds an initial wiki tree at `apps/wiki` for monorepos or `wiki` for single-repo layouts, and then prints a fixed post-command prompt. Agents should activate `$dp-cli`, reconcile generated init output with the real repo layout, and only start requirements/backlog generation when the user asks for that workflow.
37
+ `punks scaffold init` asks for the backlog provider, defaults to GitHub Projects/Issues, copies `.agents/skills/requirements-grill` and `.agents/skills/write-backlog`, seeds an initial Mermaid-enabled wiki tree at `apps/wiki` for monorepos or `wiki` for single-repo layouts, writes `<wiki-root>/backlog-provider.md`, and then prints a fixed post-command prompt. Agents should activate `$dp-cli`, reconcile generated init output with the real repo layout, keep the pinned backlog provider unless the user changes it, and only start requirements/backlog generation when the user asks for that workflow.
38
38
 
39
39
  `punks scaffold setup` 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.
40
40
 
41
+ Before refreshing generated skills, setup migrates legacy per-agent skill folders from `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills` into shared `.agents/skills`. Colliding local skill names are kept with a `-local` suffix.
42
+
41
43
  `punks update --yes` applies managed scaffold updates without prompting. It is the non-interactive alias for the apply behavior of `--write`.
42
44
 
43
45
  `punks report` opens a GitHub issue in `wearedevpunks/harness-intelligence` for reusable Harness docs, workflow, tooling, CLI, skill-pack, or wiki friction. It uses `gh auth token`, `GH_TOKEN`, or `GITHUB_TOKEN` for GitHub auth and applies report labels such as `harness-report`, `area:wiki`, `surface:cli`, `pack:dp-cli`, and `command:dp-report`.
44
46
 
45
- `punks upgrade` checks the npm dist-tag and reinstalls the CLI through the package manager detected from the current global install path: Bun, pnpm, npm, or Yarn. The reinstall bypasses minimum-release-age gates for the CLI package by passing Bun/npm zero-age flags and pnpm/Yarn zero-age environment overrides. Use `--tag next` for prerelease channels or `--force` to reinstall the selected tag even when the current version is fresh.
47
+ Interactive commands check the selected npm dist-tag before running. When a newer CLI is available, `punks` asks for confirmation, reinstalls through the detected global package manager, and exits so the command can be rerun on the upgraded binary. `punks upgrade` keeps the same installer path as an explicit manual command. Use `--tag next` for prerelease channels or `--force` to reinstall the selected tag even when the current version is fresh.
46
48
 
47
49
  Use `--baseline bundled` to force the npm-shipped baseline, or `--refresh-baseline` to refetch the stable remote baseline.
48
50
 
49
- Language packs are detected separately from framework packs. TypeScript is selected when scanned manifests depend on `typescript` or when nested source files include `.ts` / `.tsx`; Python is selected from nested `.py` files. Root-level config files and vendor, virtualenv, generated, scaffold, docs, examples, `scripts`, `opensrc`, cache, and build output directories are ignored.
51
+ Language packs are detected separately from framework packs. TypeScript is selected when scanned manifests depend on `typescript` or when nested source files include `.ts` / `.tsx`; Python is selected from nested `.py` files. Root-level config files and vendor, virtualenv, generated, scaffold, docs, examples, `scripts`, `opensrc`, agent/cache/worktree, and build output directories are ignored.
50
52
 
51
53
  The generated subagent manifest is repo-shaped from selected packs and prompt specs. Python specialists are generated only when the Python language pack is selected.
52
54
 
@@ -77,7 +79,7 @@ Current scaffold-managed global tools:
77
79
  - `portless`
78
80
  - `skills`
79
81
 
80
- On startup, `punks` may start a detached best-effort worker for a newer CLI version and the presence of the `dp-cli` operator skill. The requested command renders immediately; startup checks are advisory, run at most once per 12 hours by default, and never install/update packages or skills while another CLI command is starting. Set `DP_NO_UPDATE_CHECK=1` or `DP_NO_SKILL_UPDATE_CHECK=1` to skip those checks, or `DP_STARTUP_CHECK_INTERVAL_MS=0` to force the worker during local testing.
82
+ On startup, `punks` checks interactive TTY commands for a newer CLI and asks before installing. `--help`, `--version`, CI, non-interactive commands, and `DP_NO_UPDATE_CHECK=1` skip the prompt. The `dp-cli` operator skill check stays detached and advisory, runs at most once per 12 hours by default, and never updates skills while another CLI command is starting. Set `DP_NO_SKILL_UPDATE_CHECK=1` to skip that check or `DP_STARTUP_CHECK_INTERVAL_MS=0` to force the worker during local testing.
81
83
 
82
84
  ## Publishing
83
85