feat(engine): add isPlanTerminated plan DAG helper#3587
Conversation
Closes JSONbored#2298 Composes failed/progress-complete checks for terminal plan state. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 18:09:13 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3587 +/- ##
=======================================
Coverage 93.19% 93.19%
=======================================
Files 312 313 +1
Lines 31864 31865 +1
Branches 11661 11662 +1
=======================================
+ Hits 29695 29696 +1
Misses 1517 1517
Partials 652 652
🚀 New features to boost your workflow:
|
Summary
isPlanTerminated(plan)— returns true when any stepfailedor every step iscompleted/skippedhasPlanFailedStepsandisPlanProgressCompletehelpersCloses #2298
Test plan
npx vitest run test/unit/plan-terminated.test.ts --coverage(100% patch via diff-cover)npm run build --workspace @jsonbored/gittensory-engine && npm run build:minerMade with Cursor