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 @@
# Manual Skeleton Context Injection
**Track ID:** manual_skeleton_injection_20260306
**Status:** Planned
**See Also:**
- [Spec](./spec.md)
- [Plan](./plan.md)

View File

@@ -0,0 +1,9 @@
{
"id": "manual_skeleton_injection_20260306",
"name": "Manual Skeleton Context Injection",
"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,30 @@
# Implementation Plan: Manual Skeleton Context Injection (manual_skeleton_injection)
# Implementation Plan: Manual Skeleton Context Injection (manual_skeleton_injection_20260306)
## Phase 1: Research & Design
- [ ] Task: Analyze existing backend implementation
- [ ] Task: Design GUI/UX approach
- [ ] Task: Conductor - User Manual Verification
## Phase 1: File Selection UI
- [ ] Task: Initialize MMA Environment
- [ ] Task: Implement file picker
- WHERE: src/gui_2.py
- WHAT: Browse files for skeleton
- HOW: imgui.file_picker or custom
- SAFETY: Path validation
## Phase 2: Implementation
- [ ] Task: Implement feature
- [ ] Task: Write tests
- [ ] Task: Conductor - User Manual Verification
## Phase 2: Skeleton Preview
- [ ] Task: Generate preview
- WHERE: src/gui_2.py
- WHAT: Show skeleton before inject
- HOW: Call skeleton generation
- SAFETY: Handle large files
- [ ] Task: Implement inject button
- WHERE: src/gui_2.py
- WHAT: Inject into discussion
- HOW: Append to context
## Phase 3: Verification
- [ ] Task: Run test suite
- [ ] Task: Verify coverage
- [ ] Task: Conductor - Phase Completion Verification
## Phase 3: Full Read Option
- [ ] Task: Add full read toggle
- WHERE: src/gui_2.py
- WHAT: Option for full file
- HOW: Checkbox/switch
## Phase 4: Verification
- [ ] Task: Test injection flow
- [ ] Task: Conductor - Phase Verification

View File

@@ -1,26 +1,21 @@
# Track Specification: Manual Skeleton Context Injection
# Track Specification: Manual Skeleton Context Injection (manual_skeleton_injection_20260306)
## Overview
UI controls to manually flag files for skeleton injection.
Add UI controls to manually flag files for skeleton injection in discussions. Allow agent to request full file reads or specific def/class definitions on-demand.
## Current State Audit
### Already Implemented
- Auto-generated skeletons for workers
- file_cache skeleton generation
### Gaps to Fill
- No manual file selection
- No def-level control
## Goals
- File picker for skeleton injection
- Manual skeleton refresh
- Def-level granularity
## Architectural Constraints
- **Fast Generation**: Skeletons MUST generate in <500ms.
- **Non-Blocking**: Generation MUST NOT block UI.
## Functional Requirements
- File browser integration
- Skeleton regeneration trigger
- Context preview
- **File Picker**: Browse and select files for skeleton injection.
- **Skeleton Preview**: Show generated skeleton before injection.
- **Manual Trigger**: Button to manually refresh skeleton.
- **Full Read Option**: Option to inject full file content instead.
## Non-Functional Requirements
- Fast skeleton generation
## Acceptance Criteria
- [ ] File picker UI functional.
- [ ] Skeleton preview displays.
- [ ] Manual refresh button works.
- [ ] Full read option available.
- [ ] Uses existing skeleton generation.