roadmap NOT-STARTED

1028. A package's home can name the repositories its member crates leave to

Raised 2026-11-02 (UTC) by the lane lane/607-and-235-are-rewritten-to-the-end-state. §316 (a program package leaves as one repository, with the crates only it uses) sets where a package's crates go (ruled 2026-11-04 UTC). A program package leaves as one repository named after it. That repository holds the package's programs and every crate only that package uses. A crate gets a repository of its own only when it would publish on its own merits or several repositories consume it. §151 (the goal of the split), §235 (its source divides by purpose), milestones 756, 857, 854 and 1017, packages/ and the notes state the same rule.

Reuse: milestone 611 (every program and crate belongs to a package)'s format in helpers/packages.py, and the comment packages/drivers.package.toml carries for jh7110_entropy.

What is open

A package's home field names one repository. That fits a program package under §316, whose members all leave in its one repository. It does not fit a package whose member crates each get a repository of their own. packages/contracts.package.toml sets home = { repo = "contracts" }. Milestone 1017 (the contract crates leave in this order) gives each of its 17 crates a repository named after the crate. packages/drivers.package.toml says in a comment, not a field, that jh7110_entropy lives in partsfoundry/jh7110_entropy.

The format wants one of two shapes. One gives a home to each member crate that leaves alone. The other lets a package's home name a repository per crate by rule. A lane picks one under milestone 611's provisional key names. helpers/packages.py --check then refuses a crate whose repository two records disagree on.

Index row

A package's home names one repository. That fits a program package under section 316, but not a package whose crates each leave to a repository of their own, such as contracts. The format wants a per-crate home.