feat(framework): superpowers enforcement, typecheck hook, file-ownership rules
- Add PostToolUse typecheck hook (typecheck-hook.sh) that runs tsc --noEmit after TS/TSX edits for immediate type error feedback - Add Superpowers Enforcement section to AGENTS.md requiring active use of skills, hooks, MCP tools, and plugins — not just passive availability - Add self-evolution captures (framework-improvement, tooling-gap, friction) - Add file-ownership/partitioning rules to ORCHESTRATOR.md preventing parallel worker file collisions - Add settings audit to launch.ts that validates ~/.claude/settings.json has required hooks and plugins at mosaic claude launch time - Document required Claude Code settings in RUNTIME.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,16 @@
|
||||
"timeout": 60
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "Edit|MultiEdit|Write",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "~/.config/mosaic/tools/qa/typecheck-hook.sh",
|
||||
"timeout": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user