MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / claudeSettings

Function claudeSettings

scripts/spec-init.ts:90–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 * v1 hook format is structurally similar; the same gate works.
89 */
90function claudeSettings(): string {
91 const settings = {
92 hooks: {
93 PreToolUse: [
94 {
95 matcher: "Write|Edit|MultiEdit",
96 hooks: [
97 {
98 type: "command",
99 command: "bun tools/spec-loop/hooks/gate.ts"
100 }
101 ]
102 }
103 ]
104 }
105 };
106
107 return JSON.stringify(settings, null, 2) + "\n";
108}
109
110function cursorHooks(): string {
111 const hooks = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected