Repository navigation
improvement(sim-cli): name source find in the workspace primer's debug rules - #10447
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
[Low impact] This PR appears safe to merge. SummaryAdds
Reviews (2) · Last reviewed commit: "improvement(sim-cli): name source find i..." · Reviewed by Greptile |
waleedlatif1
force-pushed
the
improvement/workspace-primer-source-find
branch
from
November 26, 2026 23:43
ee4d6ef to
d814e99
Compare
Collaborator
Author
|
@greptileai review |
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
#10442 added
sim workflows source find <block>. It prints a block's code, edges and readers offline, as file:line. A workspace source directory's.sim/AGENTS.mdprimer never mentions it, so an agent editingworkflows/<key>/inside a workspace dir doesn't learn the command exists. This adds it to the workspace primer's Debug rule, with the--dir workflows/<key>that a workspace directory needs.sharedRulestakes an optionaldebugextra, the same pattern as itsrenamesandpatternsextras. The workflow primer is unchanged byte for byte, so the Mothership worker'sworkflow-sourceskill, which preloads that primer, needs no resync. The workspace primer is 4036 bytes, withinPRIMER_MAX_BYTES(4096).Type of Change
Testing
vitest run src/commands/protocol/inpackages/sim-cli: 648 pass. That includes "names in the workspace primer only commands and flags this CLI has" (leaf command,--diris a real flag) and the primer size cap.Checklist