feat(engine): add hasPlanCompletedSteps plan DAG helper - #3526
Conversation
Pure predicate for partial plan progress alongside the existing plan status helpers used by gittensory-miner plan-store. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-05 15:44:24 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 4 non-blocking
Why this is blocked
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 #3526 +/- ##
=======================================
Coverage 93.09% 93.09%
=======================================
Files 301 302 +1
Lines 31450 31451 +1
Branches 11483 11483
=======================================
+ Hits 29279 29280 +1
Misses 1517 1517
Partials 654 654
🚀 New features to boost your workflow:
|
|
Gittensory is closing this pull request on the maintainer's behalf (AI reviewers agree on a likely critical defect: The PR closes #2287, but the external brief identifies that issue as 'feat(miner-foundation): scaffold packages/gittensory-miner package skeleton' — an entirely different change; per repo policy, every PR must close or clearly link an eligible open issue that actually authorizes this work, so either link the correct issue or get a maintainer to open one scoped to adding `hasPlanCompletedSteps`.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Closes #2287
Summary
hasPlanCompletedStepsin@jsonbored/gittensory-engine— returns whether any step in a plan DAG is completed (partial-progress gating alongsideisPlanFullyCompleted).packages/gittensory-engine/README.mdunder Plan DAG status helpers.Conflict avoidance
Touches only
packages/gittensory-engine/src/plan-completed.ts(new), one export line inindex.ts, one README bullet, andtest/unit/plan-completed.test.ts(new). No overlap with open PRs #3513, #3523, #3524, #3525.Test plan
COVERAGE_NO_THRESHOLDS=1 npx vitest run test/unit/plan-completed.test.ts --coveragenpx diff-cover coverage/lcov.info --compare-branch=main --fail-under=99→ 100%npm run build --workspace @jsonbored/gittensory-engine && npm run build:minerMade with Cursor