@guiho/runx 0.4.1 → 0.5.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/DOCS.md +27 -5
  3. package/README.md +6 -1
  4. package/devops/build-binaries.ts +3 -3
  5. package/devops/devops.xdocs.md +9 -6
  6. package/devops/extract-release-notes.spec.ts +54 -0
  7. package/devops/extract-release-notes.ts +40 -0
  8. package/devops/install.ps1 +29 -6
  9. package/devops/install.sh +61 -22
  10. package/devops/installers.spec.ts +162 -5
  11. package/devops/verify-release-assets.ts +14 -0
  12. package/docs/architecture/architecture.xdocs.md +2 -1
  13. package/docs/architecture/cli-architecture.md +18 -9
  14. package/docs/decisions/decisions.xdocs.md +4 -0
  15. package/docs/decisions/markdown-release-assets-and-version-scoped-notes.md +84 -0
  16. package/docs/plans/automatic-agent-maintenance.md +120 -0
  17. package/docs/plans/linux-installer-latest-release.md +43 -0
  18. package/docs/plans/plans.xdocs.md +6 -0
  19. package/docs/plans/platform-aware-startup-greeting.md +43 -0
  20. package/docs/plans/rfc-0034-cli-compliance-migration.md +17 -8
  21. package/docs/plans/upgrade-reliability-implementation.md +1 -1
  22. package/docs/reviews/implementation/automatic-agent-maintenance-review.md +63 -0
  23. package/docs/reviews/implementation/bash-installer-review.md +42 -0
  24. package/docs/reviews/implementation/implementation.xdocs.md +14 -0
  25. package/docs/reviews/implementation/linux-installer-latest-release-review.md +49 -0
  26. package/docs/reviews/implementation/platform-aware-startup-greeting-review.md +51 -0
  27. package/docs/reviews/implementation/rfc-0034-cli-compliance-migration-review.md +5 -2
  28. package/docs/reviews/implementation/unicode-help-tree-review.md +41 -0
  29. package/docs/reviews/implementation/upgrade-reliability-issue-12-review.md +62 -0
  30. package/docs/reviews/implementation/upgrade-reliability-issue-13-review.md +63 -0
  31. package/docs/reviews/plans/automatic-agent-maintenance-review.md +56 -0
  32. package/docs/reviews/plans/plans.xdocs.md +2 -0
  33. package/docs/superpowers/specs/2026-07-15-upgrade-reliability-design.md +1 -1
  34. package/docs/todo/automatic-agent-maintenance-implementation.md +55 -0
  35. package/docs/todo/automatic-agent-maintenance.md +86 -0
  36. package/docs/todo/bash-installer.md +45 -0
  37. package/docs/todo/linux-installer-latest-release.md +47 -0
  38. package/docs/todo/platform-aware-startup-greeting.md +41 -0
  39. package/docs/todo/rfc-0034-cli-compliance-migration-implementation.md +7 -2
  40. package/docs/todo/rfc-0034-cli-compliance-migration.md +7 -3
  41. package/docs/todo/todo.xdocs.md +14 -0
  42. package/docs/todo/unicode-help-tree.md +44 -0
  43. package/docs/todo/upgrade-reliability.md +51 -0
  44. package/docs/validation/automatic-agent-maintenance.md +63 -0
  45. package/docs/validation/bash-installer.md +55 -0
  46. package/docs/validation/linux-installer-latest-release.md +50 -0
  47. package/docs/validation/platform-aware-startup-greeting.md +50 -0
  48. package/docs/validation/rfc-0034-cli-compliance-migration.md +10 -4
  49. package/docs/validation/unicode-help-tree.md +43 -0
  50. package/docs/validation/upgrade-reliability-issue-12.md +74 -0
  51. package/docs/validation/upgrade-reliability-issue-13.md +72 -0
  52. package/docs/validation/upgrade-reliability.md +38 -99
  53. package/docs/validation/validation.xdocs.md +16 -2
  54. package/library/agent-maintenance.d.ts +19 -0
  55. package/library/agent-maintenance.d.ts.map +1 -0
  56. package/library/agent-maintenance.js +49 -0
  57. package/library/agents.d.ts +6 -1
  58. package/library/agents.d.ts.map +1 -1
  59. package/library/agents.js +58 -11
  60. package/library/cli.d.ts +2 -1
  61. package/library/cli.d.ts.map +1 -1
  62. package/library/cli.js +34 -9
  63. package/library/recovery.js +1 -1
  64. package/library/release-catalog.d.ts +2 -1
  65. package/library/release-catalog.d.ts.map +1 -1
  66. package/library/release-catalog.js +9 -1
  67. package/library/storage.d.ts +2 -1
  68. package/library/storage.d.ts.map +1 -1
  69. package/library/storage.js +13 -1
  70. package/package.json +1 -1
  71. package/skills/guiho-s-runx/SKILL.md +11 -0
  72. package/skills/guiho-s-runx/guiho-s-runx.xdocs.md +4 -1
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: Use Bash For The RunX Installer
3
+ purpose: Track the canonical shell correction requested by GitHub issue 15.
4
+ description: Records Bash shebang, strict mode, documented invocation, recovery generation, executable tests, and delivery evidence.
5
+ created: 2026-07-19
6
+ flags:
7
+ - completed
8
+ tags:
9
+ - todo
10
+ - installer
11
+ - bash
12
+ keywords:
13
+ - RunX
14
+ - issue 15
15
+ - install.sh
16
+ - pipefail
17
+ owner: runx-todo
18
+ ---
19
+
20
+ # Use Bash For The RunX Installer
21
+
22
+ ## Todo Index
23
+
24
+ - Task: `4. Use Bash For The RunX Installer`
25
+ - Status: completed
26
+ - Index: [TODO.md](../../TODO.md)
27
+ - External: [CGuiho/runx issue #15](https://github.com/CGuiho/runx/issues/15)
28
+
29
+ ## Outcome
30
+
31
+ RunX declares and invokes the Linux/macOS installer as Bash everywhere. The
32
+ installer uses Bash strict mode and passes syntax, piped startup, exact-version,
33
+ and executable-version checks under a real Bash runtime.
34
+
35
+ ## Completion Signals
36
+
37
+ - No canonical installer or recovery command pipes `install.sh` to `sh`.
38
+ - The script starts with `#!/usr/bin/env bash` and `set -euo pipefail`.
39
+ - Shell-profile detection remains safe when `SHELL` is unset.
40
+ - Git Bash and Ubuntu-compatible tests exercise the script, not only its text.
41
+
42
+ ## References
43
+
44
+ - [Implementation review](../reviews/implementation/bash-installer-review.md)
45
+ - [Validation](../validation/bash-installer.md)
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: Resolve The Latest RunX Bash Install
3
+ purpose: Track the Linux and macOS latest-release installer correction requested by GitHub issue 20.
4
+ description: Defines stable latest-download resolution, exact version behavior, installer safeguards, regression coverage, and public verification.
5
+ created: 2026-07-20
6
+ flags:
7
+ - testing
8
+ owner: runx-todo
9
+ tags:
10
+ - installer
11
+ - linux
12
+ - github
13
+ keywords:
14
+ - issue 20
15
+ - latest release
16
+ - install.sh
17
+ ---
18
+
19
+ # Resolve The Latest RunX Bash Install
20
+
21
+ ## Outcome
22
+
23
+ The Bash installer installs the latest stable RunX release on Linux and macOS
24
+ without parsing a redirected release tag whose package name contains a slash.
25
+
26
+ ## External Tracker
27
+
28
+ - [CGuiho/runx#20](https://github.com/CGuiho/runx/issues/20)
29
+
30
+ ## Acceptance Signals
31
+
32
+ - `latest` assets resolve through GitHub's stable
33
+ `releases/latest/download/<asset>` endpoint.
34
+ - Exact stable and prerelease versions continue to use encoded RunX tags.
35
+ - Binary, skill, and instruction assets use the same release selector.
36
+ - Bash syntax, piped startup, exact-version, and executable-verification tests
37
+ pass.
38
+ - The public installer succeeds against the released patch before issue
39
+ closure.
40
+
41
+ ## Watch-Outs
42
+
43
+ - Do not recover a latest tag from the final redirect URL segment. The RunX tag
44
+ contains `@guiho/runx@...`; the slash can become a path separator and discard
45
+ the package scope.
46
+ - Preserve transactional replacement, Markdown validation, PATH setup, dual
47
+ skill installation, and final executable verification.
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: Use The Runtime Platform In The RunX Greeting
3
+ purpose: Track the platform-aware no-argument greeting requested by GitHub issue 21.
4
+ description: Defines Windows, Linux, and macOS greeting labels, output ordering, regression coverage, and public verification.
5
+ created: 2026-07-20
6
+ flags:
7
+ - testing
8
+ owner: runx-todo
9
+ tags:
10
+ - cli
11
+ - startup
12
+ keywords:
13
+ - issue 21
14
+ - operating system
15
+ - greeting
16
+ ---
17
+
18
+ # Use The Runtime Platform In The RunX Greeting
19
+
20
+ ## Outcome
21
+
22
+ `runx` with no arguments names the operating system it is actually running on:
23
+ Windows, Linux, or macOS.
24
+
25
+ ## External Tracker
26
+
27
+ - [CGuiho/runx#21](https://github.com/CGuiho/runx/issues/21)
28
+
29
+ ## Acceptance Signals
30
+
31
+ - Windows prints `Hello Windows - runx v<version>`.
32
+ - Linux prints `Hello Linux - runx v<version>`.
33
+ - macOS prints `Hello macOS - runx v<version>`.
34
+ - Cached update notices remain before the greeting.
35
+ - Help, version, command routing, output channels, and exit codes are unchanged.
36
+ - Deterministic tests cover all three supported platform labels.
37
+
38
+ ## Contract Note
39
+
40
+ This issue intentionally replaces the historical RFC 0034 literal-Windows
41
+ banner. The developer explicitly approved the platform-aware behavior.
@@ -26,6 +26,11 @@ cache and release boundaries, complete Developer Context help, the singular
26
26
  agent namespace, transactional upgrades, complete installers, a Node-compatible
27
27
  npm bootstrap, and the exact fourteen release assets.
28
28
 
29
+ The final release contract intentionally overrides the original RFC asset
30
+ spelling: the two public Markdown artifacts are `guiho-s-runx.md` and
31
+ `guiho-i-runx.md`. The publish workflow extracts the exact version section from
32
+ the changelog and creates or updates GitHub Release notes idempotently.
33
+
29
34
  ## Implementation Map
30
35
 
31
36
  - RX-02-RX-05: `path-utils.ts`, `storage.ts`, `configuration.ts`,
@@ -39,8 +44,8 @@ npm bootstrap, and the exact fourteen release assets.
39
44
  - RX-10-RX-11: CLI output, release pagination, upgrade selection, replacement,
40
45
  rollback, reconciliation, and cache behavior use stable contracts.
41
46
  - RX-12-RX-14: both installers, `scripts/runx-bin.mjs`, the binary builder,
42
- asset verifier, and GitHub workflows enforce the installation and fourteen
43
- asset contracts.
47
+ asset verifier, exact-version release-note extractor, and GitHub workflows
48
+ enforce the installation, release-description, and fourteen-asset contracts.
44
49
  - RX-15-RX-16: canonical docs, TODO, xdocs, review, validation, tests, builds,
45
50
  and release preparation were aligned to the executable.
46
51
 
@@ -40,7 +40,7 @@ markers, `macos` asset names, and the Bun-dependent npm launcher is not required
40
40
  RunX uses the mandatory Bun/TypeScript/Citty/TypeBox stack, has a Bun-only core,
41
41
  implements the exact startup/configuration/help/agent/upgrade/installer/output
42
42
  contracts, ships a Node-compatible npm bootstrap, and publishes exactly twelve
43
- RFC-named binaries plus `guiho-s-runx` and `guiho-i-runx`.
43
+ RFC-named binaries plus `guiho-s-runx.md` and `guiho-i-runx.md`.
44
44
 
45
45
  ## Scope
46
46
 
@@ -84,8 +84,12 @@ RFC-named binaries plus `guiho-s-runx` and `guiho-i-runx`.
84
84
  raw/names-only rules.
85
85
  - Upgrade, list pagination, pre-release filtering, installers, and the npm
86
86
  wrapper pass isolated tests.
87
- - Release verification finds exactly fourteen correctly named assets and no
88
- `macos` names.
87
+ - Release verification finds exactly fourteen correctly named assets, including
88
+ both `.md` agent artifacts, and no `macos` names.
89
+ - GitHub Release notes contain only the exact matching changelog version section,
90
+ including when an existing release is rerun.
91
+ - Direct installers reject empty, executable, binary, invalid UTF-8, and
92
+ misidentified downloaded agent Markdown before writing installation targets.
89
93
  - Typecheck, tests, safe builds, xdocs validation, implementation review, and
90
94
  validation reporting complete successfully.
91
95
 
@@ -4,13 +4,27 @@ description: Linked task specifications for the RunX TODO index.
4
4
  parent: runx-docs
5
5
  children: []
6
6
  files:
7
+ bash-installer.md: Completes the GitHub issue 15 Bash shebang, invocation, strict-mode, and executable test contract.
8
+ linux-installer-latest-release.md: Defines GitHub issue 20 latest-release alias resolution and public Bash installer acceptance.
9
+ automatic-agent-maintenance.md: Defines issue 11 automatic agent-resource maintenance outcomes and acceptance signals.
10
+ automatic-agent-maintenance-implementation.md: Records the delivered issue 11 reconciler, hidden worker, command boundaries, tests, and release handoff.
7
11
  protect-branches-and-tag-creation.md: Records the verified active GitHub branch and release-tag rulesets for RunX.
8
12
  rfc-0034-cli-compliance-migration.md: Defines the required breaking migration outcome, scope, constraints, and completion signals for full RFC 0034 compliance.
9
13
  rfc-0034-cli-compliance-migration-implementation.md: Records the delivered RX units, implementation map, test-hang diagnosis, and independent audit corrections.
14
+ upgrade-reliability.md: Completes GitHub issues 12 and 13 for verified replacement, complete listing, exact recovery, and direct installers.
15
+ unicode-help-tree.md: Completes GitHub issue 17 with Unicode branches, nested guides, aligned descriptions, and legacy ASCII rejection.
16
+ platform-aware-startup-greeting.md: Defines GitHub issue 21 Windows, Linux, and macOS no-argument greeting behavior.
10
17
  documents:
18
+ bash-installer.md: Completed task specification for the canonical RunX Bash installer.
19
+ linux-installer-latest-release.md: Task specification for reliable latest RunX Bash installation.
20
+ automatic-agent-maintenance.md: Task specification for automatic RunX skill and AGENTS.md maintenance.
21
+ automatic-agent-maintenance-implementation.md: Completed implementation record for automatic RunX agent maintenance.
11
22
  protect-branches-and-tag-creation.md: Completed task specification with active RunX ruleset IDs, protected patterns, and verification evidence.
12
23
  rfc-0034-cli-compliance-migration.md: Task specification linked from TODO task 1 for the full RunX CLI contract migration.
13
24
  rfc-0034-cli-compliance-migration-implementation.md: Completed implementation, independent correction, and validation handoff for TODO task 1.
25
+ upgrade-reliability.md: Completed task specification for RunX upgrade reliability.
26
+ unicode-help-tree.md: Completed task specification for the RunX Unicode help tree.
27
+ platform-aware-startup-greeting.md: Task specification for the platform-aware RunX greeting.
14
28
  tags:
15
29
  - todo
16
30
  keywords:
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: Preserve The RunX Unicode Help Tree
3
+ purpose: Track the human-readable tree contract requested by GitHub issue 17.
4
+ description: Records Unicode branches, nested guides, aligned descriptions, legacy ASCII rejection, tests, and delivery evidence.
5
+ created: 2026-07-19
6
+ flags:
7
+ - completed
8
+ tags:
9
+ - todo
10
+ - cli
11
+ - help
12
+ keywords:
13
+ - RunX
14
+ - issue 17
15
+ - help tree
16
+ - Unicode
17
+ owner: runx-todo
18
+ ---
19
+
20
+ # Preserve The RunX Unicode Help Tree
21
+
22
+ ## Todo Index
23
+
24
+ - Task: `5. Preserve The RunX Unicode Help Tree`
25
+ - Status: completed
26
+ - Index: [TODO.md](../../TODO.md)
27
+ - External: [CGuiho/runx issue #17](https://github.com/CGuiho/runx/issues/17)
28
+
29
+ ## Outcome
30
+
31
+ `runx --help-tree` renders a `COMMAND TREE` with Unicode branch glyphs, nested
32
+ vertical guides, aligned descriptions, commands, and flags. The legacy ASCII
33
+ `|-` tree cannot regress unnoticed.
34
+
35
+ ## Completion Signals
36
+
37
+ - Root and every public scope render from the real Citty definitions.
38
+ - Tests assert `├──`, `└──`, `│`, aligned descriptions, and no `|-`.
39
+ - Depth limiting and hidden-command exclusion remain intact.
40
+
41
+ ## References
42
+
43
+ - [Implementation review](../reviews/implementation/unicode-help-tree-review.md)
44
+ - [Validation](../validation/unicode-help-tree.md)
@@ -0,0 +1,51 @@
1
+ ---
2
+ name: Complete RunX Upgrade Reliability
3
+ purpose: Track the accepted outcomes for GitHub issues 12 and 13.
4
+ description: Records immediate verified replacement, complete listing, exact recovery, direct installers, reviews, validation, and delivery evidence.
5
+ created: 2026-07-15
6
+ updated: 2026-07-19
7
+ flags:
8
+ - completed
9
+ tags:
10
+ - todo
11
+ - cli
12
+ - reliability
13
+ keywords:
14
+ - RunX
15
+ - issue 12
16
+ - issue 13
17
+ - self-upgrade
18
+ owner: runx-todo
19
+ ---
20
+
21
+ # Complete RunX Upgrade Reliability
22
+
23
+ ## Todo Index
24
+
25
+ - Task: `3. Complete RunX Upgrade Reliability`
26
+ - Status: completed
27
+ - Index: [TODO.md](../../TODO.md)
28
+ - External: [issue #12](https://github.com/CGuiho/runx/issues/12) and
29
+ [issue #13](https://github.com/CGuiho/runx/issues/13)
30
+
31
+ ## Outcome
32
+
33
+ RunX replaces and verifies the canonical executable before success, lists the
34
+ complete published catalog, and exposes exact-version recovery instructions
35
+ after every upgrade outcome in text and JSON.
36
+
37
+ ## Completion Signals
38
+
39
+ - Transactional Windows replacement and rollback are tested.
40
+ - Catalog pagination, sorting, channels, assets, and single-leaf routing are
41
+ tested.
42
+ - Every terminal outcome includes a pinned installer and separate stop command.
43
+ - Direct installers normalize exact stable/prerelease versions and reject
44
+ installed-version mismatches.
45
+ - Current-main reviews and validation contain pushed evidence for both issues.
46
+
47
+ ## References
48
+
49
+ - [Approved design](../superpowers/specs/2026-07-15-upgrade-reliability-design.md)
50
+ - [Implementation plan](../plans/upgrade-reliability-implementation.md)
51
+ - [Umbrella validation](../validation/upgrade-reliability.md)
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: RunX Automatic Agent Maintenance Validation
3
+ purpose: Record direct verification evidence for GitHub issue 11.
4
+ description: Captures focused and full tests, builds, native matrix, exact assets, import scan, XDocs, and Git integrity results.
5
+ created: 2026-07-19
6
+ flags:
7
+ - validated
8
+ tags:
9
+ - validation
10
+ - cli
11
+ - agents
12
+ keywords:
13
+ - RunX
14
+ - issue 11
15
+ - 48 tests
16
+ - 14 assets
17
+ owner: runx-validation
18
+ ---
19
+
20
+ # RunX Automatic Agent Maintenance Validation
21
+
22
+ ## Summary
23
+
24
+ All local completion gates for GitHub issue #11 passed. No validation blocker
25
+ remains.
26
+
27
+ ## Commands Run
28
+
29
+ | Command or check | Result |
30
+ | --- | --- |
31
+ | `bun run typecheck` | Passed |
32
+ | focused maintenance and CLI tests | Passed: 13 tests, 156 assertions |
33
+ | `bun test --timeout 30000` | Passed: 48 tests, 332 assertions |
34
+ | `bun run build` | Passed |
35
+ | `bun run binary` | Passed |
36
+ | `bun run binaries` | Passed: twelve native targets |
37
+ | `bun run verify-assets` | Passed: exactly fourteen unique assets |
38
+ | Windows x64 `--version` smoke | Passed: `0.4.1` |
39
+ | Windows x64 `--help-tree-depth 2` smoke | Passed; hidden worker absent |
40
+ | prohibited core import scan | Passed: zero matches |
41
+ | strict XDocs metadata for source, docs, and bundled skill | Passed |
42
+ | XDocs doctor for source, docs, and bundled skill | Passed: zero errors and zero warnings |
43
+ | `git diff --check` | Passed |
44
+
45
+ ## Behavioral Evidence
46
+
47
+ - Plain invocation retained its exact banner while both global skills and the
48
+ nearest project instructions appeared asynchronously.
49
+ - Catalog JSON remained parseable and diagnostics stayed on stderr.
50
+ - Missing, current, stale, legacy, and concurrent states converged as designed.
51
+ - Spawn and worker filesystem failures did not affect foreground output.
52
+ - Explicit skill uninstall and instruction removal stayed removed.
53
+
54
+ ## Skipped Checks
55
+
56
+ - No global user skill or real repository instruction was mutated by tests.
57
+ - No package publication or GitHub Release creation was performed.
58
+ - No Mirror version application occurred during this issue unit.
59
+
60
+ ## References
61
+
62
+ - [Implementation review](../reviews/implementation/automatic-agent-maintenance-review.md)
63
+ - [Implementation notes](../todo/automatic-agent-maintenance-implementation.md)
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: RunX Bash Installer Validation
3
+ purpose: Record direct verification evidence for GitHub issue 15.
4
+ description: Captures Bash syntax, piped startup, exact versions, recovery, executable verification, full suite, native assets, XDocs, and Git checks.
5
+ created: 2026-07-19
6
+ flags:
7
+ - validated
8
+ tags:
9
+ - validation
10
+ - installer
11
+ - bash
12
+ keywords:
13
+ - RunX
14
+ - issue 15
15
+ - bash -n
16
+ - 14 assets
17
+ owner: runx-validation
18
+ ---
19
+
20
+ # RunX Bash Installer Validation
21
+
22
+ ## Summary
23
+
24
+ The canonical RunX Linux/macOS installer and recovery command use Bash. No
25
+ validation blocker remains.
26
+
27
+ ## Commands Run
28
+
29
+ | Command or check | Result |
30
+ | --- | --- |
31
+ | `bun run typecheck` | Passed |
32
+ | focused recovery and installer tests | Passed: 7 tests, 45 assertions |
33
+ | Git Bash `bash -n devops/install.sh` | Passed |
34
+ | piped source-only Bash fixture | Passed with exit 0 and empty stderr |
35
+ | exact stable/prerelease normalization fixture | Passed |
36
+ | Bash executable-version verification fixture | Passed |
37
+ | `bun test --timeout 30000` | Passed: 53 tests, 363 assertions |
38
+ | build, native matrix, exact assets | Passed: library, single binary, twelve native targets, exactly fourteen assets |
39
+ | canonical `sh` reference scan | Passed: zero matches |
40
+ | strict XDocs metadata and doctor | Passed for source, devops, and docs: zero errors and zero warnings |
41
+ | `git diff --check` | Passed |
42
+
43
+ ## Contract Evidence
44
+
45
+ - The script declares `#!/usr/bin/env bash` and `set -euo pipefail`.
46
+ - README and generated recovery commands pipe to `bash`, never `sh`.
47
+ - Tests run with Git for Windows Bash locally and resolve the ordinary Bash
48
+ executable on Linux/macOS CI.
49
+ - The Bash function fixture verifies full prerelease identifiers and executes
50
+ the installed-version check against a real executable.
51
+
52
+ ## References
53
+
54
+ - [Implementation review](../reviews/implementation/bash-installer-review.md)
55
+ - [Task specification](../todo/bash-installer.md)
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: Latest RunX Bash Installer Validation
3
+ purpose: Record verification evidence for GitHub issue 20.
4
+ description: Captures Bash syntax, installer regression tests, full package checks, release assets, public latest-alias resolution, and remaining live-install verification.
5
+ created: 2026-07-20
6
+ flags:
7
+ - release-ready
8
+ tags:
9
+ - validation
10
+ - installer
11
+ keywords:
12
+ - issue 20
13
+ - latest download
14
+ - fourteen assets
15
+ owner: runx-validation
16
+ ---
17
+
18
+ # Latest RunX Bash Installer Validation
19
+
20
+ ## Summary
21
+
22
+ The implementation is ready for patch release. Public installation against the
23
+ new patch remains the final closure gate.
24
+
25
+ ## Commands Run
26
+
27
+ | Check | Result |
28
+ | --- | --- |
29
+ | `bash -n devops/install.sh` | Passed |
30
+ | `bun test devops/installers.spec.ts` | Passed: 5 tests, 39 expectations |
31
+ | `bun run typecheck` | Passed |
32
+ | `bun test` | Passed: 54 tests, 373 expectations |
33
+ | `bun run build` | Passed |
34
+ | `bun run binary` | Passed |
35
+ | `bun run binaries` | Passed: 12 native binaries |
36
+ | `bun run verify-assets` | Passed: exactly 14 assets |
37
+ | Public `releases/latest/download/runx-linux-x64-baseline` headers | Passed: redirects to the current RunX release asset and returns HTTP 200 |
38
+ | XDocs strict metadata, tree, and doctor | Passed |
39
+
40
+ ## Regression Evidence
41
+
42
+ - The script contains the stable latest-download endpoint.
43
+ - The script does not inspect `url_effective`.
44
+ - Sourced Bash tests prove latest and exact encoded-tag URL shapes.
45
+ - Existing payload, Markdown, and executable checks remain green.
46
+
47
+ ## Remaining Gate
48
+
49
+ After publication, execute the public Bash installer on Linux, verify the
50
+ reported version, and record the result in issue 20 before closure.
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: Platform-Aware RunX Greeting Validation
3
+ purpose: Record verification evidence for GitHub issue 21.
4
+ description: Captures deterministic platform assertions, runtime smoke tests, full package checks, and remaining released-Linux verification.
5
+ created: 2026-07-20
6
+ flags:
7
+ - release-ready
8
+ tags:
9
+ - validation
10
+ - cli
11
+ keywords:
12
+ - issue 21
13
+ - Windows
14
+ - Linux
15
+ - macOS
16
+ owner: runx-validation
17
+ ---
18
+
19
+ # Platform-Aware RunX Greeting Validation
20
+
21
+ ## Summary
22
+
23
+ The implementation is ready for patch release. The published Linux executable
24
+ is the final platform-specific closure gate.
25
+
26
+ ## Commands Run
27
+
28
+ | Check | Result |
29
+ | --- | --- |
30
+ | Focused `bun test source/cli.spec.ts` banner assertions | Passed |
31
+ | Independently rerun background-maintenance timing test | Passed |
32
+ | `bun run typecheck` | Passed |
33
+ | `bun test` | Passed: 54 tests, 373 expectations |
34
+ | `bun run build` | Passed |
35
+ | `bun run binaries` | Passed |
36
+ | Compiled `runx-windows-x64-baseline.exe` no arguments | Passed: `Hello Windows - runx v0.5.1` |
37
+ | Compiled Windows `--version` | Passed: `0.5.1` |
38
+ | XDocs strict metadata, tree, and doctor | Passed |
39
+
40
+ ## Deterministic Assertions
41
+
42
+ - `win32` renders `Hello Windows`.
43
+ - `linux` renders `Hello Linux`.
44
+ - `darwin` renders `Hello macOS`.
45
+ - Cached update output remains before the startup greeting.
46
+
47
+ ## Remaining Gate
48
+
49
+ After publication, run the released Linux binary without arguments and record
50
+ `Hello Linux - runx v<released-version>` in issue 21 before closure.
@@ -10,7 +10,7 @@ tags:
10
10
  - cli
11
11
  keywords:
12
12
  - RFC 0034
13
- - 40 tests
13
+ - 44 tests
14
14
  - 14 assets
15
15
  - RunX
16
16
  owner: runx-validation
@@ -29,17 +29,19 @@ validation blocker remains.
29
29
  | Command or check | Result |
30
30
  | --- | --- |
31
31
  | `bun run typecheck` | Passed |
32
- | `bun test --timeout 30000` | Passed: 40 tests, 272 assertions |
32
+ | `bun test --timeout 30000` | Passed: 44 tests, 288 assertions |
33
33
  | `bun run build` | Passed |
34
34
  | `bun run binary` | Passed |
35
35
  | `bun run binaries` | Passed: twelve native targets |
36
36
  | `bun run verify-assets` | Passed: exactly fourteen unique assets |
37
+ | `bun test devops/extract-release-notes.spec.ts` | Passed: exact heading boundaries, missing-section failure, and frontmatter/older-section exclusion |
37
38
  | `node --check scripts/runx-bin.mjs` | Passed |
38
39
  | packed npm bootstrap local-server smoke | Passed with Node and Bun removed from PATH |
39
40
  | prohibited core Node-import scan | Passed: zero matches |
40
41
  | CLI banner/help/config/agent/output/exit smoke tests | Passed in CLI suite |
41
42
  | live `upgrade --help`, prompt names, source banner, and compiled version smokes | Passed |
42
43
  | PowerShell and POSIX installer contract tests | Passed |
44
+ | disguised-PE Markdown installer regression | Passed: installer rejected `MZ` payload before any resource write |
43
45
  | `xdocs doctor --warnings-as-errors` | Passed: zero errors and zero warnings |
44
46
  | `git diff --check` | Passed |
45
47
 
@@ -59,8 +61,12 @@ validation blocker remains.
59
61
  ## Exact Release Asset Evidence
60
62
 
61
63
  The verifier observed twelve `runx-*` assets using Linux, Darwin, and Windows
62
- names plus `guiho-s-runx` and `guiho-i-runx`. It found no duplicate, extra,
63
- missing, or legacy platform name.
64
+ names plus `guiho-s-runx.md` and `guiho-i-runx.md`. It found no duplicate,
65
+ extra, missing, or legacy platform name.
66
+
67
+ The publish workflow writes a temporary notes file containing only the exact
68
+ version section from `CHANGELOG.md`. Existing releases receive the same notes
69
+ through `gh release edit` before their asset set is refreshed.
64
70
 
65
71
  ## Skipped Checks
66
72
 
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: RunX Unicode Help Tree Validation
3
+ purpose: Record direct verification evidence for GitHub issue 17.
4
+ description: Captures focused and full help tests, native tree smoke, builds, exact assets, XDocs, and Git integrity.
5
+ created: 2026-07-19
6
+ flags:
7
+ - validated
8
+ tags:
9
+ - validation
10
+ - cli
11
+ - help
12
+ keywords:
13
+ - RunX
14
+ - issue 17
15
+ - Unicode tree
16
+ - aligned descriptions
17
+ owner: runx-validation
18
+ ---
19
+
20
+ # RunX Unicode Help Tree Validation
21
+
22
+ ## Summary
23
+
24
+ The RunX help tree matches the requested readable Unicode hierarchy. No
25
+ validation blocker remains.
26
+
27
+ ## Commands Run
28
+
29
+ | Command or check | Result |
30
+ | --- | --- |
31
+ | `bun run typecheck` | Passed |
32
+ | focused CLI tests | Passed: 11 tests, 140 assertions |
33
+ | explicit root tree assertions | Passed: `├──`, `└──`, `│`, aligned list description, no `|-` |
34
+ | `bun test --timeout 30000` | Passed: 53 tests, 368 assertions |
35
+ | build, native matrix, exact assets | Passed: library, single binary, twelve native targets, exactly fourteen assets |
36
+ | native Windows x64 `--help-tree-depth 2` | Passed: Unicode nesting and aligned descriptions; no `|-` |
37
+ | strict XDocs metadata and doctor | Passed for source and docs: zero errors and zero warnings |
38
+ | `git diff --check` | Passed |
39
+
40
+ ## References
41
+
42
+ - [Implementation review](../reviews/implementation/unicode-help-tree-review.md)
43
+ - [Task specification](../todo/unicode-help-tree.md)