Commit Graph
100 Commits
Author SHA1 Message Date
edandClaude Opus 4.6 4e2003c191 chore(gemini): Encode surgical methodology into all Gemini MMA skills
Updates three Gemini skill files to match the Claude command methodology:

mma-orchestrator/SKILL.md:
- New Section 0: Architecture Fallback with links to all 4 docs/guide_*.md
- New Surgical Spec Protocol (6-point mandatory checklist)
- New Section 5: Cross-Skill Activation for tier transitions
- Example 2 rewritten with surgical prompt (exact line refs + API calls)
- New Example 3: Track creation with audit-first workflow
- Added py_get_definition to tool usage guidance

mma-tier1-orchestrator/SKILL.md:
- Added Architecture Fallback and Surgical Spec Protocol summary
- References activate_skill mma-orchestrator for full protocol

mma-tier2-tech-lead/SKILL.md:
- Added Architecture Fallback section
- Added Surgical Delegation Protocol with WHERE/WHAT/HOW/SAFETY example

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 10:13:29 -05:00
edandClaude Opus 4.6 52a463d13f conductor: Encode surgical spec methodology into Tier 1 skills for Claude and Gemini
Distills what made this session's track specs high-quality into reusable
methodology for both Claude and Gemini Tier 1 orchestrators:

Key additions to conductor-new-track.md:
- MANDATORY Step 2: Deep Codebase Audit before writing any spec
- 'Current State Audit' section template (Already Implemented + Gaps)
- 6 rules for writing worker-ready tasks (WHERE/WHAT/HOW/SAFETY)
- Anti-patterns section (vague specs, no line refs, no audit, etc.)
- Architecture doc fallback references

Key additions to mma-tier1-orchestrator.md (Claude + Gemini):
- 'The Surgical Methodology' section with 6 protocols
- Spec template with REQUIRED sections (Current State Audit is mandatory)
- Plan template with REQUIRED task format (file:line refs + API calls)
- Root cause analysis requirement for fix tracks
- Cross-track dependency mapping requirement
- Added py_get_definition to Gemini's tool list (was missing)

The core insight: the quality gap between this session's output and previous
track specs came from (1) reading actual code before writing specs, (2) listing
what EXISTS before what's MISSING, and (3) specifying exact locations and APIs
in tasks so lesser models don't have to search or guess.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 10:08:25 -05:00
edandClaude Opus 4.6 458529fb13 chore(conductor): Add index.md to new tracks, archive completed/superseded tracks
- Add index.md to mma_pipeline_fix, simulation_hardening, context_token_viz
- Archive documentation_refresh_20260224 (superseded by 08e003a rewrite)
- Archive robust_live_simulation_verification (context distilled into
  simulation_hardening_20260301 spec)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 10:00:49 -05:00
edandClaude Opus 4.6 0d2b6049d1 conductor: Create 3 MVP tracks with surgical specs from full codebase analysis
Three new tracks identified by analyzing product.md requirements against
actual codebase state using 1M-context Opus with all architecture docs loaded:

1. mma_pipeline_fix_20260301 (P0, blocker):
   - Diagnoses why Tier 3 worker output never reaches mma_streams in GUI
   - Identifies 4 root cause candidates: positional arg ordering, asyncio.Queue
     thread-safety violation, ai_client.reset_session() side effects, token
     stats stub returning empty dict
   - 2 phases, 6 tasks with exact line references

2. simulation_hardening_20260301 (P1, depends on pipeline fix):
   - Addresses 3 documented issues from robust_live_simulation session compression
   - Mock triggers wrong approval popup, popup state desync, approval ambiguity
   - 3 phases, 9 tasks including standalone mock test suite

3. context_token_viz_20260301 (P2):
   - Builds UI for product.md primary use case #2 'Context & Memory Management'
   - Backend already complete (get_history_bleed_stats, 140 lines)
   - Token budget bar, proportion breakdown, trimming preview, cache status
   - 3 phases, 10 tasks

Execution order: pipeline_fix -> simulation_hardening -> gui_ux (parallel w/ token_viz)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 09:58:34 -05:00
edandClaude Opus 4.6 d93f650c3a conductor: Refine GUI UX track with full codebase knowledge, add doc references
Rewrites comprehensive_gui_ux_20260228 spec and plan using deep analysis of
the actual gui_2.py implementation (3078 lines). The previous spec asked to
implement features that already exist (Track Browser, DAG tree, epic planning,
approval dialogs, token table, performance monitor). The new spec:

- Documents 15 already-implemented features with exact line references
- Identifies 8 actual gaps (tier stream panels, DAG editing, cost tracking,
  conductor lifecycle forms, track-scoped discussions, approval indicators,
  track proposal editing, stream scrollability)
- Rewrites all 5 phases with surgical task descriptions referencing exact
  gui_2.py line ranges, function names, and data structures
- Each task specifies the precise imgui API calls to use
- References docs/guide_architecture.md for threading constraints
- References docs/guide_mma.md for Ticket/Track data structures

Also adds architecture documentation fallback references to:
- conductor/workflow.md (new principle #9)
- conductor/product.md (new Architecture Reference section)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 09:51:37 -05:00
edandClaude Opus 4.6 08e003a137 docs: Complete documentation rewrite at gencpp/VEFontCache reference quality
Rewrites all docs from Gemini's 330-line executive summaries to 1874 lines
of expert-level architectural reference matching the pedagogical depth of
gencpp (Parser_Algo.md, AST_Types.md) and VEFontCache-Odin (guide_architecture.md).

Changes:
- guide_architecture.md: 73 -> 542 lines. Adds inline data structures for all
  dialog classes, cross-thread communication patterns, complete action type
  catalog, provider comparison table, 4-breakpoint Anthropic cache strategy,
  Gemini server-side cache lifecycle, context refresh algorithm.
- guide_tools.md: 66 -> 385 lines. Full 26-tool inventory with parameters,
  3-layer MCP security model walkthrough, all Hook API GET/POST endpoints
  with request/response formats, ApiHookClient method reference, /api/ask
  synchronous HITL protocol, shell runner with env config.
- guide_mma.md: NEW (368 lines). Fills major documentation gap — complete
  Ticket/Track/WorkerContext data structures, DAG engine algorithms (cycle
  detection, topological sort), ConductorEngine execution loop, Tier 2 ticket
  generation, Tier 3 worker lifecycle with context amnesia, token firewalling.
- guide_simulations.md: 64 -> 377 lines. 8-stage Puppeteer simulation
  lifecycle, mock_gemini_cli.py JSON-L protocol, approval automation pattern,
  ASTParser tree-sitter vs stdlib ast comparison, VerificationLogger.
- Readme.md: Rewritten with module map, architecture summary, config examples.
- docs/Readme.md: Proper index with guide contents table and GUI panel docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-01 09:44:50 -05:00
ed bf4468f125 docs(conductor): Expert-level architectural documentation refresh 2026-03-01 09:19:48 -05:00
ed 7384df1e29 remove track fro tracks 2026-03-01 09:09:04 -05:00
ed e19b78e090 chore(conductor): Archive track 'Consolidate Temp/Test Cruft & Log Taxonomy' 2026-03-01 09:08:15 -05:00
ed cfcfd33453 docs(conductor): Synchronize docs for track 'Consolidate Temp/Test Cruft & Log Taxonomy' 2026-03-01 09:07:39 -05:00
ed bcbccf3cc4 dont use flash-lite for tier 3 2026-03-01 09:07:17 -05:00
ed cb129d06cd chore(conductor): Mark track 'Consolidate Temp/Test Cruft & Log Taxonomy' as complete 2026-03-01 09:07:04 -05:00
ed 68b9f9baee conductor(plan): Mark Phase 4 and Track as complete 2026-03-01 09:06:55 -05:00
ed 7f95ebd85e conductor(plan): Mark Phase 3 as complete [checkpoint: 61d513a] 2026-03-01 09:06:19 -05:00
ed 61d513ad08 feat(migration): Add script to consolidate legacy logs and artifacts 2026-03-01 09:06:07 -05:00
ed 32f7a13fa8 conductor(plan): Mark Phase 2 as complete [checkpoint: 6326546] 2026-03-01 09:03:15 -05:00
ed 6326546005 feat(taxonomy): Redirect logs and artifacts to dedicated sub-folders 2026-03-01 09:03:02 -05:00
ed 09bedbf4f0 conductor(plan): Mark Phase 1 as complete [checkpoint: 590293e] 2026-03-01 08:59:15 -05:00
ed 590293e3d8 conductor(plan): Mark Phase 1 as complete 2026-03-01 08:59:07 -05:00
ed fab109e31b chore(conductor): Fix .gitignore corruption and add artifact/log dirs 2026-03-01 08:58:45 -05:00
ed 27e67df4e3 prep doc track. 2026-03-01 08:57:01 -05:00
ed efaf4e98c4 chore(conductor): Add new track 'Consolidate Temp/Test Cruft & Log Taxonomy' 2026-03-01 08:49:19 -05:00
ed 26287215c5 get rid of cruft 2026-03-01 08:44:30 -05:00
ed 472966cb61 chore(conductor): Add new track 'Comprehensive Conductor & MMA GUI UX' 2026-03-01 08:43:15 -05:00
ed 332cc9da84 chore(conductor): Mark track 'Robust Live Simulation Verification' as complete 2026-03-01 08:37:23 -05:00
edandClaude Opus 4.6 da21ed543d fix(mma): Unblock visual simulation - event routing, loop passing, adapter preservation
Three independent root causes fixed:
- gui_2.py: Route mma_spawn_approval/mma_step_approval events in _process_event_queue
- multi_agent_conductor.py: Pass asyncio loop from ConductorEngine.run() through to
  thread-pool workers for thread-safe event queue access; add _queue_put helper
- ai_client.py: Preserve GeminiCliAdapter in reset_session() instead of nulling it

Test: visual_sim_mma_v2::test_mma_complete_lifecycle passes in ~8s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 08:32:31 -05:00
ed db32a874fd ignore temp workspace 2026-02-28 23:02:22 -05:00
ed 6b0823ad6c checkpoint: this is a mess... need to define stricter DSL or system for how the AI devices sims and hookup api for tests. 2026-02-28 22:50:14 -05:00
ed 2a69244f36 remove slop tracks 2026-02-28 22:40:40 -05:00
ed 397b4e6001 chore(mma): Clean up mma_exec.py and robustify visual simulation mocking 2026-02-28 22:27:17 -05:00
ed 42c42985ee chore(mma): Verify track loading in visual simulation and fix deterministic ID logic 2026-02-28 22:12:57 -05:00
ed 37df4c8003 chore(mma): Deterministic track IDs, worker spawn hooks, and improved simulation reliability 2026-02-28 22:09:18 -05:00
ed cb0e14e1c0 Fixes to mma and conductor. 2026-02-28 21:59:28 -05:00
ed ed56e56a2c chore(mma): Checkpoint progress on visual simulation and UI refresh before sub-agent delegation 2026-02-28 21:41:46 -05:00
ed d65fa79e26 chore(mma): Implement visual simulation for Epic planning and fix UI refresh 2026-02-28 21:07:46 -05:00
ed 3d861ecf08 chore(mma): Update Tier 2 model to gemini-3-flash 2026-02-28 20:54:04 -05:00
ed 5792fb3bb1 checkpoint 2026-02-28 20:53:46 -05:00
ed 53752dfc55 chore(conductor): Archive track 'python_style_refactor_20260227' 2026-02-28 20:53:35 -05:00
ed aea782bda2 conductor(plan): Mark task 'Apply review suggestions' as complete 2026-02-28 20:53:11 -05:00
ed da7a2e35c0 fix(conductor): Apply review suggestions for track 'python_style_refactor_20260227' 2026-02-28 20:53:03 -05:00
ed 998c4ff35c chore(conductor): Mark track 'AI-Optimized Python Style Refactor' as complete 2026-02-28 20:43:14 -05:00
ed 7b31ac7f81 conductor(plan): Mark Phase 6 and Track as complete 2026-02-28 20:43:06 -05:00
ed 3b96b67d69 chore(checkpoint): Phase 6 Test Suite Stabilization complete. 257/261 tests PASS. Resolved run_linear drift, formatter expectations, and Hook Server startup. 2026-02-28 20:42:54 -05:00
ed 21496ee58f test(stabilization): Implement high-signal live_gui telemetry and update plan 2026-02-28 20:36:31 -05:00
ed 5e320b2bbf test(stabilization): Align tier4_interceptor tests with Popen and integrate vlogger 2026-02-28 20:20:17 -05:00
ed dfb4fa1b26 test(stabilization): Fix ai_style_formatter test expectations and integrate vlogger 2026-02-28 20:18:54 -05:00
ed c746276090 conductor(plan): Mark Phase 6 Task 1 as complete 2026-02-28 20:18:16 -05:00
ed ece46f922c test(stabilization): Resolve run_linear API drift and implement vlogger high-signal reporting 2026-02-28 20:18:05 -05:00
ed 2a2675e386 conductor(plan): Add high-signal reporting requirements to Phase 6 2026-02-28 19:42:56 -05:00
ed 0454b94bfb conductor(plan): Add Phase 6 for Test Suite Stabilization 2026-02-28 19:40:07 -05:00
ed a339fae467 docs(conductor): Synchronize docs for track 'AI-Optimized Python Style Refactor' 2026-02-28 19:37:05 -05:00
ed e60325d819 chore(conductor): Mark track 'AI-Optimized Python Style Refactor' as complete 2026-02-28 19:36:53 -05:00
ed 8b19deeeff conductor(plan): Mark Phase 5 and Track as complete 2026-02-28 19:36:47 -05:00
ed 173ea96fb4 refactor(indentation): Apply codebase-wide 1-space ultra-compact refactor. Formatted 21 core modules and tests. 2026-02-28 19:36:38 -05:00
ed 8bfc41ddba conductor(plan): Mark formatter script task as complete 2026-02-28 19:36:21 -05:00
ed 39bbc3f31b conductor(plan): Mark Phase 4 as complete and add Phase 5 2026-02-28 19:36:01 -05:00
ed 2907eb9f93 chore(checkpoint): Phase 4 Codebase-Wide Type Hint Sweep complete. Total fixes: ~400+. Verification status: 230 pass, 16 fail (pre-existing API drift), 29 error (live_gui env). 2026-02-28 19:35:46 -05:00
ed 7a0e8e6366 refactor(tests): Add strict type hints to final batch of test files 2026-02-28 19:31:19 -05:00
ed f5e43c7987 refactor(tests): Add strict type hints to sixth batch of test files 2026-02-28 19:25:54 -05:00
ed cc806d2cc6 refactor(tests): Add strict type hints to fifth batch of test files 2026-02-28 19:24:02 -05:00
ed ee2d6f4234 refactor(tests): Add strict type hints to fourth batch of test files 2026-02-28 19:20:41 -05:00
ed e8513d563b refactor(tests): Add strict type hints to third batch of test files 2026-02-28 19:16:19 -05:00
ed 579ee8394f refactor(tests): Add strict type hints to second batch of test files 2026-02-28 19:11:23 -05:00
ed f0415a40aa refactor(tests): Add strict type hints to first batch of test files 2026-02-28 19:06:50 -05:00
ed e8833b6656 conductor(plan): Mark script and simulation tasks as complete 2026-02-28 19:00:55 -05:00
ed ec91c90c15 refactor(simulation): Add strict type hints to simulation modules 2026-02-28 19:00:36 -05:00
ed 53c2bbfa81 refactor(scripts): Add strict type hints to utility scripts 2026-02-28 18:58:53 -05:00
ed c368caf43a fk policy engine 2026-02-28 18:56:35 -05:00
ed b801e1668d conductor(plan): Mark variable-only files task as complete 2026-02-28 18:36:03 -05:00
ed 8c5a560787 refactor(ai_client): Add strict type hints to global variables 2026-02-28 18:35:54 -05:00
ed 42af2e1fa4 conductor(plan): Mark task 'Phase 4 core module type hint sweep' as complete 2026-02-28 15:14:13 -05:00
ed 46c2f9a0ca refactor(types): Phase 4 type hint sweep — core modules 2026-02-28 15:13:55 -05:00
ed ca04026db5 claude fixes 2026-02-28 15:10:13 -05:00
ed c428e4331a fix(mcp): wire run_powershell and MCP server for Windows/Scoop environment
- Add .mcp.json at project root (correct location for claude mcp add)
- Add mcp_env.toml: project-scoped PATH/env config for subprocess execution
- shell_runner.py: load mcp_env.toml, add stdin=DEVNULL to fix git hang
- mcp_server.py: call mcp_client.configure() at startup (fix ACCESS DENIED)
- conductor skill files: enforce run_powershell over Bash, tool use hierarchy
- CLAUDE.md: document Bash unreliability on Windows, run_powershell preference
2026-02-28 15:00:05 -05:00
edandClaude Opus 4.6 60396f03f8 refactor(types): auto -> None sweep across entire codebase
Applied 236 return type annotations to functions with no return values
across 100+ files (core modules, tests, scripts, simulations).
Added Phase 4 to python_style_refactor track for remaining 597 items
(untyped params, vars, and functions with return values).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:16:56 -05:00
edandClaude Opus 4.6 07f4e36016 conductor(plan): Mark Python Style Refactor track as COMPLETE
All 3 phases done:
- Phase 1: Pilot tooling [c75b926]
- Phase 2: Core refactor [db65162]
- Phase 3: Type hints + styleguide [3216e87]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:09:15 -05:00
edandClaude Opus 4.6 3216e877b3 conductor(checkpoint): Complete Phase 3 - AI-Optimized Metadata and Final Cleanup
Phase 3 verification:
- All 13 core modules pass syntax check
- 217 type annotations applied across gui_2.py and gui_legacy.py (zero remaining)
- python.md styleguide updated to AI-optimized standard
- BOM markers on 3 files are pre-existing (Phase 2), not regressions

Track: python_style_refactor_20260227 — ALL PHASES COMPLETE

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:08:36 -05:00
edandClaude Opus 4.6 602cea6c13 docs(style): update python styleguide to AI-optimized standard
Replaces Google Python Style Guide with project-specific conventions:
1-space indentation, strict type hints on all signatures/vars,
minimal blank lines, 120-char soft limit, AI-agent conventions.

Also marks type hinting task complete in plan.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:04:27 -05:00
edandClaude Opus 4.6 c816f65665 refactor(types): add strict type hints to gui_2.py and gui_legacy.py
Automated pipeline applied 217 type annotations across both UI modules:
- 158 auto -> None return types via AST single-pass
- 25 manual signatures (callbacks, factory methods, complex returns)
- 34 variable type annotations (constants, color tuples, config)

Zero untyped functions/variables remain in either file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:01:01 -05:00
edandClaude Opus 4.6 a2a1447f58 checkpoint: Claude Code integration + implement missing MCP var tools
Add Claude Code conductor commands, MCP server, MMA exec scripts,
and implement py_get_var_declaration / py_set_var_declaration which
were registered in dispatch and tool specs but had no function bodies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 10:47:42 -05:00
ed d36632c21a checkpoint: massive refactor 2026-02-28 09:06:45 -05:00
ed f2512c30e9 I hate gemini cli policy setup 2026-02-28 08:32:14 -05:00
ed db118f0a5c updates to tools and mma skills 2026-02-28 07:51:02 -05:00
ed db069abe83 meh 2026-02-28 00:25:00 -05:00
ed 196d9f12f3 hinters 2026-02-28 00:23:47 -05:00
ed 866b3f0fe7 type hint scanner 2026-02-28 00:23:35 -05:00
ed 87df32c32c getting rid of junk 2026-02-28 00:14:12 -05:00
ed c062361ef9 back to usual agents 2026-02-28 00:07:57 -05:00
ed bc261c6cbe teststests in wrong spot. 2026-02-28 00:07:45 -05:00
ed db65162bbf chore(conductor): Complete Phase 1 of AI style refactor 2026-02-27 23:52:06 -05:00
ed c75b926c45 chore(conductor): Add new track 'AI-Optimized Python Style Refactor' 2026-02-27 23:37:03 -05:00
ed 7a1fe1723b conductor(plan): Mark phase 'Phase 1: Framework Foundation' as complete 2026-02-27 23:26:55 -05:00
ed e93e2eaa40 conductor(checkpoint): Checkpoint end of Phase 1 2026-02-27 23:26:33 -05:00
ed 2a30e62621 test(sim): Setup framework for robust live sim verification 2026-02-27 23:20:42 -05:00
ed 173ffc31de fxies 2026-02-27 23:14:23 -05:00
ed 858c4c27a4 oops 2026-02-27 23:13:19 -05:00
ed 2ccb4e9813 remove track 2026-02-27 23:10:40 -05:00
ed 57d187b8bd chore(conductor): Archive track 'robust_live_simulation_verification' 2026-02-27 23:10:28 -05:00
ed c3b108e77c conductor(plan): Mark task 'Apply review suggestions' as complete 2026-02-27 23:09:55 -05:00
ed 605dfc3149 fix(conductor): Apply review suggestions for track 'robust_live_simulation_verification' 2026-02-27 23:09:37 -05:00