Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions .skills/contract-and-manifest-surface/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,20 @@ So "it's optional, so it's safe" is false here. A shape change to the published
manifest is a compatibility event, not a convenience. It needs a plan, an ADR if
it establishes a public compatibility contract, and downstream coordination.

`eggpack-manifest 0.1.1` is live on crates.io. `0.1.0` remains published and
resolvable. `0.1.1` carries two narrowings of the published acceptance set —
the ADR-0006 all-zeros digest refusal and the document bound that
`ReleaseManifest::validate` now measures — and both are recorded as
compatibility events in
`plans/closure/release-manifest/004-status.md`. `eggup-eggpack` consumes
`=0.1.0` and is the named affected consumer; it pins an exact version, so it
does not pick up `0.1.1` automatically, and its bump needs a plan registered
in the Eggup repository. The other six workspace crates are unpublished; do
not publish one as a side effect of unrelated work.
`eggpack-manifest 0.1.2` is the latest version published on crates.io;
`0.1.0` and `0.1.1` remain published and resolvable. Version `0.1.2` was
published from source commit `d924a44bb6cd640998f197be7c2eb723cc891cbd`, with
checksum `4bbbe8d12026adf7c8e8ddaecbed0c6ac403a5621d4dd1ac9949f8daf8149a09`
and tag `eggpack-manifest-v0.1.2`. It adds no runtime or public API change; the
crate delta is version/package metadata and a test comment. The published
`0.1.1` carries two narrowings of the acceptance set — the ADR-0006 all-zeros
digest refusal and the document bound that `ReleaseManifest::validate` now
measures — and both are recorded as compatibility events in
`plans/closure/release-manifest/004-status.md`.
`eggup-eggpack` consumes `=0.1.0` and is the named affected consumer; it pins an
exact version, so it does not pick up later patches automatically, and its bump
needs a plan registered in the Eggup repository. The other six workspace crates
are unpublished; do not publish one as a side effect of unrelated work.

## The two documents say different things

Expand Down
16 changes: 9 additions & 7 deletions .skills/pre-submit-gate/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ dependency or version drift silently rewrites `Cargo.lock` and you find out at

## `cargo package` needs the patch flags — copy them, do not invent them

`eggpack-contract` and `eggpack-manifest` are not published to crates.io yet, so
packaging any crate that depends on them fails unless each unpublished
dependency is patched to its local path:
`eggpack-contract` remains unpublished. `eggpack-manifest 0.1.2` is the
latest published version and is the version carried by this tree. Package checks
patch both to local paths so dependent crates are validated against the current
workspace sources:

```bash
cargo package -p eggpack-ci --locked --allow-dirty \
Expand All @@ -66,10 +67,11 @@ cargo package -p eggpack-ci --locked --allow-dirty \

The set is exactly the transitive in-workspace dependency closure of the crate
being packaged. The authoritative copy for all seven is `scripts/check-local.sh` —
read it rather than reconstructing it. **Never bare `cargo publish`**: the only
crate published from this workspace is `eggpack-manifest` 0.1.0, publication is a
deliberate milestone, and `--allow-dirty` on `package` is for local verification
only.
read it rather than reconstructing it. **Never bare `cargo publish`**:
`eggpack-manifest` is the only crate published from this workspace; `0.1.2` is
the latest published version. The six workspace crates inheriting the workspace
version remain unpublished. Publication is a deliberate milestone, and
`--allow-dirty` on `package` is for local verification only.

`--allow-dirty` is safe *here* because packaging is a local verification step and
publishing is a separate human action. Do not carry that flag into a release.
Expand Down
Loading
Loading