@punks/cli 3.3.0 → 3.3.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/AGENTS.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ## CLI App Guidance
2
2
 
3
+ Immutable first-parent release recovery requires `RELEASE_RECOVERY.json` entries whose exact failure, target commit, note hash, order, and current Candidate Evidence validate. Recovery preserves historical artifact and Candidate Evidence.
4
+
3
5
  Primary skills here: `autoreview`, `codebase-design`, `effect`, `effect-backend-structure`, `effect-recoverable-actions`, `effect-service-design`, `improve-codebase-architecture`, `parallel-research`, `prototype`, `quality-types`, `review`, `simplify`, `swarm-planner`, `tdd`, `turborepo`.
4
6
 
5
7
  This app owns the `hi`/`hint` executable, repo detection flow, local scaffold application, bundled baseline fallback, update/diff ergonomics, and release/baseline publishing scripts. Preserve current CLI behavior during monorepo work.
@@ -8,7 +10,7 @@ Reusable skill changes in distributed assets are complete only after the root so
8
10
 
9
11
  Keep consumer-repo product logic out of the CLI. The future backend owns registry, provenance, auth, telemetry, and artifact access; the CLI remains the local scanner, cache, prompt/skill/hook placer, and filesystem writer.
10
12
 
11
- When pushing a new npm executable release, update `CHANGELOG.md` first with a non-empty section for the exact `apps/cli/package.json` version. `bun run release:publish` must publish `@punks/cli`, push the matching `v<version>` tag, and create the GitHub release from that changelog entry. Baseline-only releases stay on `baseline/stable/*` and do not require package changelog entries.
13
+ Before completing CLI release-bearing changes, run `bun run release:classify -- --base <base-ref> --head <head-ref>`. For `baseline`, add reviewed non-empty `BASELINE_CHANGELOG.md` `Unreleased` notes or an exact-tag section and confirm the compatibility range. For `npm`, bump `apps/cli/package.json` and add matching non-empty `CHANGELOG.md` version notes. For `mixed`, satisfy both branches. Completion requires the classifier to pass. `bun run release:publish` publishes `@punks/cli`, pushes the matching `v<version>` tag, and creates the GitHub release from that changelog entry; baseline-only releases stay on `baseline/stable/*`.
12
14
 
13
15
  For direct CLI UX, packaging, and release behavior guidance, inspect:
14
16
 
package/README.md CHANGED
@@ -79,7 +79,7 @@ hi operator migrate
79
79
 
80
80
  `hi skills rename` remains a deprecated alias for `hi operator migrate`. Operator mutations require the agent to reload or reactivate `$hi-cli`; their post-command flow does not inspect `.devpunks` artifacts or run scaffold follow-through. `hi upgrade` updates only the CLI executable.
81
81
 
82
- `HI_OPERATOR_AGENT` explicitly selects the Skills CLI binding and takes precedence over host detection. Codex detection includes `CODEX_CI` and `CODEX_SANDBOX`. If no binding can be detected, interactive terminals ask for the Skills CLI agent name; noninteractive and structured-output runs fail closed and require `HI_OPERATOR_AGENT`. Every inspection, installation, update, migration removal, and guarded retry passes exactly one explicit `--agent`; omitting it would broaden Skills CLI to other registered targets.
82
+ Operator commands do not select or forward a Harness agent. Interactive mutations let Skills CLI present its supported target picker. Plain and structured-output mutations use Skills CLI automatic detection. Harness verifies the canonical copy identity returned by Skills CLI and treats its aggregated `agents` list as provider evidence. Migration removes legacy copies only when the provider-reported replacement bindings cover every provider-reported legacy binding in that scope.
83
83
 
84
84
  Operator writes require Skills CLI 1.5.20 or newer. The CLI fetches the frozen shared-skills revision into a scoped temporary Git checkout, verifies the fetched commit exactly, and passes the checked-out `hi-cli` directory to `skills add --copy`. It removes the checkout on every exit and reinspects the installed manifest before migration removes any legacy `dp-cli` copy.
85
85
 
@@ -2,6 +2,23 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ Compatibility: `>=3.3.2 <3.4.0`
6
+
7
+ ### Added
8
+
9
+ - Add the Effect pack's type-aware `@effect/tsgo` recommended Oxlint preset.
10
+
11
+ ### Changed
12
+
13
+ - Pin the supported patch tuple to `@effect/tsgo@0.36.5`, `oxlint@1.78.0`, and `oxlint-tsgolint@7.0.2001`; preserve exact package.json catalog references during updates, fail closed without mutation for incompatible project-owned or pnpm-owned catalogs, and receipt-manage one patch command in simple existing `prepare` `&&` chains, including quoted `&&`, while rejecting ambiguous complex shell syntax.
14
+ - Require semantic release classification before completion and reviewed changelog authority for baseline, npm, and mixed release-bearing changes.
15
+
16
+ ## Recovery 3227643587855a7e239dda2d85adba7391488497
17
+
18
+ ### Added
19
+
20
+ - Sync canonical `wearedevpunks/skills@8754ca8d994495e3b7b14ae029f314dc46da59e2` and distribute `improve-mobile-frontend` in the frontend pack.
21
+
5
22
  ## baseline/stable/2026.08.19-animation-react-compiler-lint - 2026-08-19
6
23
 
7
24
  Compatibility: `>=3.3.0 <4`
package/dist/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ### Fixed
6
+
7
+ - Preserve non-secret executable, operation, exit code, working directory, and artifact/input/output path context when protected release publication fails with an opaque `ENOENT`.
8
+
5
9
  ### Changed
6
10
 
7
11
  - Prepare `baseline/stable/2026.08.18-requirements-grill-technical-grounding` for CLI `>=3.2.2 <4` from canonical `wearedevpunks/skills@eb1026c0355759c8addfb91856beb6bd5eae94f9`, requiring code grounding before the first technical frontier, evidence/constraint/code-consequence questions, and closure only after applicable technical dimensions are resolved.
@@ -17,10 +21,33 @@
17
21
 
18
22
  ### Changed
19
23
 
24
+ - Delegate `hi operator` to Skills CLI's interactive or automatic harness selection, removing the Harness agent prompt, `HI_OPERATOR_AGENT`, and explicit `--agent`; migration now requires verified replacement identity and full reported legacy-agent coverage before unscoped removal.
20
25
  - Close applicable technical architecture during requirements grilling so specs own accepted topology, boundaries, dependencies, and seams while planning derives execution work.
21
26
  - Use `$show-me` throughout active requirements grilling for difficult questions and key turning points, with code-grounded technical depth placed wherever the branch benefits and the final persisted-state presentation retained.
22
27
  - Make Full Delivery continue through its authorized phases and review cycles without confirmation; HITL pauses now require an explicit user request.
23
28
 
29
+ ## 3.3.2 - 2026-08-20
30
+
31
+ ### Added
32
+
33
+ - Add the Effect pack's type-aware `@effect/tsgo` recommended Oxlint preset and version-coupled patch setup.
34
+
35
+ ### Fixed
36
+
37
+ - Keep exact Effect lint package.json catalog references stable through `hi check` and `hi update`; fail closed without mutation for incompatible project-owned catalog values or when `pnpm-workspace.yaml` owns the catalog; preserve simple existing `prepare` `&&` chains, including quoted `&&`, while deduplicating and receipt-managing the patch command, and reject ambiguous complex shell syntax.
38
+
39
+ ### Changed
40
+
41
+ - Require semantic release classification and reviewed, non-empty product changelogs before release-bearing work completes; publish the pending `improve-mobile-frontend` baseline matching baseline authority.
42
+ - Delegate `hi operator` target selection to Skills CLI while preserving verified legacy-agent migration coverage.
43
+
44
+ ## 3.3.1 - 2026-08-20
45
+
46
+ ### Changed
47
+
48
+ - Require semantic release classification and reviewed, non-empty product changelogs before release-bearing work completes; publish the pending `improve-mobile-frontend` baseline with matching baseline authority.
49
+ - Delegate `hi operator` target selection to Skills CLI while preserving verified legacy-agent migration coverage.
50
+
24
51
  ## 3.3.0 - 2026-08-19
25
52
 
26
53
  ### Added
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "channel": "stable",
4
- "version": "2026.08.19-animation-react-compiler-lint",
5
- "tag": "baseline/stable/2026.08.19-animation-react-compiler-lint",
6
- "commit": "458b025ec77c326c75bde9a8d77e1eaceb0328d5",
4
+ "version": "2026.08.24-91e61685",
5
+ "tag": "baseline/stable/2026.08.24-91e61685",
6
+ "commit": "91e61685efea2d5a35d2162367cccbb178292ee0",
7
7
  "sha256": null,
8
8
  "compatibility": {
9
- "cliVersionRange": ">=3.3.0 <3.4.0"
9
+ "cliVersionRange": ">=3.3.2 <3.4.0"
10
10
  },
11
- "generatedAt": "2026-08-19T16:32:01.000Z"
11
+ "generatedAt": "2026-08-24T12:11:44.000Z"
12
12
  }
@@ -241,6 +241,34 @@
241
241
  },
242
242
  "settings": {}
243
243
  },
244
+ {
245
+ "description": "Effect tsgo recommended type-aware Oxlint rules.",
246
+ "id": "effect-tsgo-recommended",
247
+ "jsPlugins": [],
248
+ "oxlintConfigExtensions": [
249
+ {
250
+ "exportName": "recommended",
251
+ "specifier": "@effect/tsgo/oxlint-presets"
252
+ }
253
+ ],
254
+ "oxlintPresets": [],
255
+ "placement": {
256
+ "placementNotes": "Apply this only where Effect code lives. If the target repo renames or splits backend workspaces, move the override with those code paths instead of broadening it repo-wide.",
257
+ "recommendedConfigFile": "oxlint.config.ts",
258
+ "recommendedFiles": ["<detected-effect-workspace>/**/*.{js,jsx,ts,tsx}"],
259
+ "recommendedWorkspaces": ["detected Effect workspaces"]
260
+ },
261
+ "plugins": [],
262
+ "prepareCommands": ["effect-tsgo patch --no-typescript --oxlint"],
263
+ "requiredDevDependencies": ["@effect/tsgo", "oxlint-tsgolint"],
264
+ "requiredDevDependencyVersions": {
265
+ "@effect/tsgo": "0.36.5",
266
+ "oxlint": "1.78.0",
267
+ "oxlint-tsgolint": "7.0.2001"
268
+ },
269
+ "rules": {},
270
+ "settings": {}
271
+ },
244
272
  {
245
273
  "description": "Ultracite Vitest preset for repo-owned test globs.",
246
274
  "id": "vitest-core",
@@ -137,7 +137,7 @@
137
137
  ],
138
138
  "hooks": [],
139
139
  "id": "effect",
140
- "lintAssets": ["effect-no-barrel-imports"],
140
+ "lintAssets": ["effect-no-barrel-imports", "effect-tsgo-recommended"],
141
141
  "promptDetails": [
142
142
  "shared Effect v4 patterns baseline",
143
143
  "workspace backend topology and action-orchestration rules",
@@ -197,7 +197,7 @@
197
197
  },
198
198
  {
199
199
  "category": "surface",
200
- "description": "Frontend pack: agent-browser, animation authoring/review, design taste, image generation, and frontend domain structure.",
200
+ "description": "Frontend pack: agent-browser, animation authoring/review, design taste, image generation, frontend domain structure, and mobile-web improvement.",
201
201
  "hooks": [],
202
202
  "id": "frontend",
203
203
  "lintAssets": [],
@@ -214,6 +214,7 @@
214
214
  "imagegen-frontend-mobile",
215
215
  "imagegen-frontend-web",
216
216
  "frontend-domain-structure",
217
+ "improve-mobile-frontend",
217
218
  "review-animations"
218
219
  ],
219
220
  "triggerPackages": []
@@ -471,6 +471,14 @@
471
471
  "sourceDirectory": "skills/agnostic/frontend/frontend-domain-structure",
472
472
  "tier": "agnostic"
473
473
  },
474
+ {
475
+ "framework": null,
476
+ "id": "improve-mobile-frontend",
477
+ "language": null,
478
+ "requiresTools": [],
479
+ "sourceDirectory": "skills/agnostic/frontend/improve-mobile-frontend",
480
+ "tier": "agnostic"
481
+ },
474
482
  {
475
483
  "framework": null,
476
484
  "id": "review-animations",
@@ -108,6 +108,7 @@ const skillActivationInstructions = [
108
108
  "In each final docs/workspace AGENTS.md, read its `## Skills` table. When assigned work matches a row's trigger, treat that row's skill as mandatory.",
109
109
  "Activate a selected skill by opening its installed `.agents/skills/<skill-id>/SKILL.md`, reading the workflow/checklist needed for the assigned task, and applying it before edits.",
110
110
  "When the task writes or edits root/scoped AGENTS.md, prompt specs or handoffs, or subagent templates/instructions, activate `writing-for-agents` from `.agents/skills/writing-for-agents/SKILL.md` before that authoring branch.",
111
+ "Before completing release-bearing work, run the repository's semantic release classification. Baseline changes require a reviewed non-empty `BASELINE_CHANGELOG.md`; npm changes require a version bump and matching reviewed non-empty `CHANGELOG.md`; mixed changes require both.",
111
112
  "When a skill listed in scoped guidance is also present in this role's `skills`, explicitly mention in the worker's reasoning or handoff that it was used.",
112
113
  "If the task touches multiple owned or related scopes, inspect each scope's nearest AGENTS.md and activate the union of relevant skills.",
113
114
  "Do not rely on role name or inherited context alone; scoped AGENTS.md skill routing is part of the task contract.",
@@ -0,0 +1,109 @@
1
+ ---
2
+ name: improve-mobile-frontend
3
+ description: Improve mobile-web frontend behavior across touch interactions, viewport sizing, safe areas, gesture ownership, browser chrome, and real-device validation. Use when building or reviewing phone-focused web UI, fixing behavior that works in desktop emulation but fails on a phone, or auditing hover, tap, input zoom, pull-to-refresh, carousel, notch, or theme-color defects.
4
+ ---
5
+
6
+ # Improve Mobile Frontend
7
+
8
+ Treat mobile behavior as an interaction contract, not a smaller desktop layout. Inspect the existing viewport metadata, global CSS, interactive controls, and gesture surfaces before changing code. Apply the narrowest rule that fixes the observed behavior and preserves keyboard focus, text selection, scrolling, zoom, and assistive technology.
9
+
10
+ ## Improvement loop
11
+
12
+ 1. Reproduce each defect on its actual interaction path: touch, scroll, focus, rotation, installed-app mode, or browser chrome transition. Record which browser and device state exposes it.
13
+ 2. Map the defect to the rules below. Check existing global and component rules first so the fix extends the current system.
14
+ 3. Implement the smallest scoped change. Global viewport or overscroll rules require a product-level reason; component behavior stays with the component.
15
+ 4. Verify keyboard focus, visible focus indicators, text selection where users need to copy or edit, pinch zoom, screen-reader semantics, vertical scrolling, and reduced-motion behavior remain intact.
16
+ 5. Test the affected path on real iOS and Android hardware when available. Emulation is useful preflight, never final proof. Report the exact devices and browsers tested; name missing hardware proof as a validation gap.
17
+
18
+ Completion means every observed defect has a scoped rule, its accessibility counterchecks pass, and real-device evidence or an explicit evidence gap is recorded.
19
+
20
+ ## Interaction rules
21
+
22
+ ### Hover belongs to hover-capable pointers
23
+
24
+ Touch browsers can synthesize `:hover` after a tap and leave the visual state stuck. Gate hover-only decoration and motion:
25
+
26
+ ```css
27
+ @media (hover: hover) and (pointer: fine) {
28
+ .control:hover {
29
+ /* hover-only feedback */
30
+ }
31
+ }
32
+ ```
33
+
34
+ Keep focus and active feedback outside that query. A keyboard user still needs `:focus-visible`; a touch user still needs immediate pressed feedback.
35
+
36
+ ### Tap feedback should be deliberate
37
+
38
+ Provide feedback on pointer down through `:active`, component state, or an equivalent immediate response. `touch-action: manipulation` suits ordinary buttons and links when double-tap gesture handling is unnecessary:
39
+
40
+ ```css
41
+ .control {
42
+ touch-action: manipulation;
43
+ }
44
+ ```
45
+
46
+ Remove `-webkit-tap-highlight-color` only when the component supplies an equally visible pressed state. Prefer a scoped transparent highlight on those controls; a blanket reset can erase the only tap acknowledgement.
47
+
48
+ ### Viewport height expresses intent
49
+
50
+ Use `100dvh` for app shells that must track the currently visible viewport as browser chrome expands and collapses. Use `100svh` for hero or landing sections that must fit without being hidden when browser chrome is fully visible. Prefer `min-height` over fixed `height` when content may grow, and retain a compatible fallback when the supported browser matrix requires it.
51
+
52
+ ### Inputs remain readable
53
+
54
+ Text inputs, textareas, and selects use a computed font size of at least `16px` on small screens to prevent focus zoom in iOS Safari. Do not disable user zoom to hide this symptom. Preserve labels, focus visibility, error association, and adequate touch targets.
55
+
56
+ ### Scroll ownership is explicit
57
+
58
+ Choose pull-to-refresh and scroll chaining behavior per surface. `overscroll-behavior: none` on `html, body` is appropriate only for an app-like experience that deliberately owns the root gesture and provides any needed refresh affordance. Prefer `contain` or a scoped scroll container when only a modal, sheet, map, or feed must stop chaining. Content sites normally retain native page scrolling and refresh.
59
+
60
+ For a horizontal carousel or swipe surface, declare vertical-page ownership explicitly:
61
+
62
+ ```css
63
+ .carousel-gesture-surface {
64
+ touch-action: pan-y;
65
+ }
66
+ ```
67
+
68
+ The gesture implementation then owns horizontal movement while the browser keeps vertical scrolling. Apply the rule only to the actual gesture surface, and keep controls inside it operable by keyboard and assistive technology.
69
+
70
+ ### Selection stays available where meaningful
71
+
72
+ `user-select: none` may prevent accidental long-press selection on button-like controls or drag handles. Scope it to those controls. Text, editable content, code, identifiers, and other copyable information retain selection; native semantic controls are preferred over making arbitrary text behave like a button.
73
+
74
+ ## Device integration
75
+
76
+ ### Safe areas
77
+
78
+ Use `viewport-fit=cover` only with safe-area compensation. Apply `env(safe-area-inset-top)`, `-right`, `-bottom`, and `-left` to the edge-owning shell or fixed chrome, usually in addition to its normal spacing:
79
+
80
+ ```css
81
+ .app-shell {
82
+ padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
83
+ }
84
+ ```
85
+
86
+ Do not add safe-area padding indiscriminately to every nested container. Verify portrait, landscape, keyboard-open, and installed-app states so content neither collides with a cutout nor receives doubled spacing.
87
+
88
+ ### Browser chrome color
89
+
90
+ Provide `theme-color` for each supported color scheme so browser chrome matches the page:
91
+
92
+ ```html
93
+ <meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
94
+ <meta name="theme-color" content="#0b0b0b" media="(prefers-color-scheme: dark)" />
95
+ ```
96
+
97
+ Keep these values aligned with the actual surface colors and any framework metadata API. Verify browsers that ignore `media` still receive a sensible default.
98
+
99
+ ## Delivery evidence
100
+
101
+ Report:
102
+
103
+ - defects fixed and the scope chosen for each rule;
104
+ - preserved focus, zoom, selection, and scroll behavior;
105
+ - viewport, orientation, and browser-chrome states exercised;
106
+ - real device, OS, and browser versions tested;
107
+ - remaining device or browser coverage gaps.
108
+
109
+ See [UPSTREAM.md](UPSTREAM.md) for source attribution.
@@ -0,0 +1,5 @@
1
+ # Source attribution
2
+
3
+ This skill is an original, implementation-focused adaptation of mobile-web guidance attributed to Emil Kowalski in an image supplied by the user on 2026-08-19. The supplied image pairs common phone-browser defects with remedies covering hover capability queries, tap highlighting, dynamic and small viewport units, input font sizing, touch feedback, overscroll, safe areas, selection, carousel gesture ownership, theme colors, and real-hardware testing.
4
+
5
+ No canonical publication URL or source repository was supplied. The guidance was rewritten, expanded with accessibility and scoping constraints, and is not represented as a byte-identical upstream work.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "channel": "stable",
4
- "version": "2026.08.19-animation-react-compiler-lint",
5
- "tag": "baseline/stable/2026.08.19-animation-react-compiler-lint",
6
- "commit": "458b025ec77c326c75bde9a8d77e1eaceb0328d5",
4
+ "version": "2026.08.24-91e61685",
5
+ "tag": "baseline/stable/2026.08.24-91e61685",
6
+ "commit": "91e61685efea2d5a35d2162367cccbb178292ee0",
7
7
  "archive": "scaffold-baseline.tgz",
8
- "archiveSha256": "6c22529038f1922c527e55f76b733dd662194dc01d98a4a85e06d045267105a8",
8
+ "archiveSha256": "1de19c201d653c95b4cf57063009ecdbe7a7acfaaf67f43ebaf1b4610c6ab7fb",
9
9
  "compatibility": {
10
- "cliVersionRange": ">=3.3.0 <3.4.0"
10
+ "cliVersionRange": ">=3.3.2 <3.4.0"
11
11
  }
12
12
  }
Binary file
@@ -108,6 +108,7 @@ const skillActivationInstructions = [
108
108
  "In each final docs/workspace AGENTS.md, read its `## Skills` table. When assigned work matches a row's trigger, treat that row's skill as mandatory.",
109
109
  "Activate a selected skill by opening its installed `.agents/skills/<skill-id>/SKILL.md`, reading the workflow/checklist needed for the assigned task, and applying it before edits.",
110
110
  "When the task writes or edits root/scoped AGENTS.md, prompt specs or handoffs, or subagent templates/instructions, activate `writing-for-agents` from `.agents/skills/writing-for-agents/SKILL.md` before that authoring branch.",
111
+ "Before completing release-bearing work, run the repository's semantic release classification. Baseline changes require a reviewed non-empty `BASELINE_CHANGELOG.md`; npm changes require a version bump and matching reviewed non-empty `CHANGELOG.md`; mixed changes require both.",
111
112
  "When a skill listed in scoped guidance is also present in this role's `skills`, explicitly mention in the worker's reasoning or handoff that it was used.",
112
113
  "If the task touches multiple owned or related scopes, inspect each scope's nearest AGENTS.md and activate the union of relevant skills.",
113
114
  "Do not rely on role name or inherited context alone; scoped AGENTS.md skill routing is part of the task contract.",