Skip to content

feat: versioned project plans, portfolio control and safe handoff - #2

Merged
Ai-Eastern merged 3 commits into
mainfrom
feat/portfolio-plan-runtime
Sep 21, 2026
Merged

Ai-Eastern merged 3 commits into
mainfrom
feat/portfolio-plan-runtime

Conversation

@Ai-Eastern

@Ai-Eastern Ai-Eastern commented Sep 21, 2026 •

Copy link
Copy Markdown
Owner

Problem and behavior

The prototype stores individual runs but cannot safely carry a versioned project plan across local requirement changes, shared worker limits, or a new project-manager context. This change adds immutable plan snapshots and atomic activation, then binds phase groups to the existing direct/native/Desktop lifecycle instead of adding another executor.

  • Preserve attempts, frozen inputs and failed or uncertain dispatch evidence. Reject stale results; retire and release a prepared group only with evidence that it was never assigned or sent.
  • Add private multi-project registration, compact incremental status, versioned artifact dependencies, atomic worker reservations, bounded attempts, fair queueing, project/global pause and coordinator epochs.
  • Add checked context handoff with a separate successor configuration, preserving original packets, results and acceptance evidence. Explicit model settings are preserved without claiming they prove the service's actual model.
  • Add independent A/B/C business fixtures, frozen acceptance, offline evidence verification, installation guidance and deterministic Windows/Linux CI. Keep the bilingual README and existing LangGraph/recovery paths.

Validation

At b97491598de7953ba330d2489fee051f11094951, npm test passed: 250 tests, 249 passed, 1 local symlink-permission skip, 0 failures. The added three-project runtime case executes all four frozen business acceptance suites (17 assertions total) through the actual controller, including B's original-run handoff, A's revision, isolated snapshots, pause and capacity reduction.

The implementation commit 428292cf57202be411d485fae8049b6efba918cf also passed clean-clone npm ci, all 249 tests then present, isolated Skill installation and installed CLI help. Its Windows and Linux CI each passed 249/249 with no skips. git diff --check passed. Four independently reproduced phase/recovery regressions have red-to-green checks in test/phase-execution.test.mjs.

Final head 29c85bc40f739f663a5ad868b9af0bff89b1d2f4: pull-request CI and push CI both passed on Windows and Linux. The final pull-request run passed 250/250 tests on each OS, 0 failures and 0 skips.

Remaining acceptance

This is an implementation milestone, not a completed functional release. This delivery is explicitly limited to code, tests and this PR. Real A/B/C Desktop dispatch, fresh-context B continuation and live host evidence remain pending. Mock host observations and reference patches are explicitly fixture evidence. The 12-task comparison is a protocol only: no paid comparison runs or efficiency claims. No personal configuration was installed or changed, and experimental PR #1 is not merged.

@Ai-Eastern
Ai-Eastern merged commit 4b8911e into main Sep 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant