diff --git a/AGENTS.md b/AGENTS.md index 2174f13..2fbb710 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -89,4 +89,4 @@ Read the index in `overview.md` and follow one link. Grouped by what they cover: ## Planning conventions - Closure discipline: `plans/closure//NNN-status.md`. Compilation ≠ closure. History never rewritten — correctives are new `NNNa` plans; superseded material goes to `plans/archive/`. -- Current handoff (source: `plans/registry.md`): CI/Release M003pa remains **closed** under `plans/implementation/ci-release-orchestration/003pa-process-group-signal-recheck-corrective.md`; closure `plans/closure/ci-release-orchestration/003pa-status.md` records implementation `329a3dfdb166580de4770b2c6b2f046358983003` and hosted run `44118309795` green on all four lanes; corrective M003pb is **active** under `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md`; no other implementation milestone is **active** or registered **ready**; the descendant fixture is synchronized and five focused runs plus the canonical local gate pass; await explicit commit/push authorization for hosted CI; Release Manifest M004's ADR-0006 publication and compatibility-record obligation is closed (the `eggpack-manifest 0.1.1` event remains historical); the 2026-10-23 review chain and follow-up corrective chains through CI/Release M003pa remain closed under their closure records; M003pb remains active pending authorized hosted CI. The latest published manifest is `eggpack-manifest 0.1.2`; the six workspace crates now carry source version `0.1.2` but remain unpublished, and matching version numbers do not merge their release identities (see `docs/release-process.md`). **Blocked** are Ecosystem M004 (Gregg sibling bundle), Ecosystem M005 (CodeGG runfile bundle), and Ecosystem M006 (Egress archive pair), each on its named adoption evidence and bundle/archive review; the provenance/authenticity line is **planned** pending a dedicated trust ADR, and Python/wheel adapters are **planned** behind broader native adoption. Contract M003, Bootstrap M003, and Ecosystem M003a/M003b are closed, so the contract-conformance and bootstrap-installers subsystems have no open work. M003pb is the current active corrective; after it closes, the next Eggpack line is whatever the registry lists as `ready`; if that table is empty, the next action is plan authoring, not implementation. +- Current handoff (source: `plans/registry.md`): CI/Release M003pa and M003pb are **closed**. M003pb closure `plans/closure/ci-release-orchestration/003pb-status.md` records implementation `edce774bf3597a37789ba59587cc2a5be56e3cee`, merged main `23ebb10941bb2b38b808f61edddff3ed3d1f2961`, exact push/PR runs `44935151048` and `44935155340`, merged-main run `44941146518`, five focused runs, and the canonical local gate. Workspace Release M001 is the sole active milestone at `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md`: the user approved publishing the six workspace crates at 0.1.2 and a public source-only GitHub `v0.1.2` release, with no prebuilt CLI binaries; `eggpack-manifest 0.1.2` is already published and excluded. No workspace crate, project `v0.1.2` tag, or GitHub Release has yet been published; final-source CI, clean package checks, dependency-ordered publication/readback, and release verification remain required. The 2026-10-23 review chain and follow-up correctives through M003pb remain closed under their closure records. **Blocked** are Ecosystem M004 (Gregg sibling bundle), M005 (CodeGG runfile bundle), and M006 (Egress archive pair), each on its named adoption evidence and bundle/archive review; provenance/authenticity remains planned pending a dedicated trust ADR, and Python/wheel adapters remain planned behind broader native adoption. Contract M003, Bootstrap M003, and Ecosystem M003a/M003b are closed. diff --git a/plans/closure/ci-release-orchestration/003pb-status.md b/plans/closure/ci-release-orchestration/003pb-status.md new file mode 100644 index 0000000..c4ad9cc --- /dev/null +++ b/plans/closure/ci-release-orchestration/003pb-status.md @@ -0,0 +1,86 @@ +# CI/Release M003pb Closure — Live-Descendant Fixture Startup Handshake + +Status: closed + +Source plan: `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md` + +Roadmap: `plans/subsystems/ci-release-orchestration-roadmap.md` + +Reviewed baseline: `eef4f9d0be4014dc0e76489de3f8fe9aedacadb9` — the committed parent named by the corrective plan. + +Implementation commit: `edce774bf3597a37789ba59587cc2a5be56e3cee` (`chore: refresh dependencies and fix process-group fixture`), pushed on `feat/auto-20261117-f257539b` and merged by PR [#6](https://github.com/eggstack/eggpack/pull/6). Merge commit: `23ebb10941bb2b38b808f61edddff3ed3d1f2961`. + +The implementation commit and merge commit have the same source tree `880352cfea924f0434e4b176cbcf8a81b7fdbd3c`. Thus the exact-source push and pull-request CI below exercise the merged tree as well. + +## Hosted CI + +Both workflows on the exact implementation SHA completed successfully on all required lanes: + +- [Push run 44935151048](https://github.com/eggstack/eggpack/actions/runs/44935151048) — Linux stable, Linux 1.89.0, macOS, and Windows passed. +- [Pull-request run 44935155340](https://github.com/eggstack/eggpack/actions/runs/44935155340) — Linux stable, Linux 1.89.0, macOS, and Windows passed. + +The merged commit was then tested by [main push run 44941146518](https://github.com/eggstack/eggpack/actions/runs/44941146518), conclusion `success`, on exact SHA `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; all four lanes passed. + +## Executive finding + +M003pb is closed. The live-descendant test fixture now makes its process-group leader wait for the descendant-ready marker before exiting. This removes the startup race that previously allowed the test to check for a child before the child had started. The descendant’s release-file handshake, bounded waits, group-termination assertion, and cleanup remain in place. + +The correction is test-only. Production process-group signaling, retry behavior, and failure classification are unchanged. The original failure was a fixture-startup assertion, not evidence of a production runner defect. + +## Requirement-to-evidence matrix + +| Requirement | Evidence | Result | +|---|---|---| +| Leader does not exit before the descendant is ready | Updated fixture in `crates/eggpack-core/src/builder.rs`; the leader waits for the ready marker before exiting | pass | +| The descendant remains live until group termination and cannot write its survivor marker afterward | `terminating_an_exited_leader_still_signals_a_live_group_descendant`, with the existing release-file handshake and bounded cleanup | pass | +| No process leak or unbounded wait | Five consecutive focused runs; the existing bounded deadline and cleanup paths remain unchanged | pass | +| Production process-runner semantics remain unchanged | Reviewed diff: the change is confined to the Unix test fixture in `builder.rs`; no production signal/retry code changed | pass | +| Required broader process-group regression filter passes | `cargo test -p eggpack-core --all-targets --all-features --locked group_signal -- --nocapture` — 1 passed, 0 failed | pass | +| Formatting and whitespace checks pass | `cargo fmt --all -- --check`; `git diff --check` | pass | +| Canonical local gate passes | `scripts/check-local.sh`, exit code 0 | pass | +| Exact candidate passes hosted CI | Runs 44935151048 and 44935155340 on `edce774bf3597a37789ba59587cc2a5be56e3cee`; all four lanes green | pass | +| Merged main tree remains green | Run 44941146518 on `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; all four lanes green and tree identical to the implementation commit | pass | + +## Verification executed + +The focused regression passed five consecutive times: + +```sh +for attempt in 1 2 3 4 5; do cargo test -p eggpack-core --all-targets --all-features --locked terminating_an_exited_leader_still_signals_a_live_group_descendant -- --nocapture || exit $?; done +``` + +The broader process-group filter passed: + +```sh +cargo test -p eggpack-core --all-targets --all-features --locked group_signal -- --nocapture +``` + +Also passed: `cargo fmt --all -- --check`, `git diff --check`, and the canonical `scripts/check-local.sh` gate with exit code 0. The gate includes workspace checks, lint, tests, docs, dependency trees, local package checks, and the Rust 1.89 MSRV lane. Its `cargo package --allow-dirty` commands were local verification only; they are not release publication checks. + +## Production implementation evidence + +None. The only process-group change is in the test fixture in `crates/eggpack-core/src/builder.rs`; no production code was changed. The same commit separately refreshes compatible lockfile resolutions and corrects stale GitHub architecture citations, as authorized in the preceding task. Those edits do not broaden M003pb’s runtime scope. + +## Invariant review + +- Process-group signaling and M003pa retry/error behavior are unchanged. +- The test still proves descendant readiness, live-descendant termination, and survivor-marker prevention. +- Waits and cleanup remain bounded. +- No API, schema, package manifest, workflow, or publication behavior changed as part of M003pb. +- The compatible lockfile refresh was separate from the test-fixture corrective; no dependency declaration was added for M003pb. + +## Failure and recovery review + +The original local-gate failure occurred because the test leader exited immediately after starting a background shell, before the child-ready marker was guaranteed. Five repeated focused runs, the broader `group_signal` filter, the full local gate, exact-candidate push/PR CI, and the merged-main CI all pass after the handshake. No process leak or remaining test failure was observed. GitHub emitted a non-blocking Node.js 20 deprecation annotation for `actions/checkout@v4`; it did not fail a lane. + +## Compatibility, security, and operations review + +No public API, wire format, manifest schema, dependency declaration, network behavior, credential handling, workflow permission, tag, or release changed. No credentials or captured process output were exposed. This corrective does not itself authorize publication; the separately user-authorized workspace release is tracked under `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md`. + +## Unresolved findings + +No blocker or medium/high-severity finding remains. The CI action deprecation annotation is informational and unrelated to the test fixture. + +## Roadmap disposition and registry updates + +M003pb is closed in the CI/release roadmap and registry. Its closure records the exact implementation SHA, local gate, exact-SHA hosted runs, and merged-main hosted run. M003pa and earlier closure records remain unchanged. The next registered work is the separately authorized Workspace Release M001; no package, tag, or GitHub release has been created by this corrective. diff --git a/plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md b/plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md index 52811ec..fe1a134 100644 --- a/plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md +++ b/plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md @@ -1,6 +1,6 @@ # CI/Release M003pb — Process-Group Descendant Fixture Startup Handshake Corrective -Status: active +Status: closed Corrects: CI/Release M003pa, closed at implementation 329a3dfdb166580de4770b2c6b2f046358983003 and recorded in plans/closure/ci-release-orchestration/003pa-status.md. That closure remains historical and unchanged. @@ -16,9 +16,9 @@ Make the live-descendant process-group regression deterministic by ensuring the ## 2. Why ready and current evidence -The user's request authorizes fixing the local validation failure and revalidating locally and through hosted CI. No schema, API, dependency, or cross-repository prerequisite is involved. Commit/push remains separately gated on explicit user authorization. +The user's request authorizes fixing the local validation failure and revalidating locally and through hosted CI. No schema, API, dependency, or cross-repository prerequisite is involved. The user separately authorized commit/push on 2026-11-21; implementation commit `edce774bf3597a37789ba59587cc2a5be56e3cee` was pushed and merged to `main` at `23ebb10941bb2b38b808f61edddff3ed3d1f2961`. -The saved scripts/check-local.sh output exited 101 in the core unit tests at terminating_an_exited_leader_still_signals_a_live_group_descendant, failing the assertion that the descendant fixture had started (crates/eggpack-core/src/builder.rs:1776). The same focused test passed in isolation. The fixture starts a background shell and immediately exits its leader; the Rust test only then waits a bounded interval for the child's start marker. Scheduling delay can therefore yield a false test failure before the termination behavior is meaningfully exercised. There is no evidence that the production retry logic failed. After the handshake edit, the focused test passed five consecutive runs, formatting and git diff --check passed, and scripts/check-local.sh exited 0. Hosted CI remains pending explicit commit/push authorization. +The saved scripts/check-local.sh output exited 101 in the core unit tests at terminating_an_exited_leader_still_signals_a_live_group_descendant, failing the assertion that the descendant fixture had started (crates/eggpack-core/src/builder.rs:1776). The same focused test passed in isolation. The fixture starts a background shell and immediately exits its leader; the Rust test only then waits a bounded interval for the child's start marker. Scheduling delay can therefore yield a false test failure before the termination behavior is meaningfully exercised. There is no evidence that the production retry logic failed. After the handshake edit, the focused test passed five consecutive runs, formatting and git diff --check passed, and scripts/check-local.sh exited 0. Exact-SHA push and pull-request CI runs 44935151048 and 44935155340 passed all four lanes; merged-main run 44941146518 passed all four lanes on `23ebb10941bb2b38b808f61edddff3ed3d1f2961`. ## 3. Invariants @@ -40,13 +40,13 @@ The saved scripts/check-local.sh output exited 101 in the core unit tests at ter - Any changes to production runner or signal semantics, the generated workflow, dependency versions, schemas, or user-facing release behavior. - Package publication, tags, releases, or remote workflow dispatch. -- Commit or push until explicit user authorization is received. +- Commit/push and publication without explicit authorization. The user authorized this corrective's commit/push; its separate release is tracked by Workspace Release M001. ## 5. Ordered work packages 1. Update the fixture command so the background descendant writes its ready marker and waits on the release file, while the group leader waits for the ready marker before exiting. 2. Run the focused regression repeatedly; confirm it observes a successful leader exit, a started live descendant, successful group termination, and no survivor marker. Confirm failure paths still terminate/release the fixture. -3. Reverify source citations, run formatting and the canonical local gate, then request authorization before pushing the exact candidate for hosted CI. +3. Reverify source citations, run formatting and the canonical local gate, then obtain authorization before pushing the exact candidate. Authorization was received; the exact candidate and merged source passed the hosted runs recorded in the closure. ## 6. Failure, restart, and compatibility @@ -64,7 +64,7 @@ cargo test -p eggpack-core --all-targets --all-features --locked group_signal -- cargo fmt --all -- --check scripts/check-local.sh -The canonical gate includes workspace checks, clippy, tests, docs, packaging, and the Rust 1.89 MSRV lane. Hosted CI on the exact implementation SHA (Linux stable, Linux 1.89.0, macOS, Windows) is required for closure, but may be triggered only after explicit authorization to commit and push. Passing older hosted runs on M003pa is not evidence for this candidate. +The canonical gate includes workspace checks, clippy, tests, docs, packaging, and the Rust 1.89 MSRV lane. Hosted CI on the exact implementation SHA (Linux stable, Linux 1.89.0, macOS, Windows) is required for closure. The user authorized commit/push; exact-SHA runs 44935151048 and 44935155340 passed all four lanes, and merged-main run 44941146518 also passed all four lanes. Passing older hosted runs on M003pa is not evidence for this candidate. ## 8. Documentation, acceptance, and stop conditions diff --git a/plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md b/plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md new file mode 100644 index 0000000..8e73da9 --- /dev/null +++ b/plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md @@ -0,0 +1,117 @@ +# Workspace Release M001 — Eggpack 0.1.2 Crates.io Publication and GitHub Source Release + +Status: active + +Subsystem roadmap: `plans/subsystems/workspace-release-roadmap.md` + +Repository baseline: `23ebb10941bb2b38b808f61edddff3ed3d1f2961` — merged `main` commit after PR [#6](https://github.com/eggstack/eggpack/pull/6). + +## 1. Objective + +Publish the six previously unpublished Eggpack workspace crates at their existing source version `0.1.2`, in dependency order, and create one public GitHub source-only release tagged `v0.1.2` at the exact reviewed source commit. Do not republish `eggpack-manifest 0.1.2`, which is an independently versioned crate and is already published. + +The user approved the six-crate crates.io publication, a GitHub `v0.1.2` release containing source only, and merging PR #6 first. The user explicitly declined prebuilt CLI binaries. This plan does not broaden that scope. + +## 2. Why ready and current evidence + +The prior active implementation corrective, CI/Release M003pb, is closed in `plans/closure/ci-release-orchestration/003pb-status.md`. PR #6 merged to `main` at `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; its tree hash `880352cfea924f0434e4b176cbcf8a81b7fdbd3c` equals the exact implementation tree at `edce774bf3597a37789ba59587cc2a5be56e3cee`. Main push run [44941146518](https://github.com/eggstack/eggpack/actions/runs/44941146518) passed all four lanes on the exact merge SHA; push run [44935151048](https://github.com/eggstack/eggpack/actions/runs/44935151048) and PR run [44935155340](https://github.com/eggstack/eggpack/actions/runs/44935155340) passed on the exact implementation SHA. + +The source version for the six workspace crates is already `0.1.2`. The six crate IDs were absent from crates.io at plan opening; `eggpack-manifest 0.1.2` is already published. No project tag `v0.1.2` or GitHub release exists. The manifest tag `eggpack-manifest-v0.1.2` is separate and must remain untouched. + +The repository has no self-release workflow for Eggpack. The release is therefore an explicit, manually controlled Cargo and GitHub operation, consistent with ADR-0003’s human publication gate. No automatic publication workflow or new permission is introduced. + +## 3. Invariants + +- Publish exactly `eggpack-contract`, `eggpack-core`, `eggpack-bootstrap`, `eggpack-github`, `eggpack-ci`, and `eggpack-cli`, each at `0.1.2`. +- Publish from the clean, reviewed final `main` source SHA after this plan/closure change is merged and hosted CI passes on that exact SHA. +- Preserve the independent `eggpack-manifest 0.1.2` release and its existing `eggpack-manifest-v0.1.2` tag. +- Use topological, sequential publication. Do not publish a dependent crate until its required registry dependencies are visible and verified. +- Never use `--allow-dirty` for package publication; never issue bare `cargo publish`; never blind-retry an operation with an uncertain result. +- Create `v0.1.2` only if absent, point it at the exact source commit, and never move or overwrite it. +- The GitHub Release is public, stable, and source-only: no custom binaries or other uploaded assets. GitHub-generated source archives are expected. +- Record SHA-256 checksums and registry states as integrity facts only. Make no signature, authenticity, or provenance claim. +- Do not change package versions, dependency declarations, code, generated workflows, schemas, or downstream repositories. + +## 4. Scope + +### In scope + +- Reconfirm the six package IDs, versions, dependency edges, and absence from crates.io. +- Run the canonical local gate and clean-tree package verification for all six crates. +- Publish each crate once in the approved dependency order and verify its registry state before continuing. +- Create and verify the annotated `v0.1.2` tag and public source-only GitHub Release after all six registry publications succeed. +- Record the exact source SHA, hosted run, per-crate checksum/yanked state, publication order, tag peel, release URL, and external consumer verification in the closure and release documentation. + +### Out of scope + +- Republishing or altering `eggpack-manifest`. +- Prebuilt platform binaries, release signing, attestations, or provenance. +- Automatic crates.io/GitHub publishing workflows. +- Version, API, dependency, schema, build, or runtime changes. +- Updating `eggup-eggpack =0.1.0` or any other consumer-owned pin. + +## 5. Required production changes + +None. The package versions are already set in the reviewed source. Only planning, closure, and current-facing release documentation are changed. Do not modify the generated CI workflow or introduce release automation. + +## 6. Ordered work packages + +1. Close M003pb and register this release plan. Merge the documentation PR through the normal GitHub review path. +2. Fetch the exact resulting `main` commit. Confirm a clean tree, unchanged package versions/dependencies, no existing `v0.1.2` tag/release, and no existing 0.1.2 entries for the six crates. +3. Run `scripts/check-local.sh` and `git diff --check` on the release tree. Require its hosted CI on exact SHA `main` (Linux stable, Linux 1.89.0, macOS, Windows). +4. Run clean `cargo package` verification for all six crates, using the exact package/dependency patch flags in `scripts/check-local.sh` with `--allow-dirty` removed. Do not publish unless every package check succeeds. +5. Publish and read back the crates in this order: `eggpack-contract`; `eggpack-core`; `eggpack-bootstrap`; `eggpack-github`; `eggpack-ci`; `eggpack-cli`. For each package, after its dependencies are visible, run `cargo publish -p --locked --dry-run`; if successful, run exactly one `cargo publish -p --locked`. Confirm crates.io shows version `0.1.2`, the returned checksum, and `yanked: false` before proceeding. +6. After all six publications are verified, recheck that `v0.1.2` and the corresponding GitHub release remain absent. Create an annotated tag at the exact source SHA and push that tag without force. Read back the remote tag object and peeled commit. +7. Create a public, non-draft, non-prerelease GitHub Release for `v0.1.2`, with the reviewed release notes and no custom assets. Use a verify-existing-tag option so release creation cannot synthesize a different tag. +8. Verify release metadata, source-only asset inventory, tag/commit identity, crate versions/checksums/yanked states, and the registry-only consumer/CLI installation smoke checks. Update `docs/release-process.md`, the roadmap, registry, and M001 closure with observed—not inferred—evidence. + +## 7. Package dependency order + +The release source must be rechecked before acting. Expected internal graph: + +- `eggpack-contract`: no internal dependency. +- `eggpack-core`, `eggpack-bootstrap`: depend on contract and the already-published manifest crate. +- `eggpack-github`: depends on contract, core, bootstrap, manifest, and published `eggfetch-core`. +- `eggpack-ci`: depends on contract/core and has dev-dependencies on manifest/bootstrap/GitHub, so publish after GitHub. +- `eggpack-cli`: depends on the published workspace crates, so publish last. + +The version requirements currently written as `0.1.0` admit `0.1.2` under Cargo’s compatible version range; revalidate rather than assuming if any manifest changes. Do not include `eggpack-manifest` in the publication list. + +## 8. Failure, restart, and partial-publication semantics + +A visible crates.io version cannot be rolled back through this plan. On any publish timeout/error, query the crate’s exact version and checksum before deciding what happened. Never repeat a successful or uncertain publish command blindly. If a crate is visible, mark it complete and continue only after confirming its non-yanked state and checksum. If a package is not visible or a dependent dry-run fails, stop, preserve the partial public state, and diagnose the registry/index response. Do not create the project tag or GitHub Release until every one of the six packages is verified. If the tag or release unexpectedly exists, stop; never retag, overwrite, or reuse an unrelated release. + +Credentials stay in the existing Cargo/GitHub auth stores and are never read, printed, written to files, or returned in diagnostics. No publication command runs from a dirty tree or uses `--allow-dirty`. + +## 9. Compatibility and migration + +No schema or public API changes are part of this release. The six packages are newly published; their versions are the already-reviewed `0.1.2` values. The existing manifest crate is not bumped. Consumers opt into these crates by adding normal crates.io version requirements. Exact consumer pins remain consumer-owned; no Eggup or product repository changes are included. + +## 10. Exact verification commands expected + +Before publication: + +```sh +scripts/check-local.sh +git diff --check +cargo package -p eggpack-contract --locked +cargo package -p eggpack-core --locked --config 'patch.crates-io.eggpack-contract.path="crates/eggpack-contract"' --config 'patch.crates-io.eggpack-manifest.path="crates/eggpack-manifest"' +cargo package -p eggpack-bootstrap --locked --config 'patch.crates-io.eggpack-contract.path="crates/eggpack-contract"' --config 'patch.crates-io.eggpack-manifest.path="crates/eggpack-manifest"' +cargo package -p eggpack-github --locked --config 'patch.crates-io.eggpack-contract.path="crates/eggpack-contract"' --config 'patch.crates-io.eggpack-manifest.path="crates/eggpack-manifest"' --config 'patch.crates-io.eggpack-core.path="crates/eggpack-core"' --config 'patch.crates-io.eggpack-bootstrap.path="crates/eggpack-bootstrap"' +cargo package -p eggpack-ci --locked --config 'patch.crates-io.eggpack-contract.path="crates/eggpack-contract"' --config 'patch.crates-io.eggpack-manifest.path="crates/eggpack-manifest"' --config 'patch.crates-io.eggpack-core.path="crates/eggpack-core"' --config 'patch.crates-io.eggpack-bootstrap.path="crates/eggpack-bootstrap"' --config 'patch.crates-io.eggpack-github.path="crates/eggpack-github"' +cargo package -p eggpack-cli --locked --config 'patch.crates-io.eggpack-contract.path="crates/eggpack-contract"' --config 'patch.crates-io.eggpack-manifest.path="crates/eggpack-manifest"' --config 'patch.crates-io.eggpack-core.path="crates/eggpack-core"' --config 'patch.crates-io.eggpack-bootstrap.path="crates/eggpack-bootstrap"' --config 'patch.crates-io.eggpack-github.path="crates/eggpack-github"' +``` + +These are the exact dependency-patch closures used by `scripts/check-local.sh`, with `--allow-dirty` removed. Do not change the patch set. + +Hosted CI must report success for the exact final release SHA on Linux stable, Linux 1.89.0, macOS, and Windows. After publication, create an external Cargo consumer under the ignored workspace `target/` directory with exact `=0.1.2` dependencies on the six crates and no path/Git overrides, then run `cargo check --manifest-path /Cargo.toml`. Install `eggpack-cli =0.1.2` into an ignored `target/` root, not the user’s system Cargo bin directory. + +Tag/release readback must confirm: annotated tag `v0.1.2` peels to the final release SHA; GitHub Release is public, non-draft, non-prerelease, associated with that tag, and has no uploaded custom assets; all six registry entries are `0.1.2`, non-yanked, and have checksums recorded. + +## 11. Documentation and closure evidence + +Update `docs/release-process.md` only after publication facts are observed. The closure at `plans/closure/workspace-release/001-status.md` must list each crate’s crates.io URL, exact version, checksum, yanked state, source SHA, publication order, dry-run/publish results, external consumer result, annotated tag object and peel, GitHub Release URL/state, hosted run IDs/lane results, and any remaining limitations. State explicitly that no custom binaries, signatures, or provenance were supplied. + +## 12. Acceptance criteria and stop conditions + +Accept only when all six crates are independently verified at 0.1.2, the registry-only consumer resolves them without path/Git dependencies, CLI installation succeeds into the workspace target root, and the public GitHub `v0.1.2` release points to the same exact reviewed SHA with source archives only. Stop for a changed version, unclean source, failed exact-SHA lane, missing package dependency, dry-run failure, registry mismatch, existing tag/release, publication uncertainty, or any need to expand the approved scope. Any such failure leaves the already-public state unchanged and is reported before further publication. diff --git a/plans/registry.md b/plans/registry.md index 4c0d78f..a272fde 100644 --- a/plans/registry.md +++ b/plans/registry.md @@ -95,9 +95,10 @@ Distribution predecessor evidence: | Contract and conformance | **complete** | `plans/subsystems/contract-conformance-roadmap.md` | M001-M003 closed | M003 closed on `43fa2d7`; closure `plans/closure/contract-conformance/003-status.md`: additive local `eggpack contract expand` scalar projection over existing schema-v1 semantics, 18 new tests including a process-boundary stdout contract, parity proven against eggsact `d4e6e5c` and stegoeggo `v0.5.0` for every target/alias/field. Roadmap §11 completion definition fully met; no contract milestone remains registered | | External backend evaluation | closed | `plans/subsystems/external-backend-evaluation-roadmap.md` | M001 closed (C) | no production backend adopted; new evidence/plan required to reopen | | Release manifest | complete | `plans/subsystems/release-manifest-roadmap.md` | M001-M004 closed | M004 published the ADR-0006 `eggpack-manifest 0.1.1` patch release and wrote the compatibility record ADR-0006 §5.4 requires: crates.io, checksum `352c3e327159615b763298e911e239f1decc4a2c9e28c28be8ddd28e50515e37`, not yanked, from publication source commit `4ce4fb850ffa0e141f1a807b60c150173507a92b`, tagged `eggpack-manifest-v0.1.1`; hosted run `40263953007` green on all four lanes. Both narrowings of the published acceptance set — the ADR-0006 digest rule and the `3ef806f` document bound — are recorded as compatibility events. `0.1.0` and `0.1.1` remain published; `0.1.2` is the latest published manifest version (see `docs/release-process.md`). In the current source tree, the six workspace crates also carry version `0.1.2` but remain unpublished; these are separate release units despite matching version numbers. `eggup-eggpack` pins `=0.1.0` and is the named affected consumer; its bump is consumer-owned. M003 and M003a remain closed and no runtime/package requalification was performed or implied | +| Workspace release | active | `plans/subsystems/workspace-release-roadmap.md` | M001: six workspace crates at 0.1.2 plus source-only GitHub `v0.1.2` release | User-approved scope; exact merged-main baseline `23ebb10941bb2b38b808f61edddff3ed3d1f2961` passed run `44941146518`; planning PR, clean package checks, per-crate publication, tag, and release remain pending | | Build and qualification | complete | `plans/subsystems/build-qualification-roadmap.md` | M001-M009a closed | M009 closed on `eb77d19` + `8950eb9`: six of the nine operator commands the canonical specification names now exist (`check`, `plan`, `package`, `qualify`, `collect`, `manifest`). The new commands and the `ci _*` runners call the same core functions and the same serialization helpers, and the byte-identity between them is proven by test; `eggpack-core` needed no change, which is the strongest evidence that the new surface is thin wiring rather than a second pipeline. M008 closed on `7e7cb6a`: a declared compatibility floor is no longer silently dropped — every target declaring one carries a finite, closed floor verification status on both the `ReleasePlan` and the `QualificationEvidence`, computed by bounded independent ELF `GLIBC_x.y` inspection. M007 closed on `e3c6192`: one canonical bounded file-digest authority in `eggpack-core`, retiring core's three divergent digest implementations | | Bootstrap installers | complete | `plans/subsystems/bootstrap-installers-roadmap.md` | all Eggpack milestones closed | M002b implementation `88ddf2e`, hosted run `37806244313`; POSIX runtime remains on Unix and Windows PowerShell archive runtime passed. M003 completion definition remains satisfied. M003a closed on the ADR-0006 digest-fixture correction: five bootstrap fixtures used the all-zeros digest as a "wrong digest" placeholder, and CI M003l's tightened acceptance rule made that value illegal at manifest validation, so three tests aborted at setup and the installers' digest-mismatch coverage was silently not running | -| CI/release orchestration | active | `plans/subsystems/ci-release-orchestration-roadmap.md` | M003pb active; prior process-group behavior remains closed under M003pa | M003k is closed at `plans/closure/ci-release-orchestration/003k-status.md`; M003p is closed at `plans/closure/ci-release-orchestration/003p-status.md`. M003pa is closed at `plans/closure/ci-release-orchestration/003pa-status.md` (implementation `329a3dfdb166580de4770b2c6b2f046358983003`; hosted run `44118309795` passed all four lanes on that exact SHA), correcting M003p by re-signalling after leader reaping and accepting only retry success or `ESRCH`. M003n is closed at `plans/closure/ci-release-orchestration/003n-status.md`: one drift comparison replaces three byte-identical copies, one staging-payload builder replaces two copies that were 85.5% identical, the 845-line `render_release_github_inner` is decomposed, and the CI crate's single 12,221-line source file became a 14-file module tree with a byte-identical public API and byte-identical rendered output. M003m closed on `bd73f5c` (cherry-picked `6a7cb4c`): the CI crate's consumer-validator execution now routes through the workspace's single bounded runner, which terminates the whole process group and bounds its reader-thread joins; the CI-local runner, its bounded readers, and its unbounded drain are deleted, and the CI production region contains no process-spawning code at all. M003l closed on `9cf0bf8` under accepted ADR-0006 (Option A): one SHA-256 hex acceptance rule, one host/target match rule, one floor-applicability rule, one exact-tag safety rule, and one file-digest authority | +| CI/release orchestration | complete | `plans/subsystems/ci-release-orchestration-roadmap.md` | M003pb closed at `plans/closure/ci-release-orchestration/003pb-status.md`; prior process-group behavior remains closed under M003pa | M003k is closed at `plans/closure/ci-release-orchestration/003k-status.md`; M003p is closed at `plans/closure/ci-release-orchestration/003p-status.md`. M003pa is closed at `plans/closure/ci-release-orchestration/003pa-status.md` (implementation `329a3dfdb166580de4770b2c6b2f046358983003`; hosted run `44118309795` passed all four lanes on that exact SHA), correcting M003p by re-signalling after leader reaping and accepting only retry success or `ESRCH`. M003n is closed at `plans/closure/ci-release-orchestration/003n-status.md`: one drift comparison replaces three byte-identical copies, one staging-payload builder replaces two copies that were 85.5% identical, the 845-line `render_release_github_inner` is decomposed, and the CI crate's single 12,221-line source file became a 14-file module tree with a byte-identical public API and byte-identical rendered output. M003m closed on `bd73f5c` (cherry-picked `6a7cb4c`): the CI crate's consumer-validator execution now routes through the workspace's single bounded runner, which terminates the whole process group and bounds its reader-thread joins; the CI-local runner, its bounded readers, and its unbounded drain are deleted, and the CI production region contains no process-spawning code at all. M003l closed on `9cf0bf8` under accepted ADR-0006 (Option A): one SHA-256 hex acceptance rule, one host/target match rule, one floor-applicability rule, one exact-tag safety rule, and one file-digest authority | | Eggup interoperability | complete | `plans/subsystems/eggup-interoperability-roadmap.md` | Eggpack M001a + Eggup adapter M001/M001a + Eggup M003 real-consumer adoption + Eggup M004 registry promotion all closed | The whole producer/consumer package seam is closed end to end; Release Manifest M003a closed the remaining Eggpack-side planning drift, and no Eggpack work remains on this seam; Eggwork Operations M003 remains producer-only | | Ecosystem adoption | blocked | `plans/subsystems/ecosystem-adoption-roadmap.md` | M001/M002/M003a/M003b closed; M004-M006 blocked | Closure `plans/closure/ecosystem-adoption/003b-status.md`. Paired plans: Eggpack `plans/implementation/ecosystem-adoption/003b-eggsearch-seven-target-eggpack-producer-cutover.md` (`325d44e`); Eggsearch `plans/implementation/eggpack-release-adoption/001-seven-target-eggpack-producer-cutover.md` (`377f9e8`, registry `6767062`). Implementation landed at `eggstack/eggsearch@eabbf80`; hosted run `37531104901` staged eggsearch `v0.4.2` as draft `405157598` with the exact 19-asset inventory, glibc 2.17 re-proven on all three GNU targets, ARMv7 required consumer validator green, Windows ARM64 required and green, and zero OIDC permission in generated jobs. Provenance attested the staged bytes in run `37561960304`; the draft was published 2026-10-07, closing the named condition | | Planning hygiene | complete | `plans/subsystems/planning-hygiene-roadmap.md` | M001-M003 closed | M003 closed at `plans/closure/planning-hygiene/003-status.md`: docs/evidence-only post-implementation-review baseline reconciliation — the `architecture/` citation set and line counts were re-based by symbol name against a measured tree SHA, the `ci-consumer-seam.md` and residual `cli.md` drift were closed, the `AGENTS.md` handoff was rewritten from the registry, the CLI command reference was verified, and the review chain was registered; empty production/package/workflow diff. M002 closed at `plans/closure/planning-hygiene/002-status.md`: docs/evidence-only post-M003a handoff reconciliation with an empty production/package/workflow diff; stale/duplicated control-surface text removed and the handoff bound to exact paired-plan paths | @@ -119,7 +120,7 @@ closed at `plans/closure/external-backend-evaluation/001-status.md` (disposition C — design prior art with selected output normalization; no production backend was adopted). -The table below is the **milestone-to-closure index**; it does not imply that every historical row is executable. CI/Release M003pb is the sole active implementation corrective; no other implementation plan is currently registered ready or active. +The table below is the **milestone-to-closure index**; it does not imply that every historical row is executable. Workspace Release M001 is the sole active milestone; M003pb and its predecessors are closed. No other implementation plan is registered ready or active. | Subsystem | Milestone | Status | Plan | Dependencies | |---|---|---|---|---| @@ -156,7 +157,8 @@ The table below is the **milestone-to-closure index**; it does not imply that ev | CI orchestration | M003o renderer panic and digest diagnostics corrective | **closed** | `plans/implementation/ci-release-orchestration/003o-renderer-panic-and-digest-diagnostics.md` | Closure `plans/closure/ci-release-orchestration/003o-status.md`; implementation `b205de6`. The workflow renderer's generated-directory check was an assertion that a legal 128-character contract target could trip — it is now a refusal. Two digest diagnostics named a formatting problem where ADR-0006 refuses the well-formed all-zeros digest; they now name the actual reason. The CI crate's 85 public items and every rendered byte are unchanged | | CI orchestration | M003p process-group termination of an already-exited group corrective | **closed** | `plans/implementation/ci-release-orchestration/003p-process-group-termination-of-an-already-exited-group.md` | Closure `plans/closure/ci-release-orchestration/003p-status.md`; implementation `27cb16c`; hosted run `40263176191` green on all four lanes after four failing runs. The first hosted CI run of the 2026-10-23 review chain (`40207520563`) failed on macOS: two CI-crate tests reported `Failed(InterpreterUnavailable)` where they expected `Failed(OutputLimit)`. macOS refuses to signal a process group that holds the unreaped zombie of an exited child and reports the whole signal as `EPERM`; Linux signals it successfully, so the local gate and the Linux lanes never saw it. The runner now decides by observing whether the supervised child has exited rather than by reading the errno: a failed signal is benign when there is nothing left to terminate, and a group holding a live process that cannot be signalled still fails the run closed | | CI orchestration | M003pa process-group signal recheck corrective | **closed** | `plans/implementation/ci-release-orchestration/003pa-process-group-signal-recheck-corrective.md` | Closure `plans/closure/ci-release-orchestration/003pa-status.md`; implementation `329a3dfdb166580de4770b2c6b2f046358983003`; hosted run `44118309795` passed all four lanes on that exact SHA. After leader reaping, only retry success or `ESRCH` is benign; all other retry errors remain fail-closed | -| CI orchestration | M003pb live-descendant fixture startup handshake corrective | **active** | `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md` | Closure `plans/closure/ci-release-orchestration/003pb-status.md` pending. The local gate initially failed once at fixture startup; after the test-only handshake correction, five focused runs and the canonical local gate passed. Hosted CI awaits explicit push authorization | +| CI orchestration | M003pb live-descendant fixture startup handshake corrective | **closed** | `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md` | Closure `plans/closure/ci-release-orchestration/003pb-status.md`; implementation `edce774bf3597a37789ba59587cc2a5be56e3cee`, merged at `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; push/PR runs `44935151048` / `44935155340` and main run `44941146518` passed all four lanes | +| Workspace release | M001 Eggpack 0.1.2 six-crate publication + GitHub source release | **active** | `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md` | Roadmap `plans/subsystems/workspace-release-roadmap.md`; user-approved scope is six crates plus public source-only `v0.1.2`; no crate/tag/release has been published yet; exact source checks and dependency-ordered publication remain gated | | Bootstrap installers | M001 generator/direct fixtures | closed | `plans/implementation/bootstrap-installers/001-direct-installer-generator.md` | Closure `plans/closure/bootstrap-installers/001-status.md` | | CI orchestration | M001 CIPlan/GitHub renderer | closed | `plans/implementation/ci-release-orchestration/001-ci-plan-and-github-renderer.md` | Closure `plans/closure/ci-release-orchestration/001-status.md`; hosted run 36040032768 passes all lanes | | CI orchestration | M002 qualification/aggregation gates + drift CLI | closed historically; corrective closed | `plans/implementation/ci-release-orchestration/002-qualification-aggregation-gates-and-drift-cli.md` | Historical closure retained; executable generated-workflow defect corrected and qualified by M002a (`plans/closure/ci-release-orchestration/002a-status.md`) | @@ -339,7 +341,9 @@ CI M003p process-group termination of an already-exited group [CLOSED: 27cb16c] | `--> CI M003pa process-group signal recheck [CLOSED: 329a3df] | - `--> CI M003pb live-descendant fixture startup handshake [ACTIVE] + `--> CI M003pb live-descendant fixture startup handshake [CLOSED] + | + `--> Workspace Release M001: six 0.1.2 crates + source-only v0.1.2 [ACTIVE] ``` The obligation those two chains left outstanding is tracked by a third line: @@ -366,7 +370,7 @@ ADR-0006 [ACCEPTED 2026-10-23, Option A: digest acceptance set] ## Next handoff -CI/Release M003pb is active at `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md` on baseline `eef4f9d0be4014dc0e76489de3f8fe9aedacadb9`. It addresses the one local-gate failure in the process-group fixture; five focused runs and the canonical local gate pass after the synchronization fix. Hosted CI requires explicit authorization to commit and push this candidate. No package publication, tag, release, or remote dispatch is authorized. The other entries under "Planned / blocked work" still require their named dependency evidence or further planning before they become eligible. +Workspace Release M001 is active at `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md`, following M003pb closure `plans/closure/ci-release-orchestration/003pb-status.md`. The user-approved scope is six previously unpublished workspace crates at 0.1.2 and a public, source-only GitHub `v0.1.2` release; `eggpack-manifest 0.1.2` is already published and excluded, and prebuilt CLI binaries are excluded. PR #6 merged at `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; exact-main run `44941146518` passed all four lanes. The release-plan documentation PR, canonical local gate and exact-source CI, clean package checks, sequential crates.io publication/readback, and tag/release verification remain before publication. No workspace crate, project tag, or GitHub Release has yet been published. Every closed milestone retains its closure record, so do not read this section as a shortlist: Contract M001/M002, Release Manifest M001/M001a/M002/M003/M003a, Build/Qualification M001–M006, CI M001/M002/M002a/M003a–M003pa (including M003k), Bootstrap M001/M002/M002a, Eggup Interoperability M001/M001a, Ecosystem M001/M002, External backend evaluation M001, and Planning Hygiene M001 all have accepted closure records under `plans/closure/`. Eggup Interoperability M003 is additionally closed downstream on the real Eggsact consumer. Per-subsystem detail is in `plans/subsystems/*-roadmap.md`; the milestone-to-closure index is the table above. @@ -415,7 +419,7 @@ The live evidence closes Ecosystem M001 and M002, discharges CI M003b, and satis | Eggsact Git-to-registry migration | Not an Eggpack item. Downstream, Eggsact-owned, and separately authorized in `eggstack/eggsact`; it does not gate any Eggpack milestone. | | Release Manifest M003a | Closed. Docs-only reconciliation of Eggpack active planning and the M003 downstream-receipt addendum against closed Eggup M004; plan `plans/implementation/release-manifest/003a-post-publication-downstream-closure-reconciliation.md`, closure `plans/closure/release-manifest/003a-status.md`. M003 remains closed and no further Eggpack work is owed on this seam. | | Release Manifest M004 | **Closed.** Published the `eggpack-manifest 0.1.1` patch release that ADR-0006 §5.2/§9 obliges, and wrote the release-manifest compatibility record ADR-0006 §5.4 requires for the published crate's narrowed acceptance set. Plan `plans/implementation/release-manifest/004-eggpack-manifest-0.1.1-publication-and-compatibility-event.md`, closure `plans/closure/release-manifest/004-status.md`. Two narrowings ship in the package — the ADR-0006 digest rule and the `3ef806f` document bound — and only the first was recorded before this milestone. | -| Other Eggpack package publication | Not authorized by M003 and not started. `eggpack-contract`, `eggpack-core`, `eggpack-bootstrap`, `eggpack-ci`, `eggpack-github`, and `eggpack-cli` remain unpublished; a new plan plus evidence is required before any of them is considered for publication. | +| Other Eggpack package publication | User-authorized under Workspace Release M001; publication not yet started. The six crates remain absent at 0.1.2; plan `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md` requires exact-source validation, clean package checks, sequential publish/readback, and then the source-only `v0.1.2` tag/release. | | StegoEggo `release/0.5.0` not merged to consumer `main` | Not an Eggpack blocker. Consumer-side housekeeping. The tag, the published manifest `source_revision`, and the Eggpack run `head_sha` all agree on `57ca94c9…`, so the evidence is sound regardless of consumer branch topology. | ## Registry update rule diff --git a/plans/subsystems/ci-release-orchestration-roadmap.md b/plans/subsystems/ci-release-orchestration-roadmap.md index 87920d2..b97d69e 100644 --- a/plans/subsystems/ci-release-orchestration-roadmap.md +++ b/plans/subsystems/ci-release-orchestration-roadmap.md @@ -1,6 +1,6 @@ # CI and Release Orchestration Roadmap -Status: active +Status: complete Long-term references: @@ -112,7 +112,7 @@ The first hosted CI run of that chain — run `40207520563` on `d4d5e43` — fai A review of M003p's group-empty assumption found that the supervised leader's exit does not prove the whole process group is empty: a surviving descendant may have closed its output pipes, and `EPERM` does not certify that the group has no live member. **M003pa** corrected that inference while preserving M003p's historical plan and closure. It keeps initial `ESRCH` benign; after another signal error, it reaps an exited leader and retries the group signal, accepting only retry success or retry `ESRCH`. A live/unverified leader or any other retry error remains a hard failure. M003pa closed on implementation `329a3dfdb166580de4770b2c6b2f046358983003`; exact hosted run `44118309795` passed Linux stable, Linux 1.89.0, macOS, and Windows. -A subsequent local-gate run failed once in the M003pa live-descendant test because the group leader exits immediately after launching the background child, before the child-start marker is guaranteed. The focused test passed in isolation, so this is a fixture-startup race rather than evidence against the production signal retry. **M003pb** is active to make the leader wait for the ready marker before exiting; it changes tests only and preserves the M003pa runtime contract. Five consecutive focused runs and the canonical local gate now pass; hosted CI remains pending explicit push authorization. +A subsequent local-gate run failed once in the M003pa live-descendant test because the group leader exited before the child-start marker was guaranteed. This was a fixture-startup race, not evidence against the production signal retry. **M003pb** is closed at `plans/closure/ci-release-orchestration/003pb-status.md`: the leader waits for the ready marker; five consecutive focused runs, the broader `group_signal` filter, and `scripts/check-local.sh` passed. Exact-SHA push/PR runs 44935151048 and 44935155340 passed all four lanes, and merged-main run 44941146518 passed all four lanes on `23ebb10941bb2b38b808f61edddff3ed3d1f2961`. Production runner behavior is unchanged. ## 8. Cross-cutting requirements @@ -162,7 +162,7 @@ Build/Qualification M001-M006 and CI M001/M002/M002a/M003c-M003g are closed on t | M003o renderer panic and digest diagnostics corrective | closed | `plans/implementation/ci-release-orchestration/003o-renderer-panic-and-digest-diagnostics.md` | `plans/closure/ci-release-orchestration/003o-status.md`; implementation `b205de6` | The workflow renderer's generated-directory check was an assertion that a legal 128-character contract target could trip; it is now a refusal, so a caller-supplied contract cannot panic the renderer. Two digest diagnostics named a formatting problem where ADR-0006 refuses the well-formed all-zeros digest; they now name the actual reason. The CI crate's 85 public items and every rendered byte are unchanged | | M003p process-group termination of an already-exited group corrective | closed | `plans/implementation/ci-release-orchestration/003p-process-group-termination-of-an-already-exited-group.md` | `plans/closure/ci-release-orchestration/003p-status.md`; implementation `27cb16c`; hosted run `40263176191` green on all four lanes | The first hosted CI run of the 2026-10-23 review chain (`40207520563`) failed on macOS. The shared bounded runner treated a failed process-group signal as fatal, but macOS reports `EPERM` for a group holding the unreaped zombie of an exited child, where Linux signals it successfully. A failed signal is now benign when there is nothing left to terminate, decided by observing the child rather than by reading the errno; a group holding a live process that cannot be signalled still fails closed. The CI crate's 85 public items and every rendered byte are unchanged | | M003pa process-group signal recheck corrective | closed | `plans/implementation/ci-release-orchestration/003pa-process-group-signal-recheck-corrective.md` | `plans/closure/ci-release-orchestration/003pa-status.md`; implementation `329a3dfdb166580de4770b2c6b2f046358983003`; hosted run `44118309795` green on all four lanes | Corrects M003p's overbroad inference that an exited leader proves the group is empty. After leader reaping, only retry success or `ESRCH` is benign; other cases remain fail-closed | -| M003pb live-descendant fixture startup handshake corrective | active | `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md` | `plans/closure/ci-release-orchestration/003pb-status.md` (pending) | Test-only corrective: synchronize group-leader exit with the descendant-ready marker; preserve bounded cleanup and M003pa process-runner semantics. Five consecutive focused runs and the full local gate passed. Awaiting authorized exact-SHA hosted CI | +| M003pb live-descendant fixture startup handshake corrective | closed | `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md` | `plans/closure/ci-release-orchestration/003pb-status.md`; implementation `edce774bf3597a37789ba59587cc2a5be56e3cee`, merged main `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; exact push/PR runs `44935151048` / `44935155340` and merged-main run `44941146518` passed all four lanes | ## 13. 2026-10-08 corrective addendum — M003i diff --git a/plans/subsystems/workspace-release-roadmap.md b/plans/subsystems/workspace-release-roadmap.md new file mode 100644 index 0000000..460b203 --- /dev/null +++ b/plans/subsystems/workspace-release-roadmap.md @@ -0,0 +1,114 @@ +# Eggpack Workspace Release Roadmap + +Status: active + +Long-term references: + +- `plans/000-long-term-specification.md#5.4-eggpack-cli` +- `plans/000-long-term-specification.md#15-publication-policy` +- `plans/002-long-term-roadmap.md#phase-8--release-staging-and-human-publication-gate` + +Related decision: + +- `plans/adrs/ADR-0003-checked-in-generated-ci-and-publication-gate.md` + +## 1. Purpose and ownership boundary + +This subsystem tracks the human-controlled publication of Eggpack’s six workspace crates and the corresponding source-only GitHub release. It is separate from the independently versioned `eggpack-manifest` crate and from Eggup’s consumer-side deployment responsibilities. + +Publication remains explicit and manual. This roadmap does not add an automated registry publisher or change the draft-only behavior of Eggpack’s product-release staging adapter. + +## 2. Work classification + +### Invariants + +- Publish only the exact reviewed, committed source revision after clean local checks and exact-SHA hosted CI. +- Keep the six workspace crates and `eggpack-manifest` as distinct release units, even when their version numbers match. +- Never publish a dirty tree, move or overwrite a tag, retry a publication blindly, or claim that checksums prove authenticity. +- Registry publication is a human-authorized operation; credentials are never printed or committed. +- The public GitHub release contains source archives only for this milestone; it does not imply prebuilt CLI binaries, signatures, provenance, or runtime qualification. + +### Capabilities + +- Consumers can resolve the six workspace crates from crates.io at the approved version. +- Consumers can obtain the exact reviewed source through a stable GitHub tag and release. +- The published `eggpack-cli` package provides the `eggpack` executable through Cargo installation. + +### Infrastructure + +- Dependency-ordered Cargo packaging and publication. +- A stable project release tag and a public, source-only GitHub Release. +- Registry checksum, yanked-state, tag, and release readback recorded in a closure. + +### Polish + +- Automated publication is not part of this milestone. Any future automation requires a separate plan and must preserve the explicit human publication gate. + +## 3. Non-goals + +- Republishing or retagging `eggpack-manifest 0.1.2`. +- Changing any crate version, dependency declaration, schema, runtime code, workflow, or build policy. +- Building or attaching platform-specific CLI binaries. +- Signing, attestations, provenance claims, or a new authenticity trust model. +- Updating downstream repositories or exact dependency pins owned by Eggup or products. +- Automated Cargo or GitHub publication. + +## 4. Current state + +The six workspace packages—`eggpack-contract`, `eggpack-core`, `eggpack-bootstrap`, `eggpack-github`, `eggpack-ci`, and `eggpack-cli`—carry version `0.1.2` in the source tree and were absent from crates.io when this milestone was opened (2026-11-21). Their internal dependency requirements use the compatible `0.1.0` range. `eggpack-manifest 0.1.2` is already published and remains separate. + +PR [eggstack/eggpack#6](https://github.com/eggstack/eggpack/pull/6) merged to `main` at `23ebb10941bb2b38b808f61edddff3ed3d1f2961`. Its source tree is identical to implementation commit `edce774bf3597a37789ba59587cc2a5be56e3cee`; exact implementation and merged-main CI are green. No project tag `v0.1.2` or GitHub release exists. The existing `eggpack-manifest-v0.1.2` tag is not the workspace release tag and must not be changed. + +The user approved publication of the six crates at their existing `0.1.2` version and a GitHub `v0.1.2` source-only release, and authorized merging PR #6. Prebuilt CLI binaries were explicitly excluded. The active milestone plan is `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md`. + +## 5. Release sequence and authority + +1. Merge the reviewed release-plan/closure documentation and validate the exact resulting `main` SHA locally and in hosted CI. +2. Confirm the tree is clean, versions remain exactly `0.1.2`, all six crate versions and `v0.1.2` remain absent from the registries, and the manifest release remains unchanged. +3. Run the canonical local gate and clean-tree package checks. Do not use `--allow-dirty` for release checks. +4. Publish manually in dependency order: contract; core and bootstrap; GitHub adapter; CI; CLI. For each crate, run its dry-run after its registry dependencies are visible, then publish exactly once and read back the version, checksum, and yanked state before proceeding. +5. If any package operation has an uncertain result, query crates.io before retrying. Never republish an already-visible version. Stop on partial publication; do not create the project tag or GitHub Release until all six packages are verified. +6. Create annotated tag `v0.1.2` at the exact source commit, refusing any existing tag. Verify the remote tag resolves to that commit. +7. Create one public, non-draft, non-prerelease GitHub Release for the verified tag. Attach no custom assets; GitHub’s source archives are the only release downloads. +8. Verify registry, tag, and release readback and record checksums, URLs, lane evidence, and the publication order in the closure and current release documentation. + +## 6. Dependency order + +The approved package set and publication sequence are: + +1. `eggpack-contract 0.1.2` — no internal workspace dependency. +2. `eggpack-core 0.1.2` and `eggpack-bootstrap 0.1.2` — both require contract and the already-published manifest crate. +3. `eggpack-github 0.1.2` — requires contract, core, bootstrap, and manifest. +4. `eggpack-ci 0.1.2` — requires contract/core and has workspace dev-dependencies on bootstrap/GitHub for package verification. +5. `eggpack-cli 0.1.2` — depends on the workspace crates including CI. + +Publication is sequential, not parallel, so each registry dependency can be read back before a dependent package is attempted. The exact package metadata and dependency edges must be rechecked on the release source; any mismatch stops the plan. + +## 7. Milestones + +### M001 — Publish the six workspace crates and cut GitHub source release v0.1.2 + +Plan: `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md` (**active**). + +Acceptance requires all six exact crate versions to be visible and non-yanked with recorded checksums; an external registry-only Cargo consumer resolves and builds the six exact versions; the annotated `v0.1.2` tag peels to the reviewed source SHA; and the GitHub Release is public, non-draft, non-prerelease, source-only, and names that tag. The `eggpack-manifest-v0.1.2` publication is not repeated or altered. + +## 8. Cross-cutting security and recovery requirements + +Never read or log Cargo/GitHub tokens. Use the existing authenticated clients without exposing credentials. Publication is irreversible in normal operation: stop on any error or ambiguous result, inspect the remote state, and continue only from the first not-yet-published crate after confirming exact state. Never force-push, retag, overwrite a release, or attach unreviewed assets. Record integrity checksums as integrity data only, not provenance or authenticity evidence. + +## 9. Verification strategy + +- Canonical local gate: `scripts/check-local.sh` on the exact release source. +- Clean package checks for the six crates using the dependency-patch configuration from `scripts/check-local.sh`, with `--allow-dirty` omitted. +- Per-crate `cargo publish -p --locked --dry-run` after its dependencies are visible, followed by one explicit publish operation. +- Hosted CI on the exact final release SHA: Linux stable, Linux 1.89.0, macOS, and Windows. +- After publication, a registry-only Cargo consumer with exact `=0.1.2` requirements for the six crates, plus a Cargo install into an ignored workspace `target/` root for `eggpack-cli` (never a system-wide install). +- Read back each crates.io checksum/yanked state, the annotated tag peel, and the GitHub release metadata/assets. + +## 10. Risks and decision points + +Crates.io publication cannot be rolled back by this plan; a later correction requires a new version. A partial publish leaves earlier crates public, so the plan stops and records the partial state instead of deleting or blindly retrying. Registry index propagation can delay dependent package verification; inspect the remote package state before retrying. A pre-existing version, tag, or release is a hard stop. The six-crate set, version, source-only release contents, and main-branch source policy are approved; any change requires a new decision. + +## 11. Completion definition + +M001 closes only after all six crates are independently verified, the public tag and GitHub source release point to the same exact reviewed source, the registry-only consumer and CLI installation checks pass, and the final closure records exact identifiers and checksums. No package is considered released solely because its source version is set or its tarball packages locally.