fix: Create documentation map task during upgrades when missing#74
Merged
fix: Create documentation map task during upgrades when missing#74
Conversation
The installer now checks during upgrades if the critical [INIT] documentation map task exists, and creates it if missing. This ensures existing projects that were set up before PR #73 will get the documentation map task when they upgrade. Changes: - Added Step 6.5 to check for documentation map task during upgrades - Only creates the task if it doesn't exist AND no map file exists - Provides appropriate feedback for all scenarios - Maintains backward compatibility with existing installations This addresses the issue where upgrading Code Conductor doesn't create the documentation map task that was added in PR #73 for fresh installations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR extends the fix from PR #73 to also create the critical
[INIT] Build documentation maptask during Code Conductor upgrades, not just fresh installations.Problem
PR #73 added automatic creation of the documentation map task, but only for fresh installations. When users upgrade existing Code Conductor installations, they don't get this critical task, leaving their projects without the essential documentation map that provides context for all AI agent work.
Solution
Added a new Step 6.5 in the installer that:
IS_UPGRADE=true)Test Plan
bash -nRelated Issues
🤖 Generated with Claude Code