last track
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
# Conductor Path Configuration
|
||||
|
||||
**Track ID:** conductor_path_configurable_20260306
|
||||
|
||||
**Status:** Planned
|
||||
|
||||
**See Also:**
|
||||
- [Spec](./spec.md)
|
||||
- [Plan](./plan.md)
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user