claude-raid 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-raid",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "type": "commonjs",
5
5
  "description": "Adversarial multi-agent development system for Claude Code",
6
6
  "author": "Pedro Picardi",
@@ -128,14 +128,10 @@ while IFS= read -r line; do
128
128
  fi
129
129
  fi
130
130
 
131
- # Layer 3: Phase consistency
132
- if [ "$entry_type" = "TASK" ]; then
133
- case "${RAID_PHASE:-}" in
134
- design|implementation|review|prd|wrap-up)
135
- issues="${issues}
131
+ # Layer 3: Phase consistency — TASK entries belong in plan or wrap-up phases
132
+ if [ "$entry_type" = "TASK" ] && [ -n "${RAID_PHASE:-}" ] && [ "${RAID_PHASE}" != "plan" ] && [ "${RAID_PHASE}" != "wrap-up" ] && [ "${RAID_PHASE}" != "finishing" ]; then
133
+ issues="${issues}
136
134
  - TASK entries belong in Plan phase, not ${RAID_PHASE}."
137
- ;;
138
- esac
139
135
  fi
140
136
 
141
137
  done < "$RAID_FILE_PATH"