Skip to content

feat(bin): add Kiro CLI (kiro) as a V2 crewmate/scout adapter - #6808

Closed
Marsjohn-11 wants to merge 6 commits into
kunchenguid:mainfrom
Marsjohn-11:feat/kiro-cli-adapter-v2
Closed

Marsjohn-11 wants to merge 6 commits into
kunchenguid:mainfrom
Marsjohn-11:feat/kiro-cli-adapter-v2

Conversation

@Marsjohn-11

@Marsjohn-11 Marsjohn-11 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Intent

Continue upstream PR #6808 (Kiro CLI harness, branch feat/kiro-cli-adapter-v2, head 9e122866) after the maintainer's feedback. The request and feedback, verbatim:

Restart the kiro-cli-adapter-resubmit lane on a fresh copy of feat/kiro-cli-adapter-v2 for PR #6808. The maintainer's feedback, from the PR comment on head 9e122866: CI run 37686874380 fails in Behavior portable parallel 1. tests/fm-backend-herdr.test.sh says 'a typed /exit drawn in Claude's grey slash-command colour must be proven and submitted, got unknown'. The cause is the wider gray ghost-text ceiling in bin/fm-composer-lib.sh, which now reads Claude's real grey /exit input as a placeholder. Also: the composer widening (FM_COMPOSER_GHOST_GRAY_LUMA_MAX default 180, the 232-255 grey ramp, and the hinted-idle row rule) is on by default for every harness, and the maintainer flags that as a fleet-wide default change. Fix: scope the ghost-text widening to the kiro harness only, so every existing harness's composer reads are unchanged, and keep the failing test passing. Load firstmate-coding-guidelines first. Then push a fresh no-mistakes raise to the same PR. Merge is the maintainer's; the captain cannot merge kunchenguid/firstmate PRs.

What Changed

  • Adds Kiro CLI (kiro, V2 engine) as a crewmate/scout-only harness, refused as a secondmate. fm-harness.sh detects it by its kiro-cli process ancestry. fm-spawn.sh writes a per-task agent config under state/<id>.kiro-home and points KIRO_HOME at it, so the turn-end and busy hooks never touch the worktree's .kiro/. That config also seeds chat.disableTrustAllConfirmation, which suppresses the --trust-all-tools confirmation modal. The spawn refuses to launch when the per-task home path contains whitespace. Busy, control, send, watch, procevent, teardown and bootstrap paths are wired for kiro.

  • Widens composer ghost-text stripping in bin/fm-composer-lib.sh for kiro panes only. A read gets the wider rules only when its caller sets FM_COMPOSER_HARNESS=kiro, which fm-send.sh, fm-control.sh and the watcher/procevent re-rings do. The wider rules are:

    • a higher luminance ceiling for near-grey text (FM_COMPOSER_GHOST_GRAY_LUMA_MAX, default 180, gated by FM_COMPOSER_GHOST_GRAY_SPREAD_MAX, default 12)
    • luminance-testing of the 232-255 256-colour grey ramp
    • kiro 2.28.0's hinted idle row read as empty

    Reads for every other harness, and reads with no harness named, are unchanged, so Claude's grey typed /exit is still read as real input.

  • Adds docs for the kiro harness: references/harness/kiro.md, docs/verification/kiro.md, plus updates to configuration, architecture and backend docs and the skill indexes. Adds tests/fm-kiro-harness.test.sh, tests/fm-kiro-signals-live-e2e.test.sh, and new composer-lib and busy-wiring cases that cover the kiro-only scoping.

Risk Assessment

✅ Low: The near-gray ceiling, the 232-255 palette-grey test and the hinted idle row now apply only when FM_COMPOSER_HARNESS is exactly kiro, so every other harness reads the composer exactly as before. The herdr Claude /exit proof runs with FM_COMPOSER_GHOST_LUMA_MAX=0 and no harness named, so its old behaviour is back. The kiro callers that need the scope (send, control, the watcher and process-event re-rings) all pass their recorded harness in-process.

Testing

I ran the targeted herdr, composer-lib and kiro-harness test suites. The herdr CI regression fails at e938be0 (before the fix) and passes at HEAD in the fake-bin test, but it was not checked live. In a disposable tmux lab I drove real Claude and real kiro-cli panes through the composer reader and through fm-send, and every live scenario passed. The live Herdr+Claude e2e could not run: the lab helper requires a running default Herdr session as its tripwire, and this host has none. The installed Claude 2.1.288 also draws /exit in a chromatic colour, not the 112 grey the CI fixture records. Evidence is text captures of TUI panes.

  • Live validation: ✅ go - 5 of 6 scenarios driven live against the product
Scenario Result Live Evidence
Herdr payload proof reads Claude's grey (38;2;112;112;112) typed /exit as typed and submits it once (the CI failure) ⏸️ untested no The prior payload did not establish a live result. This was only driven through the repo's Herdr fake-bin regression test, which passes at HEAD (fm-backend-herdr.test.log) and fails at e938be0. The li…
Real Claude panes (256-colour and truecolor) still read as empty when idle and as pending with /exit typed, with or without the kiro scope ✅ pass live composer-probe-idle.txt, composer-probe-typed.txt, claude-typed-exit.ansi, claude-truecolor-typed-exit.ansi
Real kiro-cli 2.28.0 idle placeholder reads empty when the harness is named kiro (256-colour and truecolor panes) ✅ pass live composer-probe-idle.txt (kiro and kirotc with FM_COMPOSER_HARNESS=kiro -> empty), kiro-256-idle.ansi, kiro-truecolor-idle.ansi
Adversarial: with no kiro harness named, the same kiro placeholder keeps the pre-kiro verdict (pending), so the widening is not a fleet default ✅ pass live composer-probe-idle.txt: HEAD -> pending with no harness, while pre-fix e938be0 -> empty (the fleet-wide widening the maintainer flagged)
Typed text in a real kiro pane reads pending even inside the kiro scope ✅ pass live composer-probe-typed.txt, kiro-typed.ansi
fm-send to an idle real kiro worker: rings the doorbell when the meta records harness=kiro; defers with the 'doorbell skipped' notice when the meta records another harness ✅ pass live fm-send-kiro-wiring.txt (kirot1 harness=kiro: no skip notice, and kiro starts processing the inbox; kirot2 harness=claude: 'doorbell skipped (composer visibly holds pending text)')
Evidence: Herdr test pre-fix failure (e938be0)

Source: Herdr test pre-fix failure (e938be0)

ok - fm_backend_herdr_version_check: accepts the current protocol (14)
ok - fm_backend_herdr_version_check: refuses an old protocol loudly
ok - fm_backend_herdr_version_check: refuses loudly when herdr is not installed
ok - fm_backend_herdr_workspace_label: a primary home (no marker) resolves to 'firstmate'
ok - fm_backend_herdr_workspace_label: a secondmate home (.fm-secondmate-home) resolves to '2ndmate-<id>'
ok - fm_backend_herdr_workspace_label: trims whitespace around the marker's secondmate id
ok - fm_backend_herdr_workspace_label: an empty marker file falls back to the primary label 'firstmate'
ok - fm_backend_herdr_workspace_label: two different secondmate homes get two different, non-colliding labels
ok - fm_backend_herdr_cli: sets HERDR_SESSION AND appends a trailing --session flag on every call
ok - herdr client selection: a live pane behind a stale shadowing client reads alive
ok - herdr recovery-grade read: a stopped server means missing there, and nowhere else
ok - herdr stale registration: a shell-only pane with a lingering Pi record is agent-free with an explicit reason
ok - herdr stale registration: no registered status can outrank a shell-only process view
ok - herdr pane agent session: a resumable reference is reported with the agent label that reported it
ok - herdr pane agent session: anything unresumable degrades to a nonzero read with no output
ok - herdr stale registration: a registered agent with a live Pi foreground process still reads alive
ok - herdr stale registration: only a shell-only pane demotes a registration
ok - herdr stale registration: a transient prompt helper settles into stale-agent instead of reading live
ok - herdr stale registration: an exhausted settle window still reads a non-shell foreground as live
ok - herdr stale registration: an agent process outside the foreground group still counts as alive
ok - herdr stale registration: the descendant walk reads a spaced executable path whole
ok - herdr stale registration: an unreadable process view refuses instead of guessing either way
ok - herdr stale registration: an empty foreground list over a real shell is not unreadable, it settles via the descendant walk
ok - herdr stale registration: presentation reclaim never closes a stale-registration pane
ok - herdr stale registration: busy_state proves a working record at process level before reporting busy
ok - herdr client selection: one selected client is reused per process
ok - herdr client selection: selected clients remain scoped to their session
ok - herdr client selection: only protocol_mismatch triggers reselection; other failures pass through untouched
ok - herdr client selection: the happy path makes no extra call
ok - herdr client status: .server.compatible, legacy protocol equality, unknown, and stopped shapes all normalize
ok - fm_backend_herdr_launcher_identity: a firstmate not running inside herdr has no launcher workspace to inherit
ok - fm_backend_herdr_launcher_identity: HERDR_ENV=1 without a pane id selects the backend but binds no parent
ok - fm_backend_herdr_launcher_identity: resolves the launcher's exact workspace even when a same-labeled workspace sorts first
ok - fm_backend_herdr_launcher_identity: refuses a launcher pane that names a different herdr session
ok - fm_backend_herdr_launcher_identity: refuses a claimed pane without exact server identity
ok - fm_backend_herdr_launcher_identity: refuses a launcher pane whose injected socket belongs to another herdr server
ok - fm_backend_herdr_launcher_identity: refuses when the launcher's own pane no longer resolves
ok - fm_backend_herdr_launcher_identity: refuses when the launcher's pane and tab disagree about their workspace
ok - fm_backend_herdr_launcher_identity: refuses when the launcher's workspace is gone from its own session
ok - fm_backend_herdr_workspace_ensure: places a worker in the launcher's exact workspace, not the first same-labeled one
ok - fm_backend_herdr_workspace_ensure: refuses to guess between two same-labeled home workspaces
ok - fm_backend_herdr_workspace_ensure: a --secondmate container resolves that home's own workspace, not the launcher's
ok - fm_backend_herdr_container_ensure: surfaces the exact ambiguous-placement refusal instead of a generic failure
ok - fm_backend_herdr_container_ensure: version-gates, starts the server, ensures the firstmate workspace, echoes session:workspace_id + the seeded default tab id
ok - fm_backend_herdr_server_ensure: scrubs home and harness identity without disturbing unrelated environment or session routing
ok - fm_backend_herdr_container_ensure: reuses an existing firstmate workspace without recreating it, and reports no seeded default tab (adopted, not created)
ok - fm_backend_herdr_container_ensure: workspace create passes --no-focus
ok - fm_backend_herdr_container_ensure: creates the workspace under the SECONDMATE home's own label, not 'firstmate'
ok - fm_backend_herdr_create_task: prunes exactly the seeded default tab container_ensure identified, once the first real task tab exists
ok - herdr repeated spawn/teardown: one persistent firstmate workspace reused, zero orphans, default tab pruned, create ran once
ok - fm_backend_herdr_create_task: an ADOPTED workspace's pre-existing tab is never pruned (the created-vs-adopted gate)
ok - fm_backend_herdr_create_task: the label-collision startup-workspace scenario (2026-07-02 incident) leaves the captain's live tab untouched
ok - fm_backend_herdr_workspace_prune_seeded_default_tab: refuses to close the seeded default tab when its pane reports a working agent (defense in depth)
ok - fm_backend_herdr_create_task: refuses a duplicate tab label (herdr's own tab create has no uniqueness check)
ok - fm_backend_herdr_create_task: a same-labeled tab with a live (even idle) registered agent still refuses exactly as before
ok - fm_backend_herdr_create_task: scans every same-labeled tab and refuses if any duplicate is live
ok - fm_backend_herdr_create_task: closes and replaces a same-labeled tab whose pane is dead (pane_not_found)
ok - fm_backend_herdr_create_task: closes and replaces a same-labeled tab whose pane is alive but hosts no registered agent (a restored plain shell)
ok - fm_backend_herdr_create_task: closes every confirmed same-labeled husk only after creating the replacement
ok - fm_backend_herdr_create_task: refuses success when a preexisting husk tab remains after replacement
ok - fm_backend_herdr_create_task: refuses (fail-safe) rather than guessing when the duplicate's agent state cannot be classified confidently
ok - fm_backend_herdr_create_task: creates the replacement tab BEFORE closing the husk tab, never the reverse
ok - fm_backend_herdr_create_task: creates a tab and parses tab_id/pane_id from the JSON response, prunes nothing when no seeded tab id is given
ok - fm_backend_herdr_create_task: tab create passes --no-focus
ok - herdr presentation: a home that set nothing gets the projection by default at or above the floor
ok - herdr presentation: an unconfigured home below the floor falls back flat with one naming warning
ok - herdr presentation: an unreadable client release falls back flat instead of guessing
ok - herdr presentation: a deliberate opt-in is never silently downgraded below the floor
ok - herdr presentation: an explicit off opts the home out
ok - herdr presentation: an unrecognized value warns and follows the default instead of failing a spawn
ok - herdr presentation: the below-floor warning is one per home per release, not one per spawn
ok - herdr presentation: warning marker publication is atomic, symlink-safe, and fails visible
ok - herdr presentation: client and selected server floors compose conservatively without overriding explicit opt-in
ok - herdr presentation floor: every measured release, and each signal alone, classifies correctly
ok - herdr presentation floor: either signal alone can carry an above verdict, and each divergence is real
ok - herdr presentation: config parsing separates a deliberate choice from an unconfigured default
ok - herdr presentation journal: atomically publishes one non-authoritative 128-bit correlator and refuses overwrite
ok - herdr presentation journal: version

... [6240 bytes truncated] ...

 pane foreground_cwd (the live running process), not the frozen creation-time cwd
ok - fm_backend_herdr_busy_state: working -> busy
ok - fm_backend_herdr_busy_state: done -> idle, blocked -> idle (surfaced like a stale pane, not suppressed as busy)
ok - fm_backend_herdr_busy_state: unparseable/absent agent state reports unknown, the regex-fallback cue
ok - fm_backend_herdr_composer_state: a bare '❯' composer row reads empty
ok - fm_backend_herdr_composer_state: bright placeholder-like text stays pending rather than being mistaken for an idle ghost
ok - fm_backend_herdr_composer_state: real composer text reads pending
ok - fm_backend_herdr_composer_state: Grok's exact title overhang is empty while pending and unproved panes remain safe
ok - fm_backend_herdr_composer_state: a slash-command popup's argument-hint placeholder still reads pending (the incident fix)
ok - fm_backend_herdr_composer_state: reports unknown when the pane cannot be captured
ok - fm_backend_herdr_composer_state: reports unknown for bare shell prompts with no composer row
ok - fm_backend_herdr_composer_state: a blocked pi pane parked on a prompt is not an empty composer
ok - fm_backend_herdr_composer_state: a native idle Pi separator composer reads empty
ok - fm_backend_herdr_composer_state: a dollar-first Pi status footer reads empty, not a dead shell
ok - fm_backend_herdr_composer_state: real Pi composer text remains pending
ok - fm_backend_herdr_composer_state: an incomplete lower Pi separator cannot inherit a stale empty row
ok - fm_backend_herdr_composer_state: Pi separators never authorize working, non-Pi, unreadable, or over-tall targets
ok - fm_backend_herdr_composer_state: a real-claude unbordered '❯' prompt row (no border box in view) reads empty
ok - fm_backend_herdr_composer_state: a real-claude unbordered '❯ <text>' prompt row reads pending
ok - fm_backend_herdr_composer_state: a live unbordered prompt row below a stale bordered decorative box still wins (not misread as the box's own row)
ok - fm_backend_herdr_composer_state: claude's dim prompt-suggestion ghost (the overnight wedge shape) reads empty
ok - fm_backend_herdr_composer_state: real typed text on the same claude prompt row still reads pending
ok - fm_backend_herdr_composer_state: grok's dark-truecolor placeholder (the TRUECOLOR gap) reads empty
ok - fm_backend_herdr_composer_state: grok's real bright typed input still reads pending
ok - fm_backend_herdr_composer_state: a real-codex unbordered '›' prompt row reads empty
ok - fm_backend_herdr_composer_state: a faint real-codex ghost suggestion reads empty
ok - fm_backend_herdr_composer_state: non-faint codex prompt text still reads pending
ok - fm_backend_herdr_wait_for_working: reports 'busy' immediately on the first poll, without spending the rest of the budget
ok - fm_backend_herdr_wait_for_working: a slow transition landing on a later sample within one window is still caught (robust against the 'slow transition' failure direction)
ok - fm_backend_herdr_wait_for_working: spreads six samples across the full budget endpoint without a final trailing sleep
ok - fm_backend_herdr_send_text_submit: applies the herdr minimum confirmation budget before polling agent-state
ok - fm_backend_herdr_wait_for_working: reports 'idle' (readable, genuinely not yet working) when 'busy' never appears
ok - fm_backend_herdr_wait_for_working: reports 'unknown' (a hard read failure, not a timing race) only when EVERY poll in the window fails
ok - fm_backend_herdr_wait_for_working: treats blocked as submit-active for confirmation without changing watcher busy-state semantics
ok - fm_backend_herdr_send_text_submit: reports 'empty' once agent_status reports working after one Enter, without ever reading the composer
ok - fm_backend_herdr_send_text_submit: reports 'pending' when agent_status stays idle and the composer still holds unsent text after retried Enters (swallowed)
ok - fm_backend_herdr_send_text_submit: a failed literal send reports send-failed and replays the transport's stderr
ok - fm_backend_herdr_send_text_submit: a slash-command popup's placeholder fill on Enter #1 never flips agent_status to working, so it does not short-circuit as submitted; Enter #2 is retried and lands it
ok - fm_backend_herdr_send_text_submit: the Claude background-task exit picker gets no confirming Enter
ok - fm_backend_send_text_submit (herdr): a picker behind a blocked verdict is named by the caller's next composer read
ok - fm_backend_herdr_send_text_submit: a post-Enter blocked state confirms delivery without retrying into the prompt
ok - fm_backend_herdr_send_text_submit: native working + proven pending after retries reports empty (queued Enter)
ok - fm_backend_herdr_send_text_submit: a failed Enter cannot borrow preexisting working state as queued-delivery proof
ok - fm_backend_herdr_send_text_submit: a failed Enter cannot borrow a later native transition as delivery proof
ok - fm_backend_herdr_send_text_submit: idle native agent-state plus empty composer reports empty (landed Claude turn)
ok - fm_backend_herdr_send_text_submit: idle native baseline uses a rendered busy footer to confirm a queued Enter
ok - fm_backend_herdr_composer_state: cursor's mid-turn placeholder-plus-busy-token row reads pending (why delivery needs a separate signal)
ok - fm_backend_herdr_rendered_busy_state: busy/idle/unknown from the rendered footer, with an unreadable pane never reading idle
ok - fm_backend_herdr_send_text_submit: a rendered-footer idle-to-busy transition confirms delivery when native agent-state never reports idle
ok - fm_backend_herdr_send_text_submit: an already-busy footer baseline is never accepted as proof that this Enter landed
ok - fm_backend_herdr_send_text_submit: confirms submission via native agent-state alone, immune to a codex-style dynamic idle-tip composer that would have misread as 'pending' under the old composer-based confirmation
ok - fm_backend_herdr_composer_state: a faint real-codex dynamic idle-tip composer row reads empty
ok - fm_backend_composer_state (herdr): the pre-injection empty-box guard still refuses a genuinely non-empty composer, unaffected by the submit-confirmation change
ok - fm_backend_herdr_send_text_submit: a slow transition landing on a later sample within one Enter's budget is confirmed WITHOUT sending a needless extra Enter
ok - fm_backend_herdr_send_text_submit: reports 'send-failed' when the literal send-text call itself errors
ok - fm_backend_herdr_send_text_submit: reports 'unknown' when the post-Enter agent-get read fails (never retries past an unreadable target)
ok - fm_backend_herdr_send_text_submit: an unreadable composer stops Enter retries after native status stays idle
ok - fm_backend_herdr_send_text_submit: a 1500-character payload a Claude composer still holds is submitted whole
ok - fm_backend_herdr_send_text_submit: a long payload whose Claude composer kept only the tail is not submitted, is cleared, and reports send-failed
ok - fm_backend_herdr_send_text_submit: a refused suffix whose clear cannot be verified reports unknown, not send-failed
ok - fm_backend_herdr_send_text_submit: a refused 480-character suffix wrapped over five rows is cleared one row per Ctrl+U and reports send-failed
ok - fm_backend_herdr_send_text_submit: after a refused suffix is cleared, a resend starts from an empty Claude composer and submits only the message
ok - fm_backend_herdr_send_text_submit: a Claude composer holding leftover text is refused before anything is typed
ok - fm_backend_herdr_send_text_submit: a matching head in the transcript does not prove the current composer
ok - fm_backend_herdr_send_text_submit: an away-mode digest and a marked steer are submitted when Claude's read-back only drops U+2063
ok - fm_backend_herdr_send_text_submit: dropping U+2063 does not let a marked digest missing its head be submitted
ok - fm_backend_herdr_composer_state: a slash-command popup cannot hide a typed composer
ok - fm_backend_herdr_send_text_submit: a typed slash command hidden behind its popup is still proven and submitted
not ok - a typed /exit drawn in Claude's grey slash-command colour must be proven and submitted, got 'unknown'
exit=1
Evidence: Composer-lib test at HEAD

Source: Composer-lib test at HEAD

ok - fm_composer_classify_content: a bare shell prompt glyph (>/$/%/#) reads unknown, never empty
ok - fm_composer_classify_content: stripped unbordered content is unknown except verified agent glyphs
ok - fm_composer_classify_content: a bare shell prompt carrying a command is not empty
ok - fm_composer_classify_content: a bare prompt glyph inside a bordered composer box reads empty (claude's own idle composer)
ok - fm_composer_classify_content: agent prompt glyphs (❯ claude, › codex, ⟩ muse) read empty bordered or bare
ok - fm_composer_classify_content: an empty composer reads empty
ok - fm_composer_classify_content: idle matching is limited to proven placeholder positions
ok - fm_composer_classify_content: idle matching preserves the caller's case mode
ok - fm_composer_classify_content: real unsubmitted text reads pending (including a popup argument-hint fill)
ok - matrix: claude's ❯+NBSP row reads empty on every profile in both locales (#1988)
ok - matrix: claude's arrow statusline is footer furniture, not a composer holding text
ok - fm_composer_classify_screen: footer demotion needs a contiguous, glyph-proven pair
ok - fm_composer_classify_screen: the footer zone holds for boxes, not only separator pairs
ok - fm_composer_classify_screen: the footer zone only ever refuses, never allows
ok - matrix: codex's dim hint is empty when styling proves it, unknown (never pending) when it cannot
ok - matrix: muse's ⟩ reads empty everywhere and survives losing the styled-glyph signal
ok - matrix: cursor's reverse-video placeholder remnant reads empty; real typed text stays pending
ok - matrix: herdr half-block rules bound a bare composer's wrap region
ok - matrix: omp's status row bounds the bare composer's wrap region
ok - matrix: codex 0.154's starfield rows are furniture; typed, mixed, and unanchored rows keep their verdicts
ok - matrix: pi's separated composer needs identity + structure; the blank row alone never proves it
ok - matrix: a dollar-first pi status footer reads empty; dead shells still refuse
ok - matrix: opencode's left-bar composer reads empty everywhere and scans the full active run
ok - matrix: grok's real oversized titled bottom is empty while typed and unproved panes stay safe
ok - matrix: claude's titled top rule proves an idle composer empty and a draft pending (#5601, #5558)
ok - matrix: kimi's bordered shell-glyph box reads empty through the shared owner (spawn's fourth copy retired)
ok - matrix: the real claude-in-zellij --ansi dump reads empty in both locales
ok - strict posture: blank and unidentified rows are unknown, never injectable empty
ok - fm_composer_classify_screen: the bare composer's wrap region stays identified; structure breaks it
ok - fm_composer_classify_screen: a row-leading agent glyph reanchors the live composer
ok - fm_composer_classify_screen: a lower dead shell invalidates only cursorless stale composers
ok - fm_composer_classify_screen: cursorless bare wrap regions participate in verdicts
ok - fm_composer_classify_screen: cursorless containers reject only contiguous unclaimed activity
ok - fm_composer_classify_screen: the bottom-most candidate wins; stale banners cannot
ok - fm_composer_classify_screen: incomplete lower structure invalidates stale boxes
ok - fm_composer_classify_screen: titled bottoms retain full box geometry
ok - fm_composer_classify_screen: a proven box tolerates a bottom-border cursor
ok - fm_composer_extract_selected_content: scopes user content and excludes furniture
ok - fm_composer_queued_enter_verdict: pending + busy returns empty (queued Enter)
ok - fm_composer_queued_enter_verdict: pending + idle/unknown stays pending
ok - fm_composer_queued_enter_verdict: only proven pending is converted
ok - the Claude background-task exit picker stays pending and receives no confirming Enter
ok - a buried heading or a different last line is not the exit picker
ok - a dialog note without a sink skips the match, and release leaves a caller RETURN trap
ok - picker text quoted above a normal composer is not read as a live picker
ok - fm_composer_strip_ghost: on kiro, near-gray ghost strips while near-gray real text and a chromatic glyph survive
ok - fm_composer_strip_ghost: on kiro, palette greys strip while bright, chromatic and theme-remapped indexes survive
ok - composer widening: the near-gray ceiling, palette greys, and hinted idle row apply on kiro only
exit=0
Evidence: Kiro harness test at HEAD

Source: Kiro harness test at HEAD

ok - fm-harness.sh: ancestry detects the kiro-cli command
ok - fm-harness.sh: ancestry rejects unrelated kiro mentions
ok - fm-harness.sh: kiro's ancestry outranks an inherited CLAUDECODE (markerless harness)
ok - fm-agent-process-lib: kiro-cli is an agent, unrelated names are not
ok - fm-control-lib: kiro control mechanics are Escape / single / /quit, crewmate-scout only
ok - fm-control-lib: kiro wiring paths are the out-of-tree hook config and its two hook scripts
ok - fm-busy-lib: kiro-hook is kiro's trusted source and is scoped to kiro
ok - fm-busy-lib: the kiro-hook record is kiro's only state source; no record is unknown
ok - fm-composer-lib: kiro's › composer and its real idle row read empty in every colour, typed text pending
ok - fm-composer-lib: the kiro delivery footer matches busy, its idle row does not, and the union sees it
ok - fm-spawn: kiro launch carries brief, V2 engine, agent, model, effort with cleared markers
ok - fm-spawn: kiro writes an out-of-tree per-task hook config and trust setting, never the worktree's .kiro/
ok - fm-spawn: kiro passes the full effort vocabulary including xhigh
ok - fm-spawn: an unlisted kiro model refuses before any pane is created
ok - fm-spawn: a kiro hook path containing whitespace refuses before any pane is created
ok - fm-spawn: a pretty-printed kiro listing validates listed models and refuses unlisted ones
ok - fm-spawn: a kiro listing with no readable model_id establishes nothing and launches
ok - fm-spawn: an unreachable kiro listing establishes nothing and launches
ok - fm-spawn: a hung kiro listing is cut off and launches unvalidated
ok - fm-spawn: a kiro secondmate launch is refused
ok - fm-teardown: kiro's per-task home is removed on teardown
exit=0
Evidence: Live idle-pane composer verdicts (HEAD vs pre-fix, with and without kiro scope)

Source: Live idle-pane composer verdicts (HEAD vs pre-fix, with and without kiro scope)

HEAD: claude idle -> empty; kiro idle (no harness) -> pending; kiro idle (harness=kiro) -> empty pre-fix: kiro idle (no harness) -> empty (widening was fleet-wide)

bin=~/.no-mistakes/worktrees/912b065c2da1/01M4D6BKDSCNBQB5TWN9DZY98H/bin
  target=primary:0.0  FM_COMPOSER_HARNESS=      -> empty
  target=claudetc:0.0 FM_COMPOSER_HARNESS=      -> empty
  target=kiro:0.0     FM_COMPOSER_HARNESS=      -> pending
  target=kirotc:0.0   FM_COMPOSER_HARNESS=      -> pending
  target=primary:0.0  FM_COMPOSER_HARNESS=kiro  -> empty
  target=claudetc:0.0 FM_COMPOSER_HARNESS=kiro  -> empty
  target=kiro:0.0     FM_COMPOSER_HARNESS=kiro  -> empty
  target=kirotc:0.0   FM_COMPOSER_HARNESS=kiro  -> empty
bin=/tmp/fm-old-e938be0/bin
  target=primary:0.0  FM_COMPOSER_HARNESS=      -> empty
  target=claudetc:0.0 FM_COMPOSER_HARNESS=      -> empty
  target=kiro:0.0     FM_COMPOSER_HARNESS=      -> empty
  target=kirotc:0.0   FM_COMPOSER_HARNESS=      -> empty
  target=primary:0.0  FM_COMPOSER_HARNESS=kiro  -> empty
  target=claudetc:0.0 FM_COMPOSER_HARNESS=kiro  -> empty
  target=kiro:0.0     FM_COMPOSER_HARNESS=kiro  -> empty
  target=kirotc:0.0   FM_COMPOSER_HARNESS=kiro  -> empty
Evidence: Live typed-input composer verdicts

Source: Live typed-input composer verdicts

bin=~/.no-mistakes/worktrees/912b065c2da1/01M4D6BKDSCNBQB5TWN9DZY98H/bin
  target=primary:0.0  FM_COMPOSER_HARNESS=      -> pending
  target=claudetc:0.0 FM_COMPOSER_HARNESS=      -> pending
  target=kiro:0.0     FM_COMPOSER_HARNESS=      -> pending
  target=primary:0.0  FM_COMPOSER_HARNESS=kiro  -> pending
  target=claudetc:0.0 FM_COMPOSER_HARNESS=kiro  -> pending
  target=kiro:0.0     FM_COMPOSER_HARNESS=kiro  -> pending
bin=/tmp/fm-old-e938be0/bin
  target=primary:0.0  FM_COMPOSER_HARNESS=      -> pending
  target=claudetc:0.0 FM_COMPOSER_HARNESS=      -> pending
  target=kiro:0.0     FM_COMPOSER_HARNESS=      -> pending
  target=primary:0.0  FM_COMPOSER_HARNESS=kiro  -> pending
  target=claudetc:0.0 FM_COMPOSER_HARNESS=kiro  -> pending
  target=kiro:0.0     FM_COMPOSER_HARNESS=kiro  -> pending
Evidence: fm-send live wiring: kiro meta rings, non-kiro meta defers

Source: fm-send live wiring: kiro meta rings, non-kiro meta defers

== fm-send kirot1 (harness=kiro)
fm-gate-refuse: gate agent lifecycle permitted only against lab home /tmp/fm-lab.0vNtg9
WARNING: watcher still down (same stale episode; last beat: never, grace 300s) - full banner already printed this episode.
exit=0
== fm-send kirot2 (harness=claude)
fm-gate-refuse: gate agent lifecycle permitted only against lab home /tmp/fm-lab.0vNtg9
WARNING: watcher still down (same stale episode; last beat: never, grace 300s) - full banner already printed this episode.
fm-send: doorbell skipped (composer visibly holds pending text); the steer is durably recorded at /tmp/fm-lab.0vNtg9/state/kirot2.inbox/001.msg and the watcher will re-ring
exit=0
--- pane kirotc after send
    its handled/.
• I'll check the inbox for messages and process them in order.
↓ Shell echo "FM_TASK_INBOX=$FM_TASK_INBOX"; ls -1 "$FM_TASK_INBOX"/*.msg 2>/dev/null | sort -V
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 shell requires approval
 ❯ Yes, single permission
   Trust, always allow in this session
   No (Tab to edit)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 esc to close · ↑↓ to navigate · ↵ to select · Tab to edit
--- pane kiro after send
                                          Tip: Press Ctrl+O to expand a tool's full output, then again to collapse it.
• Agent sandboxing is enabled — your AI agent receives short-lived AWS credentials instead of direct access to your ~/.aws directory. Learn more:
  https://w.amazon.com/bin/view/BuilderTools/GenAIDevX/AgentSandboxing
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 ✨ What's new: Cloud sessions, specs, expanded hooks, improved trust model and workflows.
 ctrl+o to expand
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
kiro_default · auto · ◔ 8% · Midway: 18h 24m                                                                                          /tmp/fm-lab.0vNtg9/scratch
›  ask a question or describe a task ↵
                                                                                                                                             /copy to clipboard
Evidence: Live Claude typed /exit ANSI capture (truecolor)

Source: Live Claude typed /exit ANSI capture (truecolor)


^[[38;2;215;119;87m ▐^[[48;2;0;0;0m▛███▛█^[[39m^[[49m   ^[[1mClaude Code^[[0m ^[[38;2;153;153;153mv2.1.288^[[39m
^[[38;2;215;119;87m▝▜^[[48;2;0;0;0m█████^[[49m█▀^[[39m  ^[[38;2;153;153;153mOpus (1M context) · Amazon Bedrock^[[39m
^[[38;2;215;119;87m ▝▝   ▝▝ ^[[39m  ^[[38;2;153;153;153m/local/home/marsjohn/.no-mistakes/worktrees/912b065c2da1/01M4D6BKDSCNBQB5TWN9DZY98H^[[39m

^[[38;2;215;119;87m▎^[[39m Claude Code usage is cleared for Business Data per the AI For Me Guidance.
^[[38;2;215;119;87m▎^[[39m ITAR, PII, Customer Data, and more are strictly prohibited for use within this tool.
^[[38;2;215;119;87m▎^[[39m Read more: https://w.amazon.com/bin/view/Security/AI-Security/AIforMe-Guidance#HDATAANDEXAMPLESQUICKREFERENCETABLE



























  ^[[38;2;177;185;249m/^[[1mexit^[[0m^[[38;2;177;185;249m                                                           ^[[1mExit^[[0m^[[38;2;177;185;249m the CLI^[[39m
  ^[[38;2;153;153;153m/context                                                        Visualize current context usage as a colored grid^[[39m
  ^[[38;2;153;153;153m/AmazonBuilderCoreAIAgents-core:wiki-edit                       (AmazonBuilderCoreAIAgents-core) Amazon internal wiki edit operations using the raw tool,^[[39m
                                                                  ^[[38;2;153;153;153mRustyAmazonWiki. When user asks to write, create, delete Amazon internal wiki pages. Or to …^[[39m
^[[38;2;136;136;136m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
^[[39m❯ ^[[38;2;177;185;249m/exit^[[7m^[[39m ^[[0m
^[[38;2;136;136;136m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
^[[39m  ^[[38;2;255;193;7m⚠ Transcript saving is off — inherited CLAUDE_CODE_CHILD_SESSION marker^[[38;2;153;153;153m · restart with CLAUDE_CODE_FORCE_SESSION_PERSISTENCE=1 to keep future transcripts^[[39m
  ^[[36mOpus (1M context)^[[38;2;153;153;153m | Context: ^[[32m0%^[[38;2;153;153;153m | Midway: ^[[32m18h 27m^[[39m
  ^[[38;2;255;193;7m⏵⏵ auto mode on^[[38;2;153;153;153m (shift+tab to cycle)^[[39m
Evidence: Live herdr submit-confirm e2e attempt (tripwire refusal)

Source: Live herdr submit-confirm e2e attempt (tripwire refusal)

fm-herdr-lab: fleet-state tripwire requires exactly one running default session
not ok - could not provision the isolated Herdr lab
fm-herdr-lab: missing fleet-state tripwire for 'fm-lab-herdr-submit-con-1630165-15262'; refusing destructive calls
exit=1

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 1 info
  • ℹ️ bin/fm-send.sh:447 - Nothing tests the caller wiring that turns on the kiro scope. The FM_COMPOSER_HARNESS assignments in fm-send.sh:447, fm-control.sh:372, fm-watch.sh:572 and 593, and fm-procevent.sh:867 are all untested. Every kiro test sets FM_COMPOSER_HARNESS=kiro by hand (tests/fm-kiro-harness.test.sh:218, tests/fm-composer-lib.test.sh). If one of these assignments were dropped, the shared rules would apply again to kiro: the idle placeholder reads pending and steers to that worker defer until the max-defer alarm fires, and the suite would still pass. A test that runs fm-send or the watcher ring against a recorded harness=kiro meta with a fake idle pane would cover it.
✅ **Test** - passed

✅ No issues found.

  • Live validation: ✅ go - 5 of 6 scenarios driven live against the product
Scenario Result Live Evidence
Herdr payload proof reads Claude's grey (38;2;112;112;112) typed /exit as typed and submits it once (the CI failure) ⏸️ untested no The prior payload did not establish a live result. This was only driven through the repo's Herdr fake-bin regression test, which passes at HEAD (fm-backend-herdr.test.log) and fails at e938be0. The li…
Real Claude panes (256-colour and truecolor) still read as empty when idle and as pending with /exit typed, with or without the kiro scope ✅ pass live composer-probe-idle.txt, composer-probe-typed.txt, claude-typed-exit.ansi, claude-truecolor-typed-exit.ansi
Real kiro-cli 2.28.0 idle placeholder reads empty when the harness is named kiro (256-colour and truecolor panes) ✅ pass live composer-probe-idle.txt (kiro and kirotc with FM_COMPOSER_HARNESS=kiro -> empty), kiro-256-idle.ansi, kiro-truecolor-idle.ansi
Adversarial: with no kiro harness named, the same kiro placeholder keeps the pre-kiro verdict (pending), so the widening is not a fleet default ✅ pass live composer-probe-idle.txt: HEAD -> pending with no harness, while pre-fix e938be0 -> empty (the fleet-wide widening the maintainer flagged)
Typed text in a real kiro pane reads pending even inside the kiro scope ✅ pass live composer-probe-typed.txt, kiro-typed.ansi
fm-send to an idle real kiro worker: rings the doorbell when the meta records harness=kiro; defers with the 'doorbell skipped' notice when the meta records another harness ✅ pass live fm-send-kiro-wiring.txt (kirot1 harness=kiro: no skip notice, and kiro starts processing the inbox; kirot2 harness=claude: 'doorbell skipped (composer visibly holds pending text)')
  • bash tests/fm-backend-herdr.test.sh at HEAD (exit 0) and at e938be0 from a git archive (fails: 'a typed /exit drawn in Claude's grey slash-command colour must be proven and submitted, got unknown')
  • bash tests/fm-composer-lib.test.sh and bash tests/fm-kiro-harness.test.sh (targeted, exit 0)
  • Disposable lab tmux server (tmux -L fm-lab, lab FM_HOME from bin/fm-lab-home.sh create) running real claude 2.1.288 (256-colour and truecolor) and real kiro-cli chat 2.28.0 (256-colour and truecolor)
  • fm_tmux_composer_state on each live pane, with FM_COMPOSER_HARNESS unset and set to kiro, using both the HEAD bin/ and the pre-fix e938be0 bin/, while idle and after typing /exit / hello kiro
  • FM_HOME=$LAB bin/fm-send.sh &lt;id&gt; &lt;text&gt; to an idle real kiro pane, once with a meta recording harness=kiro and once with harness=claude
  • FM_HERDR_SUBMIT_CONFIRM_LIVE=1 tests/fm-herdr-submit-confirm-live-e2e.test.sh (attempted; the lab helper's tripwire refused to provision)
✅ **Document** - passed

✅ No issues found.

⚠️ **Lint** - 1 warning
  • ⚠️ linter found issues (exit code 1)
✅ **Push** - passed

✅ No issues found.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: first look at head 9e122866 against main ac0811c4. Thanks, @Marsjohn-11. This is waiting on you, not on the captain.

What needs fixing: CI run 37686874380 fails in Behavior portable parallel 1. tests/fm-backend-herdr.test.sh reports not ok - a typed /exit drawn in Claude's grey slash-command colour must be proven and submitted, got 'unknown'. That looks like the wider gray ghost-text ceiling in bin/fm-composer-lib.sh now treating Claude's real grey /exit input as a placeholder. Please fix it so real grey input on existing harnesses still reads as typed, then push a fresh no-mistakes raise. Every other check passed.

Contract-class: new-default. The kiro adapter only runs when a spawn asks for --harness kiro, but the composer change is always on. FM_COMPOSER_GHOST_GRAY_LUMA_MAX (default 180), the 232-255 grey ramp, and the new hinted-idle row rule change empty/pending reads for every harness, rovo included. Even with CI green, this needs the captain's decision and won't auto-merge.

VISION.md, rule by rule

  • One captain, one interface: aligns. Kiro workers report through the first mate like any other crewmate.
  • Authority is explicit and never inferred: does not align yet. The kiro harness is opt-in, but the fleet-wide composer widening ships on by default. The captain still has to approve that.
  • Scripts own the mechanics, agents own the judgment: aligns. Detection, launch, and hooks are deterministic.
  • A restart is a non-event: aligns. The per-task KIRO_HOME lives under state/ and teardown removes it.
  • Delegation with a spine: cannot tell while CI shows a regression in shared composer reads.
  • The fleet outlives any vendor: aligns. It adds one more verified harness, version-noted, with a live drift guard.
  • Scope: aligns. It is a harness adapter in the command layer.

Supersedes #4679, which stays open for now.

Adds kiro-cli as a verified crewmate/scout harness - not primary, not
secondmate. V2 engine only; v3/KAS is out of scope and unsupported on
Amazon Linux 2. Spans the harness resolver, spawn, busy-state, composer,
control and teardown, plus the harness-adapters router entry,
references/harness/kiro.md, dated docs/verification/kiro.md, a portable
regression test and an opt-in live drift guard.

Launch carries the brief positionally on --agent-engine v2 with --agent,
--trust-all-tools, model and full low|medium|high|xhigh|max effort, and
validates the model against the reachable catalog, failing open when that
listing cannot be read. The per-turn hooks - userPromptSubmit opens a turn,
stop closes it and keeps the turn-ended touch - live in a firstmate-owned
agent config under state/<id>.kiro-home/agents/firstmate.json, reached by
relocating KIRO_HOME rather than by a config path, because --agent is
name-only. That per-task home also seeds chat.disableTrustAllConfirmation
so the --trust-all-tools modal cannot block an unattended worker. Relocating
the whole home costs a kiro worker the operator's globally configured MCP
servers and skills; the only alternative writes config into a project
checkout, which is a hard boundary. Spawn refuses a hook path containing
whitespace, and teardown removes the per-task home.

One change here alters an existing adapter's behaviour. bin/fm-composer-lib.sh
now strips near-gray ghost text up to FM_COMPOSER_GHOST_GRAY_LUMA_MAX (180)
and handles the 256-colour grey ramp (232-255). kiro's idle composer needs
that to read empty, and it also moves rovo's verdict: rovo's inline
placeholder chip (luminance 162.9) now strips, so composer-empty reads empty
at rovo idle where it previously did not. The ceiling is raise-only.

Control mechanics live in fm-control-lib.sh - Escape interrupt (kiro's stop
hook does not fire on it, so the adapter-owned record is preserved), /quit
exit, crewmate/scout-only refusal, and out-of-tree wiring retirement.

Verified live on kiro-cli 2.21.4: both per-turn hooks, the busy footer,
single-Escape cancel, and /quit exit with its resume-id line. Auth
preconditions are verified on Amazon Linux 2 only and unestablished on
macOS. The live guard is opt-in and stays out of the validation steps.

Upstream's codex braille-starfield fixture used near-gray cells incidentally, so
its non-vacuousness guard broke once those cells strip; the braille rule now has
its own chromatic fixture and no longer depends on colour.

Resubmitted on current main, which landed the Devin adapter and a staged
launch file after this work was first written. Every adapter table, doc
sentence, and audience entry now carries devin and kiro together rather than
one replacing the other, the per-task kiro home is also removed by the
secondmate-child teardown path, the dispatch-validator harness list keeps its
typed-quota form, the near-gray ghost ceiling sits alongside the launch-prompt
backstop note, and kiro's idle-placeholder rationale is stated in terms of the
bare-row path rather than by dropping Devin's entry. The kiro spawn test's
fake tmux now reads the staged launch file back, because a spawn types a short
source line instead of the launch itself.
The near-gray ghost ceiling, the 232-255 palette-grey test, and the hinted
idle row were on for every harness, so Claude's grey typed /exit read as a
placeholder and the herdr payload proof judged it unsent. They now apply only
when the caller names the target's recorded harness as kiro through
FM_COMPOSER_HARNESS (fm-send, fm-control, and the watcher and process-event
re-rings), and every other composer read is unchanged. The rovo, grok, afk,
and codex/opencode test edits that assumed a fleet-wide widening are restored.
@Marsjohn-11
Marsjohn-11 force-pushed the feat/kiro-cli-adapter-v2 branch from 9e12286 to 6eb581a Compare October 8, 2026 07:49
@Marsjohn-11 Marsjohn-11 changed the title feat(bin): add Kiro CLI (kiro) as a V2 crewmate/scout harness feat(bin): add Kiro CLI (kiro) as a V2 crewmate/scout adapter Oct 8, 2026
…4 ("FM_COMPOSER_HARNESS appears unused") at tests/fm-kiro-harness.test.sh:218. The variable `local FM_COMPOSER_HARNESS=kiro` is read by the composer library the test sources, at call time, which ShellCheck cannot see. The rule that was broken: a variable read only by sourced code needs an explicit annotation. This was the only such site. Every other `FM_COMPOSER_HARNESS=` in the changed tests is a command-prefix assignment, which ShellCheck does not flag. The fix adds one line above the `local`, matching how the repo already handles this case (e.g. tests/fm-parent-channel-scan-exclusion.test.sh:284): `# shellcheck disable=SC2034 # read by the sourced composer lib at call time`. Nothing else changed. I could not re-run the linter: `shellcheck` is not installed here, so bin/fm-lint.sh can't run either. I did run tests/fm-kiro-harness.test.sh and it passed (rc=0, no `not ok` lines)
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate (the triage agent for this repo, not Kun personally).

Thanks @Marsjohn-11. The fix is what I asked for. Head e9d8299e puts the composer ghost-text widening behind FM_COMPOSER_HARNESS=kiro: the grey luma ceiling, the 232-255 ramp, and the hinted-idle row. With any other harness, or no harness named, ceiling_for returns the old FM_COMPOSER_GHOST_LUMA_MAX and palette_gray_level returns -1, so a 38;5 palette run is still never stripped. The Claude grey /exit test that failed before (parallel 1) now passes. The no-mistakes attestation matches this head.

CI: everything is green except Behavior portable serial 2, which was cancelled at its 30-minute limit (The operation was canceled) with no not ok line. That's the known slow-timeout flake on main. I re-ran the failed job of run 37749622959 once.

Triage verdict (my own reading of the tip vs main b062eb9)

  • Contract-class: opt-in. kiro runs only when a spawn or a dispatch rule names it. Every other changed path either adds a kiro case to existing harness lists or is gated on the recorded harness being kiro, and kiro is added to the static dispatch allowlist, which only matters to a config that names it. The one shared line is the harness-less busy union FM_DELIVERY_BUSY_REGEX_DEFAULT, which gains Kiro is working. That follows the union's documented rule (each verified harness contributes its own footer token, as cursor and agy did) and matches only kiro's own footer text.
  • VISION, one captain, one interface: kiro workers report through the first mate like any crewmate. Aligns.
  • VISION, authority explicit: the composer widening is no longer default-on, so the fleet-wide default change I flagged is gone. --trust-all-tools with its modal suppressed matches the unattended-crewmate posture of the other adapters (agy --dangerously-skip-permissions, muse --yolo). Aligns.
  • VISION, scripts own mechanics: detection, launch, and hooks are deterministic. Aligns.
  • VISION, restart is a non-event: the per-task KIRO_HOME lives under state/ and teardown removes it. Aligns.
  • VISION, delegation with a spine: crewmate and scout only, refused for a secondmate. Aligns.
  • VISION, fleet outlives any vendor / adapters earn trust through verification: one more harness, with docs/verification/kiro.md, a live signals e2e test, and version notes (v2 engine only). Aligns.
  • VISION, Scope: an adapter in the command layer. The always-loaded AGENTS.md change is one word in the verified-harness list. Aligns.

Status: waiting-ci on the serial 2 re-run. Nothing is needed from you. If it comes back green and the PR is still mergeable, I expect to merge it as opt-in on a later pass. When this lands, #4679, which this supersedes, will be closed as the leftover.

@kiatng

kiatng commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Thanks for this adapter. Since the branch has been conflicting for a few weeks, we are picking it up: rebasing onto current main, re-verifying live against kiro-cli 2.35.1, and re-raising it from kiatng/firstmate with your commits and credit kept. We will link the new PR here, and we are happy to fold it back into this one if you return to it first.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: thanks @kiatng for offering to carry this forward, and thanks again @Marsjohn-11 for the adapter.

Where e9d8299e stands: my 10-08 verdict still holds (contract-class opt-in, VISION aligns, no-mistakes bound, CI green on that head). The only thing in the way is drift. Main has moved about three weeks, and a trial merge now conflicts in 16 files, including bin/fm-composer-lib.sh, bin/fm-busy-lib.sh, bin/fm-spawn.sh and bin/fm-harness.sh. To be clear, the conflict is ours to deal with. @Marsjohn-11, you don't need to rebase for us.

@kiatng, a re-raise through git push no-mistakes with Marsjohn-11's commits and credit kept, re-verified live against kiro-cli 2.35.1, is welcome. It's also the cleanest path, because a merge commit from our side would no longer bind this PR's no-mistakes attestation. Please link it here when it's up. Whichever of the two is further along when it's ready is the one we land, and we'll close the other with thanks. Nothing is waiting on the captain.

@kiatng

kiatng commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Picked up as #7956: rebased onto current main with your commits and credit kept, the Kiro busy marker anchored to its footer so other harnesses' reads stay unchanged, and live-verified on kiro-cli 2.35.1.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: closing this because the Kiro CLI adapter you started here has landed on main through #7979 (merged as 6d01da5), which carried @kiatng's continuation in #7956. You're credited as a co-author on the commit. Thank you @Marsjohn-11 — really appreciate you taking the time on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants