@guiho/runx 0.2.6 → 0.4.0
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 +44 -0
- package/DOCS.md +128 -109
- package/README.md +58 -58
- package/devops/build-binaries.ts +44 -62
- package/devops/devops.xdocs.md +8 -5
- package/devops/install.ps1 +182 -152
- package/devops/install.sh +197 -262
- package/devops/installers.spec.ts +31 -0
- package/devops/verify-release-assets.ts +17 -0
- package/docs/decisions/decisions.xdocs.md +4 -0
- package/docs/decisions/interactive-init-manifest.md +187 -0
- package/docs/docs.xdocs.md +3 -1
- package/docs/plans/interactive-init-manifest.md +177 -0
- package/docs/plans/plans.xdocs.md +11 -0
- package/docs/plans/rfc-0034-cli-compliance-migration.md +586 -0
- package/docs/plans/upgrade-reliability-implementation.md +95 -0
- package/docs/reviews/implementation/implementation.xdocs.md +6 -0
- package/docs/reviews/implementation/interactive-init-manifest-review.md +69 -0
- package/docs/reviews/implementation/rfc-0034-cli-compliance-migration-review.md +59 -0
- package/docs/reviews/plans/interactive-init-manifest-review.md +82 -0
- package/docs/reviews/plans/plans.xdocs.md +10 -0
- package/docs/reviews/plans/rfc-0034-cli-compliance-migration-review.md +80 -0
- package/docs/reviews/plans/upgrade-reliability-implementation-review.md +65 -0
- package/docs/superpowers/specs/2026-07-15-upgrade-reliability-design.md +662 -0
- package/docs/superpowers/specs/specs.xdocs.md +24 -0
- package/docs/superpowers/superpowers.xdocs.md +21 -0
- package/docs/todo/rfc-0034-cli-compliance-migration-implementation.md +58 -0
- package/docs/todo/rfc-0034-cli-compliance-migration.md +151 -0
- package/docs/todo/todo.xdocs.md +6 -2
- package/docs/validation/interactive-init-manifest.md +79 -0
- package/docs/validation/rfc-0034-cli-compliance-migration.md +67 -0
- package/docs/validation/upgrade-reliability.md +124 -0
- package/docs/validation/validation.xdocs.md +9 -0
- package/library/agents.d.ts +28 -4
- package/library/agents.d.ts.map +1 -1
- package/library/agents.js +143 -41
- package/library/cli.d.ts.map +1 -1
- package/library/cli.js +297 -317
- package/library/configuration.d.ts +57 -0
- package/library/configuration.d.ts.map +1 -0
- package/library/configuration.js +111 -0
- package/library/embedded-resources.d.ts +6 -1
- package/library/embedded-resources.d.ts.map +1 -1
- package/library/embedded-resources.js +10 -4
- package/library/executor.d.ts +5 -1
- package/library/executor.d.ts.map +1 -1
- package/library/executor.js +10 -10
- package/library/help.d.ts +8 -4
- package/library/help.d.ts.map +1 -1
- package/library/help.js +70 -42
- package/library/init.d.ts +18 -0
- package/library/init.d.ts.map +1 -0
- package/library/init.js +43 -0
- package/library/manifest.d.ts +4 -40
- package/library/manifest.d.ts.map +1 -1
- package/library/manifest.js +4 -112
- package/library/path-utils.d.ts +13 -0
- package/library/path-utils.d.ts.map +1 -0
- package/library/path-utils.js +82 -0
- package/library/recovery.d.ts +7 -0
- package/library/recovery.d.ts.map +1 -0
- package/library/recovery.js +23 -0
- package/library/release-catalog.d.ts +32 -0
- package/library/release-catalog.d.ts.map +1 -0
- package/library/release-catalog.js +124 -0
- package/library/self-management.d.ts +24 -4
- package/library/self-management.d.ts.map +1 -1
- package/library/self-management.js +279 -99
- package/library/storage.d.ts +13 -0
- package/library/storage.d.ts.map +1 -0
- package/library/storage.js +38 -0
- package/library/types.d.ts +11 -16
- package/library/types.d.ts.map +1 -1
- package/library/types.js +3 -0
- package/library/update-cache.d.ts +21 -0
- package/library/update-cache.d.ts.map +1 -0
- package/library/update-cache.js +68 -0
- package/library/upgrade-reporting.d.ts +11 -0
- package/library/upgrade-reporting.d.ts.map +1 -0
- package/library/upgrade-reporting.js +67 -0
- package/library/upgrade-types.d.ts +72 -0
- package/library/upgrade-types.d.ts.map +1 -0
- package/library/upgrade-types.js +3 -0
- package/package.json +6 -3
- package/scripts/runx-bin.mjs +49 -0
- package/scripts/runx-bin.spec.ts +62 -0
- package/scripts/scripts.xdocs.md +3 -3
- package/skills/guiho-s-runx/SKILL.md +64 -59
- package/skills/guiho-s-runx/guiho-s-runx.xdocs.md +7 -4
- package/skills/skills.xdocs.md +1 -1
- package/docs/todo/implement-runx-alpha.md +0 -36
- package/scripts/runx-bin.ts +0 -24
|
@@ -5,16 +5,22 @@ parent: runx-reviews
|
|
|
5
5
|
children: []
|
|
6
6
|
files:
|
|
7
7
|
citty-cli-migration-review.md: Reviews the implemented Citty command tree, compatibility adapter, tests, documentation, packaging, and release readiness.
|
|
8
|
+
interactive-init-manifest-review.md: Reviews the implemented RunX initializer, strict manifest contract, tests, documentation, and delivery readiness.
|
|
8
9
|
windows-self-upgrade-review.md: Reviews synchronous Windows replacement, rollback, cleanup, tests, CI coverage, and release readiness.
|
|
10
|
+
rfc-0034-cli-compliance-migration-review.md: Accepts the complete RFC 0034 runtime, CLI, agent, installer, packaging, documentation, and release migration.
|
|
9
11
|
documents:
|
|
10
12
|
citty-cli-migration-review.md: Accepted implementation review for the full Citty CLI migration.
|
|
13
|
+
interactive-init-manifest-review.md: Accepted implementation review for the RunX interactive init manifest feature.
|
|
11
14
|
windows-self-upgrade-review.md: Accepted implementation review for the Windows native self-upgrade fix.
|
|
15
|
+
rfc-0034-cli-compliance-migration-review.md: Accepted implementation review for RX-01 through RX-16.
|
|
12
16
|
tags:
|
|
13
17
|
- reviews
|
|
14
18
|
- implementation
|
|
15
19
|
keywords:
|
|
16
20
|
- runx
|
|
17
21
|
- citty
|
|
22
|
+
- runx init
|
|
23
|
+
- scripts directory
|
|
18
24
|
- implementation review
|
|
19
25
|
- windows self-upgrade
|
|
20
26
|
flags: []
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: RunX Interactive Init Manifest Implementation Review
|
|
3
|
+
purpose: Assess the delivered RunX initializer and manifest contract against the accepted decision and plan.
|
|
4
|
+
description: Reviews Citty routing, strict SemVer and group validation, terminal safety, tests, documentation, and delivery boundaries.
|
|
5
|
+
created: 2026-07-14
|
|
6
|
+
flags:
|
|
7
|
+
- accepted
|
|
8
|
+
tags:
|
|
9
|
+
- reviews
|
|
10
|
+
- implementation
|
|
11
|
+
- cli
|
|
12
|
+
keywords:
|
|
13
|
+
- runx init
|
|
14
|
+
- runx.yaml
|
|
15
|
+
- semantic versioning
|
|
16
|
+
- public group
|
|
17
|
+
- scripts directory
|
|
18
|
+
owner: runx-implementation-reviews
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# RunX Interactive Init Manifest Implementation Review
|
|
22
|
+
|
|
23
|
+
## Verdict
|
|
24
|
+
|
|
25
|
+
Accepted. No blocking, high, medium, or low findings remain.
|
|
26
|
+
|
|
27
|
+
## Acceptance Criteria Check
|
|
28
|
+
|
|
29
|
+
- `runx init` is a first-class Citty command, appears in the home/help tree,
|
|
30
|
+
and is reserved from selector shorthand.
|
|
31
|
+
- The manifest accepts Semantic Versioning `1.x` strings, requires an in-root
|
|
32
|
+
`scripts.directory` and `public` group, and permits `commands: []` while
|
|
33
|
+
retaining strict command-group validation.
|
|
34
|
+
- The initializer uses a guided terminal adapter with project and scripts
|
|
35
|
+
prompts, an exact YAML preview, confirmation, overwrite confirmation, and
|
|
36
|
+
cancellation behavior. It writes only `runx.yaml`, not `scripts/`.
|
|
37
|
+
- Writes use a same-directory temporary file, validate the temporary manifest,
|
|
38
|
+
then rename it into place. No configured command is read for execution or
|
|
39
|
+
spawned by this path.
|
|
40
|
+
- `--file` and `--format json` fail explicitly for `init`; `--cwd` selects the
|
|
41
|
+
target directory.
|
|
42
|
+
- The README, canonical documentation, source XDocs metadata, and package
|
|
43
|
+
metadata align with the implementation. The bundled agent skill is unchanged
|
|
44
|
+
by design; the separate agent-integration follow-up remains issue #11.
|
|
45
|
+
|
|
46
|
+
## Verification Evidence
|
|
47
|
+
|
|
48
|
+
- `bun run typecheck` passed.
|
|
49
|
+
- `bun test` passed: 22 tests and 180 assertions, including initialization,
|
|
50
|
+
cancellation, overwrite, empty-catalog list/check, and non-interactive CLI
|
|
51
|
+
coverage.
|
|
52
|
+
- `bun run build` and `bun run binary` passed.
|
|
53
|
+
- The compiled `bin/runx.exe --help-tree` includes `init`.
|
|
54
|
+
- XDocs strict metadata checks for `source`, plans, and plan reviews passed;
|
|
55
|
+
the XDocs tree is intact.
|
|
56
|
+
|
|
57
|
+
## Residual Risk
|
|
58
|
+
|
|
59
|
+
The automated environment has no interactive TTY, so the live terminal frame
|
|
60
|
+
was exercised through the injected prompt contract rather than a human session.
|
|
61
|
+
The native binary build and its command-tree smoke check confirm that the
|
|
62
|
+
initializer is included in the compiled executable.
|
|
63
|
+
|
|
64
|
+
## References
|
|
65
|
+
|
|
66
|
+
- [Decision](../../decisions/interactive-init-manifest.md)
|
|
67
|
+
- [Plan](../../plans/interactive-init-manifest.md)
|
|
68
|
+
- [Plan Review](../plans/interactive-init-manifest-review.md)
|
|
69
|
+
- GitHub issues [#10](https://github.com/CGuiho/runx/issues/10) and [#11](https://github.com/CGuiho/runx/issues/11)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: RunX RFC 0034 CLI Compliance Migration Implementation Review
|
|
3
|
+
purpose: Review the delivered migration against all RX units and RFC completion gates.
|
|
4
|
+
description: Findings-first delivery review of runtime, CLI, agents, upgrades, installers, packaging, tests, docs, and release assets.
|
|
5
|
+
created: 2026-07-18
|
|
6
|
+
flags:
|
|
7
|
+
- accepted
|
|
8
|
+
tags:
|
|
9
|
+
- review
|
|
10
|
+
- cli
|
|
11
|
+
keywords:
|
|
12
|
+
- RFC 0034
|
|
13
|
+
- implementation review
|
|
14
|
+
- RunX
|
|
15
|
+
owner: runx-implementation-reviews
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# RunX RFC 0034 CLI Compliance Migration Implementation Review
|
|
19
|
+
|
|
20
|
+
## Verdict
|
|
21
|
+
|
|
22
|
+
Accepted.
|
|
23
|
+
|
|
24
|
+
## Findings
|
|
25
|
+
|
|
26
|
+
No blocker, high, medium, or low finding remains.
|
|
27
|
+
|
|
28
|
+
The review found and corrected three implementation-stage issues before
|
|
29
|
+
acceptance: nested Citty execution initially allowed the root banner to pollute
|
|
30
|
+
JSON output, directory existence checking initially rejected valid command
|
|
31
|
+
working directories, and legacy Windows cleanup tests waited indefinitely.
|
|
32
|
+
Focused tests now cover each corrected behavior.
|
|
33
|
+
|
|
34
|
+
## Acceptance Criteria Check
|
|
35
|
+
|
|
36
|
+
- Mandatory Bun, TypeScript, Citty, and TypeBox stack: accepted.
|
|
37
|
+
- Core prohibited-import scan: accepted.
|
|
38
|
+
- YAML precedence and configuration exit behavior: accepted.
|
|
39
|
+
- Exact startup banner and detached cache worker: accepted.
|
|
40
|
+
- Complete help modes at every public scope: accepted.
|
|
41
|
+
- Singular agent namespace and idempotent resources: accepted.
|
|
42
|
+
- Output/exit codes and delegated exit preservation: accepted.
|
|
43
|
+
- Upgrade selection, catalog, replacement, rollback, and reconciliation:
|
|
44
|
+
accepted.
|
|
45
|
+
- Direct installers and Node-only npm bootstrap: accepted.
|
|
46
|
+
- Twelve native binaries plus two named agent assets: accepted.
|
|
47
|
+
- Docs, TODO, xdocs, tests, and build evidence: accepted.
|
|
48
|
+
|
|
49
|
+
## Residual Risk
|
|
50
|
+
|
|
51
|
+
Publishing and GitHub Release creation are intentionally outside this delivery.
|
|
52
|
+
The workflows are validated locally and will execute only on a protected
|
|
53
|
+
Mirror-managed version tag.
|
|
54
|
+
|
|
55
|
+
## References
|
|
56
|
+
|
|
57
|
+
- [Implementation plan](../../plans/rfc-0034-cli-compliance-migration.md)
|
|
58
|
+
- [Implementation notes](../../todo/rfc-0034-cli-compliance-migration-implementation.md)
|
|
59
|
+
- [Validation report](../../validation/rfc-0034-cli-compliance-migration.md)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: RunX Interactive Init Manifest Plan Review
|
|
3
|
+
purpose: Verify that the interactive-init implementation plan is executable, safe, and traceable.
|
|
4
|
+
description: Reviews manifest constraints, terminal workflow boundaries, test coverage, XDocs work, and pull-request delivery for runx init.
|
|
5
|
+
created: 2026-07-14
|
|
6
|
+
flags:
|
|
7
|
+
- approved
|
|
8
|
+
tags:
|
|
9
|
+
- reviews
|
|
10
|
+
- plans
|
|
11
|
+
- cli
|
|
12
|
+
keywords:
|
|
13
|
+
- runx init
|
|
14
|
+
- runx.yaml
|
|
15
|
+
- semantic versioning
|
|
16
|
+
- public group
|
|
17
|
+
- scripts directory
|
|
18
|
+
owner: runx-plan-reviews
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# RunX Interactive Init Manifest Plan Review
|
|
22
|
+
|
|
23
|
+
## Verdict
|
|
24
|
+
|
|
25
|
+
Ready for execution.
|
|
26
|
+
|
|
27
|
+
## Findings
|
|
28
|
+
|
|
29
|
+
No blocker, high, medium, or low findings remain.
|
|
30
|
+
|
|
31
|
+
The plan is traceable to the accepted interactive-init decision, the existing
|
|
32
|
+
command-catalog requirement, and the Citty CLI architecture. The only review
|
|
33
|
+
finding was resolved in the plan: `runx init` is an interactive terminal
|
|
34
|
+
workflow, so `--format json` and `--file` must fail clearly rather than create
|
|
35
|
+
ambiguous output or target files.
|
|
36
|
+
|
|
37
|
+
## Sequencing and Safety
|
|
38
|
+
|
|
39
|
+
- Manifest schema changes precede the initializer, so generated YAML is
|
|
40
|
+
validated by the same strict contract that later commands use.
|
|
41
|
+
- The initializer is isolated from the executor and is explicitly prohibited
|
|
42
|
+
from spawning configured manifest commands.
|
|
43
|
+
- The prompt boundary is injectable for tests; an interactive terminal is
|
|
44
|
+
required for the real user interface.
|
|
45
|
+
- Existing-file confirmation, cancellation, and atomic writes prevent silent
|
|
46
|
+
replacement and partial manifests.
|
|
47
|
+
- The `scripts` directory is configured but not created until a real script is
|
|
48
|
+
added, matching the accepted file-only initialization boundary.
|
|
49
|
+
- Manifest evolution is constrained to supported SemVer major `1`; no legacy
|
|
50
|
+
numeric compatibility or migration policy is hidden in the implementation.
|
|
51
|
+
|
|
52
|
+
## Coverage Review
|
|
53
|
+
|
|
54
|
+
- Tests cover SemVer, public-group, scripts-directory, empty-catalog, command
|
|
55
|
+
group-reference, creation, cancellation, overwrite, non-interactive, and
|
|
56
|
+
unsupported-option behavior.
|
|
57
|
+
- The full Bun typecheck, test, library build, local native compilation, XDocs
|
|
58
|
+
subtree validation, and diff hygiene are named.
|
|
59
|
+
- Native compilation of the terminal prompt dependency is an explicit stop
|
|
60
|
+
condition.
|
|
61
|
+
- No API, database, authentication, authorization, cache, cloud, secret,
|
|
62
|
+
deployment, release, tag, or package-publication work is in scope.
|
|
63
|
+
|
|
64
|
+
## Documentation and TODO Alignment
|
|
65
|
+
|
|
66
|
+
The plan updates public CLI documentation and the affected XDocs descriptors.
|
|
67
|
+
The bundled RunX agent skill is deliberately deferred to the separate
|
|
68
|
+
agent-integration feature tracked in issue #11, as directed by the project
|
|
69
|
+
owner. The work is one focused package session, so no additional long-running
|
|
70
|
+
TODO entry is required.
|
|
71
|
+
|
|
72
|
+
## First Executable Unit
|
|
73
|
+
|
|
74
|
+
Update `source/manifest.ts` and its tests/fixtures to establish the SemVer,
|
|
75
|
+
scripts-directory, mandatory-public-group, and empty-catalog contract.
|
|
76
|
+
|
|
77
|
+
## References
|
|
78
|
+
|
|
79
|
+
- [Plan](../../plans/interactive-init-manifest.md)
|
|
80
|
+
- [Decision](../../decisions/interactive-init-manifest.md)
|
|
81
|
+
- [Requirements](../../requirements/alpha-command-catalog.md)
|
|
82
|
+
- [CLI Architecture](../../architecture/cli-architecture.md)
|
|
@@ -5,14 +5,20 @@ parent: runx-reviews
|
|
|
5
5
|
children: []
|
|
6
6
|
files:
|
|
7
7
|
citty-cli-migration-review.md: Reviews completeness, compatibility, safety invariants, native packaging, and release sequencing for the Citty migration.
|
|
8
|
+
interactive-init-manifest-review.md: Reviews the RunX init manifest schema, terminal workflow, tests, XDocs, and pull-request delivery.
|
|
8
9
|
mirror-automatic-push-review.md: Reviews synchronized-main safeguards, read-only validation, protected delivery, and release side effects.
|
|
9
10
|
npm-trusted-publishing-release-review.md: Reviews sequencing, acceptance criteria, safety gates, and validation for the RunX 0.2.1 trusted-publishing plan.
|
|
11
|
+
rfc-0034-cli-compliance-migration-review.md: Reviews the full breaking RunX RFC 0034 migration for sequencing, command/agent coverage, distribution, validation, and approval gates.
|
|
10
12
|
windows-self-upgrade-review.md: Reviews synchronous replacement, rollback, regression coverage, issue closure, and patch delivery.
|
|
13
|
+
upgrade-reliability-implementation-review.md: Reviews execution readiness for complete release discovery, transactional upgrades, recovery, installers, and validation.
|
|
11
14
|
documents:
|
|
12
15
|
citty-cli-migration-review.md: Ready-for-execution review of the full Citty CLI migration plan.
|
|
16
|
+
interactive-init-manifest-review.md: Ready-for-execution review of the RunX interactive init manifest plan.
|
|
13
17
|
mirror-automatic-push-review.md: Ready-for-execution review of the Mirror automatic-push configuration plan.
|
|
14
18
|
npm-trusted-publishing-release-review.md: Ready-for-execution review of the npm trusted-publishing release plan.
|
|
19
|
+
rfc-0034-cli-compliance-migration-review.md: Ready-for-execution review of the complete RFC 0034 migration plan.
|
|
15
20
|
windows-self-upgrade-review.md: Ready-for-execution review of the Windows native self-upgrade fix plan.
|
|
21
|
+
upgrade-reliability-implementation-review.md: Ready-for-execution review for GitHub issues 12 and 13.
|
|
16
22
|
tags:
|
|
17
23
|
- reviews
|
|
18
24
|
- plans
|
|
@@ -20,8 +26,12 @@ keywords:
|
|
|
20
26
|
- runx
|
|
21
27
|
- plan review
|
|
22
28
|
- citty
|
|
29
|
+
- runx init
|
|
30
|
+
- scripts directory
|
|
23
31
|
- mirror push
|
|
24
32
|
- trusted publishing
|
|
33
|
+
- RFC 0034
|
|
34
|
+
- cli compliance
|
|
25
35
|
- windows self-upgrade
|
|
26
36
|
flags: []
|
|
27
37
|
status: stable
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: RunX RFC 0034 CLI Compliance Migration Plan Review
|
|
3
|
+
purpose: Verify that the RunX RFC 0034 migration plan is sequenced, explicit, testable, and safe to execute.
|
|
4
|
+
description: Reviews the breaking migration plan against the CLI contract, current RunX architecture, TODO tracking, documentation duties, and release approval gates.
|
|
5
|
+
created: 2026-07-18
|
|
6
|
+
flags:
|
|
7
|
+
- approved
|
|
8
|
+
- ready-for-execution
|
|
9
|
+
tags:
|
|
10
|
+
- review
|
|
11
|
+
- plan
|
|
12
|
+
- cli
|
|
13
|
+
keywords:
|
|
14
|
+
- runx
|
|
15
|
+
- RFC 0034
|
|
16
|
+
- plan readiness
|
|
17
|
+
- breaking migration
|
|
18
|
+
owner: runx-plan-reviews
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# RunX RFC 0034 CLI Compliance Migration Plan Review
|
|
22
|
+
|
|
23
|
+
## Verdict
|
|
24
|
+
|
|
25
|
+
Ready for execution.
|
|
26
|
+
|
|
27
|
+
## Findings
|
|
28
|
+
|
|
29
|
+
No blocker or high-severity finding remains.
|
|
30
|
+
|
|
31
|
+
- Medium, resolved: Earlier RunX requirements and decisions require `runx r`,
|
|
32
|
+
root selector shorthand, `--file`, upward discovery, and a home page. The new
|
|
33
|
+
plan records the developer-approved breaking boundary and requires conflicting
|
|
34
|
+
durable documents to be superseded.
|
|
35
|
+
- Medium, resolved: Current agent code only installs/updates one selected tool,
|
|
36
|
+
writes AGENTS only, uses non-RFC markers, and has no prompt catalog. RX-09
|
|
37
|
+
explicitly covers both skill paths, all actions, instruction resolution,
|
|
38
|
+
idempotency, prompts, embedding, and isolated tests.
|
|
39
|
+
- Medium, resolved: Current release work builds twelve `macos` binaries but no
|
|
40
|
+
agent assets. RX-12 through RX-14 sequence installer, bootstrap, naming,
|
|
41
|
+
packaging, workflow, and exact-set verification.
|
|
42
|
+
- Medium, resolved: The npm launcher requirement could conflict with Bun-only
|
|
43
|
+
core source. RX-13 names `scripts/runx-bin.mjs` as the isolated Node exception.
|
|
44
|
+
- Low, resolved: Creating plans/specs/reviews requires xdocs companion metadata.
|
|
45
|
+
The affected descriptors are included in this planning unit.
|
|
46
|
+
|
|
47
|
+
## Sequencing Risks
|
|
48
|
+
|
|
49
|
+
The Bun-only source foundation and TypeBox boundaries correctly precede
|
|
50
|
+
configuration, startup, agent, and upgrade behavior. The command tree precedes
|
|
51
|
+
generated help. Agent resources precede installers and release packaging.
|
|
52
|
+
Documentation follows stable behavior and precedes final validation.
|
|
53
|
+
|
|
54
|
+
## Acceptance Criteria Review
|
|
55
|
+
|
|
56
|
+
Every unit states a goal, dependencies, files or modules, actions, acceptance
|
|
57
|
+
signals, and stop/approval conditions where risk exists. The validation unit
|
|
58
|
+
covers source, CLI, native binaries, npm bootstrap, installers, prohibited
|
|
59
|
+
imports, fourteen assets, xdocs, review, and release boundaries.
|
|
60
|
+
|
|
61
|
+
## TODO Alignment
|
|
62
|
+
|
|
63
|
+
RunX TODO task `1` links the task specification and executable plan. It remains
|
|
64
|
+
`todo` and cannot become completed until validation evidence proves every RFC
|
|
65
|
+
completion-gate item.
|
|
66
|
+
|
|
67
|
+
## First Executable Unit
|
|
68
|
+
|
|
69
|
+
RX-01: record baseline commands, checks, prohibited imports, agent behavior, and
|
|
70
|
+
release assets in an understood worktree.
|
|
71
|
+
|
|
72
|
+
## Recommended Next Skill
|
|
73
|
+
|
|
74
|
+
Use `guiho-s-0023-plan-executor` with `guiho-s-0034-cli-engineer`.
|
|
75
|
+
|
|
76
|
+
## References
|
|
77
|
+
|
|
78
|
+
- [Migration plan](../../plans/rfc-0034-cli-compliance-migration.md)
|
|
79
|
+
- [Task specification](../../todo/rfc-0034-cli-compliance-migration.md)
|
|
80
|
+
- [TODO.md](../../../TODO.md)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: RunX Upgrade Reliability Implementation Plan Review
|
|
3
|
+
purpose: Establish whether the upgrade reliability plan is safe and specific enough for uninterrupted execution.
|
|
4
|
+
description: Reviews traceability, sequencing, failure handling, tests, documentation, and release boundaries for GitHub issues 12 and 13.
|
|
5
|
+
created: 2026-07-15
|
|
6
|
+
flags:
|
|
7
|
+
- approved
|
|
8
|
+
tags:
|
|
9
|
+
- reviews
|
|
10
|
+
- plans
|
|
11
|
+
- reliability
|
|
12
|
+
keywords:
|
|
13
|
+
- runx upgrade
|
|
14
|
+
- plan review
|
|
15
|
+
- issue 12
|
|
16
|
+
- issue 13
|
|
17
|
+
owner: runx-plan-reviews
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# RunX Upgrade Reliability Implementation Plan Review
|
|
21
|
+
|
|
22
|
+
## Verdict
|
|
23
|
+
|
|
24
|
+
Ready for execution.
|
|
25
|
+
|
|
26
|
+
## Findings
|
|
27
|
+
|
|
28
|
+
No blocker or high-severity findings remain.
|
|
29
|
+
|
|
30
|
+
- Medium, resolved in the plan: installer validation could otherwise be deferred as a platform concern. Unit 4 now requires contract tests and records unavailable live platform checks without weakening verification semantics.
|
|
31
|
+
- Medium, resolved in the plan: CLI recovery output could be lost at the generic error boundary. Units 2 and 3 explicitly require command-specific failure envelopes, concise stderr, stdout recovery, and a single JSON document.
|
|
32
|
+
- Low, accepted: the release catalog may expose invalid SemVer tags. The approved design deliberately keeps them after valid SemVer entries with channel `other`, preserving complete publication visibility.
|
|
33
|
+
|
|
34
|
+
## Sequencing Risks
|
|
35
|
+
|
|
36
|
+
The sequence is correct: release normalization and recovery are prerequisites for the planner, reporter, CLI, and installers. Documentation follows implemented behavior, and full validation is last. Each unit is bounded to one repository and names its affected modules.
|
|
37
|
+
|
|
38
|
+
## Acceptance Criteria Coverage
|
|
39
|
+
|
|
40
|
+
- Plan before download and ordered phases: Units 2 and 3.
|
|
41
|
+
- Immediate canonical replacement, exact verification, rollback, and deferred backup cleanup only: Unit 2.
|
|
42
|
+
- Complete paginated SemVer catalog with channel/date/current/latest/asset metadata: Units 1 and 3.
|
|
43
|
+
- Recovery and stop commands after every outcome: Units 1-3.
|
|
44
|
+
- Exact-version direct installers with rollback: Unit 4.
|
|
45
|
+
- Help, public docs, skill, XDocs, and release gates: Units 5 and 6.
|
|
46
|
+
|
|
47
|
+
No database, authentication, permission, or persistent cache behavior exists in scope. The plan explicitly marks the upgrade cache phase skipped instead of inventing storage.
|
|
48
|
+
|
|
49
|
+
## TODO and XDocs Alignment
|
|
50
|
+
|
|
51
|
+
Task 2 in `TODO.md` links the approved design, executable plan, and GitHub issues. The plan and task spec are registered in their owning XDocs descriptors. Unit 5 requires affected source, devops, root-doc, and skill metadata to be synchronized before completion.
|
|
52
|
+
|
|
53
|
+
## Stop Conditions
|
|
54
|
+
|
|
55
|
+
The plan correctly stops on release naming contradictions, Citty bypass, architecture changes, destructive operations, or publication/version mutations. The user has already approved uninterrupted implementation within these boundaries.
|
|
56
|
+
|
|
57
|
+
## First Executable Unit
|
|
58
|
+
|
|
59
|
+
Unit 1: implement and test the release catalog and recovery contract.
|
|
60
|
+
|
|
61
|
+
## References
|
|
62
|
+
|
|
63
|
+
- [Implementation plan](../../plans/upgrade-reliability-implementation.md)
|
|
64
|
+
- [Approved design](../../superpowers/specs/2026-07-15-upgrade-reliability-design.md)
|
|
65
|
+
- [Task specification](../../todo/upgrade-reliability.md)
|