refactor(rules): resolve loop report paths colon-safety and terminology gaps

- Sanitize clean_session in loop path report-final.md Output Report Path to prevent colon characters in folders
- Reconcile automated reports path token in MULTI_AGENT_RULES.md and .ko.md from <agent-session> to <agent_name> or <clean_session_name>
This commit is contained in:
2026-07-12 13:57:04 +09:00
parent 65843e0557
commit 382c314d5e
3 changed files with 6 additions and 5 deletions
@@ -214,17 +214,18 @@ EOF
# 1-1) Provision job directory and write iteration brief.md (MAM Job Restructuring)
local job_dir="$REGISTRY_DIR/$JOB_ID"
local clean_session="${current_session#tmux:}"
if [[ "$DRY_RUN" != "1" ]]; then
mkdir -p "$job_dir"
cat <<EOF > "$job_dir/brief.md"
# 📋 Brief: Job $JOB_ID Delegation (Iteration $iteration)
- **Job ID**: $JOB_ID
- **Target Agent/Session**: $current_session
- **Role**: $current_role
- **Iteration**: $iteration
- **Output Report Path**: .mam/jobs/$JOB_ID/${current_session}-reports/report-final.md
- **Output Report Path**: .mam/jobs/$JOB_ID/${clean_session}-reports/report-final.md
## 🔎 Task Description
$current_prompt
EOF