Skip to content

feat(core): HostDriver::models reads Pi's catalog from the host (I48) - #2722

Open
kinqsradio wants to merge 5 commits into
mainfrom
feat/i48-core-models
Open

kinqsradio wants to merge 5 commits into
mainfrom
feat/i48-core-models

Conversation

@kinqsradio

Copy link
Copy Markdown
Member

Summary

Stacked on #2718 (base feat/i48-pi; retarget to main once it merges). HostDriver::models now asks the Pi family's host-wide models request and maps the reply onto the core's model list (it returned none for Pi before). The request sends cwd (a private probe folder, as the ACP path does), piPath (the person's program) and args when set, and no confinement, since this is a probe and not a run. The reply goes through the existing acp::catalog: the thinking levels become the effort option, with defaultEffort or isDefault as the default; provider is not carried over. A failed request is an error with the engine's own message, never an empty list. A host that does not offer models still leaves Pi without a catalog (Ok(None)), as ACP does. Muse is unchanged.

Parity rows

I48: evidence text only; not ticked. HostDriver has no cwd and EngineDriver::models() takes none, so the probe folder is private, not the project's; a project cwd needs a trait change. Nothing ran against a real pi; the tests run over the stand-in host.

Testing

On this Mac through cargo-serial.sh: cargo test -p orbyn-core host:: 462 passed, 0 failed, 3 ignored; cargo clippy -p orbyn-core --all-targets -- -D warnings clean; cargo fmt --check clean. New tests in host::tests::pi: pi_models_come_from_the_host_with_their_thinking_levels_as_efforts, the_pi_models_request_names_the_persons_program_and_arguments_in_a_private_folder, a_failed_pi_models_request_is_an_error_not_an_empty_list, a_host_without_the_models_capability_leaves_pi_with_no_catalog.

AI usage

  • Harness and version: Claude Code 2.1.335
  • Models: claude-sonnet-5-5 (the code, written by a worker, and the session that reviewed the diff)
  • Effort: medium
  • Human role: none in this change; directed by the Orbyn Product Research lead session for the owner
  • Sources: none

Agent review: Eng 2 checked the diff at 4d79c1b

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a53298c9-c827-4aac-859b-77ff2a03e694

You can disable this status message by setting the reviews.output.walkthrough.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Base automatically changed from feat/i48-pi to main December 5, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant