Repository navigation
Planboard live steps for opencode/kimi, planboard on ssh remotes (#180) - #1581
Conversation
- opencode: parse real `run --format json` tool parts ({tool, callID,
state}); the parser only read part.name, so real tool events were
dropped. todowrite todos now reach the planboard.
- kimi: TodoList (kimi-code) / SetTodoList (kimi-cli) args become plan
steps; planStepsFrom accepts {title, status: done}.
- ssh-remote projects: issues.js resolves origin over ssh (cached per
remote) and runs gh/glab from the home dir with an explicit repo;
ghApiTryAsync takes opts.originUrl / opts.ghRepo. planboardNoteFor and
the MCP issue-tool gate use the same lookup, so remotes get the note
and working issue_* tools.
Codex todo_list was already wired.
Closes #180
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e7897e6220
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const remote = projects.find( | ||
| (p) => p && p.remoteHost && projectPath && p.path === projectPath, | ||
| ); |
There was a problem hiding this comment.
Resolve issue targets by project identity
When two SSH projects have the same stored path—for example, /srv/app on two different hosts—this lookup ignores remoteHost and always selects the first matching project. Consequently, listing, creating, or updating Planboard issues for the second project uses the first host's origin and can mutate the wrong repository. The issue IPC contract should carry a project ID or otherwise include the remote host when resolving the target.
Useful? React with 👍 / 👎.
Closes #180.
Live plan steps beyond claude
extractToolEventonly readpart.name. Realopencode run --format jsontool parts are{tool, callID, state:{status, input, output|error}}(checked against stored opencode sessions), so every real opencode tool event was dropped, not just todos. The parser now flattensstateonto name/input/output, andtodowritetodos are attached untruncated. Side effect: opencode tool cards now render.TodoList(kimi-code) andSetTodoList(kimi-cli) take{todos:[{title, status: pending|in_progress|done}]}. The args are parsed and attached to the event.planStepsFromacceptstitle/done. The kimi and opencode run loops callsavePlanSteps.todo_listwas already wired, so no change there.Planboard on ssh-remote projects
On an ssh-remote project,
project.pathis not a local checkout, so before this PR the note gate, the MCP issue tools and the board all failed for remotes.issues.js:originUrlOf(project|path)reads origin over ssh for remotes, cached per host+path (successes only). For remotes, gh/glab run from the home dir with the repo named explicitly. Local paths behave exactly as before.ghApiTryAsynctakesopts.originUrl(in place of reading origin from cwd) andopts.ghRepo(adds-Ron the gh fallback only, never ongh api).planboardNoteForuses the same lookup, so the prompt note and the orchServer issue-tool registration follow it.orchServerandipc-gitpass the project object for remotes. Autodispatch and postmerge still skip remotes on purpose, so they are unchanged.Risks
Tests
planStepsFromkimi shape, a remote project end to end (ssh faked: origin over ssh,-R, note, cache), and theghApiTryAsyncoriginUrloverride on the API path.test:electronon this branch (pre-rebase onto the 2 newest main commits): 4529/4529 pass. Touched suites re-run after the rebase: 197/197.🤖 Generated with Claude Code