fix: feat/formula not merged but formula templates and label docs already on main (#69)
- dev-agent.sh: add explicit guard that skips formula-labeled issues with a clear log message instead of silently producing no formula behavior - BOOTSTRAP.md: rewrite formula label entry to state it is not yet functional and that dev-agent will skip such issues until feat/formula is merged Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
56dd469687
commit
2446543545
2 changed files with 12 additions and 1 deletions
|
|
@ -383,6 +383,17 @@ fi
|
|||
|
||||
log "Issue: ${ISSUE_TITLE}"
|
||||
|
||||
# =============================================================================
|
||||
# GUARD: Reject formula-labeled issues (feat/formula not yet merged)
|
||||
# =============================================================================
|
||||
ISSUE_LABELS=$(echo "$ISSUE_JSON" | jq -r '[.labels[].name] | join(",")') || true
|
||||
if echo "$ISSUE_LABELS" | grep -qw 'formula'; then
|
||||
log "SKIP: issue #${ISSUE} has 'formula' label but formula dispatch is not yet implemented (feat/formula branch not merged)"
|
||||
notify "issue #${ISSUE} skipped — formula label requires feat/formula branch (not yet merged to main)"
|
||||
echo '{"status":"unmet_dependency","blocked_by":"formula dispatch not implemented — feat/formula branch not merged to main","suggestion":null}' > "$PREFLIGHT_RESULT"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# =============================================================================
|
||||
# PREFLIGHT: Check dependencies before doing any work
|
||||
# =============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue