Commit 5aba6bf
authored
v4: @pacphi/agentic-kit — npm-installable cross-platform kit (ak setup/status/sync/uninstall), shell kit removed, CI matrix + npm release (#14)
* feat!: v4 — npm-installable cross-platform ruflo-kit; shell kit removed
BREAKING: install.sh/uninstall.sh/shell functions/bash bin scripts are gone.
The kit is now 'npm i -g' + one Node >=22 CLI with four porcelain verbs
(setup/status/sync/uninstall) and an x-plumbing namespace, per the definitive
command surface. Zero runtime dependencies (node:sqlite, node:test).
- src/lib: paths (XDG/%APPDATA%), exec (argv-only, .cmd shims), settings
(backup-first merges), blocks (sentinel upsert/strip, CRLF-safe, user-
extensible registry w/ declarative detectors in kit.json), sqlite, daemons
(pidfile-first + ps/CIM sweep), versions (drift cache), mcp (family
enumeration + deny rules), natives, rvf (FLVR quarantine), statusline
(footer inject; template extracted verbatim from the shell heredoc), heal
- commands: status (dashboard, --json/--hint), sync (plan->apply->prove,
--dry-run/--no-upgrade), setup (machine+project), uninstall (incl. legacy
shell-kit migration); x: daemon-gc, mcp, reference, verify, improvement-eval
- docs: BACKGROUND/TROUBLESHOOTING/CONDITIONAL-BLOCKS/README archived as
2026-07-14-shell-kit-*; new short README + npm-command TROUBLESHOOTING
- claude/ templates re-pointed at ruflo-kit verbs; installed CLAUDE.md
blocks reconciled via 'x reference sync'
- tests: 19 node:test units + statusline suite (reads the extracted template)
Verified live: status caught real drift (3.29.0 release, natives regression
after the aidefence install, recurring FLVR brain.rvf corruption); sync
converged it; x verify learning/security green; golden parity vs the bash
patch-native checker before its removal.
* ci: 3-OS × Node 22/24/26 matrix, nightly live-drift lane, npm release workflow
- ci.yml: unit + statusline tests (zero-dep, no install step) + a sandboxed-HOME
CLI smoke (status --json shape, managed-block round-trip, uninstall --dry-run)
on ubuntu/macos/windows × Node 22/24/26
- nightly.yml: installs REAL latest ruflo+agentic-qe (allow-scripts) and gates on
the kit being able to heal them (sync --no-upgrade → status; x verify
security/learning) — catches upstream drift like ruvnet/ruflo#2670 the day it ships
- release.yml: tag-driven npm publish with provenance; NPM_TOKEN repo secret;
tag↔package.json version guard; prereleases → 'next' dist-tag, releases → 'latest'
(github.ref_name passed via env, no inline event interpolation)
* ci: bump actions/checkout v4→v7, actions/setup-node v4→v6 (latest as of 2026-07)
* ci: add Dependabot config (weekly grouped updates for github-actions + npm)
* build: adopt pnpm for repo tooling (packageManager pnpm@11.13.0, action-setup v6, pnpm publish --provenance)
Runtime surface deliberately stays npm: the kit heals npm-managed global
ruflo/agentic-qe trees (lib/heal.mjs, paths.mjs globalRoot) — that is the target
environment, and the nightly lane keeps simulating it with npm i -g.
pnpm-managed-globals support is a tracked follow-up.
* feat: rename to @pacphi/agentic-kit with 'ak' alias; repo → pacphi/agentic-kit
- package: @pacphi/agentic-kit, bins agentic-kit + ak (AutoKitteh's 'ak' noted
in README as a known PATH neighbor; full command always works)
- GitHub repo renamed (old ruflo-machine-ref URLs redirect)
- command references swept to 'ak …' across src/, bin help, README,
TROUBLESHOOTING, claude/ templates (republished to the live CLAUDE.md);
archive files stay frozen
- config dir migrates ~/.config/ruflo → ~/.config/agentic-kit (read-fallback in
loadKitConfig; saves land at the new path); uninstall's legacy cleanup keeps
targeting the ruflo-era dir and now removes all shell-era ruflo-* bins
- compat surfaces intentionally unchanged: CLAUDE.md sentinel slugs (ruflo-*),
statusline ruflo-seg marker, runtime npm calls1 parent ffe25cf commit 5aba6bf
58 files changed
Lines changed: 3473 additions & 3990 deletions
File tree
- .github
- workflows
- bin
- claude
- skills/ruflo-token-audit
- docs
- archive
- shell
- src
- commands
- x
- lib
- templates
- tools
- tests
- kit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments