Repository navigation
feat(harness): add Kimi CLI as a verified crewmate harness - #122
nickolastheodoulou wants to merge 1 commit into
Conversation
- Detect kimi/kimi-cli/kimi-code in fm-harness.sh process ancestry - Add kimi launch template to fm-spawn.sh using kimi-cli --afk --print - Use empty MCP config to avoid broken servers in ~/.kimi/mcp.json blocking launch - Document Kimi CLI harness facts in harness-adapters skill - Fix fm-brief.sh shell-parse error from apostrophe inside heredoc - Fix fm-spawn.sh oh-my-zsh auto-update prompt mangling treehouse get
|
PLAN
|
|
PR Deviations from PLAN: (1) pre-purchase checklist kept as the confirm gate inside the Bought sheet rather than removed; (2) paste-a-link row moved into the filters drawer (⚙ Filters · paste link); (3) item page's own Bought/Record sale still use legacy PATCH (counted via fallback, no ledger row); (4) added a |
|
VERIFY
|
kunchenguid#122) * feat(bin): serve the Action Deck as a private /deck page on the bridge Add `fm-deck.sh --json`, which emits the pane's payload as one structured `fm-deck.v1` model, and split fm-deck-render.py's section builders into shared row/group helpers so the terminal frame and the model apply the same reading rules. The terminal rendering is unchanged. Add `GET /deck` and `GET /api/deck` to fm-bridge-view.py behind the existing session cookie, Host check, CSP and security headers. The deck read runs as the same scrubbed bounded child as the bearings snapshot, is cached, and returns 503 with the collector's reason on failure. Live asks are the headline; held backlog decisions, finished workers, completions and loose ends are folded away from the actionable lists. Only ordinary https URLs become links; tray targets and local paths render as text. The page carries no approve, run or merge control and says why: the gateway has no executor and approval needs the captain secret on the desk. Tests cover the JSON model, the route, the auth boundary, link vetting, the read-only guarantee, the 503 path and the page rendering. Docs point at the new page from bridge-view.md, ops-command-center.md and scripts.md. * no-mistakes(review): deck header reports collector sample age; drop setCount * no-mistakes(review): deck first-load 503 keeps the reason visible, no overlay On a first-load failure the deck raised the full-page 'Cannot reach the desk.' overlay and wrote the collector's reason underneath it, so the captain never saw the reason. The header and every region already say the desk is unreachable and #deck-error carries the reason; the overlay is now reserved for a tab whose refreshes stop after a successful load. The rendering test drives refresh() against a fake 503 and asserts the overlay stays off while the reason is shown. * no-mistakes(document): docs: bridge headers and architecture name the /deck page * fix(bin): keep jq first in the bridge child PATH so a fixture tmux outranks /usr/bin Adding python3 ahead of jq in CHILD_PATH_TOOLS let /usr/bin lead the child PATH on Linux, where python3 lives there, so the real /usr/bin/tmux outranked the test's fake tmux and the live observation read a paused worker as Stuck.
Adds Kimi CLI as a first-class crewmate harness so tasks can run as background tmux agents.
Changes:
kimi/kimi-cli/kimi-codeinbin/fm-harness.shprocess ancestrykimilaunch template tobin/fm-spawn.shusingkimi-cli --afk --printconfig/kimi-empty-mcp.jsonso a broken server in~/.kimi/mcp.jsoncannot block launch.agents/skills/harness-adapters/SKILL.mdbin/fm-brief.shshell-parse error from apostrophe inside heredocbin/fm-spawn.shoh-my-zsh auto-update prompt manglingtreehouse getVerification: