feat(SUP-2214): jarvos-coding host adapters (supersedes #64 module) - #66
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe Changesjarvos-coding Module Restructure
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: efe19db524
ℹ️ 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 pullRequest = await runStage('pullRequest', () => requireFn(adapters.pullRequest, 'openPullRequest', 'pullRequest')({ | ||
| issue: input.issue, | ||
| issueIdentifier, | ||
| branch: context.branch, | ||
| baseRef: context.baseRef, | ||
| fixRerun, | ||
| })); |
There was a problem hiding this comment.
Block PR creation when review gates fail
When either review adapter returns a failed result, or fixAndRerun() returns { ok: false }/status: 'failed', runStage() only records that status and execution still reaches openPullRequest(). I verified this path with the new orchestrator: failed slice/holistic reviews plus a failed fixer still returned completed and called the PR adapter, which bypasses the module's pre-submit review gate and can submit known-bad code.
Useful? React with 👍 / 👎.
| title: options.title || 'jarvOS Coding', | ||
| description: options.description || 'Run the portable jarvOS coding orchestrator from this host.', | ||
| host, | ||
| invokes: DEFAULT_MCP_TOOL_NAME, |
There was a problem hiding this comment.
Point custom skills at the registered MCP tool
When a host supplies options.mcpTool.name to avoid collisions or follow host naming, registerMcpTool() registers that custom name but the skill descriptor still advertises invokes: jarvos_coding_take_issue_to_done. In that configuration the registered skill points at a tool that may not exist, so invoking the skill fails even though registration reports the custom MCP tool name.
Useful? React with 👍 / 👎.
This lands the complete @jarvos/coding module from #65 — host adapters (claude-code/codex) driving runTakeIssueToDone, generic review-engine, session-state, submission-gate, and triage — adopting #65's self-consistent module which supersedes #64's simpler createCodingOrchestrator API (no other code on main imports it).
Closes the SUP-2214 host-adapter work.
Verified locally:
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation
Refactor