feat(engine): add hasPlanCompletedSteps and document packages - #3540
Conversation
Add the partial-progress plan DAG predicate, update the engine README export list, and link engine/miner packages from the root README. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3540 +/- ##
=======================================
Coverage 93.10% 93.10%
=======================================
Files 302 303 +1
Lines 31504 31505 +1
Branches 11504 11504
=======================================
+ Hits 29333 29334 +1
Misses 1517 1517
Partials 654 654
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 16:33:37 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.
|
Closes #2298
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 (advances the engine README export-list deliverable in docs(miner-foundation): gittensory-miner and gittensory-engine README + package docs #2298).gittensory-engineandgittensory-minerrows to the rootREADME.mdSurfaces table (remaining docs(miner-foundation): gittensory-miner and gittensory-engine README + package docs #2298 deliverable).Conflict avoidance
Touches only
packages/gittensory-engine/src/plan-completed.ts(new), one export line inindex.ts, one engine README bullet,test/unit/plan-completed.test.ts(new), and two root README table rows. No overlap with open PRs #3513, #3523, #3535, #3539.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