Repository navigation
feat: open subagent workers with lich open --subagent - #33
Merged
Merged
Conversation
… checkout unless it asks for a worktree The mod now always passes `lich open --subagent`, so lich types the worker's full report at the caller's prompt and the model no longer has to collect it. Like Claude Code's native agent, the worker shares the caller's checkout; only `isolation: "worktree"` gets `--worktree subagent/<slug>-<id>` and `--base`, and only then is git asked for the current branch. A worker in the shared checkout is recognised by LICH_SUBAGENT_CARDS=off, which lich sets on every `--subagent` session; the subagent/ branch rule still covers isolated calls.
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.
Client side of omartelo/lich feat/subagent-journey: the agent-cards mod always opens the worker with
lich open --subagent, makes asubagent/…worktree only forisolation: "worktree"(otherwise the worker shares this checkout, like a native subagent), and tells the model the full report arrives on its own as a[lich]note. A lich without--subagentrefuses the flag and the subagent runs natively with a toast.Tests: node 268/268,
claude plugin test .17/17, validate ok. Proven live end to end with the lich branch (six checks, see the lich PR).