Skip to content

Commit 92080f0

Browse files
authored
Merge pull request #51 from gemini-cli-extensions/fix-checkbox-issue
fix: standardize Markdown checkbox format for tracks and plans
2 parents f6a1522 + 84634e7 commit 92080f0

4 files changed

Lines changed: 14 additions & 10 deletions

File tree

commands/conductor/newTrack.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai
9292
* Read the selected workflow file from `conductor/workflow.md`.
9393
* Generate a `plan.md` with a hierarchical list of Phases, Tasks, and Sub-tasks.
9494
* **CRITICAL:** The plan structure MUST adhere to the methodology in the workflow file (e.g., TDD tasks for "Write Tests" and "Implement").
95-
* Include status markers `[ ]` for each task/sub-task.
95+
* Include status markers `[ ]` for **EVERY** task and sub-task. The format must be:
96+
- Parent Task: `- [ ] Task: ...`
97+
- Sub-task: ` - [ ] ...`
9698
* **CRITICAL: Inject Phase Completion Tasks.** Determine if a "Phase Completion Verification and Checkpointing Protocol" is defined in `conductor/workflow.md`. If this protocol exists, then for each **Phase** that you generate in `plan.md`, you MUST append a final meta-task to that phase. The format for this meta-task is: `- [ ] Task: Conductor - User Manual Verification '<Phase Name>' (Protocol in workflow.md)`.
9799
98100
3. **User Confirmation:** Present the drafted `plan.md` to the user for review and approval.
@@ -127,13 +129,10 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai
127129
* Write the confirmed plan content to `conductor/tracks/<track_id>/plan.md`.
128130
6. **Update Tracks File:**
129131
- **Announce:** Inform the user you are updating the tracks file.
130-
- **Append Section:** Append a new section for the track to the end of `conductor/tracks.md`. The format MUST be:
132+
- **Append Section:** Append a new item to the track list in `conductor/tracks.md`. The format MUST be:
131133
```markdown
132-
133-
---
134-
135-
## [ ] Track: <Track Description>
136-
*Link: [./conductor/tracks/<track_id>/](./conductor/tracks/<track_id>/)*
134+
- [ ] **Track: <Track Description>**
135+
*Link: [./conductor/tracks/<track_id>/](./conductor/tracks/<track_id>/)*
137136
```
138137
(Replace placeholders with actual values)
139138
7. **Announce Completion:** Inform the user:

commands/conductor/revert.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ Your workflow MUST anticipate and handle common non-linear Git histories, such a
8484
8585
3. **Identify the Track Creation Commit (Track Revert Only):**
8686
* **IF** the user's intent is to revert an entire track, you MUST perform this additional step.
87-
* **Method:** Use `git log -- conductor/tracks.md` and search for the commit that first introduced the `## [ ] Track: <Track Description>` line for the target track into the tracks file.
87+
* **Method:** Use `git log -- conductor/tracks.md` and search for the commit that first introduced the track entry.
88+
* Look for lines matching either `- [ ] **Track: <Track Description>**` (new format) OR `## [ ] Track: <Track Description>` (legacy format).
8889
* Add this "track creation" commit's SHA to the list of commits to be reverted.
8990
9091
4. **Compile and Analyze Final List:**

commands/conductor/setup.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,15 +385,18 @@ CRITICAL: When determining model complexity, ALWAYS select the "flash" model, re
385385
386386
---
387387
388-
## [ ] Track: <Track Description>
389-
*Link: [./conductor/tracks/<track_id>/](./conductor/tracks/<track_id>/)*
388+
- [ ] **Track: <Track Description>**
389+
*Link: [./conductor/tracks/<track_id>/](./conductor/tracks/<track_id>/)*
390390
```
391391
3. **Generate Track Artifacts:**
392392
a. **Define Track:** The approved title is the track description.
393393
b. **Generate Track-Specific Spec & Plan:**
394394
i. Automatically generate a detailed `spec.md` for this track.
395395
ii. Automatically generate a `plan.md` for this track.
396396
- **CRITICAL:** The structure of the tasks must adhere to the principles outlined in the workflow file at `conductor/workflow.md`. For example, if the workflow specificies Test-Driven Development, each feature task must be broken down into a "Write Tests" sub-task followed by an "Implement Feature" sub-task.
397+
- **CRITICAL:** Include status markers `[ ]` for **EVERY** task and sub-task. The format must be:
398+
- Parent Task: `- [ ] Task: ...`
399+
- Sub-task: ` - [ ] ...`
397400
- **CRITICAL: Inject Phase Completion Tasks.** You MUST read the `conductor/workflow.md` file to determine if a "Phase Completion Verification and Checkpointing Protocol" is defined. If this protocol exists, then for each **Phase** that you generate in `plan.md`, you MUST append a final meta-task to that phase. The format for this meta-task is: `- [ ] Task: Conductor - User Manual Verification '<Phase Name>' (Protocol in workflow.md)`. You MUST replace `<Phase Name>` with the actual name of the phase.
398401
c. **Create Track Artifacts:**
399402
i. **Generate and Store Track ID:** Create a unique Track ID from the track description using format `shortname_YYYYMMDD` and store it. You MUST use this exact same ID for all subsequent steps for this track.

commands/conductor/status.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai
3333
### 2.1 Read Project Plan
3434
1. **Locate and Read:** Read the content of the `conductor/tracks.md` file.
3535
2. **Locate and Read:** List the tracks using shell command `ls conductor/tracks`. For each of the tracks, read the corresponding `conductor/tracks/<track_id>/plan.md` file.
36+
* **Parsing Logic:** When reading `conductor/tracks.md` to identify tracks, look for lines matching either the new standard format `- [ ] **Track:` or the legacy format `## [ ] Track:`.
3637
3738
### 2.2 Parse and Summarize Plan
3839
1. **Parse Content:**

0 commit comments

Comments
 (0)