fix: attach_command from one builder, no kill/start_command, row-less stop, one herdr name rule, registry format 2 (Issue #71) #73
No files matched your search
@@ -166,7 +166,12 @@ sys.exit(0 if cwd == root or cwd.startswith(root + os.sep) else 1)
|
|||||||
|
|
||||||
# 세션이 YAML 에 있는지 + 해당 row 의 워크스페이스 cwd 및 delegate_job_id 추출.
|
# 세션이 YAML 에 있는지 + 해당 row 의 워크스페이스 cwd 및 delegate_job_id 추출.
|
||||||
# JSON 으로 emit — cwd 에 '|' 가 들어가도 안전 (review item 7; 기존 cwd|jid 파서 대체).
|
# JSON 으로 emit — cwd 에 '|' 가 들어가도 안전 (review item 7; 기존 cwd|jid 파서 대체).
|
||||||
MAPPED_DATA=$(MAM_STATE_JSON="$(load_state_json)" SESSION_NAME="$SESSION_NAME" python3 -c "
|
# A registry that cannot be read is not "no row" (Issue #71): stop before herdr.
|
||||||
|
STATE_JSON=$(load_state_json strict) || {
|
||||||
|
echo "ERROR: cannot read $AGENT_SESSIONS_YAML, so whether '$SESSION_NAME' has a row is unknown. Nothing changed." >&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
MAPPED_DATA=$(MAM_STATE_JSON="$STATE_JSON" SESSION_NAME="$SESSION_NAME" python3 -c "
|
||||||
import sys, os, json
|
import sys, os, json
|
||||||
name = os.environ['SESSION_NAME']
|
name = os.environ['SESSION_NAME']
|
||||||
d = json.loads(os.environ.get('MAM_STATE_JSON', '{}'))
|
d = json.loads(os.environ.get('MAM_STATE_JSON', '{}'))
|
||||||
|
|||||||
@@ -433,7 +433,7 @@
|
|||||||
"class": "c",
|
"class": "c",
|
||||||
"kind": "diagram",
|
"kind": "diagram",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-stop/scripts/stop_session.sh:240-254"
|
"multi-agent-mux-stop/scripts/stop_session.sh:245-259"
|
||||||
],
|
],
|
||||||
"mismatch": null,
|
"mismatch": null,
|
||||||
"note": "state machine"
|
"note": "state machine"
|
||||||
@@ -504,8 +504,8 @@
|
|||||||
"class": "a",
|
"class": "a",
|
||||||
"evidence": [
|
"evidence": [
|
||||||
"multi-agent-mux-stop/scripts/stop_session.sh:101",
|
"multi-agent-mux-stop/scripts/stop_session.sh:101",
|
||||||
"multi-agent-mux-stop/scripts/stop_session.sh:123-188",
|
"multi-agent-mux-stop/scripts/stop_session.sh:123-193",
|
||||||
"multi-agent-mux-stop/scripts/stop_session.sh:240-244"
|
"multi-agent-mux-stop/scripts/stop_session.sh:245-249"
|
||||||
],
|
],
|
||||||
"mismatch": [
|
"mismatch": [
|
||||||
"T1: the doc offered --force-no-yaml, which no script accepts"
|
"T1: the doc offered --force-no-yaml, which no script accepts"
|
||||||
@@ -601,7 +601,7 @@
|
|||||||
"other"
|
"other"
|
||||||
],
|
],
|
||||||
"passthrough": {
|
"passthrough": {
|
||||||
"1": "multi-agent-mux-stop/scripts/stop_session.sh:379"
|
"1": "multi-agent-mux-stop/scripts/stop_session.sh:384"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"multi-agent-mux-create/scripts/create_session.sh": {
|
"multi-agent-mux-create/scripts/create_session.sh": {
|
||||||
|
|||||||
Reference in new issue
Block a user