Commit Graph
117 Commits
Author SHA1 Message Date
Godopu 875740788a docs(install): clarify install pre-requisites and concrete resume command examples
- Add source repo clone pre-requisite statement in INSTALL.md section 2
- Incorporate concrete tmux new-session and update_yaml_resumed commands in INSTALL.md section 3
2026-07-12 14:52:30 +09:00
Godopu 49176b43b6 refactor(lib): hash entire session dictionary to widen YAML write-gate
- Prevent YAML<->SQLite sync drift on completed jobs (R-1 Option A)
- Hash session dict to trigger YAML rewrite on any field updates
2026-07-12 14:37:42 +09:00
Godopu 60f3af4af9 refactor(monitor): keep sessions alive on job completion, kill only on errors
- Modify reconcile.sh mutation logic to clear delegate_job_id instead of calling tmux kill-session on 'completed' events
- Retain process termination behavior on 'error' events for safety
2026-07-12 14:24:02 +09:00
Godopu 288132c7ba refactor(install): port venv bootstrap, config tools and gitignore exclusions to installer
- Port .venv creation and dependency pip install bootstrap sequence from deploy/install.sh into scripts/install_mam.sh
- Include .env.example and scripts/generate-env.sh copies under rsync target deployment
- Add .venv/ to target gitignore list to prevent virtualenv bloating
- Add empty-UUID resume safety guard in INSTALL.md
2026-07-12 14:15:04 +09:00
Godopu 382c314d5e 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>
2026-07-12 13:57:04 +09:00
Godopu 65843e0557 docs(rules): update multi-agent rules with job-centric structure pointers
- Document automated job brief path under .mam/jobs/<job_id>/brief.md
- Document automated report redirection under .mam/jobs/<job_id>/<agent-session>-reports/report-final.md
- Correct stop_session.sh report cleanup claim to reflect manual cleanup
- Clarify onboarding brief mechanism under onboarding handshake protocol
2026-07-12 13:50:30 +09:00
Godopu 6186673fb2 chore(cleanup): remove obsolete brief markdown files from reports 2026-07-12 13:30:11 +09:00
Godopu d776273ae9 Revert "chore(cleanup): remove obsolete DONE.md task tracker file"
This reverts commit e305bcb083.
2026-07-12 13:29:37 +09:00
Godopu e305bcb083 chore(cleanup): remove obsolete DONE.md task tracker file 2026-07-12 13:23:28 +09:00
Godopu e44b587c2e chore(cleanup): remove handoff.md and clean temporary test job artifacts
- Remove handoff.md as the optimization is fully merged and verified
- Clean up temporary test jobs and logs from .mam/jobs/
2026-07-12 13:19:09 +09:00
Godopu 35af8e33a2 feat(skills): implement state loader DRY (OP-5) and Job-centric directory structure
- Extract load_state_json centralized helper inside lib.sh to unify state querying
- Refactor status, resume, stop, and monitor scripts to fetch state via MAM_STATE_JSON env var to avoid stdin pipeline collisions
- Restructure delegate-job to provision .mam/jobs/<job_id>/brief.md and direct agents to it, minimizing token size and preventing TUI paste freezes
- Harden send_keys_safe submission loop with was_popup state capture and edge case guards, preventing timing spin false-positives
- Passed cross-verification approved PASS from Planner Claude session
2026-07-12 11:50:38 +09:00
Godopu 76ec0dd929 fix(skills): support automatic bypass of large-session resume warning dialogs
- Add 'Resuming the full session' and 'Resume from summary' patterns to TUI validation constants
- Update handle_startup_dialogs to automatically submit the choice on large-session warnings, preventing start/resume lockups
2026-07-12 10:27:59 +09:00
Godopu cdeea81521 docs(handoff): add session handoff file detailing remaining skill optimizations 2026-07-11 10:25:12 +09:00
Godopu b258d238cb chore(registry): mark planner, reviewer, and creator sessions as stopped 2026-07-11 10:11:49 +09:00
Godopu 7eeb4b709a perf(skills): optimize sleeps and modularize duplication with multi-agent consensus PASS
- OP-1: Implement reactive _wait_session_gone in lib.sh and stop_session.sh with set -e || true guard
- OP-2: Event-driven MQTT subscribe handshake with sub_pid liveness in delegate-job
- OP-3: Replace CPU time.sleep(0.5) spin with threading.Event wait in reconcile.sh
- OP-4: Define mam_tmux dispatcher targeting resolved _REAL_TMUX_PATH to prevent recursion
- OP-6 & OP-7: Add token variables and bash version source check in lib.sh
- Integrate approved optimization plan and PASS review reports from all agents
2026-07-11 10:08:41 +09:00
Godopu 25de01eaad fix(skills): solve set -e error propagation in create_session.sh and include final PASS reviews
- Wrap inject_instructions with safe || rc=0 under set -e to prevent premature exit
- Ensure terminal error events are published on instruction injection failure
- Update 2-reviewers final review reports with Round 3 PASS verdicts
2026-07-11 09:41:49 +09:00
Godopu da895fccd5 fix(skills): resolve blank-padding viewport bug in send_keys_safe and fix rc status leak
- Introduce _pane_tail content helper to filter blank-padded lines in tmux captures
- Apply _pane_tail to _pane_dialog_open, handle_startup_dialogs, and send_keys_safe
- Fix rc status expansion logic in create_session.sh instructions injection check
- Include 3-agent final prompt-lock verification reports
2026-07-11 09:34:25 +09:00
Godopu e613f4aedb fix(skills): evidence-based prompt delivery (send_keys_safe) to end prompt-lock (FW-W2)
- Add send_keys_safe + quiescence/dialog-detection helpers to lib.sh:
  keys are sent on pane evidence, never fixed timers; distinct exit
  codes 1-4; dialogs are never blindly Enter-ed
- inject_instructions delegates to send_keys_safe; create --submit-job
  publishes a terminal error event on delivery failure (no zombie jobs)
- wait_for_tui_ready: drop dialog-ambiguous tokens, treat open dialogs
  as not-ready, return 1 on timeout instead of proceeding
- delegate-job wrapper: replace copy-pasted raw paste/C-m block with
  lib.sh send_keys_safe (restores single source of truth)
- resume: conditional signature-gated dialog handling replaces blind
  Enter/Down/Enter; stop --graceful delivers exitkey safely, fallback
  chain unchanged
- create SKILL: passive capture-pane probe instead of stray Enter
- Mark FW-W2 resolved; add 3-agent analysis/plan reports
2026-07-11 09:24:34 +09:00
Godopu 7fc6c8c7b9 chore(docs): remove obsolete session isolation planning doc set per 3-agent audit
- Delete implementation_plan.session_isolation.md, task.session_isolation.md,
  session_isolation_handover.md, and Problem_Definition.md.
- These are completed-work planning artifacts whose outcomes are already
  fully implemented, verified, and recorded in git history.
2026-07-11 08:59:20 +09:00
Godopu 9b831932b0 chore(docs): remove obsolete root planning docs per 3-agent markdown audit
- Delete task.md / implementation_plan.md (deploy URL parameterization
  shipped in 6408f4a; checklists were stale) and
  session_isolation_discussion.md (superseded by
  implementation_plan.session_isolation.md; feature shipped and PASSed)
- Remove the two inbound links to the deleted discussion doc
- Add reviewer analysis reports and this cleanup plan under .agents/reports/
2026-07-11 08:50:30 +09:00
Godopu 1c2ce0953d refactor(installer): remove sqlite3 CLI false dependency and verify py-sqlite3 module check 2026-07-11 00:58:27 +09:00
Godopu 66fd1c4834 refactor(installer): align create example flags with tmux-server in INSTALL.md and remove flock dependency 2026-07-11 00:45:35 +09:00
Godopu d7e19feaf5 refactor(installer): resolve architectural inconsistencies, pyyaml hard check, and migrate reports to tracked paths 2026-07-11 00:41:12 +09:00
Godopu 6974e316e2 docs(review): synchronize final output details of installer rereview report 2026-07-11 00:33:56 +09:00
Godopu a7aa8a00fd feat(installer): implement MAM skills installer with complete user guide and pass reviewer reviews 2026-07-11 00:33:49 +09:00
Godopu dad99f55c6 feat(isolation): resolve idempotency bypass for late purge and verify Phase 4 integration tests 2026-07-10 23:33:57 +09:00
Godopu e75a3a40c9 docs: update task checklist and handover brief with final pass verdict 2026-07-10 23:18:54 +09:00
Godopu ac94b104c1 docs(review): commit reviewer cline pass report for session isolation 2026-07-10 23:18:40 +09:00
Godopu 4842d0f892 docs(handover): save session isolation handover brief to workspace root 2026-07-10 12:38:12 +09:00
Godopu d76e470942 docs(isolation): commit session isolation design documents and guidelines 2026-07-10 12:28:06 +09:00
Godopu 768cfe5c6d feat(isolation): implement Phase 1-3 session isolation with stop purge and resume safety 2026-07-10 12:24:35 +09:00
Godopu 35068f7a9e docs: restrict job report markdowns to agent-specific subdirectories under .mam/jobs/ 2026-07-10 09:41:01 +09:00
Godopu a0a92432b8 docs: align MULTI_AGENT_RULES.ko.md with markdown file-based collaboration protocols 2026-07-10 09:36:23 +09:00
Godopu c7ce014eac docs: enforce markdown file-based task delegation and result delivery in MULTI_AGENT_RULES.md 2026-07-10 09:34:07 +09:00
Godopu 3a9964c0e2 fix(deploy): resolve SQL timeouts, YAML drift, and orphaned tmux sessions
- lib.sh: update atomic_dump_yaml to sync with YAML on any active session status change; set reader timeouts to 60.0s
- create_session.sh: add exit trap cleanup_tmux_on_error to rollback spawned tmux sessions on initialization failures
- reconcile.sh, update_yaml_resumed.sh, status.sh, stop_session.sh: align SQLite connection timeout values to 60.0s
2026-07-10 09:21:07 +09:00
Godopu 6408f4a5ec feat(deploy): parameterize distribution URLs via MAM_*_URL env vars
- install.sh: REPO_URL and ARCHIVE_URL now use ${MAM_REPO_URL:-...} and ${MAM_ARCHIVE_URL:-...}
- update.sh: INSTALLER_URL now uses ${MAM_INSTALLER_URL:-...} with env-inheritance comment
- .env.example: add MAM_REPO_URL / MAM_ARCHIVE_URL / MAM_INSTALLER_URL section with usage notes
- deploy/README.md: add Custom Fork / Private Mirror installation examples
2026-07-09 12:05:43 +09:00
Godopu 0fa09b4d90 refactor: rename AGENT.md to MULTI_AGENT_RULES.md and consolidate INSTRUCTION.md into AGENTS.md
- .agents/AGENT.md -> .agents/MULTI_AGENT_RULES.md
- .agents/AGENT.ko.md -> .agents/MULTI_AGENT_RULES.ko.md
- INSTRUCTION.md -> AGENTS.md (root-level)
- Update create_session.sh onboarding prompt to reference new path
- All cross-references in BOOTSTRAP.md/.ko.md, README.md/.ko.md, SKILL_FEATURES.md updated
- Fix document title headers (# AGENT.md -> # MULTI_AGENT_RULES.md, # CLAUDE.md -> # AGENTS.md)
2026-07-09 12:04:25 +09:00
Godopu 2b9bb39d6f fix: add cline agent support to resolve_session_id.sh and resume documentation 2026-06-28 10:58:43 +09:00
Godopu 21a4e96052 fix: resolve correct python interpreter for injected publish_event command 2026-06-28 10:48:14 +09:00
Godopu 0c5363e469 docs: update SKILL_FEATURES.md with dynamic TUI readiness gating and onboarding automation 2026-06-28 10:44:43 +09:00
Godopu ef57749e9f feat: implement --onboard flag in multi-agent-mux-create and update AGENT.md onboarding handshake protocol 2026-06-28 10:42:23 +09:00
Godopu 6e3c866461 docs: clean up stale create_session usage instructions in comments and markdown examples 2026-06-28 10:31:58 +09:00
Godopu 7c8267240d feat: enforce required agent roles at creation and role immutability in registry 2026-06-28 10:27:36 +09:00
Godopu f457180777 refactor: adapt multi-agent-mux skills and agent guidelines for the Team Leader scenario 2026-06-28 10:21:24 +09:00
Godopu 81474ac3f7 docs: add Step 0 provisioning to BOOTSTRAP.md and update README.md with curl installer 2026-06-28 09:34:52 +09:00
Godopu dd9500a271 feat(multi-agent-mux): integrate cline agent support, fix sqlite3 naming collision, simplify delegation docs, and add SKILL_FEATURES.md 2026-06-28 09:17:11 +09:00
Godopu dfd0a9483d feat: implement loop and discuss task delegation types in multi-agent-mux-delegate-job 2026-06-27 08:28:47 +09:00
Godopu 3b8db1eca2 fix(skills): add 0.5s sleep delay after paste-buffer to prevent key collisions 2026-06-26 23:00:30 +09:00
Godopu 698ea09b27 docs: update AGENT.md references to .agents/AGENT.md 2026-06-26 21:33:26 +09:00
Godopu 57d8f6c2ff refactor: move AGENT.md and AGENT.ko.md to .agents/ directory 2026-06-26 21:28:41 +09:00