@punks/cli 2.4.3 → 2.5.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/README.md CHANGED
@@ -1,62 +1,62 @@
1
- # Devpunks CLI
1
+ # Harness Intelligence CLI
2
2
 
3
- `punks` scaffolds the AI operating context for each project phase, from requirements and backlog prep to the repo-aware setup pass.
3
+ `hi` scaffolds the AI operating context for each project phase, from requirements and backlog prep to the repo-aware setup pass.
4
4
  This repo carries the executable CLI plus the canonical bundled scaffold baseline under `src/data` and `skills/`.
5
5
  At runtime, scaffold content resolves from the latest stable GitHub release baseline with bundled fallback; the public [wearedevpunks/skills](https://github.com/wearedevpunks/skills) repo remains only the Vercel skills CLI interface.
6
6
 
7
7
  ## Commands
8
8
 
9
- - `punks`
9
+ - `hi`
10
10
  show the command guide
11
- - `punks scaffold`
11
+ - `hi scaffold`
12
12
  show the scaffold lifecycle index
13
- - `punks scaffold init`
13
+ - `hi scaffold init`
14
14
  choose a backlog provider, scaffold requirements/backlog skills, and seed the initial wiki tree
15
- - `punks scaffold setup`
15
+ - `hi scaffold setup`
16
16
  detect the target repo, confirm or auto-accept pack selection, and write repo-aware scaffold output
17
- - `punks tools ensure`
18
- check and repair required external tools; `dp tools ensure` is the same command
19
- - `punks report`
17
+ - `hi tools ensure`
18
+ check and repair required external tools; `hint tools ensure` is the same command
19
+ - `hi report`
20
20
  submit structured Harness friction for maintainer triage
21
21
 
22
22
  ## Usage
23
23
 
24
24
  ```bash
25
- punks scaffold
26
- punks scaffold init
27
- punks scaffold setup
28
- punks scaffold setup --yes
29
- punks scaffold setup -i /path/to/repo
30
- punks scaffold setup -i /path/to/repo -o /path/to/output
31
- punks tools ensure
32
- dp tools ensure
33
- punks update --yes
34
- punks report --help
35
- punks --version
36
- punks -v
37
- dp --version
38
- dp -v
25
+ hi scaffold
26
+ hi scaffold init
27
+ hi scaffold setup
28
+ hi scaffold setup --yes
29
+ hi scaffold setup -i /path/to/repo
30
+ hi scaffold setup -i /path/to/repo -o /path/to/output
31
+ hi tools ensure
32
+ hint tools ensure
33
+ hi update --yes
34
+ hi report --help
35
+ hi --version
36
+ hi -v
37
+ hint --version
38
+ hint -v
39
39
  bun run sync:skills
40
40
  bun run baseline:build
41
41
  ```
42
42
 
43
43
  `bun run sync:skills` updates a local cache clone of `wearedevpunks/skills` and then replaces only `skills/`, overwriting any local changes there.
44
44
 
45
- `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.
45
+ `hi 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.
46
46
 
47
- `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.
47
+ `hi 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.
48
48
 
49
- Before refreshing generated skills, setup/update may take a blind evidence snapshot of repo skill homes under `.devpunks/pre-existing-skills`. Commands do not classify skill overlaps or keep `-local` collision copies; follow-up agents reconcile exact name/id overlaps from `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`, archive replaced evidence under `.devpunks/replaced-skills/<skill-id>/...`, preserve non-overlaps through mirrors, and use `dp report` for baseline-worthy local knowledge.
49
+ Before refreshing generated skills, setup/update may take a blind evidence snapshot of repo skill homes under `.devpunks/pre-existing-skills`. Commands do not classify skill overlaps or keep `-local` collision copies; follow-up agents reconcile exact name/id overlaps from `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`, archive replaced evidence under `.devpunks/replaced-skills/<skill-id>/...`, preserve non-overlaps through mirrors, and use `hi report` for baseline-worthy local knowledge.
50
50
 
51
- `punks update --yes` applies managed scaffold updates without prompting. It is the non-interactive alias for the apply behavior of `--write`.
51
+ `hi update --yes` applies managed scaffold updates without prompting. It is the non-interactive alias for the apply behavior of `--write`.
52
52
 
53
- `punks tools ensure` / `dp tools ensure` checks required external tools and repairs missing installable tools. In a scaffolded repo it reads tool IDs from `.devpunks/required-tools.json`; outside a scaffolded repo it validates the default Harness toolchain. Install contracts come from the trusted stable baseline, with bundled fallback, not from repo-owned metadata. This command is not read-only. It may install or repair missing tools. When `agent-browser` is present and a supported Chrome, Chromium, or Brave executable already exists, validation, setup, and update should not force a Chrome download.
53
+ `hi tools ensure` / `hint tools ensure` checks required external tools and repairs missing installable tools. In a scaffolded repo it reads tool IDs from `.devpunks/settings.json`; outside a scaffolded repo it validates the default Harness toolchain. Install contracts come from the trusted stable baseline, with bundled fallback, not from repo-owned metadata. This command is not read-only. It may install or repair missing tools. When `agent-browser` is present and a supported Chrome, Chromium, or Brave executable already exists, validation, setup, and update should not force a Chrome download.
54
54
 
55
- `punks -v` / `dp -v` is equivalent to `punks --version` / `dp --version`.
55
+ `hi -v` / `hint -v` is equivalent to `hi --version` / `hint --version`.
56
56
 
57
- `punks report` submits reusable Harness docs, workflow, tooling, CLI, skill-pack, or wiki friction to the Harness API. Public CLI submissions are validated, given deterministic metadata, deduped against open `harness-report` issues, and created as GitHub issues for maintainer triage. Missing server GitHub credentials fail the command instead of silently storing an internal-only report.
57
+ `hi report` submits reusable Harness docs, workflow, tooling, CLI, skill-pack, or wiki friction to the Harness API. Public CLI submissions are validated, given deterministic metadata, deduped against open `harness-report` issues, and created as GitHub issues for maintainer triage. Missing server GitHub credentials fail the command instead of silently storing an internal-only report.
58
58
 
59
- 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.
59
+ Interactive commands check the selected npm dist-tag before running. When a newer CLI is available, `hi` asks for confirmation, reinstalls through the detected global package manager, and exits so the command can be rerun on the upgraded binary. `hi 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.
60
60
 
61
61
  Use `--baseline bundled` to force the npm-shipped baseline, or `--refresh-baseline` to refetch the stable remote baseline.
62
62
 
@@ -81,7 +81,7 @@ The lint scaffold is intentionally agent-facing rather than repo-mutating:
81
81
  - selected lint assets are emitted under `.devpunks/specs/lint/`
82
82
  - each asset carries Oxlint rule payload plus placement guidance
83
83
  - if the target repo has no root Oxlint config yet, scaffold also emits a starter `.devpunks/specs/lint/oxlint-starter.json`
84
- - the follow-up agent fits those assets into the repo's real lint topology instead of `punks` editing `.oxlintrc.json` directly
84
+ - the follow-up agent fits those assets into the repo's real lint topology instead of `hi` editing `.oxlintrc.json` directly
85
85
 
86
86
  Current scaffold-managed global tools:
87
87
 
@@ -91,7 +91,7 @@ Current scaffold-managed global tools:
91
91
  - `portless`
92
92
  - `skills`
93
93
 
94
- 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.
94
+ On startup, `hi` 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.
95
95
 
96
96
  ## Publishing
97
97
 
@@ -106,7 +106,7 @@ bun run release:publish
106
106
 
107
107
  `bun run release:publish` builds the CLI as a portable Node script with bundled scaffold assets, publishes a sanitized npm package from the built `dist/` output, updates the `latest` dist-tag, also updates `next` for latest releases, pushes the matching `v<version>` git tag, and creates or updates the GitHub release title and notes from the categorized `CHANGELOG.md` content. GitHub notes use compact category labels such as `changed:` and `fixed:` without changelog publish metadata. Commit the version bump and changelog entry before running it; the script refuses dirty worktrees, missing changelog entries, uncategorized release notes, and existing tags that point at another commit. Set `NPM_TAG=beta` for beta prereleases without moving `latest`.
108
108
 
109
- The published `dp` / `punks` commands do not require Bun at runtime. Bun is needed to build and publish from this repo; the npm package contains the compiled Node entrypoint plus bundled scaffold assets.
109
+ The published `hi` / `hint` commands do not require Bun at runtime. Bun is needed to build and publish from this repo; the npm package contains the compiled Node entrypoint plus bundled scaffold assets.
110
110
 
111
111
  Before npm releases, authenticate against the public npm registry:
112
112
 
@@ -129,5 +129,5 @@ bun run check-types
129
129
 
130
130
  ## Docs
131
131
 
132
- - [Scaffolding runbook](./docs/runbooks/dp-cli-scaffolding.md)
132
+ - [Scaffolding runbook](./docs/runbooks/hi-cli-scaffolding.md)
133
133
  - [Example: cicilca-doc-portal](./examples/cicilca-doc-portal/README.md)
@@ -1,5 +1,13 @@
1
1
  # Baseline Changelog
2
2
 
3
+ ## baseline/stable/2026.07.08-hi-command-rebrand - 2026-07-08
4
+
5
+ ### Changed
6
+
7
+ - Release the Harness Intelligence CLI command rename in the stable scaffold baseline: generated command guidance now uses `hi`, with `hint` as the alias, while the npm package remains `@punks/cli`.
8
+ - Keep `$dp-cli` as the operator skill id and refresh bundled skill guidance, startup checks, hooks, scaffold handoffs, and generated prompts around `hi` command names.
9
+ - Update the root/scaffold command guide title to `HARNESS INTELLIGENCE`.
10
+
3
11
  ## baseline/stable/2026.07.06-finder-phase-wayfinder - 2026-07-06
4
12
 
5
13
  ### Changed
package/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.5.1 - 2026-07-08
4
+
5
+ Pending npm publish: `@punks/cli@2.5.1`.
6
+
7
+ ### Fixed
8
+
9
+ - Restore the gradient ASCII `HARNESS INTELLIGENCE` title block for root and scaffold command output.
10
+
11
+ ## 2.5.0 - 2026-07-08
12
+
13
+ Pending npm publish: `@punks/cli@2.5.0`.
14
+
15
+ ### Changed
16
+
17
+ - Rebrand the installed executable and user-facing command tree from `dp`/`punks`/`devpunks` to `hi`, with `hint` as an alias, while keeping the npm package identity at `@punks/cli`.
18
+ - Update root/scaffold command guides, startup checks, scaffold handoffs, hooks, and bundled `dp-cli` guidance to use `hi` command names and the `HARNESS INTELLIGENCE` title.
19
+
20
+ ## baseline/stable/2026.07.08-hi-command-rebrand - 2026-07-08
21
+
22
+ ### Changed
23
+
24
+ - Release the scaffold baseline for the `hi`/`hint` command rename, updated `$dp-cli` guidance, hooks, handoffs, generated prompts, and `HARNESS INTELLIGENCE` title.
25
+
3
26
  ## 2.4.3 - 2026-07-07
4
27
 
5
28
  Pending npm publish: `@punks/cli@2.4.3`.
@@ -54,7 +54,7 @@ function checkCommand(root) {
54
54
  return null;
55
55
  }
56
56
 
57
- const command = commandExists("dp", root) ? "dp" : commandExists("punks", root) ? "punks" : null;
57
+ const command = commandExists("hi", root) ? "hi" : commandExists("hint", root) ? "hint" : null;
58
58
  return command === null ? null : [command, "check"];
59
59
  }
60
60
 
@@ -67,7 +67,7 @@ function runUpdateCheck(root) {
67
67
  if (command === null) {
68
68
  return {
69
69
  status: "skipped",
70
- message: "Harness scaffold check: skipped (dp command not found).",
70
+ message: "Harness scaffold check: skipped (hi command not found).",
71
71
  };
72
72
  }
73
73
 
package/dist/index.js CHANGED
@@ -51355,7 +51355,7 @@ var embeddedAssets = [];
51355
51355
 
51356
51356
  // package.json
51357
51357
  var name = "@punks/cli";
51358
- var version = "2.4.3";
51358
+ var version = "2.5.1";
51359
51359
  // src/content/data.ts
51360
51360
  var findFirst8 = (candidates) => candidates.find((candidate) => existsSync(candidate));
51361
51361
  var executableSignature = () => {
@@ -55960,7 +55960,7 @@ var formatConfirmationSummary = (result, baseline = bundledBaseline) => [
55960
55960
  var formatAgentHandoffSummary = (result) => [
55961
55961
  "Give this to the next agent",
55962
55962
  "",
55963
- "You are continuing a `punks scaffold` run.",
55963
+ "You are continuing a `hi scaffold` run.",
55964
55964
  "",
55965
55965
  "Read first:",
55966
55966
  ` • \`${result.scaffoldManifestFile}\``,
@@ -56164,7 +56164,7 @@ var reset2 = "\x1B[0m";
56164
56164
  var foreground = (red5, green4, blue3) => `\x1B[38;2;${red5};${green4};${blue3}m`;
56165
56165
  var background = (red5, green4, blue3) => `\x1B[48;2;${red5};${green4};${blue3}m`;
56166
56166
  var detectTerminalTheme = () => {
56167
- const forced2 = process.env.DP_THEME?.toLowerCase();
56167
+ const forced2 = process.env.HI_THEME?.toLowerCase();
56168
56168
  if (forced2 === "light" || forced2 === "dark") {
56169
56169
  return forced2;
56170
56170
  }
@@ -56225,28 +56225,20 @@ var wrapLine = (value6) => {
56225
56225
  }
56226
56226
  return lines3;
56227
56227
  };
56228
- var rootLogoLines = [
56229
- "██████╗ ███████╗██╗ ██╗",
56230
- "██╔══██╗██╔════╝██║ ██║",
56231
- "██║ ██║█████╗ ██║ ██║",
56232
- "██║ ██║██╔══╝ ╚██╗ ██╔╝",
56233
- "██████╔╝███████╗ ╚████╔╝",
56234
- "╚═════╝ ╚══════╝ ╚═══╝",
56228
+ var harnessLogoLines = [
56229
+ "██╗ ██╗ █████╗ ██████╗ ███╗ ██╗███████╗███████╗███████╗",
56230
+ "██║ ██║██╔══██╗██╔══██╗████╗ ██║██╔════╝██╔════╝██╔════╝",
56231
+ "███████║███████║██████╔╝██╔██╗ ██║█████╗ ███████╗███████╗",
56232
+ "██╔══██║██╔══██║██╔══██╗██║╚██╗██║██╔══╝ ╚════██║╚════██║",
56233
+ "██║ ██║██║ ██║██║ ██║██║ ╚████║███████╗███████║███████║",
56234
+ "╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚══════╝╚══════╝",
56235
56235
  "",
56236
- "██████╗ ██╗ ██╗███╗ ██╗██╗ ██╗███████╗",
56237
- "██╔══██╗██║ ██║████╗ ██║██║ ██╔╝██╔════╝",
56238
- "██████╔╝██║ ██║██╔██╗ ██║█████╔╝ ███████╗",
56239
- "██╔═══╝ ██║ ██║██║╚██╗██║██╔═██╗ ╚════██║",
56240
- "██║ ╚██████╔╝██║ ╚████║██║ ██╗███████║",
56241
- "╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝"
56242
- ];
56243
- var scaffoldLogoLines = [
56244
- "███████╗ ██████╗ █████╗ ███████╗███████╗ ██████╗ ██╗ ██████╗",
56245
- "██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝██╔═══██╗██║ ██╔══██╗",
56246
- "███████╗██║ ███████║█████╗ █████╗ ██║ ██║██║ ██║ ██║",
56247
- "╚════██║██║ ██╔══██║██╔══╝ ██╔══╝ ██║ ██║██║ ██║ ██║",
56248
- "███████║╚██████╗██║ ██║██║ ██║ ╚██████╔╝███████╗██████╔╝",
56249
- "╚══════╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═════╝"
56236
+ "██╗███╗ ██╗████████╗███████╗██╗ ██╗ ██╗ ██████╗ ███████╗███╗ ██╗ ██████╗███████╗",
56237
+ "██║████╗ ██║╚══██╔══╝██╔════╝██║ ██║ ██║██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔════╝",
56238
+ "██║██╔██╗ ██║ ██║ █████╗ ██║ ██║ ██║██║ ███╗█████╗ ██╔██╗ ██║██║ █████╗",
56239
+ "██║██║╚██╗██║ ██║ ██╔══╝ ██║ ██║ ██║██║ ██║██╔══╝ ██║╚██╗██║██║ ██╔══╝",
56240
+ "██║██║ ╚████║ ██║ ███████╗███████╗███████╗██║╚██████╔╝███████╗██║ ╚████║╚██████╗███████╗",
56241
+ "╚═╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═════╝╚══════╝"
56250
56242
  ];
56251
56243
  var hexToRgb = (value6) => [
56252
56244
  Number.parseInt(value6.slice(1, 3), 16),
@@ -56278,7 +56270,7 @@ var paintLogoGradient = (lines3) => {
56278
56270
  };
56279
56271
  var renderLogoTitle = (lines3) => ["", "", paintLogoGradient(lines3)].join(`
56280
56272
  `);
56281
- var renderTitle = () => renderLogoTitle(rootLogoLines);
56273
+ var renderTitle = () => renderLogoTitle(harnessLogoLines);
56282
56274
  var renderBreadcrumb = (command) => [`${paintGlyph("┌")} ${paintChip(` ${command} `)}`, paintGlyph("│")].join(`
56283
56275
  `);
56284
56276
  var renderNotes = (lines3) => lines3.map(renderHint).join(`
@@ -56294,33 +56286,33 @@ var renderCommandGuide = () => [
56294
56286
  renderTitle(),
56295
56287
  "",
56296
56288
  renderCommandIntro({
56297
- command: "punks",
56289
+ command: "hi",
56298
56290
  title: "Available commands",
56299
56291
  body: [
56300
56292
  "commands:",
56301
- " › punks report",
56293
+ " › hi report",
56302
56294
  " └ submit structured Harness friction for maintainer triage",
56303
- " › punks scaffold",
56295
+ " › hi scaffold",
56304
56296
  " └ show the scaffold lifecycle index and available setup commands",
56305
- " › punks tools",
56297
+ " › hi tools",
56306
56298
  " └ manage external Harness tool requirements",
56307
- " › punks check",
56299
+ " › hi check",
56308
56300
  " └ check CLI executable and scaffold drift without writing",
56309
- " › punks update",
56301
+ " › hi update",
56310
56302
  " └ refresh managed scaffold assets from `.devpunks/scaffold-manifest.json`",
56311
- " › punks upgrade",
56303
+ " › hi upgrade",
56312
56304
  " └ upgrade this CLI through the detected global package manager",
56313
56305
  "",
56314
56306
  "usage:",
56315
56307
  " • agents should activate `$dp-cli` before acting on `.devpunks` output",
56316
- " • start with `punks scaffold` to inspect the lifecycle",
56317
- " • use `punks scaffold init` to choose the backlog provider and start docs onboarding/wiki output",
56308
+ " • start with `hi scaffold` to inspect the lifecycle",
56309
+ " • use `hi scaffold init` to choose the backlog provider and start docs onboarding/wiki output",
56318
56310
  " • reconcile the seeded wiki into the real repo layout before writing durable docs",
56319
- " • use `punks scaffold setup` for repo-aware pack detection after repo boilerplate is ready",
56320
- " • use `punks check` before work to catch CLI or scaffold baseline drift",
56321
- " • use `punks update` after setup to pull newer scaffolded skills/prompts/manifests/hooks",
56322
- " • use `punks tools ensure` to check and repair required external tools",
56323
- " • use `punks report` when reusable Harness friction should open GitHub-backed triage",
56311
+ " • use `hi scaffold setup` for repo-aware pack detection after repo boilerplate is ready",
56312
+ " • use `hi check` before work to catch CLI or scaffold baseline drift",
56313
+ " • use `hi update` after setup to pull newer scaffolded skills/prompts/manifests/hooks",
56314
+ " • use `hi tools ensure` to check and repair required external tools",
56315
+ " • use `hi report` when reusable Harness friction should open GitHub-backed triage",
56324
56316
  " • accepted reports return a GitHub issue URL; missing server GitHub credentials fail the command",
56325
56317
  "",
56326
56318
  "operator notes:",
@@ -56332,13 +56324,13 @@ var renderCommandGuide = () => [
56332
56324
  })
56333
56325
  ].join(`
56334
56326
  `);
56335
- var renderScaffoldTitle = () => renderLogoTitle(scaffoldLogoLines);
56327
+ var renderScaffoldTitle = () => renderLogoTitle(harnessLogoLines);
56336
56328
  var renderStageIntro = ({
56337
56329
  commandId,
56338
56330
  title,
56339
56331
  body
56340
56332
  }) => renderCommandIntro({
56341
- command: `punks scaffold ${commandId}`,
56333
+ command: `hi scaffold ${commandId}`,
56342
56334
  title,
56343
56335
  body: [
56344
56336
  body,
@@ -56353,7 +56345,7 @@ var renderStageIntro = ({
56353
56345
  `)
56354
56346
  });
56355
56347
  var renderSetupIntro = () => renderCommandIntro({
56356
- command: "punks scaffold setup",
56348
+ command: "hi scaffold setup",
56357
56349
  title: "Flow",
56358
56350
  body: [
56359
56351
  "Detect repo stack, resolve scaffold packs, and prepare prompt/manifest output.",
@@ -56372,15 +56364,15 @@ var renderScaffoldGuide = () => [
56372
56364
  renderScaffoldTitle(),
56373
56365
  "",
56374
56366
  renderCommandIntro({
56375
- command: "punks scaffold",
56367
+ command: "hi scaffold",
56376
56368
  title: "Lifecycle",
56377
56369
  body: [
56378
56370
  "Use scaffold subcommands to bootstrap each project phase.",
56379
56371
  "",
56380
56372
  "commands:",
56381
- " › punks scaffold init",
56373
+ " › hi scaffold init",
56382
56374
  " └ onboarding gate: pick backlog provider, scaffold `docs-onboarding`, reconstruct wiki/spec context",
56383
- " › punks scaffold setup",
56375
+ " › hi scaffold setup",
56384
56376
  " └ repo-aware setup: detect packs, scaffold prompts/manifests/hooks",
56385
56377
  "",
56386
56378
  "operator notes:",
@@ -56829,7 +56821,7 @@ var renderAgentHandoffMarkdown = ({
56829
56821
  }) => [
56830
56822
  "# Agent Handoff",
56831
56823
  "",
56832
- "You are continuing a `punks scaffold` run.",
56824
+ "You are continuing a `hi scaffold` run.",
56833
56825
  "",
56834
56826
  "## What was scaffolded",
56835
56827
  "",
@@ -56860,7 +56852,7 @@ var renderAgentHandoffMarkdown = ({
56860
56852
  "- If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence.",
56861
56853
  "- Exact canonical directory id/name overlap keeps the HI baseline skill active. Archive local evidence under `.devpunks/replaced-skills/<skill-id>/...`, then remove active local copies or mirrors.",
56862
56854
  "- Preserve non-overlapping local skills and expose them through harness mirrors or symlinks.",
56863
- "- Use `dp report` when archived local knowledge should be proposed for HI baseline integration. Semantic overlap belongs there, not command runtime.",
56855
+ "- Use `hi report` when archived local knowledge should be proposed for HI baseline integration. Semantic overlap belongs there, not command runtime.",
56864
56856
  "",
56865
56857
  "## Required next actions",
56866
56858
  "",
@@ -59831,7 +59823,7 @@ var stageScaffoldCatalog = [
59831
59823
  wikiRoot,
59832
59824
  backlogProvider,
59833
59825
  wikiFramework
59834
- }) => `You are the operator agent continuing a \`punks scaffold init\` run.
59826
+ }) => `You are the operator agent continuing a \`hi scaffold init\` run.
59835
59827
 
59836
59828
  Activate \`$docs-onboarding\` now. Inspect the codebase, existing docs, and the selected backlog provider. Build the Project Map, run the targeted requirements grill, then call \`create-spec\` to reconstruct evidence-backed specs into the scaffolded wiki.
59837
59829
 
@@ -59859,7 +59851,7 @@ Pre-existing skills:
59859
59851
  - if \`.devpunks/pre-existing-skills\` exists, inspect it as blind pre-command evidence
59860
59852
  - exact canonical directory id/name overlap keeps the HI baseline skill active; archive local evidence under \`.devpunks/replaced-skills/<skill-id>/...\`, then remove active local copies or mirrors
59861
59853
  - preserve non-overlapping local skills and expose them through harness mirrors or symlinks
59862
- - use \`dp report\` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there, not command runtime
59854
+ - use \`hi report\` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there, not command runtime
59863
59855
 
59864
59856
  Backlog provider:
59865
59857
  - selected provider: ${backlogProviderLabels[backlogProvider]} (\`${backlogProvider}\`)
@@ -59869,7 +59861,7 @@ Backlog provider:
59869
59861
  Wiki framework:
59870
59862
  - selected framework: ${wikiFrameworkLabels[wikiFramework]} (\`${wikiFramework}\`)
59871
59863
  - keep this framework pinned unless the user explicitly changes it
59872
- - \`punks update\` uses this pinned framework when checking wiki scaffold drift
59864
+ - \`hi update\` uses this pinned framework when checking wiki scaffold drift
59873
59865
 
59874
59866
  Post-command guidance:
59875
59867
  1. Read the repository guidance and inspect the generated files.
@@ -59878,10 +59870,10 @@ Post-command guidance:
59878
59870
  4. Activate \`$docs-onboarding\` immediately and let it inspect code, docs, and backlog context before writing onboarding artifacts.
59879
59871
  5. Let \`docs-onboarding\` run the targeted requirements grill and call \`create-spec\` after grill closure.
59880
59872
  6. Use \`write-backlog\` only after accepted requirements are ready for backlog mutation.
59881
- 7. Use \`punks scaffold setup\` only after the repo shape is ready for repo-aware AI setup.
59873
+ 7. Use \`hi scaffold setup\` only after the repo shape is ready for repo-aware AI setup.
59882
59874
 
59883
59875
  When the generated init output matches the repo, the next CLI step is:
59884
- - \`punks scaffold setup\``
59876
+ - \`hi scaffold setup\``
59885
59877
  }
59886
59878
  ];
59887
59879
  var stageScaffoldById = Object.fromEntries(stageScaffoldCatalog.map((stage) => [stage.id, stage]));
@@ -62125,7 +62117,7 @@ var formatEnsureToolsFailureDetails = (statuses) => {
62125
62117
  "Required tool validation failed.",
62126
62118
  "",
62127
62119
  "Recovery:",
62128
- "Install or repair the failed tools, then rerun `dp tools ensure`. In scaffolded repos, `.devpunks/settings.json` lists the selected required tool ids. Outside scaffolded repos, `dp tools ensure` checks the default Harness toolchain.",
62120
+ "Install or repair the failed tools, then rerun `hi tools ensure`. In scaffolded repos, `.devpunks/settings.json` lists the selected required tool ids. Outside scaffolded repos, `hi tools ensure` checks the default Harness toolchain.",
62129
62121
  "",
62130
62122
  "Failure stack traces:",
62131
62123
  ...failures2.flatMap((failure) => [
@@ -62162,7 +62154,7 @@ var ensureToolsCommand = exports_Command.make("ensure", { input: inputOption3, b
62162
62154
  })).pipe(exports_Command.withDescription("Ensure required external Harness tools are installed."));
62163
62155
  var toolsCommand = exports_Command.make("tools", {}, () => exports_Effect.sync(() => {
62164
62156
  console.log(renderCommandSection("Tools", `commands:
62165
- › punks tools ensure`));
62157
+ › hi tools ensure`));
62166
62158
  })).pipe(exports_Command.withDescription("Manage external Harness tool requirements."), exports_Command.withSubcommands([ensureToolsCommand]));
62167
62159
 
62168
62160
  // src/cli/update-command.ts
@@ -62263,11 +62255,11 @@ var upgradeCommand = exports_Command.make("upgrade", {
62263
62255
  })).pipe(exports_Command.withDescription("Upgrade this CLI through the package manager used for its global install."));
62264
62256
 
62265
62257
  // src/index.ts
62266
- var startupCheckWorkerEnv = "DP_STARTUP_CHECK_WORKER";
62267
- var startupCheckCliEnv = "DP_STARTUP_CHECK_CLI";
62268
- var startupCheckSkillEnv = "DP_STARTUP_CHECK_SKILL";
62269
- var startupCheckIntervalMs = Number.parseInt(process.env.DP_STARTUP_CHECK_INTERVAL_MS ?? String(12 * 60 * 60 * 1000), 10);
62270
- var startupCheckCacheFile = path19.join(homedir3(), ".cache", "punks", "startup-check.json");
62258
+ var startupCheckWorkerEnv = "HI_STARTUP_CHECK_WORKER";
62259
+ var startupCheckCliEnv = "HI_STARTUP_CHECK_CLI";
62260
+ var startupCheckSkillEnv = "HI_STARTUP_CHECK_SKILL";
62261
+ var startupCheckIntervalMs = Number.parseInt(process.env.HI_STARTUP_CHECK_INTERVAL_MS ?? String(12 * 60 * 60 * 1000), 10);
62262
+ var startupCheckCacheFile = path19.join(homedir3(), ".cache", "hi", "startup-check.json");
62271
62263
  var rootCommands = [
62272
62264
  checkCommand,
62273
62265
  reportCommand,
@@ -62284,14 +62276,14 @@ var rootCommandNames = [
62284
62276
  "update",
62285
62277
  "upgrade"
62286
62278
  ];
62287
- var app = exports_Command.make("punks", {}, () => exports_Effect.sync(() => console.log(renderCommandGuide()))).pipe(exports_Command.withDescription("Harness Intelligence CLI. Agents: activate $dp-cli before acting on generated .devpunks output."), exports_Command.withSubcommands(rootCommands));
62279
+ var app = exports_Command.make("hi", {}, () => exports_Effect.sync(() => console.log(renderCommandGuide()))).pipe(exports_Command.withDescription("Harness Intelligence CLI. Agents: activate $dp-cli before acting on generated .devpunks output."), exports_Command.withSubcommands(rootCommands));
62288
62280
  var cli = exports_Command.run(app, {
62289
- name: "punks",
62281
+ name: "hi",
62290
62282
  version
62291
62283
  });
62292
62284
  var cliArgv = process.argv.length === 3 && process.argv[2] === "-v" ? [process.argv[0], process.argv[1], "--version"] : process.argv;
62293
- var shouldCheckSelfUpdate = () => process.env.DP_NO_UPDATE_CHECK !== "1" && process.env.CI === undefined && process.argv.includes("--help") === false && process.argv.includes("-h") === false && process.argv.includes("--version") === false && process.argv.includes("-v") === false;
62294
- var shouldCheckDpCliSkillUpdate = () => process.env.DP_NO_SKILL_UPDATE_CHECK !== "1" && process.env.CI === undefined && process.argv.includes("--help") === false && process.argv.includes("-h") === false && process.argv.includes("--version") === false && process.argv.includes("-v") === false;
62285
+ var shouldCheckSelfUpdate = () => process.env.HI_NO_UPDATE_CHECK !== "1" && process.env.CI === undefined && process.argv.includes("--help") === false && process.argv.includes("-h") === false && process.argv.includes("--version") === false && process.argv.includes("-v") === false;
62286
+ var shouldCheckDpCliSkillUpdate = () => process.env.HI_NO_SKILL_UPDATE_CHECK !== "1" && process.env.CI === undefined && process.argv.includes("--help") === false && process.argv.includes("-h") === false && process.argv.includes("--version") === false && process.argv.includes("-v") === false;
62295
62287
  var shouldAskForSelfUpdate = () => shouldCheckSelfUpdate() && process.argv.slice(2).includes("upgrade") === false && process.stdin.isTTY === true && process.stdout.isTTY === true;
62296
62288
  var formatCommand2 = ({
62297
62289
  command,
@@ -62317,7 +62309,7 @@ var runInteractiveCliUpdate = async () => {
62317
62309
  const result = await autoUpdateCliIfStale({
62318
62310
  currentVersion: version,
62319
62311
  packageName: name,
62320
- tag: process.env.DP_UPDATE_TAG ?? "latest",
62312
+ tag: process.env.HI_UPDATE_TAG ?? "latest",
62321
62313
  timeoutMs: 5000
62322
62314
  });
62323
62315
  if (result.status === "current" || result.status === "unavailable") {
@@ -62363,7 +62355,7 @@ var runCliUpdateCheck = async () => {
62363
62355
  const result = await autoUpdateCliIfStale({
62364
62356
  currentVersion: version,
62365
62357
  packageName: name,
62366
- tag: process.env.DP_UPDATE_TAG ?? "latest"
62358
+ tag: process.env.HI_UPDATE_TAG ?? "latest"
62367
62359
  });
62368
62360
  if (result.status === "available" || result.status === "manager-not-detected" || result.status === "failed") {
62369
62361
  console.error(renderSelfUpdateNotice({
@@ -62380,7 +62372,7 @@ var runDpCliSkillCheck = () => {
62380
62372
  return;
62381
62373
  }
62382
62374
  if (!skillResult.detected) {
62383
- console.error(`punks startup checks: \`dp-cli\` skill not found. Install it with \`${skillInstallCommand().join(" ")}\`.`);
62375
+ console.error(`hi startup checks: \`dp-cli\` skill not found. Install it with \`${skillInstallCommand().join(" ")}\`.`);
62384
62376
  }
62385
62377
  };
62386
62378
  var runStartupChecks = async ({
@@ -1,24 +1,26 @@
1
1
  ---
2
2
  name: dp-cli
3
- description: Operates the Devpunks `dp` CLI and interactively follows scaffold, update, report, upgrade, and post-command handoff artifacts through to completion. Use when a repo contains `.devpunks/` output, when the user mentions `dp scaffold`, `dp update`, `dp report`, `dp upgrade`, Devpunks CLI setup, or asks what to do after running a `dp` command.
4
- metadata: {"Devpunks":{"entrypoint":true}}
3
+ description: Operates the Harness Intelligence CLI (`hi`, alias `hint`) and interactively follows scaffold, update, report, upgrade, and post-command handoff artifacts through to completion. Use when a repo contains `.devpunks/` output, when the user mentions `hi scaffold`, `hi update`, `hi report`, `hi upgrade`, `hint`, or asks what to do after running a Harness CLI command.
4
+ metadata: {"Harness Intelligence":{"entrypoint":true}}
5
5
  ---
6
6
 
7
- # DP CLI
7
+ # dp-cli
8
8
 
9
- The `dp` CLI scaffolds Devpunks agent assets and writes follow-up instructions for the next agent.
9
+ The `dp-cli` skill operates the Harness Intelligence CLI. The command is `hi`; `hint` is an alias. The npm package remains `@punks/cli`.
10
10
 
11
11
  ## Quick Start
12
12
 
13
13
  ```bash
14
- dp scaffold setup
15
- dp scaffold setup --yes
16
- dp scaffold init
17
- dp update --check
18
- dp update --write
19
- dp update --yes
20
- dp report --help
21
- dp upgrade --help
14
+ hi --help
15
+ hint --help
16
+ hi scaffold setup
17
+ hi scaffold setup --yes
18
+ hi scaffold init
19
+ hi update --check
20
+ hi update --write
21
+ hi update --yes
22
+ hi report --help
23
+ hi upgrade --help
22
24
  ```
23
25
 
24
26
  After any command, read the command output and generated artifacts before acting.
@@ -47,21 +49,21 @@ Do not ask for trivial file reads, validation commands, or direct execution of a
47
49
 
48
50
  See [references/commands.md](references/commands.md) for command intent and when to use each command.
49
51
 
50
- See [references/post-command-flow.md](references/post-command-flow.md) for the required agent flow after `dp scaffold` or `dp update`.
52
+ See [references/post-command-flow.md](references/post-command-flow.md) for the required agent flow after `hi scaffold` or `hi update`.
51
53
 
52
- The former backlog scaffold subcommand is not part of current guidance. `dp scaffold init` provides the requirements/backlog skills and initial wiki structure; `dp scaffold setup` provides repo-aware managed scaffold output.
54
+ The former backlog scaffold subcommand is not part of current guidance. `hi scaffold init` provides the requirements/backlog skills and initial wiki structure; `hi scaffold setup` provides repo-aware managed scaffold output.
53
55
 
54
56
  ## Scaffold Init
55
57
 
56
- After `dp scaffold init`, expect `.agents/skills/requirements-grill`, `.agents/skills/write-backlog`, and an initial wiki root.
58
+ After `hi scaffold init`, expect `.agents/skills/requirements-grill`, `.agents/skills/write-backlog`, and an initial wiki root.
57
59
 
58
60
  Run the requirements grill before backlog authoring. If the generated wiki root does not match the real repository layout, move or refactor it before creating durable specs, plans, or routed docs. Monorepos usually use `apps/wiki`; single-repo layouts usually use `wiki`.
59
61
 
60
- Pre-existing skills are reconciled by the follow-up agent, not by the command. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`. If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence. Exact canonical directory id/name overlap keeps the HI baseline skill active: archive local evidence under `.devpunks/replaced-skills/<skill-id>/...`, then remove active local copies or mirrors. Preserve non-overlapping local skills and expose them through harness mirrors or symlinks. Use `dp report` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there, not command runtime.
62
+ Pre-existing skills are reconciled by the follow-up agent, not by the command. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`. If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence. Exact canonical directory id/name overlap keeps the HI baseline skill active: archive local evidence under `.devpunks/replaced-skills/<skill-id>/...`, then remove active local copies or mirrors. Preserve non-overlapping local skills and expose them through harness mirrors or symlinks. Use `hi report` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there, not command runtime.
61
63
 
62
64
  ## Scaffold Setup
63
65
 
64
- After `dp scaffold setup`, expect artifacts such as:
66
+ After `hi scaffold setup`, expect artifacts such as:
65
67
 
66
68
  - `.devpunks/AGENT-SYSTEM-PROMPT.md`
67
69
  - `.devpunks/AGENT-HANDOFF.md`
@@ -77,9 +79,9 @@ Then author or reconcile the final repo files requested by the specs, including
77
79
 
78
80
  Reconcile generated wiki guidance with the real repository layout. Do not assume a newly seeded wiki root is canonical until it matches the project boundary.
79
81
 
80
- Reconcile pre-existing repo skills from the same homes as `dp scaffold init`: `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`. Commands do not detect overlap. If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence. Exact name/id overlap keeps the HI baseline skill active; archive local evidence under `.devpunks/replaced-skills/<skill-id>/...` and remove active local copies or mirrors. Non-overlapping local skills remain repo-owned guidance and should stay exposed through harness mirrors or symlinks. Suggest `dp report` for archived local knowledge that should influence the shared baseline.
82
+ Reconcile pre-existing repo skills from the same homes as `hi scaffold init`: `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`. Commands do not detect overlap. If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence. Exact name/id overlap keeps the HI baseline skill active; archive local evidence under `.devpunks/replaced-skills/<skill-id>/...` and remove active local copies or mirrors. Non-overlapping local skills remain repo-owned guidance and should stay exposed through harness mirrors or symlinks. Suggest `hi report` for archived local knowledge that should influence the shared baseline.
81
83
 
82
- Use `dp scaffold setup --yes` only when the harness cannot answer interactive prompts. It accepts the resolved default pack selection; it does not add optional packs or resolve repo-policy decisions.
84
+ Use `hi scaffold setup --yes` only when the harness cannot answer interactive prompts. It accepts the resolved default pack selection; it does not add optional packs or resolve repo-policy decisions.
83
85
 
84
86
  Before authoring prompts or plans, identify the detected core libraries whose source behavior matters. Ask the user which ones to prioritize if the choice is not obvious, then run `opensrc path <package>` or `opensrc path owner/repo` only for that focused set.
85
87
 
@@ -87,7 +89,7 @@ When lint specs suggest Oxlint or hooks suggest Oxfmt, treat migration as a repo
87
89
 
88
90
  ## Update
89
91
 
90
- After `dp update` or `dp update --check`, inspect `.devpunks/scaffold-manifest.json` and the update summary.
92
+ After `hi update` or `hi update --check`, inspect `.devpunks/scaffold-manifest.json` and the update summary.
91
93
 
92
94
  - `--check` reports managed-file drift without writing.
93
95
  - `--write` refreshes scaffold-managed assets.
@@ -95,21 +97,21 @@ After `dp update` or `dp update --check`, inspect `.devpunks/scaffold-manifest.j
95
97
  - drift output can include changelog summaries; use them to explain why update/upgrade matters.
96
98
  - pack drift is a setup decision point, not a silent auto-fix.
97
99
 
98
- Apply the same pre-existing skill policy after update: the command does not detect overlap, the agent checks `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, `.opencode/skills`, and `.devpunks/pre-existing-skills` when present, exact name/id overlap keeps HI baseline active, non-overlaps remain mirrored, and `dp report` carries semantic overlap or baseline integration proposals.
100
+ Apply the same pre-existing skill policy after update: the command does not detect overlap, the agent checks `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, `.opencode/skills`, and `.devpunks/pre-existing-skills` when present, exact name/id overlap keeps HI baseline active, non-overlaps remain mirrored, and `hi report` carries semantic overlap or baseline integration proposals.
99
101
 
100
102
  ## Report
101
103
 
102
- Use `dp report` when reusable Harness friction should enter maintainer triage: stale generated guidance, confusing CLI output, missing docs, broken setup, or shared tooling issues.
104
+ Use `hi report` when reusable Harness friction should enter maintainer triage: stale generated guidance, confusing CLI output, missing docs, broken setup, or shared tooling issues.
103
105
 
104
- Do not use reports as the default destination for project product backlog. `dp report` submits to the Harness API, which must create or dedupe a GitHub issue in `wearedevpunks/harness-intelligence`; pass `--type`, `--severity`, `--area`, `--skill-pack`, `--command`, `--expected`, `--actual`, `--steps`, and `--labels` so maintainers can triage the issue from GitHub/backoffice without replaying the whole session.
106
+ Do not use reports as the default destination for project product backlog. `hi report` submits to the Harness API, which must create or dedupe a GitHub issue in `wearedevpunks/harness-intelligence`; pass `--type`, `--severity`, `--area`, `--skill-pack`, `--command`, `--expected`, `--actual`, `--steps`, and `--labels` so maintainers can triage the issue from GitHub/backoffice without replaying the whole session.
105
107
 
106
108
  Reports are GitHub-backed. Backoffice fetches `harness-report` issues from GitHub and treats GitHub state/labels as the triage source of truth. API persistence is audit/local-smoke context, not a substitute for a returned GitHub URL.
107
109
 
108
- `dp report` emits product telemetry only after the API returns a GitHub issue URL. If issue creation fails or the API stores the report internally without a URL, do not claim the report was submitted; capture the blocker and suggest the exact GitHub/API config missing.
110
+ `hi report` emits product telemetry only after the API returns a GitHub issue URL. If issue creation fails or the API stores the report internally without a URL, do not claim the report was submitted; capture the blocker and suggest the exact GitHub/API config missing.
109
111
 
110
112
  ## Upgrade
111
113
 
112
- Use `dp upgrade` to update the CLI executable itself. It checks the selected npm dist-tag, detects whether the current global install came from Bun, pnpm, npm, or Yarn, and runs the matching global reinstall command.
114
+ Use `hi upgrade` to update the CLI executable itself. It checks the selected npm dist-tag, detects whether the current global install came from Bun, pnpm, npm, or Yarn, and runs the matching global reinstall command.
113
115
 
114
116
  Use `--tag next` for prerelease channels and `--force` to reinstall the selected tag even when no newer version is detected.
115
117
 
@@ -120,7 +122,7 @@ Upgrade deliberately bypasses package-manager release-age gates for the CLI pack
120
122
  - pnpm: `npm_config_minimum_release_age=0 pnpm add -g @punks/cli@<tag>`
121
123
  - Yarn: `YARN_NPM_MINIMAL_AGE_GATE=0 yarn global add @punks/cli@<tag>`
122
124
 
123
- Startup update checks are advisory and detached. They should not mutate installs during normal command startup; `dp upgrade` is the explicit update path.
125
+ Startup update checks are advisory and detached. They should not mutate installs during normal command startup; `hi upgrade` is the explicit update path.
124
126
 
125
127
  ## Completion Checklist
126
128
 
@@ -1,6 +1,8 @@
1
- # DP CLI Commands
1
+ # dp-cli Commands
2
2
 
3
- ## `dp scaffold setup`
3
+ The command is `hi`; `hint` is an alias. The npm package remains `@punks/cli`.
4
+
5
+ ## `hi scaffold setup`
4
6
 
5
7
  Use for repo-aware full scaffold setup.
6
8
 
@@ -8,9 +10,9 @@ It detects package manifests, resolves packs, writes `.agents/`, harness files,
8
10
 
9
11
  It does not finish all repo-specific authoring. The next agent must use `.devpunks/AGENT-SYSTEM-PROMPT.md` and `.devpunks/specs/**` to generate final scoped guidance and reconcile assets.
10
12
 
11
- Use `dp scaffold setup --yes` in non-interactive harnesses. It accepts the resolved default pack selection and skips pack-selection prompts. It does not select optional packs.
13
+ Use `hi scaffold setup --yes` in non-interactive harnesses. It accepts the resolved default pack selection and skips pack-selection prompts. It does not select optional packs.
12
14
 
13
- ## `dp scaffold init`
15
+ ## `hi scaffold init`
14
16
 
15
17
  Use before boilerplate exists.
16
18
 
@@ -18,29 +20,29 @@ It scaffolds `requirements-grill`, `write-backlog`, and the initial wiki tree, t
18
20
 
19
21
  If the generated wiki root does not match the repository layout, move or refactor it before writing specs, plans, or routed docs. Monorepos usually use `apps/wiki`; single-repo layouts usually use `wiki`.
20
22
 
21
- After init, the agent must reconcile pre-existing skills. The command does not detect overlap. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, `.opencode/skills`, and `.devpunks/pre-existing-skills` when present; exact name/id overlap keeps HI baseline active, non-overlaps stay exposed through mirrors or symlinks, and `dp report` carries semantic overlap or baseline integration proposals.
23
+ After init, the agent must reconcile pre-existing skills. The command does not detect overlap. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, `.opencode/skills`, and `.devpunks/pre-existing-skills` when present; exact name/id overlap keeps HI baseline active, non-overlaps stay exposed through mirrors or symlinks, and `hi report` carries semantic overlap or baseline integration proposals.
22
24
 
23
- ## `dp update --check`
25
+ ## `hi update --check`
24
26
 
25
27
  Use at session start when `.devpunks/` exists or to preview managed scaffold drift from `.devpunks/scaffold-manifest.json`.
26
28
 
27
- Report CLI, baseline, missing, changed, or pack-drift findings. Do not write files. If remediation is accepted, use a subagent for `dp upgrade`, `dp update --write`, or `dp update --yes`.
29
+ Report CLI, baseline, missing, changed, or pack-drift findings. Do not write files. If remediation is accepted, use a subagent for `hi upgrade`, `hi update --write`, or `hi update --yes`.
28
30
 
29
- ## `dp update --write`
31
+ ## `hi update --write`
30
32
 
31
33
  Use to refresh scaffold-managed files recorded in `.devpunks/scaffold-manifest.json`.
32
34
 
33
35
  After writing, verify the refreshed files still fit the repo shape and any baseline or pack drift is handled intentionally.
34
36
 
35
- Also run the agent-owned pre-existing skill reconciliation check. `dp update` does not detect overlaps.
37
+ Also run the agent-owned pre-existing skill reconciliation check. `hi update` does not detect overlaps.
36
38
 
37
- ## `dp update --yes`
39
+ ## `hi update --yes`
38
40
 
39
41
  Use in non-interactive harnesses to apply managed scaffold updates without answering the terminal confirmation prompt.
40
42
 
41
43
  It has the same managed-file apply behavior as `--write`.
42
44
 
43
- ## `dp report`
45
+ ## `hi report`
44
46
 
45
47
  Use to open reusable Harness friction in the Harness Intelligence GitHub repository. Include `--area`, `--skill-pack`, `--command`, `--expected`, `--actual`, and `--steps` whenever they apply so labels and issue body are useful for backoffice triage.
46
48
 
@@ -60,13 +62,13 @@ Useful classification flags:
60
62
 
61
63
  The report path is GitHub-backed. The CLI submits typed context to the Harness API; the API creates or dedupes an issue with `harness-report` metadata and labels, then the CLI emits report-submitted telemetry only after the API returns a GitHub issue URL. Backoffice reads GitHub issues for report triage.
62
64
 
63
- ## `dp upgrade`
65
+ ## `hi upgrade`
64
66
 
65
67
  Use to update the installed CLI executable through its original global package-manager path.
66
68
 
67
69
  The command checks the selected npm dist-tag, detects Bun, pnpm, npm, or Yarn from the current install path, and runs the corresponding global reinstall command. Use `--tag next` for prerelease channels, `--force` to reinstall the selected tag, and `--json` when automation needs structured output.
68
70
 
69
- `dp upgrade` bypasses minimum-release-age gates for the CLI package:
71
+ `hi upgrade` bypasses minimum-release-age gates for the CLI package:
70
72
 
71
73
  - Bun uses `--minimum-release-age=0`.
72
74
  - npm uses `--min-release-age=0`.
@@ -27,13 +27,13 @@ If a file is missing, continue with the next available artifact and say what was
27
27
 
28
28
  ## Required Follow-Through
29
29
 
30
- After `dp scaffold setup`:
30
+ After `hi scaffold setup`:
31
31
 
32
32
  - Generate final root/docs/workspace `AGENTS.md` files from prompt specs.
33
33
  - Reconcile any scaffolded wiki root with the real repo layout before writing durable docs.
34
34
  - Reconcile pre-existing skills yourself; commands do not detect overlap. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`. If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence.
35
35
  - Exact canonical directory id/name overlap keeps the HI baseline skill active. Archive local evidence under `.devpunks/replaced-skills/<skill-id>/...`, then remove active local copies or mirrors.
36
- - Preserve non-overlapping local skills and expose them through harness mirrors or symlinks. Use `dp report` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there.
36
+ - Preserve non-overlapping local skills and expose them through harness mirrors or symlinks. Use `hi report` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there.
37
37
  - Create sibling `CLAUDE.md` symlink mirrors for those neutral prompt files.
38
38
  - Keep `.agents/AGENTS.md` as the shared global prompt source.
39
39
  - Keep `.agents/skills/` as the main skill directory; only `.claude/skills` mirrors it.
@@ -44,14 +44,14 @@ After `dp scaffold setup`:
44
44
 
45
45
  Do not stop after saying the files exist.
46
46
 
47
- After `dp update --check` or `dp update`:
47
+ After `hi update --check` or `hi update`:
48
48
 
49
49
  - Inspect `.devpunks/scaffold-manifest.json` and `.devpunks/settings.json`.
50
50
  - For write modes, confirm `cliVersion` and `baselineVersion` reflect accepted project authority after writes.
51
51
  - Verify refreshed files still fit repo shape; handle pack drift intentionally.
52
- - Apply the same pre-existing skill reconciliation policy as scaffold setup. `dp update` does not detect overlaps; the agent checks the skill homes and `.devpunks/pre-existing-skills` when present, keeps HI baseline active for exact name/id overlaps, preserves non-overlaps through mirrors, and uses `dp report` for semantic overlap or baseline integration proposals.
52
+ - Apply the same pre-existing skill reconciliation policy as scaffold setup. `hi update` does not detect overlaps; the agent checks the skill homes and `.devpunks/pre-existing-skills` when present, keeps HI baseline active for exact name/id overlaps, preserves non-overlaps through mirrors, and uses `hi report` for semantic overlap or baseline integration proposals.
53
53
 
54
- After `dp scaffold init`:
54
+ After `hi scaffold init`:
55
55
 
56
56
  - Do not start requirements discovery by default.
57
57
  - Inspect the generated skills and seeded wiki root.
@@ -59,15 +59,15 @@ After `dp scaffold init`:
59
59
  - Treat the seeded wiki root as provisional until it matches the repo layout.
60
60
  - Move, rename, or refactor generated init output when needed so it matches the actual repository.
61
61
  - Run `requirements-grill` before `write-backlog` only when the user actually asks for requirements or backlog generation.
62
- - Use `dp scaffold setup` only after the repo is ready for repo-aware setup.
62
+ - Use `hi scaffold setup` only after the repo is ready for repo-aware setup.
63
63
 
64
- After `dp report`:
64
+ After `hi report`:
65
65
 
66
66
  - Confirm the command created a GitHub issue URL before saying the report was submitted.
67
67
  - Include the issue URL, labels, affected command, affected skill pack, and remaining blocker if creation failed.
68
68
  - Do not duplicate project product backlog into Harness reports unless maintainers explicitly promote it.
69
69
 
70
- After `dp upgrade`:
70
+ After `hi upgrade`:
71
71
 
72
72
  - Report whether the CLI upgraded, was already current, could not detect the install manager, or failed while running the package-manager command.
73
73
  - Include the package manager and command used when available.
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@punks/cli",
3
- "version": "2.4.3",
3
+ "version": "2.5.1",
4
4
  "description": "Harness Intelligence scaffolding CLI",
5
5
  "bin": {
6
- "devpunks": "dist/index.js",
7
- "dp": "dist/index.js",
8
- "punks": "dist/index.js"
6
+ "hi": "dist/index.js",
7
+ "hint": "dist/index.js"
9
8
  },
10
9
  "type": "module",
11
10
  "homepage": "https://github.com/wearedevpunks/harness-intelligence/tree/main/apps/cli#readme",