OverviewFilesCommitsIssuesDocsReleasesPeers

hypercore-kb / .claude / settings.json

87 lines · json ref:
{
  "enabledPlugins": {
    "superpowers@claude-plugins-official": true
  },
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/reset-session.js"
          },
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/realtime-score.js reset"
          },
          {
            "type": "command",
            "command": "rm -f /tmp/claude-briefing-delivered.flag"
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/loop-briefing.js"
          },
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/loop-intervention.js"
          },
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/detect-correction.js",
            "async": true
          },
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/realtime-score.js prompt",
            "async": true
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/realtime-score.js tool",
            "async": true
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/realtime-score.js stop"
          },
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/pipeline.js",
            "async": true
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "node /storage/projects/code/hypercore-kb/knowledge-ratchet/preflight-review.js"
          }
        ]
      }
    ]
  }
}