Repository navigation
修复 crewmate launch/steer 提交握手 - #94
codenum137 wants to merge 2 commits into
Conversation
fm-send falsely reported swallowed Enter for Codex because dim ghost stripping left the idle prompt glyph ›, but fm_tmux_composer_state did not treat that glyph as a bare prompt. Add it to the shared empty-composer classifier and cover the bold prompt plus dim suggestion rendering. fm-spawn could enter a treehouse worktree and print spawned even if the launch command never submitted, because it typed after cwd changed and never verified Enter landed. Reuse the shared tmux submit verifier and fail fast when launch text remains pending.
fm-send could type steering into a busy Codex pane while the agent was waiting on a tool/background terminal. Codex queued that text for the next tool-call composer, then fm-send saw pending text and misdiagnosed Enter as swallowed. Guard the shared tmux submit primitive with fm_pane_is_busy before typing anything. Busy returns a distinct verdict so fm-send and fm-spawn fail fast without writing into the composer.
|
yeah, real one. #100 only fixed the native |
1 similar comment
|
yeah, real one. #100 only fixed the native |
|
Thanks for the PR! This branch currently has a merge conflict with the base branch. When you get a chance, please rebase onto (or merge) the latest base branch, resolve the conflict, and push. After that, checks will re-run and the PR will get looked at again. Noted for firstmate#94 at |
|
感谢这次提交。这不是实现失败;当前 |
* fix(bin): scope the continuity gate's session-start allowance to the first run The watcher-continuity PreToolUse gate allowed bin/fm-session-start.sh unconditionally, so a mid-session re-run while tasks were in flight with no live watcher could re-acquire the home lock and run bootstrap's mutating sweeps - the deferred follow-up documented in docs/watcher-continuity.md. Generalize the shared ancestry walk into fm_session_lock_relation() (free / ancestry / foreign) in bin/fm-primary-scope-lib.sh, pass the relation into bin/fm-continuity-command-policy.mjs, and deny a session-start attempt whenever a live session holds the home lock: an ancestry holder means session start already ran here, a foreign holder means another session owns the home. A lock-free home - including a dead holder after a crash - keeps session start a recovery command, and the wake-drain, watcher-arm, literal teardown, and exact sentinel-enable allowances are unchanged. The deny guidance also stops naming the once-per-session entry point for a foreign-held lock. * no-mistakes(review): Unify harness-aware session lock liveness * no-mistakes(document): Align continuity gate documentation with first-run scoping * no-mistakes(lint): Silence deliberate ShellCheck single-quote warning * no-mistakes: apply CI fixes
|
MGL-1a (https://github.com/BarnabasTuzko/erpnext-extension-prorotype/pull/194): MGL-B002-AC6 moves here: its last clause, the Add from RMA action on the Returns pallet, is MGL-B023's. MGL-1a already ships and proves the Warehouse Lead's read of the Returns pallet only (list, rows without values, other pallets refused; Pallet permission row plus miglo/read_only.py hooks). |
变更
›提示符识别,避免 dim suggestion 被剥离后仍误判为 pending。fm-spawn使用共享 submit 校验,不再只因进入 treehouse worktree 就报告成功。fm_tmux_submit_core在写入文本前检测fm_pane_is_busy,busy 时返回错误,不把 steering 文本塞进 composer。验证
tests/fm-spawn-send-handshake.test.shtests/fm-composer-ghost.test.shtests/fm-daemon.test.shfor t in tests/*.test.sh; do echo "== $t"; "$t" || exit $?; done