WIP almost done with track planning

This commit is contained in:
2026-03-06 15:00:15 -05:00
parent 2c90020682
commit 3b79f2a4e1
77 changed files with 1186 additions and 674 deletions

View File

@@ -0,0 +1,9 @@
# Native Orchestrator
**Track ID:** native_orchestrator_20260306
**Status:** Planned
**See Also:**
- [Spec](./spec.md)
- [Plan](./plan.md)

View File

@@ -0,0 +1,9 @@
{
"id": "native_orchestrator_20260306",
"name": "Native Orchestrator",
"status": "planned",
"created_at": "2026-03-06T00:00:00Z",
"updated_at": "2026-03-06T00:00:00Z",
"type": "feature",
"priority": "medium"
}

View File

@@ -1,16 +1,27 @@
# Implementation Plan: Transitioning to Native Orchestrator (native_orchestrator)
# Implementation Plan: Native Orchestrator (native_orchestrator_20260306)
## Phase 1: Research & Design
- [ ] Task: Analyze existing backend implementation
- [ ] Task: Design GUI/UX approach
- [ ] Task: Conductor - User Manual Verification
## Phase 1: Plan File Operations
- [ ] Task: Initialize MMA Environment
- [ ] Task: Implement plan.md read/write
- WHERE: src/orchestrator_pm.py or new module
- WHAT: Parse and write plan.md
- HOW: toml/tomllib for parsing
- SAFETY: Preserve formatting
## Phase 2: Implementation
- [ ] Task: Implement feature
- [ ] Task: Write tests
- [ ] Task: Conductor - User Manual Verification
## Phase 2: Metadata Management
- [ ] Task: Implement metadata.json operations
- WHERE: src/orchestrator_pm.py
- WHAT: Read/write track metadata
- HOW: json load/dump
- SAFETY: Atomic writes
## Phase 3: Verification
- [ ] Task: Run test suite
- [ ] Task: Verify coverage
- [ ] Task: Conductor - Phase Completion Verification
## Phase 3: Tier Delegation
- [ ] Task: Implement in-process delegation
- WHERE: src/multi_agent_conductor.py
- WHAT: Replace subprocess calls with direct function calls
- HOW: Import and call tier functions directly
- SAFETY: Proper error propagation
## Phase 4: Verification
- [ ] Task: Test plan operations
- [ ] Task: Conductor - Phase Verification

View File

@@ -1,27 +1,21 @@
# Track Specification: Native Orchestrator
# Track Specification: Native Orchestrator (native_orchestrator_20260306)
## Overview
Absorb mma_exec.py into core app for pure Python MMA orchestration.
Absorb mma_exec.py into core application. Manual Slop natively reads/writes plan.md, manages metadata.json, and orchestrates MMA tiers in pure Python without external CLI.
## Current State Audit
### Already Implemented
- mma_exec.py for tier delegation
- ConductorEngine in multi_agent_conductor.py
### Gaps to Fill
- External CLI dependency
- No native plan.md management
## Goals
- Read/write plan.md natively
- Manage metadata.json in Python
- Remove mma_exec.py dependency
## Architectural Constraints
- **Backward Compatibility**: Existing track files MUST remain compatible.
- **No Breaking Changes**: API and CLI interfaces MUST remain functional.
## Functional Requirements
- Plan file CRUD operations
- Metadata management
- Tier delegation in-process
- **Plan CRUD**: Native read/write of plan.md files.
- **Metadata Management**: Native management of metadata.json.
- **Tier Delegation**: In-process Tier 1-4 delegation without subprocess.
- **CLI Fallback**: Optional mma_exec.py wrapper for backward compatibility.
## Non-Functional Requirements
- Backward compatible with existing tracks
- No breaking changes to API
## Acceptance Criteria
- [ ] plan.md read/write works natively.
- [ ] metadata.json managed in Python.
- [ ] Tier delegation executes in-process.
- [ ] No external CLI required for orchestration.
- [ ] Existing tracks remain loadable.