feed-the-machine 1.7.17 → 1.7.18

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.
@@ -92,6 +92,8 @@ python3 ~/.claude/skills/ftm/bin/brain.py --tasks --task-json
92
92
 
93
93
  Load active tasks, surface high-priority via TaskCreate. Skip if brain.py absent, tasks loaded recently (15min), or request is purely local.
94
94
 
95
+ **NEVER use TaskCreate for execution substeps.** TaskCreate is ONLY for surfacing existing ops tasks from brain.py (the user's real task board). If you're breaking a task into steps, those go in a checkbox plan — not as TaskCreate items that pollute the sidebar. The sidebar shows the user's workload, not your execution state.
96
+
95
97
  ## Playbook Lookup (MANDATORY before external system ops)
96
98
 
97
99
  **Before any external system operation, check all three knowledge sources:**
@@ -28,6 +28,16 @@ if [[ "$TOOL_NAME" == "Edit" || "$TOOL_NAME" == "Write" ]]; then
28
28
  IS_GATED=true
29
29
  fi
30
30
 
31
+ # Gate Bash commands that execute scripts or run Python/curl (not simple reads)
32
+ if [[ "$TOOL_NAME" == "Bash" ]]; then
33
+ COMMAND=$(echo "$INPUT" | jq -r '.tool_input.command // ""' 2>/dev/null)
34
+ case "$COMMAND" in
35
+ *python3*|*python*|*node*|*curl*|*"./scripts/"*|*"bash "*|*"sh "*)
36
+ IS_GATED=true
37
+ ;;
38
+ esac
39
+ fi
40
+
31
41
  # Gate mutating MCP calls (create, update, delete, send, add, remove, apply, transition)
32
42
  if [[ "$TOOL_NAME" == mcp__* ]]; then
33
43
  case "$TOOL_NAME" in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-the-machine",
3
- "version": "1.7.17",
3
+ "version": "1.7.18",
4
4
  "description": "A brain upgrade for Claude Code — 26 skills that teach it how to think before acting, remember across conversations, debug like a war room, run plans on autopilot with agent teams, and get second opinions from GPT & Gemini. Plus 15 hooks that automate the boring stuff.",
5
5
  "license": "MIT",
6
6
  "author": "kkudumu",