Consolidates three codebases into a single agent orchestration repo: - agentci (from go-scm): Clotho dual-run verification, agent config, SSH security (sanitisation, secure commands, token masking) - jobrunner (from go-scm): Poll-dispatch-report pipeline with 7 handlers (dispatch, completion, auto-merge, publish draft, dismiss reviews, send fix command, tick parent epic) - plugins marketplace (from agentic/plugins): 27 Claude/Codex/Gemini plugins with shared MCP server All 150+ tests passing across 6 packages. Co-Authored-By: Virgil <virgil@lethean.io>
21 lines
553 B
Bash
Executable file
21 lines
553 B
Bash
Executable file
#!/bin/bash
|
|
# Remind about verification before push
|
|
|
|
read -r input
|
|
|
|
# Check if tests were run recently (within last 5 minutes)
|
|
LAST_TEST=$(find . -name "*.test" -mmin -5 2>/dev/null | head -1)
|
|
LAST_COVERAGE=$(find . -name "coverage.*" -mmin -5 2>/dev/null | head -1)
|
|
|
|
if [ -z "$LAST_TEST" ] && [ -z "$LAST_COVERAGE" ]; then
|
|
cat << 'EOF'
|
|
{
|
|
"hookSpecificOutput": {
|
|
"hookEventName": "PreToolUse",
|
|
"additionalContext": "⚠️ No recent test run detected. Consider running `/verify:verify` before pushing."
|
|
}
|
|
}
|
|
EOF
|
|
else
|
|
echo "$input"
|
|
fi
|