Skip to content

Let the Orbi helper translate public /orbi setup arguments itself - #513

Merged
XelHaku merged 2 commits into
mainfrom
orbi/TrebuchetDynamics-kit-issue-506
Dec 1, 2026
Merged

XelHaku merged 2 commits into
mainfrom
orbi/TrebuchetDynamics-kit-issue-506

Conversation

@XelHaku

@XelHaku XelHaku commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Change

  • orbi_control.py: a new --public flag takes the /orbi skill arguments unchanged and maps them in public_argv():

    • setup runs helper start (dry-run too);
    • setup --prepare-only runs the non-activating helper setup;
    • --prepare-only on another action is refused (invalid_prepare_only_selection);
    • setup --resume-setup without --prepare-only is refused (invalid_resume_selection), with the corrected setup --prepare-only --resume-setup ... command, all original arguments and dry-run kept.

    Both refusals happen before any read. Direct helper syntax is unchanged (Make /orbi setup start by default with a prepare-only opt-out #137): helper setup stays non-activating, and --prepare-only is not a helper flag.

  • skills/orbi/SKILL.md step 1: the mapping table and its translation rules are replaced by the one --public call, so the model no longer translates arguments.

  • Help text and docs/reference.md describe --public.

Checks

  • New PublicArgumentTests failed on the base commit and pass with the change. They cover each row of the old mapping table, the resume refusal with the corrected command, --prepare-only on other actions, and non-activating direct setup.
  • The existing fake-host tests that read routes from the SKILL.md table now run the helper with --public and the public arguments. They still prove the delegated effects: planned, prepared and started.
  • python3 -B -m pytest -q tests/test_orbi_control.py tests/test_orbi_now.py tests/test_skill_standard.py tests/test_github_native_docs.py: 360 passed, 1171 subtests passed.
  • python3 -B -m pytest -q tests/test_readme_links.py tests/test_github_native_docs.py: 12 passed.

Fixes #506

🤖 Generated with Claude Code

orbi_control.py --public takes the /orbi arguments unchanged and applies
the public mapping: setup runs start, setup --prepare-only runs the
non-activating helper setup. --prepare-only on another action and
setup --resume-setup without --prepare-only are refused before any read,
with the corrected command. SKILL.md step 1 now calls the helper with
--public instead of asking the model to translate a table. Direct helper
setup is unchanged (#137).

Fixes #506

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 42ffe32f-618c-4ec7-b930-657e55b16644
  • 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

Keep both FlagTableTests (#512) and PublicArgumentTests (#506) at the end of tests/test_orbi_control.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@XelHaku
XelHaku merged commit ecbc356 into main Dec 1, 2026
10 checks passed
@XelHaku
XelHaku deleted the orbi/TrebuchetDynamics-kit-issue-506 branch December 1, 2026 23:10
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.

Let the Orbi helper translate public /orbi setup arguments itself

1 participant