Commit Graph
100 Commits
Author SHA1 Message Date
Godopu f133e52863 docs(deploy): synchronize deploy/ assets with nats-docker submodule and hermes prefix defaults 2026-08-23 16:40:22 +09:00
Godopu adecff2194 docs: synchronize MESSAGING.md, IMPROVEMENTS.md, implementation_plan.md and add D-31/D-32 freshness guards 2026-08-23 16:22:10 +09:00
Godopu 916185c751 docs: archive Reviewer cline PASS report and update submodule doc links 2026-08-23 15:36:32 +09:00
Godopu 12ba30bde1 docs: move PRIVATE_SERVER.md and NATS_REPORT.md to nats-docker submodule 2026-08-23 15:11:04 +09:00
Godopu 629a67f09d feat(deploy): convert docker/ deployment assets to nats-docker submodule 2026-08-23 15:06:47 +09:00
Godopu ed96a054e1 docs(reports): archive Reviewer cline PASS verification report for refactor branch commits 2026-08-23 14:54:23 +09:00
Godopu b09d4209d8 feat(deploy): create production Docker assets in docker/ (compose, nats.conf, env template, README) with D-22~D-30 freshness guards 2026-08-23 11:18:17 +09:00
Godopu 3523b9b1ea docs(broker): establish remote Docker deployment plan for nats-server with networking/security guides and add D-15~D-21 freshness guards 2026-08-22 23:47:29 +09:00
Godopu c6b6c77ce4 feat(messaging): implement Track 0 fault tolerance (B-14, B-15) and add 10 regression guards (G-1 to G-10) 2026-08-20 12:16:40 +09:00
Godopu 4025623958 docs(broker): expand PRIVATE_SERVER.md with versatility guide and create implementation_plan.md 2026-08-20 11:59:53 +09:00
Godopu a9934ad104 docs(messaging): add NATS vs MQTT feasibility report, private broker guide, and update IMPROVEMENTS backlog
- Synthesize collaborative multi-agent architectural analysis in NATS_REPORT.md
- Establish Option C: retain MQTT client protocol while adopting nats-server as dedicated broker
- Add private server deployment and configuration guide in PRIVATE_SERVER.md
- Update IMPROVEMENTS.md with latent defect findings (B-14, B-15, B-16, O-5) and 4-track priority roadmap
- Archive durable loop planning and review reports in .agents/reports/
2026-08-20 10:58:02 +09:00
Godopu ac82f9b993 fix(mqtt): resolve B-9 by implementing lazy get_logs_dir() evaluation
- Replace import-time LOGS_DIR cwd binding with dynamic get_logs_dir() function
- Implement PEP 562 __getattr__ and __dir__ for transparent LOGS_DIR backward compatibility
- Update audit-log callers in mqtt_common.py and registry.py to use dynamic resolution
- Add 5 regression guards in tests/test_tier1_unit.py (276/276 PASS)
- Update IMPROVEMENTS.md, VERSIONS.md, registry.md, and include plan and peer review reports
2026-08-17 13:37:51 +09:00
Godopu 8cee9374b1 fix(loop): resolve B-13 by implementing runtime freeze snapshot and dual-root isolation
- Add Stage 2 runtime freeze snapshot at run_loop.sh bootstrap to prevent in-flight tooling mutations
- Implement dual-root architecture separating code execution (frozen snapshot) and workspace state (real repo)
- Ensure original argv preservation and safe cleanup of freeze directories in exit traps
- Add 5 regression guards in tests/test_o3_scoped_guard.py (271/271 PASS)
- Update IMPROVEMENTS.md, VERSIONS.md, and include peer review report
2026-08-17 11:49:37 +09:00
Godopu 40576c44ab refactor(uuid): resolve B-10 by deprecating agent_identities and removing PyYAML dependency
- Remove dead agent_identities read path and PyYAML import from workspace_uuid.py
- Defer eager PyYAML import in verify_session.py to lazy YAML fallback branch
- Simplify UUID resolution to 2-tier model (tier-1 own row ID -> tier-2 adapter scan)
- Clean up unused Drift D and ghost cache clearing in reconcile.sh and stop_session.sh
- Add 3 regression guards in tests/test_tier1_unit.py (266/266 PASS)
- Update IMPROVEMENTS.md, VERSIONS.md, and SKILL.md files
2026-08-17 10:59:03 +09:00
Godopu 7e21077ded docs: close B-5 macOS NFS detection issue, update IMPROVEMENTS.md and VERSIONS.md 2026-08-17 10:09:09 +09:00
Godopu ac97550e13 docs: add VERSIONS.md, resolve C-6 stop_session usage/comments drift, and prune LOG.md 2026-08-17 09:39:21 +09:00
Godopu 5ed39f899b fix(agents): harden shell adapter bridge and address double-check review feedback
- create_session.sh: add explicit case fallback for delegate_agent (R1)
- lib_py.agents: add spawn-spec, resume-spec, exit-key argv CLI subcommands (R2)
- resume_session.sh, stop_session.sh: replace python string interpolation with safe argv subcommands (R2)
- stop_session.sh: dynamically iterate adapter.identity_cache_fields (R3)
- verify_session.py, workspace_uuid.py: remove dead imports (R9/N4)
- tests/test_a4_adapter_contract.py: add CLI bridge subcommand, clean-env PYTHONPATH safety, and fallback contract tests (R12/N1)
- SKILL.md, docs, logs: synchronize IMPROVEMENTS.md, LOG.md, and resolve_session_id wording (R8/R10/R11)
- promote verified peer review reports for cline (e7b9812b) and claude (31730364)
2026-08-17 08:54:57 +09:00
Godopu 7708d3ade3 docs(skills): update and standardize skill versions to 2.0.0 in frontmatter
- Bump version to 2.0.0 across all 8 multi-agent-mux skills reflecting A-4 Phase 2 adapter architecture and Option B isolation deprecation.
- Standardize author (godopu), license (MIT), platforms, environments, and metadata blocks across all SKILL.md files.
2026-08-16 23:38:44 +09:00
Godopu b4821fafa8 feat(a4,c3b): complete A-4 Phase 2 agent knowledge migration & Option B isolation removal
- Option B / C-3b: Deprecate isolation.root and remove its 4 legacy consumers in lib.sh, workspace_uuid.py, verify_session.py, and stop_session.sh.
- M2~M7 Migration: Implement artifact_path, verify_artifact, purge_artifacts, spawn_spec, resume_spec, auth_ok, discover, ready_tokens, exit_key, and delegate_agent_key across BaseAgentAdapter and all 4 adapters (Claude, Agy, Hermes, Cline).
- Migrate shell duplications in lib.sh, create_session.sh, resume_session.sh, stop_session.sh, and reconcile.sh to python -m lib_py.agents facts.
- Hardening & Corrections: Fix Cline resume_spec flag to '-i --id', apply shlex.quote across all facts variables with MAM_ prefix, add safe fallback in wait_for_tui_ready.
- Add comprehensive contract tests in tests/test_a4_adapter_contract.py and sync IMPROVEMENTS.md / LOG.md.
- Verified: 100% PASS across unit, component, contract, and integration tests.
2026-08-16 23:15:24 +09:00
Godopu 971f14ad3f fix(cleanup): remove empty isolation stubs and dead symbols (P2-2 / C-3a / C-4) 2026-08-16 10:26:36 +09:00
Godopu 5e519e2085 docs(improvements): synchronize header counts and roadmap table with completed P2-1 task 2026-08-16 09:20:32 +09:00
Godopu a875b137b6 docs(reports): archive P2-1 verification and backlog audit review report (Job 143de35c) 2026-08-15 19:45:45 +09:00
Godopu 5ddc0df523 docs(reports): archive unanimous PASS review report for P2-1 fix (Job 120ffb08) 2026-08-15 10:57:11 +09:00
Godopu b490713471 fix(loop): eliminate tmp script copy and trap leak in delegate_job_safe (P2-1/B-6) 2026-08-15 10:46:39 +09:00
Godopu af3dc1600c docs(improvements): document Herdr 0.8.0 SHA-1 sanitize, mock alignment and 256/256 review PASS 2026-08-15 10:06:34 +09:00
Godopu 14b9de14fc fix(herdr): ensure unique agent name via sha1 truncation and align mock errors
- Replace legacy s[:16]-s[-15:] truncation with 8-char SHA-1 hash suffix in sanitize.py and lib.sh to prevent workspace name collisions
- Align mock Herdr error messages in tests/conftest.py to real Herdr 0.8.0 output format
- Add missing required/invalid_agent_name to early abort regex in lib.sh
- Remove legacy heuristics in lib.sh has-session and unify mock agent lookups
- Add unit tests in tests/test_sanitize_and_mock_errors.py (256/256 passed)
2026-08-15 09:00:48 +09:00
Godopu 301ff5bb1f feat(herdr): complete Herdr 0.8.0 adaptation and sanitize module 2026-08-14 23:09:08 +09:00
Godopu 1c24732be0 fix(lib): expose _sanitize_herdr_agent_name at top-level and handle agent prompt in herdr shim 2026-08-14 10:58:11 +09:00
Godopu 6699159c76 fix(lib): strip leading agent binary path unconditionally before herdr agent start 2026-08-14 10:52:43 +09:00
Godopu 50d12a1bf3 fix(status): make is_alive matching flexible for 32-char session name truncation 2026-08-14 10:49:48 +09:00
Godopu a7f3fc3242 fix(herdr): support Herdr 0.8.0 pane allocation, agent prompt, and length limits 2026-08-14 10:49:29 +09:00
Godopu 720f8ad224 fix(lib): resolve B-8 send_keys_safe agy verification bypass and add submission retry test 2026-08-14 09:35:17 +09:00
Godopu f8bfa07fac docs(reports): save deployment verification PASS report 16bdc99c 2026-08-14 09:12:56 +09:00
Godopu caffd04f36 feat(lib): implement A-4 M0~M1 BaseAgentAdapter pattern and resolve_home contract 2026-08-14 08:44:36 +09:00
Godopu e10db8966e refactor(lib): extract large inline python blocks to lib_py package and optimize abstraction layer 2026-08-13 22:57:11 +09:00
Godopu 29f3a338ce docs(reports): save final reviewer PASS report 07439221 2026-08-13 21:00:44 +09:00
Godopu 657a749f43 fix(lib): finalize herdr 0.7.4 contract refactor and layout policy 2026-08-13 20:50:03 +09:00
Godopu 2bd59fce9b fix(lib): prevent set -u unbound variable error for final_cmd in kind detection and harden test fixtures 2026-08-13 09:36:07 +09:00
Godopu db6b064b62 fix(lib): restore env_flags and final_cmd initialization before kind detection in herdr new-session shim 2026-08-13 09:09:55 +09:00
Godopu b0c2c08519 fix(lib): strip duplicate binary path in final_cmd to fix Go flag parsing and add dual herdr agent start syntax fallback 2026-08-13 09:04:42 +09:00
Godopu 20e2e9bd2d fix(lib): resolve workspace CWD mismatch in herdr new-session shim and enforce target workspace slug priority 2026-08-13 08:37:51 +09:00
Godopu da92624273 docs(deploy): add --remove offboarding command to INSTALL.md and save review report 2026-08-12 14:37:50 +09:00
Godopu f9b51b3ab3 docs(deploy): add multi-agent-mux-orc-onboard section to INSTALL.md 2026-08-12 14:22:15 +09:00
Godopu 16c6a7d49f docs(log): update session table status to stopped 2026-08-12 13:11:27 +09:00
Godopu 6be1b6aecb feat(skill): implement multi-agent-mux-orc-onboard skill and orchestrator_uuids exclusion gate (40/40 PASS) 2026-08-12 12:49:33 +09:00
Godopu 1e1ab8ce06 docs(log): update session table status to running 2026-08-12 09:03:49 +09:00
Godopu c4099a5ce8 docs(log): update session table status to stopped 2026-08-11 12:46:00 +09:00
Godopu c7df7ffd68 fix(loop): resolve O-2 atomic race-free lock and marker ownership release guard (22/22 PASS) 2026-08-11 12:30:16 +09:00
Godopu f8084cd927 fix(loop): resolve P0-1 (B-7) git diff CWD isolation and untracked file capture (20/20 PASS) 2026-08-11 09:39:57 +09:00
Godopu 64cde54e89 docs(log): update session table to running on refactor branch 2026-08-11 08:52:31 +09:00
Godopu 5293053164 docs(log): update session table to stopped at end of work session 2026-08-09 20:24:06 +09:00
Godopu 7c35e36fb3 docs(improvements): deprioritize A-2 to P5-1 per user instruction 2026-08-09 20:20:50 +09:00
Godopu 4d1c381033 docs(improvements): prioritize and record execution roadmap Section 6 (100% PASS) 2026-08-09 19:55:25 +09:00
Godopu 29f0be5296 docs(improvements): record O-4 Python Abstract Agent Adapter architecture proposal (100% PASS) 2026-08-09 19:17:34 +09:00
Godopu 245abe62c8 feat(create/monitor): implement automatic UUID materialization, auto-pinning, and drift-C2 resolution (13/13 PASS) 2026-08-09 10:24:32 +09:00
Godopu 9df0fc36f3 docs(log): update session table to reflect stopped agent sessions 2026-08-08 23:43:35 +09:00
Godopu fbf275a8bc fix(b4): restore dynamic POSIX timestamp in herdr ls shim and reconcile.sh (100% PASS) 2026-08-08 23:36:50 +09:00
Godopu e38b3e07b8 docs(log): update session table to reflect running agent sessions 2026-08-08 22:07:59 +09:00
Godopu 6171664121 docs(log): update LOG.md with session close state and latest task accomplishments 2026-08-08 00:22:28 +09:00
Godopu cf51b2ce13 refactor(tests): remove redundant and stale legacy test suites for faster execution 2026-08-08 00:21:42 +09:00
Godopu 399242dac5 feat(deploy): implement lib_ownership, registry merge, and deployment test suite 2026-08-07 23:48:49 +09:00
Godopu cc11a02784 feat(deploy): update deploy scripts with framework ownership and registry merge (Job 1567c88e) 2026-08-07 23:48:47 +09:00
Godopu 68f43349be fix(e2e): finalize sqlite concurrency locking, mock_herdr atomic state, and e2e test suite (100% PASS) 2026-08-07 22:39:23 +09:00
Godopu ab00be4ad2 chore(mam): update LOG.md with resumed agent sessions status 2026-08-07 14:20:35 +09:00
Godopu c1e802f1ae chore(mam): stop agent sessions and record stopped status in LOG.md 2026-08-07 13:22:41 +09:00
Godopu fa4e1be8e0 docs(log): add LOG.md summary for session tracking and seamless task resumption 2026-08-07 13:21:17 +09:00
Godopu 2fc0f588f6 fix(lib): export HOME_DIR, CLAUDE_PROJECT_DIR, and LOCAL_BIN in lib.sh for proper child environment inheritance 2026-08-07 12:43:06 +09:00
Godopu 55fc7396e2 fix(lib): use symlink-safe realpath comparison for workspace cwd matching in find_workspace_uuid 2026-08-07 12:19:45 +09:00
Godopu 778b22b904 fix(test): add list-panes support to mock_herdr and fix environment overrides in tier3 integration tests 2026-08-07 11:40:09 +09:00
Godopu 7e16d656a1 test(integration): refine test_integration_create_options_combination to test herdr spawn without wrapper 2026-08-07 11:27:01 +09:00
Godopu 36d0178f01 fix(reconcile): use t.get('created', 0) fallback for safe session creation timestamp resolution 2026-08-07 11:20:40 +09:00
Godopu 9f266e6bd6 test(integration): update test_tier3_integration to align with global config-home convention 2026-08-07 11:01:33 +09:00
Godopu 1658af41e7 test(sanity): update test_sanity assertions to align with removed config-home isolation 2026-08-07 10:31:57 +09:00
Godopu 1f8622e077 feat(o3): implement Invocation-Aware Scoped Guard for orchestrator role scoping (100% PASS) 2026-08-07 10:09:14 +09:00
Godopu 5ab76874e4 fix(c2): remove unused .cache directory creation and clean up state dead code (100% PASS) 2026-08-07 09:01:44 +09:00
Godopu 3530e8b65a fix(a3): resolve shift buffer race condition with call-unique tokens, atomic write, and automatic GC (100% PASS) 2026-08-06 23:52:57 +09:00
Godopu 0f6dd8ba8b fix(b3): eliminate command -v herdr bash function false positive in preflight checks (100% PASS) 2026-08-06 21:59:58 +09:00
Godopu cdeb9e2c8f feat(o1): implement reviewer feedback rebuttal and re-adjudication protocol (100% PASS) 2026-08-06 09:21:28 +09:00
Godopu 2d5e20a6aa docs(c1): purge all 29 legacy Kanban references from SKILL.md and documentation (100% PASS) 2026-08-06 08:03:15 +09:00
Godopu 924e77e8b8 feat(b1): fix find_workspace_uuid tier-3 identity lookup and add test_b1_tier3_identity.py (100% PASS) 2026-08-05 23:55:21 +09:00
Godopu b6c41e6486 docs(skills): update SKILL.md documentation to reflect HERDR_SESSION_NAME native naming 2026-08-05 10:23:49 +09:00
Godopu 0fe3b9932c fix(refactor): remove tracked tmp file, add *.tmp to gitignore, fix herdr_session lookup in reconcile.sh MQTT handler 2026-08-05 10:13:46 +09:00
Godopu ddd43ecbea fix(refactor): address reviewer findings R-1..R-8, achieve 31/31 test pass 2026-08-05 10:08:59 +09:00
Godopu 8dcb2b2d9e docs(env): replace legacy TMUX_SERVER_NAME with HERDR_SESSION_NAME in .mam.env.example 2026-08-05 09:33:39 +09:00
Godopu 51dcf56c80 feat(scope): implement workspace-scoped session isolation (A-1) and native Herdr session naming (A-5) 2026-08-05 09:31:57 +09:00
Godopu 793a221587 docs: add herdr-server to herdr-session transition task (A-5) to IMPROVEMENTS.md 2026-08-05 09:26:16 +09:00
Godopu addcabf7d3 docs: rename OPTIMIZATION.md to IMPROVEMENTS.md 2026-08-05 09:25:42 +09:00
Godopu aac2960586 docs: consolidate CODEBASE_REVIEW_REPORT.md into OPTIMIZATION.md 2026-08-05 09:24:22 +09:00
Godopu 01c8e60b2f docs: remove resolved issues from OPTIMIZATION.md 2026-08-05 09:13:54 +09:00
Godopu d6b7b97892 docs: update CODEBASE_REVIEW_REPORT.md to exclude resolved defects 2026-08-05 09:11:41 +09:00
Godopu ea36e81624 fix(skills): resolve session resolution, add cancelled event status, and scope mqtt topic 2026-08-05 09:11:35 +09:00
Godopu 68eff79810 feat(deploy): install update/remove scripts into .mam_deploy/ and refine markdown staging 2026-08-04 22:17:59 +09:00
Godopu 2ff8b2c4a9 docs: document .mam.env config file, legacy migration path, and save loop reports 2026-08-04 21:43:00 +09:00
Godopu 7d54fd8104 test: cover .mam.env migration, shadowing, ownership and uninstall preservation 2026-08-04 21:42:58 +09:00
Godopu 40a1c0faa9 fix(deploy): pre-capture env ownership and keep backup/restore symmetric 2026-08-04 21:42:56 +09:00
Godopu 443f381092 fix(deploy): back up MAM-owned env under --force and restrict deletion to --purge-env 2026-08-04 21:42:55 +09:00
Godopu c38c05c1f3 feat(deploy): add shadowing guard and evidence-based legacy env migration 2026-08-04 21:42:53 +09:00
Godopu a832ba75d3 feat(deploy): target .mam.env and add --migrate-legacy flag 2026-08-04 21:42:51 +09:00
Godopu 62dcbb1361 fix(config): resolve wrapper env from repo root and warn on deprecated .env 2026-08-04 21:42:49 +09:00
Godopu 2458995e75 fix(config): resolve dotenv via workspace marker and prefer .mam.env over legacy .env 2026-08-04 21:42:45 +09:00