@patronage/software-factory 1.0.0-alpha.45 → 1.0.0-alpha.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cli.js +1 -2
- package/dist/index.d.ts +755 -621
- package/dist/index.js +564 -573
- package/dist/{chunk-pbuEa-1d.js → rolldown-runtime-D8jQpDG7.js} +1 -2
- package/dist/schemas.d.ts +146 -143
- package/dist/schemas.js +39 -41
- package/package.json +19 -18
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ This is the release checklist. It lives here and nowhere else; the repository ru
|
|
|
32
32
|
|
|
33
33
|
Releases are attended. Nothing in the factory publishes, tags, or releases on its own, and no step below may be automated as a drive-by. Delivery closeout (`boundary:check --final`, then `factory:closeout` on the epic) is a separate act with a separate owner: it closes the epic and releases nothing. Only a release-owning boundary carries a release, and one issue at a time holds that authority for a given version. A docs-only or non-release-owning runtime boundary closes without a bump and waits for the next attended cut. The admission skill's [closeout reference](../skills/patronage-software-factory-admission/references/epic-closeout.md#delivery-closeout-is-not-a-release) states the same split from the closeout side.
|
|
34
34
|
|
|
35
|
-
The factory family has one version posture (ADR 0026, `docs/adr/0026-factory-family-version-lines-move-in-lockstep.md` in the source repository): `@patronage/factory-ci`
|
|
35
|
+
The factory family has one version posture (ADR 0026, `docs/adr/0026-factory-family-version-lines-move-in-lockstep.md` in the source repository): `@patronage/factory-ci` and this CLI always release together at the same version, even when only one of them changed. A consumer pins both at the same version; there is no compatibility matrix. Until factory-ci's first 1.x release, its published 0.x line is the named pre-adoption state and pairs with any CLI version. `@patronage/alchemy-d1-state` keeps independent SemVer. Lockstep is a rule the maintainer follows when cutting releases, never automation.
|
|
36
36
|
|
|
37
37
|
For a release-owning epic boundary, the terminal oracle runs before the version-bump pull request merges. The candidate it reviews is exact: the merged implementation children plus the open release-owning version-bump PR at its head. Repair its findings inside the same engagement and re-earn the affected evidence before the bump merges. Once the bump merges, the publish, tag, and GitHub release below follow immediately; the six-fact convergence assertion in step 6 stays the post-publication machine readback, never the first correctness review of released behavior. A bump merged before the oracle burns the version number and forces a forward release — that is how alpha.11 needed alpha.12 on 2026-08-09. Nothing enforces this ordering (ADR 0024, `docs/adr/0024-prose-explains-it-never-enforces.md` in the source repository); it is release discipline the maintainer follows.
|
|
38
38
|
|
|
@@ -51,7 +51,7 @@ A stable cut has two phases. Phase 1 is the verified package candidate: steps 1
|
|
|
51
51
|
pnpm --filter @patronage/software-factory exec tsx scripts/assert-publish-manifest.ts --release .
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
It reads what you just did and derives the channel from the manifest version. A stable release must converge exactly among manifest, npm `latest`, non-prerelease GitHub release, tag, and stable docs. A prerelease must exist on npm, own npm `next`, leave npm `latest` at the stable docs version, and have its prerelease GitHub release and tag. The sixth fact is the factory-ci pairing above: the assertion passes while every observed published `@patronage/factory-ci` version is pre-adoption 0.x and names that state, fails once a lockstep factory-ci release exists
|
|
54
|
+
It reads what you just did and derives the channel from the manifest version. A stable release must converge exactly among manifest, npm `latest`, non-prerelease GitHub release, tag, and stable docs. A prerelease must exist on npm, own npm `next`, leave npm `latest` at the stable docs version, and have its prerelease GitHub release and tag. The sixth fact is the factory-ci pairing above: the assertion passes while every observed published `@patronage/factory-ci` version is pre-adoption 0.x and names that state, fails once a lockstep factory-ci release exists but factory-ci has not published the CLI's exact version, and fails when the registry read yields no readable factory-ci versions or contains an entry that does not parse — missing or unreadable data is an unsatisfied fact, not pre-adoption. It publishes nothing. Step 6 is the only step a machine performs, and it performs it after you.
|
|
55
55
|
|
|
56
56
|
## Use it in a project
|
|
57
57
|
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { PrPublishFollowUpError, run } from "./index.js";
|
|
3
|
-
|
|
3
|
+
// src/cli.ts
|
|
4
4
|
try {
|
|
5
5
|
await run(process.argv, import.meta.filename);
|
|
6
6
|
} catch (error) {
|
|
@@ -8,5 +8,4 @@ try {
|
|
|
8
8
|
else console.error("\nError:", error instanceof Error ? error.message : String(error));
|
|
9
9
|
process.exit(1);
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export {};
|