godpowers 1.6.16 → 1.6.19
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/CHANGELOG.md +58 -0
- package/README.md +12 -10
- package/RELEASE.md +49 -32
- package/SKILL.md +21 -2
- package/agents/god-orchestrator.md +6 -1
- package/lib/README.md +2 -0
- package/lib/dashboard.js +23 -5
- package/lib/feature-awareness.js +12 -0
- package/lib/pillars.js +9 -0
- package/lib/repo-doc-sync.js +392 -0
- package/lib/repo-surface-sync.js +512 -0
- package/package.json +2 -2
- package/routing/god-export-otel.yaml +24 -0
- package/skills/god-docs.md +13 -0
- package/skills/god-doctor.md +27 -0
- package/skills/god-mode.md +14 -0
- package/skills/god-next.md +7 -2
- package/skills/god-status.md +13 -5
- package/skills/god-sync.md +19 -3
- package/skills/god-version.md +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,64 @@ All notable changes to Godpowers will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.6.19] - 2026-05-16
|
|
9
|
+
|
|
10
|
+
Repository surface sync and status truth closeout.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Added `lib/repo-surface-sync.js` to detect structural drift across command
|
|
14
|
+
routing, package payload rules, agent handoffs, workflow metadata, recipe
|
|
15
|
+
routes, extension packs, and release policy checks.
|
|
16
|
+
- Added `docs/repo-surface-sync.md` with auto-invoke, auto-spawn, and guardrail
|
|
17
|
+
behavior.
|
|
18
|
+
- Added behavioral tests for missing route detection, explicit route stub
|
|
19
|
+
creation, sync logging, package checks, agent handoff checks, and current
|
|
20
|
+
repo freshness.
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
- `/god-sync`, `/god-docs`, `/god-doctor`, `/god-status`, and `/god-mode` now
|
|
24
|
+
document repo surface sync behavior.
|
|
25
|
+
- Dashboard proactive checks now include a repo surface status line.
|
|
26
|
+
- Feature awareness now records `repo-surface-sync` as a known runtime feature.
|
|
27
|
+
- Package contents checks now require `lib/repo-surface-sync.js`.
|
|
28
|
+
- README, release notes, command flows, release checklist, command reference,
|
|
29
|
+
and runtime docs now describe repo surface sync.
|
|
30
|
+
|
|
31
|
+
### Guardrails
|
|
32
|
+
- Detection is read-only by default.
|
|
33
|
+
- Safe apply can create missing routing stubs only when `fixRouting` is
|
|
34
|
+
explicitly enabled.
|
|
35
|
+
- Agent, workflow, recipe, extension, and release-policy ambiguity routes to
|
|
36
|
+
scoped specialists instead of being rewritten blindly.
|
|
37
|
+
|
|
38
|
+
## [1.6.17] - 2026-05-16
|
|
39
|
+
|
|
40
|
+
Autonomous repository documentation sync.
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
- Added `lib/repo-doc-sync.js` to detect and refresh mechanical repository
|
|
44
|
+
documentation claims.
|
|
45
|
+
- Added `docs/repo-doc-sync.md` with auto-invoke, auto-spawn, Pillars, and
|
|
46
|
+
arc-ready closeout behavior.
|
|
47
|
+
- Added behavioral tests for stale repo docs detection, safe mechanical sync,
|
|
48
|
+
sync logging, Pillars planning, and adjacent autonomous sync recommendations.
|
|
49
|
+
- Added missing `/god-export-otel` routing metadata.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
- `/god-sync`, `/god-docs`, `/god-doctor`, `/god-status`, and `/god-mode` now
|
|
53
|
+
document repo documentation sync behavior.
|
|
54
|
+
- The dashboard proactive docs check now uses `lib/repo-doc-sync.detect`.
|
|
55
|
+
- Package contents checks now require `lib/repo-doc-sync.js` and
|
|
56
|
+
`routing/god-export-otel.yaml`.
|
|
57
|
+
- Release and contribution docs now describe repo documentation sync as part of
|
|
58
|
+
release readiness.
|
|
59
|
+
|
|
60
|
+
### Guardrails
|
|
61
|
+
- Detection is read-only by default.
|
|
62
|
+
- Safe apply is limited to mechanical version, badge, and count claims.
|
|
63
|
+
- Narrative changelog, release, contribution, support, and security policy
|
|
64
|
+
changes route to `god-docs-writer` or the maintainer.
|
|
65
|
+
|
|
8
66
|
## [1.6.16] - 2026-05-16
|
|
9
67
|
|
|
10
68
|
Feature awareness for existing Godpowers projects.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/aihxp/godpowers/actions/workflows/ci.yml)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-
[](CHANGELOG.md)
|
|
6
6
|
[](https://www.npmjs.com/package/godpowers)
|
|
7
7
|
|
|
8
8
|
**Ship fast. Ship right. Ship everything. Ship accountably.**
|
|
@@ -12,12 +12,11 @@ idea to hardened production. It runs as **slash commands inside your AI coding
|
|
|
12
12
|
tool** (Claude Code, Codex, Cursor, etc.) that orchestrate **specialist agents**
|
|
13
13
|
in fresh contexts to do the work.
|
|
14
14
|
|
|
15
|
-
Version 1.6.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
needed.
|
|
15
|
+
Version 1.6.19 sharpens Godpowers status truth and adds repository surface
|
|
16
|
+
sync. Dashboards now name whether they came from `lib/dashboard.js` or a manual
|
|
17
|
+
fallback, and Godpowers checks routing gaps, package payload drift, agent
|
|
18
|
+
handoff drift, workflow metadata drift, recipe route drift, extension pack
|
|
19
|
+
drift, and release-policy drift before closeout.
|
|
21
20
|
|
|
22
21
|
It fuses four disciplines into one unified workflow:
|
|
23
22
|
|
|
@@ -195,12 +194,13 @@ durable `.godpowers` artifacts change project truth. The decision is logged to
|
|
|
195
194
|
`.godpowers/YOLO-DECISIONS.md`.
|
|
196
195
|
|
|
197
196
|
Every completing command now ends with a **Godpowers Dashboard**. It shows the
|
|
198
|
-
current phase, tier, step count,
|
|
197
|
+
current phase, tier, step count, workflow progress, PRD and roadmap visibility,
|
|
199
198
|
recent work, proactive checks, open items, and the single recommended next
|
|
200
199
|
action. `/god-status` and `/god-next` use the same shape so the project never
|
|
201
200
|
ends in a vague "done" state. The dashboard is backed by
|
|
202
|
-
`lib/dashboard.js`,
|
|
203
|
-
|
|
201
|
+
`lib/dashboard.js`, and the rendered output names that source when the runtime
|
|
202
|
+
engine is available. Audit, hygiene, and remediation scores are reported as
|
|
203
|
+
separate scores rather than being reused as workflow progress.
|
|
204
204
|
|
|
205
205
|
Godpowers can also inspect automation support:
|
|
206
206
|
|
|
@@ -361,6 +361,8 @@ Pi. T3 Code inherits from the underlying agent (Codex / Claude / OpenCode).
|
|
|
361
361
|
- [Concepts](docs/concepts.md)
|
|
362
362
|
- [Command reference (all 109 skills + 40 agents)](docs/reference.md)
|
|
363
363
|
- [Feature awareness](docs/feature-awareness.md)
|
|
364
|
+
- [Repository documentation sync](docs/repo-doc-sync.md)
|
|
365
|
+
- [Repository surface sync](docs/repo-surface-sync.md)
|
|
364
366
|
- [Roadmap](docs/ROADMAP.md)
|
|
365
367
|
- [Release Notes](RELEASE.md)
|
|
366
368
|
- [Changelog](CHANGELOG.md)
|
package/RELEASE.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
# Godpowers 1.6.
|
|
1
|
+
# Godpowers 1.6.19 Release
|
|
2
2
|
|
|
3
3
|
Date: 2026-05-16
|
|
4
4
|
|
|
5
|
-
Godpowers 1.6.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Godpowers 1.6.19 adds repository surface sync and clarifies status truth across
|
|
6
|
+
`/god-status`, `/god-next`, God Mode closeouts, and installer CLI status
|
|
7
|
+
helpers. Godpowers can now detect structural drift across routes, package
|
|
8
|
+
payload rules, agent handoffs, workflow metadata, recipe routes, extension
|
|
9
|
+
packs, and release policy before declaring a project run current.
|
|
9
10
|
|
|
10
11
|
## What is stable
|
|
11
12
|
|
|
@@ -23,52 +24,68 @@ context fences, and route migration judgment to the right command or agent.
|
|
|
23
24
|
- Critical harden finding gate before launch
|
|
24
25
|
- Planning-system migration for GSD, BMAD, and Superpowers
|
|
25
26
|
- Managed sync-back companion files for imported source systems
|
|
27
|
+
- Feature awareness for existing Godpowers projects
|
|
28
|
+
- Repository documentation sync checks
|
|
29
|
+
- Repository surface sync checks
|
|
26
30
|
|
|
27
31
|
## What is new
|
|
28
32
|
|
|
29
|
-
- Added `lib/
|
|
30
|
-
- Added `
|
|
31
|
-
- Added `scripts/test-
|
|
32
|
-
- `/god-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
33
|
+
- Added `lib/repo-surface-sync.js`.
|
|
34
|
+
- Added `docs/repo-surface-sync.md`.
|
|
35
|
+
- Added `scripts/test-repo-surface-sync.js`.
|
|
36
|
+
- `/god-sync`, `/god-docs`, `/god-doctor`, `/god-status`, and `/god-mode` now
|
|
37
|
+
document repo surface sync integration.
|
|
38
|
+
- Dashboard proactive checks now include a repo surface status line.
|
|
39
|
+
- Package contents checks now require `lib/repo-surface-sync.js`.
|
|
40
|
+
- Feature awareness now records `repo-surface-sync` as a known runtime feature.
|
|
41
|
+
- Dashboard output keeps workflow progress distinct from audit, hygiene,
|
|
42
|
+
remediation, and launch-readiness scores.
|
|
43
|
+
|
|
44
|
+
## Surface sync behavior
|
|
45
|
+
|
|
46
|
+
For a Godpowers repository, the helper checks:
|
|
47
|
+
|
|
48
|
+
- every `skills/god-*.md` command has matching `routing/god-*.yaml` metadata
|
|
49
|
+
- required package payload entries exist in `package.json`
|
|
50
|
+
- package content checks require load-bearing runtime helper files
|
|
51
|
+
- routed specialist spawns resolve to real agent files
|
|
52
|
+
- workflows have parseable metadata
|
|
53
|
+
- recipes contain slash-command routes
|
|
54
|
+
- extension manifests, package metadata, peer dependencies, and provided files agree
|
|
55
|
+
- release docs and release policy checks name repo documentation and repo surface sync
|
|
56
|
+
|
|
57
|
+
Detection is read-only by default. Applying sync only writes a log and may
|
|
58
|
+
create missing routing stubs when `fixRouting` is explicitly enabled.
|
|
49
59
|
|
|
50
60
|
## Auto-invoke and auto-spawn policy
|
|
51
61
|
|
|
52
|
-
|
|
62
|
+
Safe repo surface sync is local runtime work and must be reported as:
|
|
53
63
|
|
|
54
|
-
```
|
|
64
|
+
```text
|
|
55
65
|
Agent: none, local runtime only
|
|
56
66
|
```
|
|
57
67
|
|
|
58
|
-
Godpowers recommends
|
|
59
|
-
|
|
60
|
-
|
|
68
|
+
Godpowers recommends scoped specialists only when judgment is needed:
|
|
69
|
+
|
|
70
|
+
- `god-auditor` for agent contract or handoff drift
|
|
71
|
+
- `god-roadmap-reconciler` for workflow or recipe lifecycle drift
|
|
72
|
+
- `god-coordinator` for extension pack drift
|
|
73
|
+
- `god-docs-writer` for release prose drift
|
|
61
74
|
|
|
62
75
|
## Validation
|
|
63
76
|
|
|
64
77
|
Release validation includes:
|
|
65
78
|
|
|
79
|
+
- `node scripts/test-repo-surface-sync.js`
|
|
80
|
+
- `node scripts/test-repo-doc-sync.js`
|
|
66
81
|
- `node scripts/test-feature-awareness.js`
|
|
82
|
+
- `node scripts/test-dashboard.js`
|
|
67
83
|
- `node scripts/test-context-writer.js`
|
|
68
84
|
- `node scripts/test-planning-systems.js`
|
|
69
85
|
- `node scripts/test-doc-surface-counts.js`
|
|
70
86
|
- `node scripts/validate-skills.js`
|
|
71
87
|
- `git diff --check`
|
|
88
|
+
- `npm run release:check`
|
|
72
89
|
|
|
73
|
-
The `v1.6.
|
|
74
|
-
`godpowers@1.6.
|
|
90
|
+
The `v1.6.19` tag should point to the release commit that matches the npm
|
|
91
|
+
`godpowers@1.6.19` package.
|
package/SKILL.md
CHANGED
|
@@ -154,7 +154,8 @@ Proactive checks:
|
|
|
154
154
|
Checkpoint: <fresh | refreshed | missing | stale | conflicts with state.json>
|
|
155
155
|
Reviews: <none | N pending, suggest /god-review-changes>
|
|
156
156
|
Sync: <fresh | missing | stale | local helper ran | suggest /god-sync>
|
|
157
|
-
Docs: <fresh |
|
|
157
|
+
Docs: <fresh | N stale, suggest /god-docs | repo-doc-sync ran>
|
|
158
|
+
Repo surface: <fresh | N stale, suggest /god-doctor | repo-surface-sync ran>
|
|
158
159
|
Runtime: <not-applicable | known URL, suggest /god-test-runtime | no known URL, defer deployed verification>
|
|
159
160
|
Automation: <not configured | N active | available via provider, suggest /god-automation-setup>
|
|
160
161
|
Security: <clear | sensitive files changed, suggest /god-harden>
|
|
@@ -214,7 +215,7 @@ Auto-invoked:
|
|
|
214
215
|
Trigger: <what caused this automatic step>
|
|
215
216
|
Agent: <god-updater | god-context-writer | none, local runtime only>
|
|
216
217
|
Local syncs:
|
|
217
|
-
+ <feature-awareness | planning-system-import | reverse-sync | source-sync | pillars-sync | checkpoint-sync | context-refresh>: <result or skipped reason>
|
|
218
|
+
+ <feature-awareness | planning-system-import | reverse-sync | source-sync | repo-doc-sync | repo-surface-sync | pillars-sync | checkpoint-sync | context-refresh>: <result or skipped reason>
|
|
218
219
|
Artifacts: <changed files, no-op, or deferred>
|
|
219
220
|
Log: <SYNC-LOG.md, CHECKPOINT.md, REVIEW-REQUIRED.md, or none>
|
|
220
221
|
```
|
|
@@ -242,6 +243,10 @@ Automatic steps that especially need visible reporting:
|
|
|
242
243
|
- source-system sync-back during `/god-sync`, `/god-scan`, or `/god-migrate`
|
|
243
244
|
- feature-awareness refresh during `/god-doctor`, `/god-context`,
|
|
244
245
|
`/god-sync`, or `/god-mode`
|
|
246
|
+
- repo documentation sync during `/god-sync`, `/god-docs`, `/god-doctor`,
|
|
247
|
+
`/god-status`, or `/god-mode`
|
|
248
|
+
- repo surface sync during `/god-sync`, `/god-docs`, `/god-doctor`,
|
|
249
|
+
`/god-status`, or `/god-mode`
|
|
245
250
|
|
|
246
251
|
### 13. Proactive Auto-Invoke Policy
|
|
247
252
|
Godpowers should be proactive from disk evidence, not from guesswork. Before
|
|
@@ -278,6 +283,14 @@ Run these local runtime helpers automatically when their trigger is present:
|
|
|
278
283
|
`lib/feature-awareness.run` during `/god-context`, `/god-sync`, or
|
|
279
284
|
`/god-mode` when an initialized `.godpowers` project lacks current runtime
|
|
280
285
|
feature metadata or managed AI-tool context fences.
|
|
286
|
+
- `lib/repo-doc-sync.detect` during `/god-status` and `/god-doctor`, and
|
|
287
|
+
`lib/repo-doc-sync.run` during `/god-sync`, `/god-docs`, or `/god-mode`
|
|
288
|
+
when README badges, public surface counts, release docs, contribution docs,
|
|
289
|
+
or security policy may have drifted.
|
|
290
|
+
- `lib/repo-surface-sync.detect` during `/god-status` and `/god-doctor`, and
|
|
291
|
+
`lib/repo-surface-sync.run` during `/god-sync`, `/god-docs`, or
|
|
292
|
+
`/god-mode` when command routing, package payload, agent handoffs, workflow
|
|
293
|
+
metadata, recipe routes, extension packs, or release policy may have drifted.
|
|
281
294
|
- Context refresh dry-run after `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`,
|
|
282
295
|
`.cursor/rules/`, `.windsurfrules`, `.github/copilot-instructions.md`,
|
|
283
296
|
`.clinerules`, `.roo/`, or `.continue/` changes.
|
|
@@ -291,6 +304,12 @@ Spawn these agents only when the trigger is direct and scope is bounded:
|
|
|
291
304
|
artifacts.
|
|
292
305
|
- `god-docs-writer` in drift-check mode when docs changed after code changed,
|
|
293
306
|
or code changed after docs that claim current behavior.
|
|
307
|
+
- `god-docs-writer` when repo-doc-sync reports narrative drift in
|
|
308
|
+
`CHANGELOG.md`, `RELEASE.md`, `CONTRIBUTING.md`, `SECURITY.md`, or
|
|
309
|
+
`SUPPORT.md` after local mechanical sync has finished.
|
|
310
|
+
- `god-auditor`, `god-roadmap-reconciler`, or `god-coordinator` when
|
|
311
|
+
repo-surface-sync reports structural drift that needs agent contract,
|
|
312
|
+
lifecycle graph, or extension-pack judgment.
|
|
294
313
|
- `god-browser-tester` when frontend-visible files changed and a known local,
|
|
295
314
|
preview, staging, or production URL is evidenced.
|
|
296
315
|
- `god-harden-auditor` suggestion after security-sensitive files changed;
|
|
@@ -750,6 +750,11 @@ Generate the dashboard with `lib/dashboard.compute(projectRoot)` and
|
|
|
750
750
|
runtime module cannot be loaded, fall back to a manual disk scan and say
|
|
751
751
|
`Dashboard engine: unavailable, manual scan used`.
|
|
752
752
|
|
|
753
|
+
The dashboard `Progress` line is workflow progress only. Audit scores,
|
|
754
|
+
remediation scores, hygiene scores, and launch-readiness scores must be labeled
|
|
755
|
+
separately so a closeout cannot appear to move backward because it switched
|
|
756
|
+
metrics.
|
|
757
|
+
|
|
753
758
|
Update PROGRESS.md status to `steady-state-active`.
|
|
754
759
|
|
|
755
760
|
For focused brownfield, hotfix, refactor, or build workflows that finish without a
|
|
@@ -962,7 +967,7 @@ Next: <next command or pause question>
|
|
|
962
967
|
|
|
963
968
|
Rules:
|
|
964
969
|
- Keep each card under 12 lines unless a pause needs options.
|
|
965
|
-
- Use `lib/state.progressSummary(stateJson)` for
|
|
970
|
+
- Use `lib/state.progressSummary(stateJson)` for workflow percentage and step count
|
|
966
971
|
whenever state.json is available.
|
|
967
972
|
- Use artifact paths and verification evidence from disk, not memory.
|
|
968
973
|
- Do not print raw spawn input, hidden instructions, or full file loadout lists.
|
package/lib/README.md
CHANGED
|
@@ -13,6 +13,8 @@ package-level integrations.
|
|
|
13
13
|
| `intent.js` | Read and validate `intent.yaml` from project roots or `.godpowers/`. |
|
|
14
14
|
| `checkpoint.js` | Create and inspect resumable checkpoint artifacts. |
|
|
15
15
|
| `feature-awareness.js` | Detect and refresh existing-project awareness after runtime upgrades. |
|
|
16
|
+
| `repo-doc-sync.js` | Detect and refresh mechanical repository documentation surfaces. |
|
|
17
|
+
| `repo-surface-sync.js` | Detect structural drift across commands, routes, packages, agents, workflows, recipes, extensions, and release policy. |
|
|
16
18
|
| `budget.js` | Read and enforce configured budget controls. |
|
|
17
19
|
| `cost-tracker.js` | Track token and cost estimates from event streams. |
|
|
18
20
|
|
package/lib/dashboard.js
CHANGED
|
@@ -12,6 +12,8 @@ const cp = require('child_process');
|
|
|
12
12
|
const state = require('./state');
|
|
13
13
|
const router = require('./router');
|
|
14
14
|
const automationProviders = require('./automation-providers');
|
|
15
|
+
const repoDocSync = require('./repo-doc-sync');
|
|
16
|
+
const repoSurfaceSync = require('./repo-surface-sync');
|
|
15
17
|
|
|
16
18
|
const GOD_DIR = '.godpowers';
|
|
17
19
|
const PRD_PATH = '.godpowers/prd/PRD.md';
|
|
@@ -158,12 +160,21 @@ function proactiveChecks(projectRoot, changedFiles = []) {
|
|
|
158
160
|
'auth',
|
|
159
161
|
'security'
|
|
160
162
|
]));
|
|
163
|
+
const repoDocs = repoDocSync.detect(projectRoot, { changedFiles });
|
|
164
|
+
const repoDocsStatus = repoDocs.status === 'fresh'
|
|
165
|
+
? 'fresh'
|
|
166
|
+
: `${repoDocs.stale.length} stale, suggest /god-docs`;
|
|
167
|
+
const repoSurface = repoSurfaceSync.detect(projectRoot);
|
|
168
|
+
const repoSurfaceStatus = repoSurface.status === 'fresh'
|
|
169
|
+
? 'fresh'
|
|
170
|
+
: `${repoSurface.stale.length} stale, suggest /god-doctor`;
|
|
161
171
|
|
|
162
172
|
return {
|
|
163
173
|
checkpoint,
|
|
164
174
|
reviews: reviews > 0 ? `${reviews} pending, suggest /god-review-changes` : 'none',
|
|
165
175
|
sync,
|
|
166
|
-
docs:
|
|
176
|
+
docs: repoDocsStatus,
|
|
177
|
+
repoSurface: repoSurfaceStatus,
|
|
167
178
|
runtime: 'not-applicable',
|
|
168
179
|
automation: automationSummary(projectRoot),
|
|
169
180
|
security: sensitiveChanged ? 'sensitive files changed, suggest /god-harden' : 'clear',
|
|
@@ -195,7 +206,8 @@ function planningVisibility(projectRoot, progress) {
|
|
|
195
206
|
prd: { status: prd, path: prd === 'done' ? PRD_PATH : null },
|
|
196
207
|
roadmap: { status: roadmap, path: roadmap === 'done' ? ROADMAP_PATH : null },
|
|
197
208
|
currentMilestone: phase.stepLabel ? `${phase.phase} / ${phase.stepLabel}` : phase.phase,
|
|
198
|
-
completion: `${progress.percent}%
|
|
209
|
+
completion: `${progress.percent}% workflow progress from .godpowers/state.json tracked steps`,
|
|
210
|
+
completionBasis: '.godpowers/state.json workflow steps'
|
|
199
211
|
};
|
|
200
212
|
}
|
|
201
213
|
|
|
@@ -206,6 +218,7 @@ function compute(projectRoot, opts = {}) {
|
|
|
206
218
|
if (!s) {
|
|
207
219
|
const next = { command: '/god-init', reason: 'No Godpowers project initialized' };
|
|
208
220
|
return {
|
|
221
|
+
source: 'runtime dashboard (lib/dashboard.js)',
|
|
209
222
|
state: 'not initialized',
|
|
210
223
|
mode: null,
|
|
211
224
|
lifecycle: 'pre-init',
|
|
@@ -217,7 +230,8 @@ function compute(projectRoot, opts = {}) {
|
|
|
217
230
|
prd: { status: 'missing', path: null },
|
|
218
231
|
roadmap: { status: 'missing', path: null },
|
|
219
232
|
currentMilestone: 'Project initialization',
|
|
220
|
-
completion: '0%
|
|
233
|
+
completion: '0% workflow progress because .godpowers/state.json is missing',
|
|
234
|
+
completionBasis: 'missing .godpowers/state.json'
|
|
221
235
|
},
|
|
222
236
|
proactive: proactiveChecks(projectRoot, git.entries.map(statusPath)),
|
|
223
237
|
next,
|
|
@@ -237,6 +251,7 @@ function compute(projectRoot, opts = {}) {
|
|
|
237
251
|
if (openItems.length === 0) openItems.push('none');
|
|
238
252
|
|
|
239
253
|
return {
|
|
254
|
+
source: 'runtime dashboard (lib/dashboard.js)',
|
|
240
255
|
state: progress.remaining === 0 ? 'complete' : 'in progress',
|
|
241
256
|
mode: s.mode || s['mode-announced-as'] || null,
|
|
242
257
|
lifecycle: s['lifecycle-phase'] || 'in-arc',
|
|
@@ -266,11 +281,13 @@ function render(dashboard) {
|
|
|
266
281
|
return [
|
|
267
282
|
'Godpowers Dashboard',
|
|
268
283
|
'',
|
|
284
|
+
`Source: ${dashboard.source || 'manual disk scan'}`,
|
|
285
|
+
'',
|
|
269
286
|
'Current status:',
|
|
270
287
|
` State: ${dashboard.state}`,
|
|
271
288
|
` Phase: ${current.phase || 'unknown'}${current.tierNumber !== null && current.tierNumber !== undefined ? ` (tier ${current.tierOrdinal} of ${current.tierCount}, internal ${current.tierKey || `tier-${current.tierNumber}`})` : ''}`,
|
|
272
289
|
` Step: ${current.stepLabel || 'unknown'}${current.stepNumber ? ` (step ${current.stepNumber} of ${current.totalSteps})` : ''}`,
|
|
273
|
-
` Progress: ${progress.percent || 0}% (${progress.completed || 0} of ${progress.total || 0} steps complete)`,
|
|
290
|
+
` Progress: ${progress.percent || 0}% workflow progress (${progress.completed || 0} of ${progress.total || 0} tracked steps complete)`,
|
|
274
291
|
` Worktree: ${dashboard.worktree}`,
|
|
275
292
|
` Index: ${dashboard.index}`,
|
|
276
293
|
'',
|
|
@@ -278,13 +295,14 @@ function render(dashboard) {
|
|
|
278
295
|
` PRD: ${prd.status || 'missing'}${prd.path ? ` ${prd.path}` : ''}`,
|
|
279
296
|
` Roadmap: ${roadmap.status || 'missing'}${roadmap.path ? ` ${roadmap.path}` : ''}`,
|
|
280
297
|
` Current milestone: ${planning.currentMilestone || 'unknown'}`,
|
|
281
|
-
` Completion: ${planning.completion || 'unknown'}`,
|
|
298
|
+
` Completion basis: ${planning.completionBasis || planning.completion || 'unknown'}`,
|
|
282
299
|
'',
|
|
283
300
|
'Proactive checks:',
|
|
284
301
|
` Checkpoint: ${proactive.checkpoint || 'unknown'}`,
|
|
285
302
|
` Reviews: ${proactive.reviews || 'unknown'}`,
|
|
286
303
|
` Sync: ${proactive.sync || 'unknown'}`,
|
|
287
304
|
` Docs: ${proactive.docs || 'unknown'}`,
|
|
305
|
+
` Repo surface: ${proactive.repoSurface || 'unknown'}`,
|
|
288
306
|
` Runtime: ${proactive.runtime || 'unknown'}`,
|
|
289
307
|
` Automation: ${proactive.automation || 'unknown'}`,
|
|
290
308
|
` Security: ${proactive.security || 'unknown'}`,
|
package/lib/feature-awareness.js
CHANGED
|
@@ -34,6 +34,18 @@ const FEATURES = [
|
|
|
34
34
|
since: '1.6.16',
|
|
35
35
|
commands: ['/god-doctor', '/god-context', '/god-sync', '/god-mode'],
|
|
36
36
|
description: 'Refresh existing Godpowers projects when the installed runtime gains new capabilities.'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'repo-documentation-sync',
|
|
40
|
+
since: '1.6.17',
|
|
41
|
+
commands: ['/god-sync', '/god-docs', '/god-doctor', '/god-status', '/god-mode'],
|
|
42
|
+
description: 'Detect and refresh repository documentation surfaces, release docs, and Pillars planning signals.'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'repo-surface-sync',
|
|
46
|
+
since: '1.6.19',
|
|
47
|
+
commands: ['/god-sync', '/god-docs', '/god-doctor', '/god-status', '/god-mode'],
|
|
48
|
+
description: 'Detect structural drift across routing, packages, agents, workflows, recipes, extensions, and release policy.'
|
|
37
49
|
}
|
|
38
50
|
];
|
|
39
51
|
|
package/lib/pillars.js
CHANGED
|
@@ -80,6 +80,15 @@ const KNOWN_PILLARS = {
|
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
const ARTIFACT_PILLAR_MAP = [
|
|
83
|
+
{ pattern: /^README\.md$/i, pillars: ['context', 'repo'] },
|
|
84
|
+
{ pattern: /^CHANGELOG\.md$/i, pillars: ['context', 'deploy'] },
|
|
85
|
+
{ pattern: /^RELEASE\.md$/i, pillars: ['context', 'deploy'] },
|
|
86
|
+
{ pattern: /^CONTRIBUTING\.md$/i, pillars: ['repo', 'quality'] },
|
|
87
|
+
{ pattern: /^SECURITY\.md$/i, pillars: ['security'] },
|
|
88
|
+
{ pattern: /^SUPPORT\.md$/i, pillars: ['context'] },
|
|
89
|
+
{ pattern: /^docs\/ROADMAP\.md$/i, pillars: ['context', 'quality'] },
|
|
90
|
+
{ pattern: /^docs\/reference\.md$/i, pillars: ['repo'] },
|
|
91
|
+
{ pattern: /^docs\/repo-doc-sync\.md$/i, pillars: ['repo', 'quality'] },
|
|
83
92
|
{ pattern: /(^|\/)prd\/PRD\.md$/i, pillars: ['context'] },
|
|
84
93
|
{ pattern: /(^|\/)arch\/ARCH\.md$/i, pillars: ['arch'] },
|
|
85
94
|
{ pattern: /(^|\/)arch\/adr\//i, pillars: ['arch'] },
|