Skip to content

feat(coexistence): report helioscli as a fourth continuity source - #347

Merged
KooshaPari merged 1 commit into
masterfrom
fix/coexistence-helioscli-detect
Nov 24, 2026
Merged

KooshaPari merged 1 commit into
masterfrom
fix/coexistence-helioscli-detect

Conversation

@KooshaPari

@KooshaPari KooshaPari commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

User description

Summary

kcode coexistence --json reports which co-resident coding harnesses are discoverable on PATH. It inventoried three: jcode, forge, codex. The HeliosLite fork ships a helios command, so an operator running it alongside KCode got no row for that harness at all.

This adds helioscli as a fourth source, discovered by the helios command name, and extends the two tests that assert source count and order.

Design note: the label is not the command

The tuple is ("helioscli", "helios") deliberately. A local helios binary is a discovery lead only: authentication, provider, model and sessions stay "unknown" rather than being inferred from the command existing. That matches the contract the other three sources already follow, and it is asserted directly by the new helios_command_is_only_a_discovery_lead test.

Verification

Gate Result
nbuild <worktree> check -p kcode --tests on nixos exit 0 (incremental, 37.55s)
Changed 2 files, +42/−18
Conflict against master c129e153f none (merge-tree --write-tree clean)

cargo test for the two affected tests was NOT run separately; the workspace --tests check compiles every test target, and the tests exercise report() directly with a tempdir.

Part of #143

tx-agent: jcode
tx-validated: cargo-check


CodeAnt-AI Description

Include HeliosLite in coexistence reports

What Changed

  • Coexistence reports now list helioscli when the helios command is found.
  • Finding helios indicates command presence only; authentication, provider, model, and session details remain unknown.

Impact

✅ HeliosLite appears in coexistence reports
✅ No account or session status is inferred from command presence

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

`kcode coexistence --json` inventoried three co-resident harnesses:
jcode, forge and codex. The HeliosLite fork ships a `helios` command, so an
operator running it next to KCode sees no reporting whatsoever
for that harness.

Add `helioscli` to the source list, discovered by the `helios` command
name, and extend the two tests that assert the source count and order.

The command name is deliberately different from the source label
(`("helioscli", "helios")`), so a local `helios` binary is treated as a
discovery lead only: authentication, provider, model and sessions stay
`unknown` rather than being inferred from the command existing. That is
the same contract the other three sources already follow.

Verification: `nbuild <worktree> check -p kcode --tests` on nixos,
exit 0.

Part of #143

tx-agent: jcode
tx-validated: cargo-check
tx-scope: src/cli/coexistence.rs, tests/coexistence_cli.rs
tx-intent: include the he CLI harness in the coexistence inventory
tx-lane: jcode:session_iwazaru_1795472450499_bcf77f2c366985f8
Copilot AI balanced review requested due to automatic review settings November 24, 2026 01:02
@codeant-ai

codeant-ai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

CodeAnt  CodeAnt Review Status

✅  Review completed

Status Commit Started (UTC) Finished (UTC)
✅  #fb845 Reviewed your PR 936134a Nov 24, 2026 · 01:02 01:06

@codeant-ai

codeant-ai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@codeant-ai codeant-ai Bot added the size:M This PR changes 30-99 lines, ignoring generated files label Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary: The PR adds helioscli as a fourth source in kcode coexistence --json. It is discovered by the helios command, alongside jcode, forge, and codex. A local helios binary is a discovery lead only. authentication, provider, model, and sessions remain "unknown". The PR updates the source-count and order expectations in tests/coexistence_cli.rs and adds helios_command_is_only_a_discovery_lead in src/cli/coexistence.rs. Changes: 2 files, +42/-18 lines (per diff metadata).

Must Fix: None identified from the supplied diff summary. I did not inspect source or run checks, so this is not a verified all-clear.

Should Fix: Not available. I did not review the full source diff.

Consider:

  • Confirm cargo clippy --workspace -- -D warnings, cargo fmt --check, and cargo test --workspace on the head commit. The author reports only that nbuild <worktree> check -p kcode --tests exited 0 on NixOS. The two affected tests were not run separately.

Recommendation: Approve with notes, pending the CI and lint confirmation above.

The coexistence report now includes helioscli, mapped to the helios command. Tests check the four-source output and verify command discovery when helios is on PATH.

Changes: CLI coexistence discovery

Layer / File(s) Summary
Source and command mapping
src/cli/coexistence.rs
The report maps four sources to explicit command names, including helioscli to helios.
Discovery tests
src/cli/coexistence.rs, tests/coexistence_cli.rs
Tests expect four sources and verify that finding helios marks its command discovery as found while authentication and sessions remain unknown.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: Minimal · up to 93613

This adds Helios CLI discovery to the coexistence report without inferring any status from the binary's presence. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: helioscli is added as a fourth continuity source in the coexistence report. The summary confirms that the report now discovers four sources, with helioscli discovered …
Description check Passed The description states that kcode coexistence --json now reports helioscli as a fourth source, discovered by the helios command. It explains that a helios binary is only a discovery lead, that the oth…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: helioscli is added as a fourth continuity source in the coexistence report. The summary confirms that the report now discovers four sources, with helioscli discovered through the helios command. The title is specific and concise, and it follows the conventional commit style.

Full details: Description check

Explanation

The description states that kcode coexistence --json now reports helioscli as a fourth source, discovered by the helios command. It explains that a helios binary is only a discovery lead, that the other fields stay unknown, and that the two affected tests were extended. This matches the raw summary of changes in coexistence.rs and tests/coexistence_cli.rs.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 02c25055-f3ca-4ced-ae6b-02165476852d
Commits

Reviewing files that changed from the base of the PR and between c129e15 and 936134a.

Files selected for processing: 2

  • src/cli/coexistence.rs
  • tests/coexistence_cli.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 7

  • GitHub Check: Windows Cross-Target Check (Linux)
  • GitHub Check: Cargo Check & Parity
  • GitHub Check: Build & Test (linux) (ubuntu-latest)
  • GitHub Check: Quality Guardrails
  • GitHub Check: Clippy
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: Kilo Code Review

@sonarqubecloud

Copy link
Copy Markdown

@codeant-ai

codeant-ai Bot commented Nov 24, 2026

Copy link
Copy Markdown

CodeAnt  CodeAnt Nitpicks

1 code suggestion

1. This assigns helios to HeliosCLI, while repository notes describe HeliosLite with helioslite and forge binaries; HeliosLite installations remain undiscovered.

Api mismatch · src/cli/coexistence.rs:50

@codeant-ai

codeant-ai Bot commented Nov 24, 2026

Copy link
Copy Markdown

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: 936134a9c022

@kilo-code-bot

kilo-code-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/cli/coexistence.rs - 0 issues
  • tests/coexistence_cli.rs - 0 issues

Note: cargo clippy --workspace -- -D warnings, cargo fmt --check, and cargo test were not executed in this read-only sandbox; the PR's claimed nbuild check -p kcode --tests exit-0 verification is accepted as reported.


Reviewed by free · Input: 87K · Output: 51.7K · Cached: 1.4M

@KooshaPari
KooshaPari marked this pull request as draft November 24, 2026 01:16
@KooshaPari

Copy link
Copy Markdown
Owner Author

Parked as a draft while blocked: mergeStateStatus is BLOCKED and the 'Require Linked' gate is unmet. The code itself is MERGEABLE with Clippy, Format, CodeRabbit and Quality Guardrails passing. Link the issue and mark ready when that gate is satisfied.

@KooshaPari
KooshaPari marked this pull request as ready for review November 24, 2026 03:24
@KooshaPari
KooshaPari merged commit 6455fd0 into master Nov 24, 2026
23 checks passed
@KooshaPari
KooshaPari deleted the fix/coexistence-helioscli-detect branch November 24, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants