Repository navigation
Fix stripped exec-bit invocation in executing-plans and fence/section parsing in task-brief - #2643
Closed
Quinnod345 wants to merge 1 commit into
Closed
Quinnod345 wants to merge 1 commit into
Quinnod345 wants to merge 1 commit into
Conversation
… parsing in task-brief
Author
4 tasks done
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.
Fixes #2642
Summary
I found these two issues during a 4-pass Ponder audit of the
subagent-driven-developmentandexecuting-plansshell helpers (full session & falsification log):task-briefandsdd-workspacevia${BASH:-bash}inexecuting-plans(#2040parity):skills/executing-plans/scripts/task-start:23andskills/executing-plans/scripts/task-done:25now invoke$sdd/task-briefand$sdd/sdd-workspacevia"${BASH:-bash}"so they survive marketplace/zipfile extractors that strip Unix+xbits, matchingtask-brief:26andreview-package:35.intaskon trailing non-Task headings and track fence delimiter length/char intask-brief:skills/subagent-driven-development/scripts/task-briefnow tracks the opening fence character (backtick or tilde) and length (3+) so a 4-backtick outer fence containing a 3-backtick block does not invertinfencefor the rest of the file.task_depth) and closesintaskwhen encountering a non-Task heading outside a fence withdepth <= task_depth(preventing trailing sections like## Self-Reviewand## Execution Handofffrom leaking into the last task's brief, while preserving deeper subheadings like### Step 1inside a task).Verification
Added regression tests to both existing test scripts and verified locally:
bash tests/claude-code/test-executing-plans-scripts.sh(all 14 assertions pass)bash tests/claude-code/test-sdd-workspace.sh(all 27 assertions pass)