refactor: rewrite parse-deps.py as pure bash, remove only Python from repo

Replace lib/parse-deps.py with lib/parse-deps.sh to keep the toolchain
all-bash. Rewrite supervisor P3b cycle detection and P3c stale dep check
as pure bash using associative arrays and DFS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
johba 2026-03-16 21:22:53 +01:00
parent 6cf580c010
commit 98f0c40106
4 changed files with 108 additions and 153 deletions

View file

@ -115,8 +115,8 @@ dep_is_merged() {
# =============================================================================
get_deps() {
local issue_body="$1"
# Shared parser: lib/parse-deps.py (single source of truth)
echo "$issue_body" | python3 "${FACTORY_ROOT}/lib/parse-deps.py"
# Shared parser: lib/parse-deps.sh (single source of truth)
echo "$issue_body" | bash "${FACTORY_ROOT}/lib/parse-deps.sh"
}
# =============================================================================