Skip to content

Commit 4b29647

Browse files
ryanmacclaude
andcommitted
fix: Add critical [INIT] documentation map task to installer
The conductor-init.sh installer now creates a high-priority task for building the documentation map during setup. This addresses user feedback that the installer should create the initial discovery task that analyzes the codebase and generates the critical .conductor/documentation-map.yaml file. Changes: - Added creation of "[INIT] Build documentation map and analyze codebase" issue - Set as highest priority task that other tasks depend on - Includes comprehensive task description with objectives and success criteria - Task instructs to run generate-tasks-from-map.py after creating the map This ensures new projects get proper initialization with the documentation map that provides essential context for all subsequent AI agent tasks. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 769da76 commit 4b29647

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

conductor-init.sh

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,51 @@ if [ "$IS_UPGRADE" = false ]; then
551551
EXISTING_TASKS=$(gh issue list -l 'conductor:task' --limit 10 --json number 2>/dev/null | jq length 2>/dev/null || echo "0")
552552

553553
if [ "$EXISTING_TASKS" = "0" ]; then
554-
echo "Creating demo GitHub Issues..."
554+
echo "Creating initial tasks..."
555+
556+
# Create critical documentation map task first
557+
gh issue create \
558+
--title "[INIT] Build documentation map and analyze codebase" \
559+
--body "## Description
560+
This is the initial discovery task that analyzes the entire codebase to create a comprehensive documentation map. This map is essential for Code Conductor to understand the project structure and generate appropriate tasks.
561+
562+
## Objective
563+
Create .conductor/documentation-map.yaml with:
564+
- Complete project analysis and structure mapping
565+
- Technology stack detection and validation
566+
- List of existing vs. missing documentation
567+
- Feature implementation status
568+
- Critical paths and dependencies
569+
- Proposed tasks based on project needs
570+
571+
## Success Criteria
572+
- Documentation map created at .conductor/documentation-map.yaml
573+
- Project structure fully analyzed and documented
574+
- Technology stack properly identified
575+
- Missing documentation identified
576+
- Generate initial task proposals based on project state
577+
- Run generate-tasks-from-map.py to create follow-up tasks
578+
579+
## Process
580+
1. Analyze entire codebase structure
581+
2. Detect all technologies, frameworks, and tools
582+
3. Identify existing documentation
583+
4. Map feature implementation status
584+
5. Create comprehensive YAML documentation map
585+
6. Generate missing documentation where possible
586+
7. Propose initial tasks based on findings
587+
588+
## Priority
589+
This task has the highest priority as all other tasks depend on the documentation map for context.
590+
591+
## Files to Create/Modify
592+
- .conductor/documentation-map.yaml (create)
593+
- .conductor/README.md (update if needed)
594+
- Project documentation files (as identified)" \
595+
--label "conductor:task" \
596+
--label "effort:large" \
597+
--label "priority:high" \
598+
2>/dev/null && echo " ✅ Created critical task: [INIT] Build documentation map"
555599

556600
# Create first demo task
557601
gh issue create \

0 commit comments

Comments
 (0)