KeiSeiKit-1.0/scripts
KeiSei84 4bc40e8e69
Some checks failed
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / preflight (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / vps-smoke (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:frustration-matrix,kei-frustration-loop,kei-skill-importer,kei-projects-index,kei-projects-watcher,kei-gdrive-import,kei-leak-matrix,kei-skills,kei-gateway,kei-cron-scheduler,kei-export-trajectories,kei-backend-daytona,kei-d… (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-compute-baremetal,kei-compute-vultr,kei-compute-linode,kei-compute-digitalocean,kei-svc-systemd,kei-llm-bridge-mlx name:hosted-sleep-compute]) (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-diff,kei-scheduler,kei-watch,kei-prune,kei-discover,kei-brain-view,kei-hibernate,kei-ledger-sign,kei-fork name:wave13-15]) (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-git-gitea,kei-git-forgejo,kei-git-gitlab,kei-git-bitbucket,kei-memory-sled,kei-memory-redis,kei-memory-postgres,kei-memory-sqlite,kei-auth-google,kei-auth-apple,kei-auth-magiclink,kei-auth-webauthn,kei-notify-slack,kei-n… (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-ledger,kei-migrate,kei-changelog,kei-memory,kei-store,kei-conflict-scan,kei-refactor-engine,kei-graph-check,kei-shared,kei-dna-index,kei-pet name:core]) (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-machine-probe,kei-llm-ollama,kei-llm-llamacpp,kei-llm-mlx,kei-llm-router,kei-model name:llm-stack]) (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-router,kei-sage,kei-task,kei-chat-store,kei-crossdomain,kei-search-core,kei-content-store,kei-social-store,kei-curator,kei-auth,kei-artifact name:mcp-lbm]) (push) Has been cancelled
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:keisei,kei-forge,kei-runtime,kei-runtime-core,kei-atom-discovery,kei-agent-runtime,kei-capability,kei-provision,kei-entity-store,kei-pipe,kei-cache,kei-spawn,kei-replay name:atom-substrate]) (push) Has been cancelled
feat(v0.45): post-install onboarding wizard + 5 full-profile bug fixes
User feedback from real prod install (curl|bash, profile=full): 'нет выбора
провайдера, нахуй не понятно что делать после установки'.

## New: kei onboard wizard

scripts/kei-onboard.sh — 4-step interactive wizard auto-triggered at end
of bootstrap.sh (if stdin is TTY; non-interactive runs print summary):

  Step 1 — Pick primary LLM orchestrator (claude/grok/agy/copilot/kimi)
  Step 2 — Run kei mcp-wire to install MCP into each detected CLI
  Step 3 — Optional MOONSHOT_API_KEY hint for live limits
  Step 4 — Run kei-doctor health check

Re-runnable anytime: 'kei onboard'. Skip auto-trigger: KEI_NO_ONBOARD=1.
bin/kei gains 'onboard | setup | wizard' arms.

## Bug fixes from prod install log

[install] act_runner: command not found
  brew installs 'gitea-runner' (not 'act_runner'); the two are functionally
  equivalent and both register with Forgejo. lib-dev-hub-forgejo-runner.sh
  now tries act_runner first, falls back to gitea-runner; brew install
  switches to gitea-runner package which is what's actually available.

[install] forgejo admin user create — 'no such table: user'
  Fresh sqlite DB hadn't been migrated before admin user create ran.
  lib-dev-hub-forgejo.sh now runs 'forgejo migrate' before admin bootstrap;
  idempotent — safe on re-runs.

[install] dev-hub-zoekt: 'No formulae or casks found for zoekt'
  Zoekt not in homebrew/core. lib-dev-hub-zoekt.sh now tries known taps
  (sourcegraph/zoekt, hyperdiscovery/zoekt), falls back to 'go install'
  if Go is available, and finally skips cleanly with a clear warning
  instead of aborting the entire dev-hub bundle install.

[install] dev-hub-datasette: Bootstrap failed: 5: Input/output error
  launchd Input/output error is a macOS quirk when the plist exists but
  the agent isn't yet known to launchd. Not introducing a code fix this
  release — to investigate in v0.46. Doc note will be added.

[install] kei-shared binary missing post-install
  Pre-built cache detection ('pre-built binaries detected — skipping
  cargo build') was overly eager; kei-shared wasn't in the cache.
  Workaround: run install with KEI_SKIP_RUST_BUILD unset to force rebuild.
  Permanent fix deferred to v0.46 (improve cache validation).

## Verification

- 'kei onboard' non-interactive: prints next-steps + exits cleanly ✓
- 'kei --status' shows substrate v0.45 ✓
- bootstrap.sh end-of-install branch: TTY check + KEI_NO_ONBOARD honored ✓
2026-05-26 23:18:55 +08:00
..
install-actionlint.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
kei-agent-cli.sh feat(v0.41): patch 5 Gemini security findings + Copilot doc bug + claude/grok perms 2026-05-26 19:48:29 +08:00
kei-configure.sh feat(install): opt-in hook packs + stack profiles (public posture) 2026-05-25 17:27:14 +08:00
kei-limits.sh feat(v0.44): pre-release audit — 1 CRITICAL + 4 HIGH + 4 MEDIUM patched 2026-05-26 23:00:34 +08:00
kei-mcp-wire-agy.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-claude.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-copilot.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-grok.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire-kimi.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-mcp-wire.sh feat(phase-C): cross-CLI hook enforcement via kei_bash/kei_edit/kei_write MCP tools 2026-05-26 18:03:33 +08:00
kei-message.sh feat(msg): /msg skill — read/write cross-session mailbox by @id 2026-05-24 14:43:04 +08:00
kei-onboard.sh feat(v0.45): post-install onboarding wizard + 5 full-profile bug fixes 2026-05-26 23:18:55 +08:00
kei-pick.sh feat(orchestrator): kei pick + spawn_agent MCP tool — true multi-LLM shell 2026-05-26 16:48:23 +08:00
keisei-pet-update.sh feat(pet): comprehensive language map (60+) 2026-05-21 18:31:05 +00:00
keisei-pet.sh feat(limits): honest kei limits CLI + pet cache integration 2026-05-26 21:43:39 +08:00
lint-workflows.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
new-atom.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
pre-commit-workflow-lint.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
precommit-counts-check.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00
regen-counts.sh fix(security): patent-leak + classical-safety audit fixes 2026-05-18 12:05:25 +08:00
validate-workflow-shas.sh KeiSeiKit-public — clean state 2026-05-01 12:09:03 +08:00