Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughKimi argument construction now passes the prompt through argv without Priority: ➖ Normal 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
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.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 5df47993-27a4-4b1e-9a68-bbcf0a7d4cde
📥 Commits
Reviewing files that changed from the base of the PR and between c0a7754 and 3330f6dc3b3be8d618b39864bed240ab936711cb.
📒 Files selected for processing (2)
src/shared/commit-message-agent-spec.test.tssrc/shared/commit-message-agent-spec.ts
f6cb2a8 to
8f1812c
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
Rebased onto current Head: Live Kimi Code 0.40.1 still rejects |
|
Fork CI for this head is green: https://github.com/bbingz/orca/actions/runs/33827553039 ( |
|
Readiness recheck on The fork PR Checks run is successful and its Keeping this head and the existing assignee/review request unchanged; ready for maintainer review. No workflows were approved or rerun in this recheck. |
kimi-code 0.36–0.40 reject --quiet, --thinking, and --no-thinking as unknown options, so Source Control AI fails before the prompt is read. Keep --prompt and optional --model, and stop advertising thinking levels that regenerate those flags.
8f1812c to
28ad4d4
Compare
…inking) (#33285) Kimi Code (the current `kimi`) rejects --quiet/--thinking/--no-thinking; send only --prompt [--model]. Fixes #14771. Supersedes #14790. Co-authored-by: BingZ <[email protected]>
ELI5
Source Control AI was launching Kimi with flags current Kimi Code does not understand, so the recipe died with
unknown optionbefore reading the prompt. This keeps only the flags Kimi actually accepts.What Changed
mainafter the commit-message spec split (commit-message-agent-specs-secondary.ts).--quiet,--thinking, and--no-thinkingfrom the Kimi recipe.--promptdelivery and optional--model.Why
Issue #14771: Kimi Code 0.36.1 (and locally reproduced 0.40.1) rejects
--quiet. The same CLI also rejects--thinking/--no-thinking(unknown option). Those flags were reintroduced onmainwhen the spec was split; they still crash the recipe.Test red-line (declared): existing assertions that required
--quietand Kimi thinking argv were replaced because they encoded flags the current CLI rejects. The function under fix is not mocked.Linked Issue
Fixes #14771
Visual Proof
N/A — subprocess argv only; no UI or interaction change besides hiding a thinking picker that generated rejected flags.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Live CLI:
kimi0.40.1 (/Users/bing/.kimi-code/bin/kimi).kimi -p x --quiet,--thinking, and--no-thinkingeach printerror: unknown optionand do not run the prompt.RED: focused spec tests failed on current
mainatnot.toContain(--quiet)andthinkingLevelsstill defined.GREEN:
./node_modules/.bin/vitest run --config config/vitest.config.ts src/shared/commit-message-agent-spec.test.ts src/shared/commit-message-plan.test.ts src/shared/commit-message-generation.test.ts— 3 files, 74 passed.pnpm typecheck:nodepassed.oxlint + oxfmt on the two changed files passed.
git diff --checkclean.Not run: full
pnpm test,pnpm lint,pnpm build, Windows/SSH hosts. Shared argv only.Final head:
8f1812cf0ee8573ee7706218900e30b31fd0a3b6AI Disclosure
OpenAI Codex / Grok 4.6 used for rebase onto current main, TDD, verification, and PR body. Independent second-model review of this SHA: UNVERIFIED (not a security/auth change; one attempt may follow).
Review
--prompt/ optional--modelretained; rejected flags removed.Overlap
--quietflag unknown to kimi-code 0.36.x #14771 but bundles four other issues; this PR stays the single-concern Kimi argv fix.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)Focused tests +
typecheck:nodepassed locally; full matrix left to CI.Author