last track

This commit is contained in:
2026-03-06 15:01:19 -05:00
parent 3b79f2a4e1
commit f5ca592046
6 changed files with 107 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# TASKS.md # TASKS.md
<!-- Quick-read pointer to active and planned conductor tracks --> <!-- Quick-read pointer to active and planned conductor tracks -->
<!-- Source of truth for task state is conductor/tracks/*/plan.md --> <!-- Source of truth for task state is conductor/tracks/*/plan.md -->
@@ -10,6 +10,11 @@
--- ---
#### 0. conductor_path_configurable_20260306
- **Status:** Planned
- **Priority:** CRITICAL
- **Goal:** Eliminate hardcoded conductor paths. Make path configurable via config.toml or CONDUCTOR_DIR env var. Allow running app to use separate directory from development tracks.
## Phase 3: Future Horizons (Tracks 1-20) ## Phase 3: Future Horizons (Tracks 1-20)
*Initialized: 2026-03-06* *Initialized: 2026-03-06*

View File

@@ -1,4 +1,17 @@
# Project Tracks # Project Tracks
This file tracks all major tracks for the project. Each track has its own detailed plan in its respective folder.
---
## Phase 0: Infrastructure (Critical)
*Must be completed before Phase 3*
0. [ ] **Track: Conductor Path Configuration**
*Link: [./tracks/conductor_path_configurable_20260306/](./tracks/conductor_path_configurable_20260306/)*
---
This file tracks all major tracks for the project. Each track has its own detailed plan in its respective folder. This file tracks all major tracks for the project. Each track has its own detailed plan in its respective folder.

View File

@@ -0,0 +1,9 @@
# Conductor Path Configuration
**Track ID:** conductor_path_configurable_20260306
**Status:** Planned
**See Also:**
- [Spec](./spec.md)
- [Plan](./plan.md)

View File

@@ -0,0 +1,9 @@
{
"id": "conductor_path_configurable_20260306",
"name": "Conductor Path Configuration",
"status": "planned",
"created_at": "2026-03-06T00:00:00Z",
"updated_at": "2026-03-06T00:00:00Z",
"type": "infrastructure",
"priority": "critical"
}

View File

@@ -0,0 +1,37 @@
# Implementation Plan: Conductor Path Configuration (conductor_path_configurable_20260306)
## Phase 1: Centralized Path Resolver
- [ ] Task: Create path resolver module
- WHERE: src/orchestrator_pm.py or new module
- WHAT: Single function to get conductor path
- HOW: Check env var, then config, then default
- SAFETY: Immutable after first call
## Phase 2: Update Modules
- [ ] Task: Update orchestrator_pm.py
- WHERE: src/orchestrator_pm.py
- WHAT: Use centralized resolver
- HOW: Import and use get_conductor_path()
- [ ] Task: Update project_manager.py
- WHERE: src/project_manager.py
- WHAT: Use centralized path
- HOW: Import from orchestrator_pm
- [ ] Task: Update app_controller.py
- WHERE: src/app_controller.py
- WHAT: Use centralized path
- HOW: Import from orchestrator_pm
## Phase 3: Config Support
- [ ] Task: Add to config.toml
- WHERE: config.toml
- WHAT: conductor_path option
- HOW: toml key
- [ ] Task: Add env var support
- WHERE: src/orchestrator_pm.py
- WHAT: CONDUCTOR_DIR env var
- HOW: os.environ.get()
## Phase 4: Verification
- [ ] Task: Test with different paths
- [ ] Task: Test default behavior
- [ ] Task: Conductor - Phase Verification

View File

@@ -0,0 +1,32 @@
# Track Specification: Conductor Path Configuration (conductor_path_configurable_20260306)
## Overview
Eliminate hardcoded paths in the application. Make the conductor directory path configurable via config.toml or environment variable, allowing the running app to use a different directory from the development tracks.
## Current State Audit
### Already Implemented
- CONDUCTOR_PATH in orchestrator_pm.py is hardcoded to Path(\"conductor\")
- project_manager.py uses Path(base_dir) / \"conductor\" / \"tracks\"
- app_controller.py hardcodes \"conductor\" and \"conductor/tracks\"
### Gaps to Fill
- No config-based path override
- No environment variable support
## Goals
- Make conductor path configurable
- Support config.toml and environment variable
- Backward compatible (default to ./conductor)
## Functional Requirements
- Config file support in config.toml
- Environment variable support (CONDUCTOR_DIR)
- Runtime path resolution
- All modules use centralized path resolver
## Acceptance Criteria
- [ ] config.toml has conductor_path option
- [ ] CONDUCTOR_DIR env var works
- [ ] Default remains ./conductor
- [ ] All modules use resolved path
- [ ] Backward compatible