Repository navigation
tui: enter in :repos starts Claude on a new box every time - #1257
Merged
Merged
Conversation
Selecting a repository in :repos ran `onctl claude --repo owner/name`, which comes back to the repository's one box, claude-<name>, so a second piece of work on the same repository landed in the first one's box. Now the tui names a new box for every enter -- <name>-<word>- <word>-<id>, as generated box names go, never one of the VMs listed -- and passes it as --box, so two pieces of work never share a box. The box is kept when Claude exits (the flash names it), for :vms to pause or destroy. The "come back with" hint `onctl claude --repo` prints now carries the --box when one was given, since --repo alone would go to claude-<name>. Claude-Session: https://claude.ai/code/session_01XrkgRG7mxeo99tLWf4L7Se
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1257 +/- ##
==========================================
+ Coverage 47.78% 47.85% +0.06%
==========================================
Files 81 81
Lines 9342 9360 +18
==========================================
+ Hits 4464 4479 +15
- Misses 4878 4881 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
2 tasks done
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
enteron a repository in:reposranonctl claude --repo owner/name, which comes back to the repository's one box (claude-<name>), so a second piece of work on the same repo landed in the first one's box.enter(<name>-<word>-<word>-<id>, as generated box names go, never one of the VMs listed) and passes it as--box, so two pieces of work never share a box. The box is kept when Claude exits; the flash names it, and:vmspauses or destroys it.onctl claude --repoprints carries the--boxwhen one was given, since--repoalone would go toclaude-<name>.Test plan
go test ./...passes, including the newTestTUIRepoBoxNameand the extendedTestRepoAttachHint/TestTUIClaudeDonegolangci-lint run ./cmd/...clean🤖 Generated with Claude Code
https://claude.ai/code/session_01XrkgRG7mxeo99tLWf4L7Se