docs(vbrief): rename deft-swarm to deft-directive-swarm with flexible vBRIEF allocation#352
Conversation
Greptile SummaryThis PR renames The previously flagged issue (premature issue closure in Phase 5) is fully resolved — the Confidence Score: 5/5Safe to merge — all changes are documentation and test updates with no logic code; the single P2 finding is a trivial import-placement style issue. All findings are P2 or lower. The blocking concern from the previous review round (premature issue closure) has been addressed with an explicit tests/content/test_skills.py — minor import placement style issue (import re inside function body at line 1188). Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
P0[Phase 0 -- Allocate
Scan vbrief/active/ for story vBRIEFs
Flexible allocation: batch small, dedicate for large] --> P1[Phase 1 -- Select
File-overlap audit]
P1 --> P2[Phase 2 -- Setup
Create worktrees + prompt files]
P2 --> P3[Phase 3 -- Launch
Detect start_agent / Warp / manual]
P3 --> P4[Phase 4 -- Monitor
Track agent checkpoints]
P4 --> P5[Phase 5 -- Review & Complete
Verify Greptile confidence > 3
Move vBRIEFs: active to completed
NO issue closure here]
P5 -->|Phase 5-6 Gate
User approval required| P6[Phase 6 -- Close
Merge cascade
Close origin issues post-merge
Update vBRIEF references
Slack announcement]
Prompt To Fix All With AIThis is a comment left during a code review.
Path: tests/content/test_skills.py
Line: 1188-1189
Comment:
**`import re` should be at module level**
`import re` is placed inside the test function body. While Python caches imports after the first call so there's no runtime penalty, PEP 8 requires all imports at the top of the file. Moving it to the module-level import block keeps the convention consistent with the rest of the file.
Place `import re` at the top of `test_skills.py` alongside the other imports, and remove this inline import.
How can I resolve this? If you propose a fix, please make it concise.Reviews (7): Last reviewed commit: "fix: update deft-swarm prose refs in def..." | Re-trigger Greptile |
… vBRIEF allocation (#317) - Rename skills/deft-swarm/ to skills/deft-directive-swarm/ and update .agents/skills/ thin pointer - Update SKILL.md frontmatter name to deft-directive-swarm - Rewrite Phase 0 from ROADMAP.md/SPECIFICATION.md analysis to vBRIEF-centric allocation: monitor scans vbrief/active/ for story-level vBRIEFs, allocates one or more per agent based on scope, complexity, and dependencies (no fixed 1:1 rule) - Add Phase 5 Complete vBRIEFs subsection: move vBRIEF from active/ to completed/ via task scope:complete, update plan.status, read references and close origin issues - Update all cross-skill references from deft-* to deft-directive-* - Remove all ROADMAP.md/SPECIFICATION.md source-of-truth references - Update prompt template to reference vbrief/active/ for task discovery - Add 2 new anti-patterns: hardcoded 1:1 allocation, completing without vBRIEF lifecycle - Update 41 test functions in tests/content/test_skills.py for new path - Add 7 new tests for #317 acceptance criteria (flexible allocation, vBRIEF completion, origin updates, frontmatter name, no old name references, no hardcoded allocation)
- Address Greptile P1: closing issues in Phase 5 (before merge) creates premature state if the merge cascade fails; moved origin update to Phase 6 Step 2 - Phase 5 Complete vBRIEFs now only handles vBRIEF lifecycle (scope:complete, status) - Phase 6 Step 2 expanded to include vBRIEF origin reference updates after merge - Updated test to match new origin update location
…ot yet renamed) - Address Greptile P1: 8 references to skills/deft-directive-review-cycle/SKILL.md pointed to a non-existent file (review-cycle rename is Story F, not yet merged) - Reverted all occurrences to skills/deft-review-cycle/SKILL.md (current live path) - Spawned agents will now correctly find the review-cycle skill on STEP 1
b1cf0ee to
75e0888
Compare
…iew-cycle + scm/github.md
…d to current path
…ft-directive-swarm
Summary
Closes #317
Rename
skills/deft-swarm/toskills/deft-directive-swarm/and update for flexible vBRIEF allocation as part of the Phase 2 vBRIEF Architecture Cutover (RFC #309, Story H).Key Changes
Skill Rename:
skills/deft-swarm/directory toskills/deft-directive-swarm/.agents/skills/thin pointer (deft-swarm -> deft-directive-swarm)deft-directive-swarmPhase 0 -- vBRIEF-centric Allocation (replaces ROADMAP.md/SPECIFICATION.md analysis):
vbrief/active/for story-level vBRIEFs instead of reading ROADMAP.md/SPECIFICATION.mdPhase 5 -- Complete vBRIEFs (new subsection):
active/tocompleted/viatask scope:completeplan.statusfield to completedreferencesand update origins (close GitHub issues with comment referencing merged PR) (RFC D11)Cross-skill References:
deft-*todeft-directive-*(review-cycle, refinement)vbrief/active/for task discoveryTests:
tests/content/test_skills.pyfor new pathChecklist
task checkpasses (1248 passed, 2 xfailed)