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
534 B
Bash
Executable file
23 lines
534 B
Bash
Executable file
#!/bin/bash
|
|
# Auto-approve all permission requests during /core:yes mode
|
|
#
|
|
# PermissionRequest hook that returns allow decision for all tools.
|
|
# Used by the /core:yes skill for autonomous task completion.
|
|
|
|
read -r input
|
|
TOOL=$(echo "$input" | jq -r '.tool_name // empty')
|
|
|
|
# Log what we're approving (visible in terminal)
|
|
echo "[yes-mode] Auto-approving: $TOOL" >&2
|
|
|
|
# Return allow decision
|
|
cat << 'EOF'
|
|
{
|
|
"hookSpecificOutput": {
|
|
"hookEventName": "PermissionRequest",
|
|
"decision": {
|
|
"behavior": "allow"
|
|
}
|
|
}
|
|
}
|
|
EOF
|