Commit Graph
100 Commits
Author SHA1 Message Date
Godopu 97fb1d254b docs(layout): add 2xK layout improvement plan and multi-agent review reports
- Add Rev.2 authoritative plan detailing root causes and 2xK decision table
- Add Phase 1 & 2 review reports from Claude (planner/reviewer) and Cline (reviewer)
2026-08-26 15:10:08 +09:00
Godopu 80d2f7f068 feat(layout): implement deterministic 2xK grid engine with single decision table
- Change N=1->2 split policy from down to right to establish 2 full-height columns
- Share single decision table across GUI and headless modes
- Add _full_height_pane guard to prevent half-height column splits
- Quadruple-wire default max_columns=2 and max_rows=2 across layout.py, lib.sh, and .mam.env.example
- Update unit and integration tests to enforce deterministic 2x2 grid trajectory
2026-08-26 15:10:06 +09:00
Godopu 5ed9ec79d7 fix(resume): add grok agent support to resolve_session_id and resume_session 2026-08-26 15:10:03 +09:00
Godopu 7797b31d45 fix(create): preserve mandatory --workspace preflight check 2026-08-26 14:03:32 +09:00
Godopu b8db134f79 chore(nats): update submodule pointer for 2.14-alpine doc sync 2026-08-26 14:03:24 +09:00
Godopu 87b4501bbf feat(mux-loop): redesign role CLI flags with --creator and --planner, drop --target-agent
- Replace '--target-agent' with mandatory '--creator <session>' flag
- Add explicit rejection error for legacy '--target-agent'
- Add '--planner <session>' flag with fail-fast check when '--plan' is missing
- Implement 2-branch session validation ('is not registered' vs 'is not running')
- Update in-repo references in hooks, SKILL.md, INSTALL.md, and tests
- Add tests/test_loop_cli.py with 9 unit/contract tests
2026-08-26 14:03:20 +09:00
Godopu d56f60bbc6 docs(mux-loop): add multi-agent architecture consensus & review reports for CLI redesign 2026-08-26 14:03:16 +09:00
Godopu 80c9e37b77 fix(create): support --name alias, default workspace, and grok onboarding dispatch 2026-08-26 10:59:36 +09:00
Godopu ad8201d706 feat(agent): add Grok Build TUI adapter, runtime dispatch, and skill support 2026-08-26 10:49:34 +09:00
Godopu 926ca5452b docs: add new agent integration guide (5-step checklist and architecture blueprint) 2026-08-26 10:19:25 +09:00
Godopu 76151c76b2 docs(roadmap): add new agent types extension roadmap and peer review reports 2026-08-26 10:07:16 +09:00
Godopu f3ac68f36d feat(layout): relax MAM_MIN_PANE_COLS to 15 and remove vertical height constraints for scrollable terminal split 2026-08-26 09:44:02 +09:00
Godopu d1efce2971 chore(release): bump skills and framework version to v2.2.1 2026-08-24 15:13:46 +09:00
Godopu b72412be95 feat(layout): reduce default MAM_MIN_PANE_COLS to 40 for single workspace 2xK multi-pane tiling 2026-08-24 15:06:02 +09:00
Godopu 7ce71c96b1 chore(release): bump skills and framework version to v2.2.0 2026-08-24 13:20:44 +09:00
Godopu b859970b84 docs(skills): update SKILL.md guides for herdr workspace runtime synchronization and add unit tests 2026-08-24 13:18:45 +09:00
Godopu fc8ca88107 fix(herdr-workspace): synchronize herdr runtime workspace label on spawn and resume 2026-08-24 13:17:34 +09:00
Godopu d2cdc3f8cd fix(claude-adapter): add modern Claude Code banner tokens to ready_tokens 2026-08-24 13:02:53 +09:00
Godopu e6e70dbb21 feat(cli,registry): introduce --herdr-workspace option and decouple socket fallback chains 2026-08-24 12:50:09 +09:00
Godopu 320f036575 chore: remove unused configuration file 2026-08-24 11:32:46 +09:00
Godopu 54b458d2aa chore(release): bump framework and skills version to v2.1.0
- Bump all 8 SKILL.md frontmatter version fields to 2.1.0
- Add v2.1.0 changelog in VERSIONS.md highlighting 2xK grid layout engine (B-20), explicit --agent standardization, and --herdr-session option hardening
- Update skills version matrix in VERSIONS.md
2026-08-24 11:32:05 +09:00
Godopu d7ab69ef68 feat(create,resume,stop): verify and standardize --herdr-session option with full peer review
- Standardize --herdr-session as primary flag with --herdr-server alias across create_session.sh, resume_session.sh, update_yaml_resumed.sh, and stop_session.sh
- Guard HERDR_SESSION_NAME in create_session.sh from being overwritten by workspace slug defaults when explicitly provided
- Forward explicit --herdr-session from resume_session.sh to update_yaml_resumed.sh and force-update row metadata
- Add 5 new Tier 2 component tests covering CLI dry-run parsing, usage matching, default preservation, YAML serialization, and resume propagation
- Update multi-agent-mux-create/SKILL.md documentation
- Verified by autonomous multi-agent loop with unanimous PASS verdicts from Claude and Cline
2026-08-24 11:21:21 +09:00
Godopu f7e1513585 refactor: standardize --agent option usage, improve YAML registry fallback, and fix layout falsy-zero trap (J-1)
- In stop_session.sh and update_yaml_resumed.sh: standardize explicit --agent option and use resolve_agent_type_from_registry to read agent type from YAML/DB state rather than brittle suffix-only regex inference.
- Update multi-agent-mux-stop/SKILL.md, multi-agent-mux-resume/SKILL.md, multi-agent-mux-create/SKILL.md, and deploy/INSTALL.md to standardize passing --agent explicitly.
- Fix J-1 in layout.py: refactor _env_int(*names, default=None) to take an explicit default parameter, eliminating the falsy-zero trap so MAM_MIN_PANE_COLS=0 is respected.
- Add regression and contract tests: test_j1_env_zero_min_cols_matches_flag_zero, test_j1_env_zero_min_rows_matches_flag_zero, test_comp_stop_agent_fallback_*, test_comp_docs_stop_examples_pass_agent.
- Verified 100% UNANIMOUS PASS from Planner claude and Reviewers claude and cline.
2026-08-24 10:08:27 +09:00
Godopu 14e306be46 feat(layout,test): resolve backlog items I-2, I-3, and C-1 with unanimous peer review
- I-2: add 5.0s upper-bound execution time assertion in test_bug4_headless_unobservable_fast_path to contractually guard SKS_EMPTY_GIVEUP early-exit latency
- I-3: clean up PaneInfo.focused, wire MAM_MAX_PANE_COLS/MAM_MAX_COLS environment variables and CLI --max-cols flag
- C-1: apply max_columns growth guard to headless 0x0 layouts, mirroring GUI behavior
- Promoted Planner consensus plan Rev.2 (plan-fea5f1b2.md) and unanimous PASS reports from Reviewers Claude (report-55d1a1d9.md) and Cline (report-6f18ba0f.md)
- Verified all 333 test cases pass with exit code 0
2026-08-23 21:59:03 +09:00
Godopu 31b2d70ffe fix(lib,reconcile,test): address Claude review findings and verify 100% PASS
- lib.sh: distinguish unobservable/headless (rc=2) from unsettled panes in _pane_quiescent; restore 10s quiescence window with early giveup (SKS_EMPTY_GIVEUP)
- reconcile.sh: fix SKILLS_DIR command substitution logic (&& pwd instead of || pwd)
- tests/test_b19_headless_reconcile_fixes.py: implement mutation-proven regression tests for headless prompt bypass, slow-settling panes with persistent counters, and real reconcile.sh SKILLS_DIR evaluation
- deploy/ & IMPROVEMENTS.md: document nats submodule access notes and B-19/B-20 evolution
- Promoted Reviewer Claude's final 100% PASS report (report-119b9f57.md)
2026-08-23 20:57:38 +09:00
Godopu 6e2e9b1161 feat(layout): implement right-growth 2xK grid layout engine in lib_py.layout and refactor lib.sh (B-20) 2026-08-23 19:54:03 +09:00
Godopu 82eecfda24 fix(skills): resolve headless layout overflow, reconcile SKILLS_DIR scope, and prompt-injection fast-path gating (B-19) 2026-08-23 17:49:45 +09:00
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