fix: prevent captains from creating parallel implementations when extending existing code#110
Merged
Merged
Conversation
When Sailing Orders describe expanding an existing feature, the Battle Plan could produce tasks that create a new parallel implementation instead of extending the existing one. The Estimate's terrain anchoring was lost during effect-to-task translation. Adds a governing principle to Step 3 requiring tasks to modify existing code rather than create replacements, and tightens the first bullet to keep each task within the scope of its parent effect.
…ending existing code Add guardrails at the execution layer where information was actually being lost — the crew briefing, battle plan template, quarterdeck checkpoint, and drifting-anchorage standing order — rather than only at the planning layer which was already working correctly.
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
Fixes a reported failure mode where Nelson creates a parallel implementation instead of extending an existing one, even when the Estimate and Battle Plan correctly identify the existing code.
User feedback
Follow-up clarification:
Root cause
The Estimate and Battle Plan correctly identified the existing feature, but the implementing captain created a new function with new (blank) env vars instead of modifying the existing one. The information was lost between the Battle Plan and captain execution — not during planning.
Changes
crew-briefing.md): Add standing order telling captains to modify existing implementations in place, not create parallel replacementsbattle-plan.md): Add "Modification targets" field so the plan specifies exact functions/env vars to modify, not just file ownershipdrifting-anchorage.md): Expand symptoms and remedy to catch parallel-implementation driftTest plan