Skip to content

Commit f3c011b

Browse files
committed
feat: add future phase items for tool auto-activation, context disclosure, and session persistence in roadmap
1 parent 13225df commit f3c011b

File tree

1 file changed

+71
-5
lines changed

1 file changed

+71
-5
lines changed

roadmap.md

Lines changed: 71 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@
138138
-**Tool Selection Guidance**: Implementation in CLI and scripts
139139
-**Config Consolidation**: Consolidate all `.specify/config/` files into a single unified configuration file to reduce complexity and improve maintainability
140140

141+
**NOTE**: User settings like `config.json` should remain user-specific and not tracked in git. However, team governance files like `.specify/constitution.md` should be version-controlled. Consider relocating constitution.md to a more appropriate location that clearly distinguishes it from user-specific configuration.
142+
141143
#### **Persistent Issue ID Storage Enhancement** *(0% Complete)* - **HIGH PRIORITY** - Issue-tracker-first workflow improvement
142144

143145
-**Add --issue Parameter to Specify**: Implement `--issue ISSUE-ID` parameter for specify command to fetch issue data from configured tracker
@@ -166,6 +168,7 @@
166168
-**Fix Build Mode specify→implement Flow**: Implement command requires tasks.md but build mode skips plan/tasks phases
167169
-**Mode-Aware Task Validation**: Skip --require-tasks in build mode to enable lightweight specify→implement workflow
168170
-**Update implement.md Template**: Add build mode execution path that works without tasks.md
171+
-**Fix Build Mode Checking in Analyze and Clarify**: Ensure analyze and clarify commands properly check build mode before execution
169172
-**Test Build Mode Workflow**: Verify specify → implement works in build mode without tasks.md
170173

171174
#### **Async Task Context Delivery Architecture** *(0% Complete)* - **CRITICAL PRIORITY** - Makes async functionality non-functional
@@ -214,6 +217,57 @@
214217

215218
## 🆕 **FUTURE PHASE** (New Items - Not Yet Started)
216219

220+
#### **Hook-Based Tool Auto-Activation** *(0% Complete)* - **MEDIUM PRIORITY** - Extends Factor X Strategic Tooling
221+
- **Description**: Implement hook-based systems that automatically analyze user prompts and suggest relevant AI tools/agents based on project context, similar to Claude's UserPromptSubmit hooks. This reduces manual agent selection and ensures optimal tool usage.
222+
- **Key Components**:
223+
- Prompt analysis hooks that detect context patterns (file types, project structure, task types)
224+
- Automatic agent/tool suggestions based on skill-rules.json style configuration
225+
- Integration with existing agent context files for seamless activation
226+
- **Benefits**: Eliminates "which agent should I use?" friction, improves workflow efficiency
227+
- **Implementation**: Add to Factor X with hook templates and activation rules, extending the current AGENTS.md framework
228+
- **Reference**: Based on patterns from https://github.com/diet103/claude-code-infrastructure-showcase
229+
230+
#### **Progressive Context Disclosure (500-Line Rule)** *(0% Complete)* - **MEDIUM PRIORITY** - Enhances Factor II Context Scaffolding
231+
- **Description**: Implement modular context loading patterns where AI context is loaded progressively rather than all at once, preventing token limit issues while maintaining comprehensive guidance. Similar to Claude's skill architecture with main files + resource files.
232+
- **Key Components**:
233+
- Hierarchical agent context files (overview + detailed resources)
234+
- On-demand context expansion based on task complexity
235+
- Token-aware context management for different agent types
236+
- **Benefits**: Manages context limits effectively across all supported agents, provides scalable context management
237+
- **Implementation**: Extend Factor II with progressive loading patterns, building on existing update-agent-context.sh infrastructure
238+
- **Reference**: Based on patterns from https://github.com/diet103/claude-code-infrastructure-showcase
239+
240+
#### **Session Context Persistence Patterns** *(50% Complete)* - **LOW PRIORITY** - Supports Factor IX Process Documentation
241+
- **Description**: Enhance the existing dev docs patterns with auto-generation and session persistence, using structured file formats to maintain project context across AI tool sessions and prevent context resets.
242+
- **Key Components**:
243+
- Auto-generation of three-file structure (plan.md, context.md, tasks.md) from session artifacts
244+
- Session state preservation across agent interactions
245+
- Integration with existing levelup command for comprehensive session capture
246+
- **Benefits**: Reduces context loss during complex development sessions, improves handoff between different AI agents
247+
- **Implementation**: Enhance Factor IX with auto-generation templates, building on existing levelup.md and agent context patterns
248+
- **Reference**: Based on patterns from https://github.com/diet103/claude-code-infrastructure-showcase
249+
250+
#### **Agent Skill Modularization** *(0% Complete)* - **LOW PRIORITY** - Extends Factor XI Directives as Code
251+
- **Description**: Implement modular agent skill patterns where complex agent capabilities are broken into smaller, reusable skill modules that can be loaded progressively, similar to Claude's skill architecture.
252+
- **Key Components**:
253+
- Skill module templates with main + resource file structure
254+
- Agent-specific skill activation rules
255+
- Version-controlled skill libraries for different agent types
256+
- **Benefits**: Enables complex agent behaviors without hitting context limits, improves skill reusability across projects
257+
- **Implementation**: Add to Factor XI with skill templates and modular loading patterns, extending the current agent file template system
258+
- **Reference**: Based on patterns from https://github.com/diet103/claude-code-infrastructure-showcase
259+
260+
#### **Context Intelligence & Optimization** *(0% Complete)* - **HIGH PRIORITY** - Cost & Accuracy
261+
262+
-**Smart Context Windowing**: Logic to slice `spec.md` and `plan.md` based on the active User Story phase during implementation to save tokens.
263+
-**Semantic Diffs**: `specify diff` command to summarize behavioral changes in specs rather than just line-diffs.
264+
-**Directive Embeddings**: (Future) Local vector index for `team-ai-directives` to support large governance repositories without context flooding.
265+
266+
#### **Resilience & Self-Healing** *(0% Complete)* - **MEDIUM PRIORITY** - Automation robustness
267+
268+
-**Triage Escalation Protocol**: Automated promotion of failing `[ASYNC]` tasks to `[SYNC]` status in `tasks_meta.json` with user notification.
269+
-**Connection Health Checks**: Enhance `specify check` to validate API connectivity to Gateway and MCP servers, not just binary presence.
270+
217271
**Assessment**: Not currently needed. Core workflow (dual execution loop, MCP integration) should be completed first. Existing terminal interface with agent context files provides sufficient IDE support. Consider lightweight integration only after core adoption is proven.
218272

219273
### **Repository Governance Automation** *(0% Complete)* - **FUTURE ENHANCEMENT** - Enterprise governance
@@ -306,13 +360,19 @@
306360
| **Build Mode Bug Fix** | 0% | 🔄 Current Phase |
307361
| **Async Context Delivery** | 0% | 🔄 Current Phase |
308362
| **Spec Management** | 0% | 🔄 Current Phase |
363+
| **Hook-Based Tool Auto-Activation** | 0% | 🆕 Future Phase |
364+
| **Progressive Context Disclosure** | 0% | 🆕 Future Phase |
365+
| **Session Context Persistence** | 50% | 🆕 Future Phase |
366+
| **Agent Skill Modularization** | 0% | 🆕 Future Phase |
309367
| **Agent Testing Infrastructure** | 0% | 🆕 Future Phase |
310368
| **GitHub Issues Enhancement** | 0% | 🆕 Future Phase |
311369
| **Code Quality Automation** | 0% | 🆕 Future Phase |
312370
| **Advanced MCP** | 0% | 🆕 Future Phase |
313371
| **IDE Integration** | 0% | 🆕 Future Phase |
314372
| **Evaluation Suite** | 0% | 🆕 Future Phase |
315373
| **Context Engineering** | 0% | 🆕 Future Phase |
374+
| **Context Intelligence & Optimization** | 0% | 🆕 Future Phase |
375+
| **Resilience & Self-Healing** | 0% | 🆕 Future Phase |
316376

317377
**Overall Implementation Status**: ~100% Complete
318378

@@ -348,10 +408,16 @@
348408
10. **MEDIUM**: Spec management & cleanup (0% → 100%) - Workflow maintenance
349409

350410
**🆕 FUTURE PHASE (Complete After Current Phase):**
351-
9. **MEDIUM**: Agent-optimized testing infrastructure (0% → future consideration)
352-
10. **MEDIUM**: GitHub issues integration enhancement (0% → future consideration)
353-
11. **LOW**: Code quality automation (0% → future consideration)
354-
12. **LOW**: Feature-level mode configuration (0% → future consideration)
355-
13. **LOW**: IDE Integration & advanced cockpit features (0% → future consideration)
411+
9. **MEDIUM**: Hook-based tool auto-activation (0% → future consideration)
412+
10. **MEDIUM**: Progressive context disclosure (500-line rule) (0% → future consideration)
413+
11. **LOW**: Session context persistence patterns (50% → future consideration)
414+
12. **LOW**: Agent skill modularization (0% → future consideration)
415+
13. **MEDIUM**: Agent-optimized testing infrastructure (0% → future consideration)
416+
14. **MEDIUM**: GitHub issues integration enhancement (0% → future consideration)
417+
15. **LOW**: Code quality automation (0% → future consideration)
418+
16. **HIGH**: Context Intelligence & Optimization (0% → future consideration) # New addition
419+
17. **MEDIUM**: Resilience & Self-Healing (0% → future consideration) # New addition
420+
18. **LOW**: Feature-level mode configuration (0% → future consideration)
421+
19. **LOW**: IDE Integration & advanced cockpit features (0% → future consideration)
356422

357423

0 commit comments

Comments
 (0)