refactor(core): delete leftover src/lifecycle barrel - #727
Merged
Conversation
13 tasks
Retarget remaining CLI/services/idempotency and test imports onto Core-internal lifecycle modules, then remove the leftover non-SDK barrel.
Record local validation, test, and draft PR delivery for the leftover barrel deletion.
cursor
Bot
force-pushed
the
cursor/lifecycle-barrel-l4-b27c
branch
from
September 7, 2026 05:58
da7068b to
e071a32
Compare
Drswith
marked this pull request as ready for review
September 7, 2026 06:04
13 tasks
Drswith
added a commit
that referenced
this pull request
Sep 7, 2026
Sync accepted L4 leftover-barrel deltas into living specs after #727, and drop the completed change from the working tree without committing the generated archive directory. Co-authored-by: Cursor Agent <cursoragent@cursor.com>
26 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
L4 lifecycle internalization: retarget remaining callers from the leftover
src/lifecyclebarrel onto Core-internal modules, then deletesrc/lifecycle/. This is an independent OpenSpec change (lifecycle-barrel-core-internal-l4) after L3 (#724). It does not expand the published SDK and does not addsrc/core/lifecycle/index.ts.Delete list
src/lifecycle/index.tssrc/lifecycle/Not deleted:
src/core/lifecycle/*.ts(model, binding, evidence, observation, planner, execution, postcondition).test/lifecycle/stays; those files test Core-internal modules.Remaining caller retarget
src/services/lifecycle-execution-production.tsLifecycleOutcome../core/lifecycle/modelsrc/idempotency/lifecycle-policy.tsobserveLifecycleProvider/ equality / receipt binding../core/lifecycle/model,provider-binding,provider-evidencetest/commands/{inspect,doctor,resolve},test/command-runtime,test/compatibility/agent-inspection,test/idempotency/lifecycle-policy,test/services/lifecycle-{observations,updates},test/lifecycle/*)src/lifecyclesrc/core/lifecycle/*No
src/core/lifecycle/index.ts.Ownership locks
src/lifecycle/is absent (barrel and former engine paths)src/core/lifecycle/index.tsis absentsrc/core/lifecycle/contains only the seven Core-internal moduleslifecycle-execution-productionandlifecycle-policyimport Core-internal modules, not../lifecyclesrc/lifecyclesrc/stateCore imports remain leaf-only (../core/lifecycle/model)createQuantexSDK non-export checklist
src/core/index.tsdoes not export lifecycle helpers or./lifecyclepackages/core/src/index.tsdoes not export those symbolspackages/coreexport subpathsrc/core/lifecycle/index.tsbarrelFreeze checklist
--json/ NDJSON still omitengine/routerelease-core.yml/ protect-main untouchedrelease-one-line-delivery,release-pr-skip-human-heuristics,windows-ci-advisory-merge-gateLinked Artifacts
lifecycle-barrel-core-internal-l4docs/adr/0014-core-internal-lifecycle-barrel-deletion.mdValidation
bun run memory:checkbun run lintbun run format:checkbun run typecheckbun run test— 176 files / 2147 passed / 5 skippedbun run openspec:validate— 28 passed / 0 failedinstall/ensure opencode --dry-run --json→ok=true,warnings[0].code=DRY_RUN,data.changed=false, exit0, noengine/route["createQuantex"]lifecycle-core-ownership+import-purity+core-boundary— 17 passedRelease Intent
refactor:/ Internal Improvements and does not bump on its own.Release Summary
Docs Updated
openspec/changes/lifecycle-barrel-core-internal-l4/docs/adr/0014-core-internal-lifecycle-barrel-deletion.mdAGENTS.md(thin pointer to ADR 0014; dropsrc/lifecycle/)Scope Check
Closure Check
lifecycle-barrel-core-internal-l4is still active until this merge, then queued for agent-driven archive closure.Notes
src/lifecycle/index.tsand thesrc/lifecycle/directory. Core-internal modules stay.test/lifecycle/stays.