Combines three repositories into a single workspace: - go-agent → pkg/orchestrator (Clotho), pkg/jobrunner, pkg/loop, cmd/ - go-agentic → pkg/lifecycle (allowance, sessions, plans, dispatch) - php-devops → repos.yaml, setup.sh, scripts/, .core/ Module path: forge.lthn.ai/core/agent All packages build, all tests pass. Co-Authored-By: Virgil <virgil@lethean.io>
23 lines
540 B
Bash
Executable file
23 lines
540 B
Bash
Executable file
#!/bin/bash
|
|
# Show CI status hint after push
|
|
|
|
read -r input
|
|
EXIT_CODE=$(echo "$input" | jq -r '.tool_response.exit_code // 0')
|
|
|
|
if [ "$EXIT_CODE" = "0" ]; then
|
|
# Check if repo has workflows
|
|
if [ -d ".github/workflows" ]; then
|
|
cat << 'EOF'
|
|
{
|
|
"hookSpecificOutput": {
|
|
"hookEventName": "PostToolUse",
|
|
"additionalContext": "Push successful. CI workflows will run shortly.\n\nRun `/ci:status` to check progress or `gh run watch` to follow live."
|
|
}
|
|
}
|
|
EOF
|
|
else
|
|
echo "$input"
|
|
fi
|
|
else
|
|
echo "$input"
|
|
fi
|