Repository navigation
fix(sim-cli): point the workflow primer's table scope at commands every agent can run - #10444
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Contributor
[Low impact] The PR appears safe to merge. SummaryUpdates the workflow primer to point agents at table commands available outside workspace-as-code.
Reviews (2) · Last reviewed commit: "fix(sim-cli): give the table scope comma..." · Reviewed by Greptile |
Collaborator
Author
|
@greptileai review |
6 tasks done
waleedlatif1
added a commit
that referenced
this pull request
Nov 26, 2026
* fix(sim-cli): keep the workflow primer within its byte budget #10440 and #10444 each fit the 4096-byte budget, but together the workflow primer reached 4127 bytes and the primer budget test failed on staging. Tighten two sentences (88 bytes of headroom) without dropping any rule. * fix(sim-cli): keep the primer's note that --run tests the draft
This branch was previously deployed
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.
Summary
The workflow source primer's Scope line sent agents to
sim workspaces source get --dir <dir>to edit a table's columns and rows. The CLI inventory marks that commandmothershipUnavailable, and the Mothership worker preloads this same primer as itsworkflow-sourceskill. So the chat agent was being taught a command it is refused. The worker's S39 check ("every command a skill names is one a conversation can run") fails the next primer sync on this.The line now names
sim tables columns update <table>andsim tables rows update <table>. Both work for a local coding agent and in Mothership, and neither has an entitlement gate. A local agent still finds the workspace-as-code route insim workflows source --help(WORKFLOW_SOURCE_SCOPE_HELP).Type of Change
Testing
vitest run src/commands/protocol/inpackages/sim-cli: 639 pass. This includes "names in the workflow primer only commands and flags this CLI has", which accepts only leaf commands.workflow-sourceskill from this branch. The worker'smodel-text(S39) andcli-parsetests pass (64).Checklist