feat: orch up starts issue sessions in existing worktrees
orch up MANIFEST reads an issue manifest (a path, or NAME in manifest_dir, default <config>/manifests, set in <config>/config.toml) and starts one detached session per listed worktree, across repos. Each worktree brings its own machine, profile and .hx/task.md; the task text now reaches the agent. Sessions live in <state>/issues.db; orch issues shows them grouped by issue. Also: liveness checks use kill(pid, 0) instead of /proc (broken on macOS), the same branch name in two repos no longer counts as the same place, and the merge queue column ticket is renamed to issue (migrated on open). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
440b19180e
commit
20f88d88df
16 files changed
+791
-65
No files matched your search
+5
-1
@@ -134,8 +134,12 @@ impl Machine {
|
||||
v
|
||||
}
|
||||
|
||||
/// `<name>.toml` in `<repo>/.hx/machines/`, then `~/.hx/machines/`.
|
||||
/// `<name>.toml` in `<repo>/.hx/machines/`, then `~/.hx/machines/`. An absolute path to a `.toml` file (what
|
||||
/// `orch up` stores for an issue session) is loaded as it is.
|
||||
pub fn find(name: &str, repo: &Path) -> Result<Self> {
|
||||
if Path::new(name).is_absolute() && name.ends_with(".toml") {
|
||||
return Self::load(Path::new(name));
|
||||
}
|
||||
let file = format!("{name}.toml");
|
||||
let dirs = Self::dirs(repo);
|
||||
for d in &dirs {
|
||||
|
||||
Reference in new issue
Block a user