Repository navigation
docs(skill): rail0 admin is not for the agent — the operator commands are refused in agent mode (CLI 1.11.0) - #8
Merged
Conversation
The operator commands (CLI 1.11.0) are refused in agent mode, and agent mode never carries an operator's write-mode token. The skill says so beside the other things that are not the agent's (keys, the session token), and what to do instead: name the command the task needs and leave it to the person.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
One rule added to the skill: an agent does not use
rail0 admin.rail0 adminis the CLI's operator side (diagnostics, reads across every account, switching accounts and wallets off, onboarding, the operator role), new in CLI 1.11.0. Agent mode refuses every one of those commands (unavailable_in_agent_mode, exit2) before anything is sent, and never carries an operator's write-mode token, so an operator's write through any other command answerswrite_mode_required(exit4).The skill now says so where it already lists what is not the agent's (
keys add,keys generate, the session token), and tells the agent what to do instead: name the command the task needs and leave it to the person, without looking for a way around the refusal.skills/rail0-payments/SKILL.md: the rule, with the two answers the CLI gives.skills/rail0-payments/references/commands.md:rail0 adminadded to what agent mode refuses.Not in this PR
No eval added. The rule describes CLI 1.11.0, which is not released yet (commercelayer/rail0-cli#215): merging this before that release is harmless, the sentence says "from CLI 1.11.0".
Targets
main: this repository has nomilestone/next.