godpowers 2.4.1 → 2.4.3

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +9 -6
  3. package/RELEASE.md +35 -30
  4. package/agents/god-orchestrator.md +31 -1255
  5. package/bin/install.js +22 -19
  6. package/lib/README.md +1 -0
  7. package/lib/agent-validator.js +2 -27
  8. package/lib/checkpoint.js +4 -19
  9. package/lib/command-families.js +10 -2
  10. package/lib/context-budget.js +5 -34
  11. package/lib/design-spec.js +11 -13
  12. package/lib/extensions.js +12 -2
  13. package/lib/frontmatter.js +74 -0
  14. package/lib/installer-core.js +7 -52
  15. package/lib/intent.js +88 -6
  16. package/lib/pillars.js +2 -41
  17. package/lib/recipes.js +10 -2
  18. package/lib/router.js +10 -2
  19. package/lib/skill-surface.js +2 -11
  20. package/lib/workflow-parser.js +12 -4
  21. package/package.json +8 -3
  22. package/references/orchestration/GOD-NEXT-RUNBOOK.md +32 -0
  23. package/references/orchestration/GOD-ORCHESTRATOR-RUNBOOK.md +1259 -0
  24. package/references/orchestration/README.md +6 -0
  25. package/references/shared/DASHBOARD-CONTRACT.md +93 -0
  26. package/references/shared/LOCKING.md +15 -0
  27. package/references/shared/README.md +2 -0
  28. package/routing/god-roadmap-check.yaml +1 -1
  29. package/skills/god-arch.md +1 -12
  30. package/skills/god-build.md +1 -12
  31. package/skills/god-deploy.md +1 -12
  32. package/skills/god-design.md +1 -12
  33. package/skills/god-feature.md +1 -12
  34. package/skills/god-harden.md +1 -12
  35. package/skills/god-hotfix.md +1 -12
  36. package/skills/god-launch.md +1 -12
  37. package/skills/god-link.md +1 -12
  38. package/skills/god-migrate.md +1 -3
  39. package/skills/god-next.md +34 -410
  40. package/skills/god-observe.md +1 -12
  41. package/skills/god-prd.md +1 -12
  42. package/skills/god-redo.md +1 -12
  43. package/skills/god-refactor.md +1 -12
  44. package/skills/god-repair.md +1 -12
  45. package/skills/god-repo.md +1 -12
  46. package/skills/god-restore.md +1 -12
  47. package/skills/god-roadmap-check.md +5 -0
  48. package/skills/god-roadmap.md +1 -12
  49. package/skills/god-rollback.md +1 -12
  50. package/skills/god-scan.md +1 -12
  51. package/skills/god-skip.md +1 -12
  52. package/skills/god-stack.md +1 -12
  53. package/skills/god-status.md +27 -204
  54. package/skills/god-story-build.md +1 -12
  55. package/skills/god-story-close.md +1 -12
  56. package/skills/god-story.md +1 -12
  57. package/skills/god-sync.md +1 -12
  58. package/skills/god-undo.md +1 -12
  59. package/skills/god-update-deps.md +1 -12
  60. package/skills/god-upgrade.md +1 -12
package/CHANGELOG.md CHANGED
@@ -7,6 +7,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.4.3] - 2026-06-09
11
+
12
+ ### Added
13
+ - Added three external CLI adoption canary case studies for sindresorhus/is,
14
+ expressjs/cors, and tinyhttp/tinyhttp with commit hashes, elapsed time,
15
+ zero-dollar local CLI cost, pause counts, and explicit host-run gaps.
16
+ - Added a shared Godpowers Dashboard contract and shared locking contract under
17
+ `references/shared/`.
18
+ - Added detailed runbook references for `god-orchestrator` and `/god-next`.
19
+ - Added CLI dispatch tests for status, next, quick-proof, automation, dogfood,
20
+ extension scaffold, and unknown-command branches.
21
+ - Added `npm run coverage:lib`, enforcing a 90 percent line coverage floor for
22
+ `lib/**/*.js` through c8.
23
+
24
+ ### Changed
25
+ - Slimmed `agents/god-orchestrator.md`, `skills/god-next.md`, and
26
+ `skills/god-status.md` into concise dispatch contracts that delegate
27
+ long-form operational detail to references.
28
+ - Replaced repeated skill locking boilerplate with one-line pointers to the
29
+ shared locking reference.
30
+ - Updated `npm run release:check` to run the full suite under the lib coverage
31
+ floor before audit and package checks.
32
+ - Updated package verification to pack into a temporary directory and clean the
33
+ generated tarball automatically.
34
+ - Marked `/god-roadmap-check` deprecated, removed it from the command-family
35
+ presentation, and locked non-full install profiles against installing it.
36
+
37
+ ### Fixed
38
+ - Removed ignored root tarball and `.DS_Store` clutter before release.
39
+
40
+ ## [2.4.2] - 2026-06-09
41
+
42
+ ### Added
43
+ - Added strict YAML diagnostics for the dependency-free parser, covering
44
+ skipped malformed lines, unsafe prototype-pollution keys, and legacy empty
45
+ array shorthand.
46
+ - Added shared markdown frontmatter parsing through `lib/frontmatter.js` and a
47
+ static check that blocks new inline parser drift.
48
+ - Added dev-only coverage tooling through `c8` and `npm run coverage`.
49
+
50
+ ### Changed
51
+ - Routing, recipe, and workflow loaders now surface strict YAML warnings with
52
+ file and line context.
53
+ - Installer metadata, Pillars, skill validation, agent validation, checkpoint
54
+ reads, context budgets, skill surface metadata, and DESIGN.md parsing now use
55
+ the shared frontmatter helper.
56
+
57
+ ### Fixed
58
+ - Extension manifests now fail closed on malformed YAML lines and unsafe keys
59
+ instead of accepting partially parsed manifests.
60
+ - Removed stale root tarballs and `.DS_Store` package clutter before release.
61
+
10
62
  ## [2.4.1] - 2026-06-08
11
63
 
12
64
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![CI](https://github.com/aihxp/godpowers/actions/workflows/ci.yml/badge.svg)](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
- [![Version](https://img.shields.io/badge/version-2.4.1-blue)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-2.4.3-blue)](CHANGELOG.md)
6
6
  [![npm](https://img.shields.io/npm/v/godpowers.svg)](https://www.npmjs.com/package/godpowers)
7
7
 
8
8
  **Ship fast. Ship right. Ship everything. Ship accountably.**
@@ -16,16 +16,19 @@ Want the short proof first? Start with [Quick Proof](docs/quick-proof.md) to
16
16
  run `npx godpowers quick-proof --project=. --brief`, see outcome metrics, pick
17
17
  a starter command set, and understand runtime expectations before reading the
18
18
  full reference. The [First 10 Minute Proof Case Study](docs/case-studies/first-10-minute-proof.md)
19
- shows the same evidence as a before-and-after adoption story.
19
+ shows the same evidence as a before-and-after adoption story. External
20
+ CLI-verifiable canaries now cover [sindresorhus/is](docs/case-studies/sindresorhus-is-adoption-canary.md),
21
+ [expressjs/cors](docs/case-studies/expressjs-cors-adoption-canary.md), and
22
+ [tinyhttp/tinyhttp](docs/case-studies/tinyhttp-adoption-canary.md), with host
23
+ slash-command gaps called out rather than hidden.
20
24
 
21
25
  Godpowers makes AI coding accountable: every serious run should leave disk
22
26
  state, artifacts, validation gates, host guarantees, and a next action. Code is
23
27
  only one output. The project memory and proof trail matter too.
24
28
 
25
- Version 2.4.1 keeps the 2.4 command-family UX and adds a clearer first trust
26
- step: Quick Proof outcome metrics, a First 10 Minute Proof case study,
27
- profile-first onboarding, and surface-discipline guidance for future command
28
- growth.
29
+ Version 2.4.3 keeps the 2.4 command-family UX and adds external CLI canary
30
+ evidence, prompt-size guardrails, legacy command quarantine, lib coverage
31
+ gating, and temp-directory package verification before publish.
29
32
 
30
33
  Maintainer hardening continues on the 2.x line with small, audited public
31
34
  surface updates when they close real workflow gaps. The 2.1.0 patch closes a command-injection vector in the
package/RELEASE.md CHANGED
@@ -1,11 +1,12 @@
1
- # Godpowers 2.4.1 Release
1
+ # Godpowers 2.4.3 Release
2
2
 
3
3
  > Status: Ready for package verification
4
- > Date: 2026-06-08
4
+ > Date: 2026-06-09
5
5
 
6
- Godpowers 2.4.1 is an adoption-proof patch for the 2.4 line. It keeps the
7
- 2.4.0 command-family UX intact while making the first trust step smaller,
8
- measurable, and easier to inspect before a user commits to a full project arc.
6
+ Godpowers 2.4.3 is a review-followup release for the 2.4 line. It keeps the
7
+ 2.4 command-family UX intact while adding external CLI proof, prompt-size
8
+ guardrails, legacy surface quarantine, lib coverage gating, and clean package
9
+ verification before publish.
9
10
 
10
11
  ## What's in this release
11
12
 
@@ -16,38 +17,42 @@ measurable, and easier to inspect before a user commits to a full project arc.
16
17
 
17
18
  ## Highlights
18
19
 
19
- - Quick Proof now reports outcome metrics: commands to first signal,
20
- disk-state source, tracked steps, missing planning artifacts, next command,
21
- host level, and host gaps.
22
- - Adoption Canary reports now include CLI-verifiable outcome metrics for
23
- quick-proof, status, and next signals.
24
- - README and Getting Started now lead with `--profile=core` and the brief Quick
25
- Proof path before full autonomy.
26
- - The First 10 Minute Proof case study documents the local before-and-after
27
- proof while clearly naming what still requires an external repository canary.
28
- - Reference and Roadmap docs now include surface-discipline guidance: try
29
- families, ladders, profiles, recipes, typed route outcomes, and docs before
30
- adding new public commands.
31
- - Package guardrails now require `lib/adoption-metrics.js`.
20
+ - Three external CLI adoption canary case studies now cover sindresorhus/is,
21
+ expressjs/cors, and tinyhttp/tinyhttp, including commit hashes, elapsed time,
22
+ zero-dollar local CLI cost, pause counts, and explicit host-run gaps.
23
+ - `agents/god-orchestrator.md`, `skills/god-next.md`, and
24
+ `skills/god-status.md` are now concise dispatch contracts that delegate
25
+ detailed runbook content to `references/`.
26
+ - Repeated skill locking boilerplate now points to
27
+ `references/shared/LOCKING.md`.
28
+ - `/god-roadmap-check` is deprecated, kept for full-profile compatibility, and
29
+ excluded from non-full installer profiles by regression test.
30
+ - `npm run coverage:lib` enforces a 90 percent line coverage floor for
31
+ `lib/**/*.js`.
32
+ - `npm run release:check` runs the full suite under the lib coverage floor
33
+ before audit and package verification.
34
+ - Package verification now creates the npm tarball in a temporary directory and
35
+ removes it automatically.
32
36
 
33
37
  ## Validation
34
38
 
35
- - `npm test` green across the full suite
36
- - `npm run test:audit` green
37
- - `npm run pack:check` green
38
- - `npm pack` creates a local `godpowers-2.4.1.tgz` tarball for package
39
- inspection
39
+ - `node scripts/static-check.js` green
40
+ - `node scripts/test-cli-dispatch.js` green
41
+ - `node scripts/test-installer-profiles.js` green
42
+ - `node scripts/run-adoption-canary.js https://github.com/sindresorhus/is.git --output=docs/case-studies/sindresorhus-is-adoption-canary.md` green
43
+ - `node scripts/run-adoption-canary.js https://github.com/expressjs/cors.git --output=docs/case-studies/expressjs-cors-adoption-canary.md` green
44
+ - `node scripts/run-adoption-canary.js https://github.com/tinyhttp/tinyhttp.git --output=docs/case-studies/tinyhttp-adoption-canary.md` green
45
+ - `npm run release:check` required before publish
40
46
 
41
47
  ## Upgrade
42
48
 
43
- - `npm install -g godpowers@2.4.1` or `npx godpowers@2.4.1`
49
+ - `npm install -g godpowers@2.4.3` or `npx godpowers@2.4.3`
44
50
  - Re-run `/god-context` in each project to refresh installed runtime metadata
45
- - No breaking changes; existing `.godpowers/` state is compatible. Users who
46
- want a compact install can run `npx godpowers --profile=core`.
51
+ - No breaking changes for valid `.godpowers/` state.
47
52
 
48
53
  ## Notes
49
54
 
50
- - GitHub release creation for `v2.4.1`
51
- - The tag should match the npm package version
52
- - The `v2.4.1` tag should point to the release commit that matches the npm
53
- `godpowers@2.4.1` package.
55
+ - GitHub release creation for `v2.4.3`
56
+ - The tag should match the npm package version.
57
+ - The `v2.4.3` tag should point to the release commit that matches the npm
58
+ `godpowers@2.4.3` package.