worktree_prepare.sh 가 creator 를 기본으로 onboarding, create --no-onboard 가 ID 후발견 에이전트에 경고 (Issue #68) #79
No files matched your search
@@ -11,7 +11,7 @@
|
|||||||
"kind": "example",
|
"kind": "example",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:99",
|
"multi-agent-mux-create/scripts/create_session.sh:99",
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:360"
|
"multi-agent-mux-create/scripts/create_session.sh:364"
|
||||||
],
|
],
|
||||||
"mismatch": null,
|
"mismatch": null,
|
||||||
"note": "HERDR_SESSION_NAME environment example"
|
"note": "HERDR_SESSION_NAME environment example"
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"class": "c",
|
"class": "c",
|
||||||
"kind": "example",
|
"kind": "example",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:518-545"
|
"multi-agent-mux-create/scripts/create_session.sh:522-549"
|
||||||
],
|
],
|
||||||
"mismatch": null,
|
"mismatch": null,
|
||||||
"note": "Output format: the row create_session.sh writes"
|
"note": "Output format: the row create_session.sh writes"
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
"kind": "invocation",
|
"kind": "invocation",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-create/scripts/worktree_prepare.sh:24",
|
"multi-agent-mux-create/scripts/worktree_prepare.sh:24",
|
||||||
"multi-agent-mux-create/scripts/worktree_prepare.sh:250"
|
"multi-agent-mux-create/scripts/worktree_prepare.sh:251"
|
||||||
],
|
],
|
||||||
"mismatch": null,
|
"mismatch": null,
|
||||||
"note": "worktree_prepare.sh call"
|
"note": "worktree_prepare.sh call"
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
"kind": "invocation",
|
"kind": "invocation",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"lib_py/loop/runner.py:155",
|
"lib_py/loop/runner.py:155",
|
||||||
"multi-agent-mux-create/scripts/worktree_prepare.sh:250"
|
"multi-agent-mux-create/scripts/worktree_prepare.sh:251"
|
||||||
],
|
],
|
||||||
"mismatch": null,
|
"mismatch": null,
|
||||||
"note": "--worktree/--base --review-only call pattern"
|
"note": "--worktree/--base --review-only call pattern"
|
||||||
@@ -560,9 +560,9 @@
|
|||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:166-168",
|
"multi-agent-mux-create/scripts/create_session.sh:166-168",
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:207",
|
"multi-agent-mux-create/scripts/create_session.sh:207",
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:259-274",
|
"multi-agent-mux-create/scripts/create_session.sh:263-278",
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:365-402",
|
"multi-agent-mux-create/scripts/create_session.sh:369-406",
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:414-416"
|
"multi-agent-mux-create/scripts/create_session.sh:418-420"
|
||||||
],
|
],
|
||||||
"mismatch": [
|
"mismatch": [
|
||||||
"C1: an existing session is exit 1 in the doc, exit 3 in the script",
|
"C1: an existing session is exit 1 in the doc, exit 3 in the script",
|
||||||
@@ -582,7 +582,7 @@
|
|||||||
"base_sha": "f71be0f26fb8",
|
"base_sha": "f71be0f26fb8",
|
||||||
"class": "a",
|
"class": "a",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-create/scripts/create_session.sh:490-608"
|
"multi-agent-mux-create/scripts/create_session.sh:494-612"
|
||||||
],
|
],
|
||||||
"mismatch": [],
|
"mismatch": [],
|
||||||
"replacement": "bash .agents/skills/multi-agent-mux-create/scripts/create_session.sh --workspace <path> --agent <agent> --role <role>",
|
"replacement": "bash .agents/skills/multi-agent-mux-create/scripts/create_session.sh --workspace <path> --agent <agent> --role <role>",
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ def _sibling(main: Path, state_file):
|
|||||||
before = _rows(main)
|
before = _rows(main)
|
||||||
since = len(_raw_calls(state_file))
|
since = len(_raw_calls(state_file))
|
||||||
wt = _wt(main)
|
wt = _wt(main)
|
||||||
res = _prepare(main, wt, "--creator-agent", "claude", "--herdr-session", HS)
|
res = _prepare(main, wt, "--creator-agent", "claude", "--herdr-session", HS, "--no-onboard")
|
||||||
assert res.returncode == 0, res.stdout + res.stderr
|
assert res.returncode == 0, res.stdout + res.stderr
|
||||||
return wt, since, before
|
return wt, since, before
|
||||||
|
|
||||||
@@ -204,7 +204,7 @@ def test_a5b_a_stale_last_round_is_not_accepted(wt_repo, monkeypatch, tmp_path,
|
|||||||
def test_a6_row_recovery_and_resume_only_at_the_original_cwd(ctl, mock_herdr, mock_agents):
|
def test_a6_row_recovery_and_resume_only_at_the_original_cwd(ctl, mock_herdr, mock_agents):
|
||||||
main = ctl
|
main = ctl
|
||||||
wt = _wt(main)
|
wt = _wt(main)
|
||||||
res = _prepare(main, wt, "--creator-agent", "claude")
|
res = _prepare(main, wt, "--creator-agent", "claude", "--no-onboard")
|
||||||
assert res.returncode == 0, res.stdout + res.stderr
|
assert res.returncode == 0, res.stdout + res.stderr
|
||||||
(row,) = _rows(main)
|
(row,) = _rows(main)
|
||||||
name, binding = row["name"], row["control_plane"]
|
name, binding = row["name"], row["control_plane"]
|
||||||
|
|||||||
@@ -245,4 +245,3 @@ def test_prepare_no_onboard_sends_none(ctl, mock_herdr, mock_agents):
|
|||||||
assert rec.get("agent_session") != f"herdr:{row['name']}", rec
|
assert rec.get("agent_session") != f"herdr:{row['name']}", rec
|
||||||
finally:
|
finally:
|
||||||
subprocess.run(["git", "worktree", "remove", "--force", str(wt)], cwd=str(main), capture_output=True)
|
subprocess.run(["git", "worktree", "remove", "--force", str(wt)], cwd=str(main), capture_output=True)
|
||||||
|
|
||||||
Reference in new issue
Block a user