docs/plans/templates/release-lanes.md
Objective: TODO: Write the short release-lanes objective under 240 characters.
Goal plan: TODO: Fill generated plan path.
Template: docs/plans/templates/release-lanes.md
Primary template: docs/plans/templates/release-lanes.md
Applied packs:
Completion threshold:
main/latest and next/beta state is read back from GitHub and npm.main -> next sync is complete when needed, with known release metadata
conflicts repaired automatically and beta changesets created for synced
packages, then versioned before the sync commit is pushed..changeset/pre.json exists only on next, uses beta pre mode when beta is
expected to continue, and is restored in the same unskipped sync commit when
the sync creates beta changesets.node .agents/skills/autogoal/scripts/check-complete.mjs <this plan> passes.Verification surface:
git fetch origin main nextnode tooling/scripts/release-branch-prs.mjs sync-main-to-next --dry-runnode tooling/scripts/release-branch-prs.mjs sync-main-to-next --push when sync appliesnode tooling/scripts/release-branch-prs.mjs verify-main-to-next-syncgh run list, gh run watch, and gh run view --log for release/promote workflowsnpm view platejs dist-tags --jsonnpm view platejs@latest versionnpm view platejs@beta versionConstraints:
npm publish..changeset/pre.json to main.next; minor releases target main.next as the major beta lane. Patch changes on next are only for
active beta-lane fixes or direct-sync beta metadata.next sync commit with beta changesets unless beta pre
mode is present in that same commit.release.yml from a direct sync commit that has no versioned
beta package changes to publish.next -> main promotion PRs.main -> next sync PRs.Boundaries:
main, next, promote PR from next -> main..changeset/pre.json,
generated beta sync changesets, release workflow/scripts.Output budget strategy:
Blocked condition:
Start Gates:
| Gate | Applies | Evidence |
|---|---|---|
| Skill analysis before edits | pending | pending |
| Active goal checked or created | pending | pending |
| Requested mode classified | pending | status / sync / promote / verify / full |
| Remote state fetched | pending | git fetch origin main next result |
| Release auth available | pending | gh auth status and npm read capability, or N/A for dry status |
| Current lane state read | pending | main SHA, next SHA, pre mode, npm dist-tags |
Work Checklist:
main, next, npm, GitHub release, and workflow state recorded.main -> next sync dry run completed or marked N/A.next when needed or blocker recorded.main commits or N/A.[skip release].next in the sync commit, or standalone re-entry
is N/A because no beta publication is pending.latest and beta read back.sync/main-to-next PRs closed after direct sync, or N/A.Completion Gates:
| Gate | Applies | Required action | Evidence |
|---|---|---|---|
| Direct sync needed | pending | Compare origin/next..origin/main | pending |
| Direct sync result | pending | Run direct sync or record no-op | pending |
| Sync merge verification | pending | Run verify-main-to-next-sync on merge commit | pending |
| Beta pre mode | pending | Read .changeset/pre.json on next | pending |
| Latest release state | pending | Read GitHub release and npm latest | pending |
| Beta release state | pending | Read release workflow and npm beta | pending |
| Stale sync PR cleanup | pending | Close stale sync PRs or record N/A | pending |
| Autoreview | pending | Review release-lane result and close accepted findings | pending |
| Goal plan complete | yes | Run node .agents/skills/autogoal/scripts/check-complete.mjs <this plan> | pending |
Phase / pass table:
| Phase | Status | Evidence | Next |
|---|---|---|---|
| State read | pending | Decide sync/promote/verify | |
| Promote stable | pending | Sync main to next | |
| Direct sync | pending | Re-enter beta | |
| Beta release | pending | Verify npm/GitHub | |
| Cleanup and closeout | pending | Final handoff |
Findings:
Timeline:
Decisions and tradeoffs:
Review fixes:
Error attempts:
| Error / failed attempt | Count | Next different move | Resolution |
|---|---|---|---|
| None yet | 0 |
Verification evidence:
Reboot status:
| Where am I? | Where am I going? | What is the goal? | What learned? | What done? |
|---|---|---|---|---|
| TODO | TODO | TODO | TODO | TODO |
Open risks: