Resolve release dependency policy in ReleaseKit roadmap
This commit is contained in:
@@ -37,7 +37,8 @@ Go 1.27.4 for release validation and builds.
|
|||||||
The [release policy](../policy/release.md),
|
The [release policy](../policy/release.md),
|
||||||
[release procedure](../release.md), and
|
[release procedure](../release.md), and
|
||||||
[architecture policy](../policy/architecture.md) describe the current local
|
[architecture policy](../policy/architecture.md) describe the current local
|
||||||
selections. The distribution-guard difference requires the decision below.
|
selections. Their dependency-source guidance will be modernized as described
|
||||||
|
below.
|
||||||
|
|
||||||
## Targeted End State
|
## Targeted End State
|
||||||
|
|
||||||
@@ -75,8 +76,6 @@ The root `releasekit.json` selects:
|
|||||||
`linux/amd64` and `linux/arm64`.
|
`linux/amd64` and `linux/arm64`.
|
||||||
- Race-enabled native candidate testing, preserving the current justification
|
- Race-enabled native candidate testing, preserving the current justification
|
||||||
that concurrent HTTP requests share engine and backend-capacity state.
|
that concurrent HTTP requests share engine and backend-capacity state.
|
||||||
- Native committed-workspace and filesystem-replacement checks, subject to the
|
|
||||||
distribution-guard decision below.
|
|
||||||
- Explicit Gitea delivery to `https://forge.maximumdirect.net`, owner `eric`,
|
- Explicit Gitea delivery to `https://forge.maximumdirect.net`, owner `eric`,
|
||||||
repository `scriptorium`, using `RELEASEKIT_GITEA_TOKEN`.
|
repository `scriptorium`, using `RELEASEKIT_GITEA_TOKEN`.
|
||||||
|
|
||||||
@@ -88,6 +87,29 @@ merely because ReleaseKit offers them. Selected native binary builds already
|
|||||||
cover the declared targets; do not also select a duplicate compilation pass
|
cover the declared targets; do not also select a duplicate compilation pass
|
||||||
without a distinct reason.
|
without a distinct reason.
|
||||||
|
|
||||||
|
### Release Dependency Policy
|
||||||
|
|
||||||
|
Scriptorium releases should depend on publicly available library sources and
|
||||||
|
versions, independently of local checkouts. This guidance applies uniformly
|
||||||
|
to PromptKit, ReleaseKit, ConfigKit, other current libraries, and future
|
||||||
|
library dependencies. Local checkouts can be used during development; the
|
||||||
|
release candidate must resolve its library dependencies without relying on
|
||||||
|
them.
|
||||||
|
|
||||||
|
Express this requirement in release-policy guidance and assess it through
|
||||||
|
ordinary dependency review. This adoption does not introduce or retain a
|
||||||
|
dedicated dependency-source check, scanner, or enforcement test, and does not
|
||||||
|
select ReleaseKit's optional workspace/replacement validators for that purpose.
|
||||||
|
The policy adds no separate approval or publication gate. ReleaseKit retains
|
||||||
|
ownership of its native release checks without local duplication or bypass.
|
||||||
|
|
||||||
|
Modernize the existing blanket workspace, replacement, and vendored-PromptKit
|
||||||
|
prohibitions in release, architecture, and contributor guidance to reflect
|
||||||
|
this release-scoped requirement. Vendoring or a versioned replacement alone
|
||||||
|
does not establish a violation; the relevant question is whether the release
|
||||||
|
depends on publicly available library sources rather than local checkouts.
|
||||||
|
Preserve the separate application/framework ownership and import boundaries.
|
||||||
|
|
||||||
### Candidate Validation And Publication
|
### Candidate Validation And Publication
|
||||||
|
|
||||||
Retain stable semantic versions, `main` as the release branch, publication of
|
Retain stable semantic versions, `main` as the release branch, publication of
|
||||||
@@ -173,10 +195,12 @@ asynchronous delivery status distinct. Do not copy ReleaseKit's manuals or
|
|||||||
maintain an alternative local recovery procedure.
|
maintain an alternative local recovery procedure.
|
||||||
|
|
||||||
Update Scriptorium's release-policy selections to identify ReleaseKit and
|
Update Scriptorium's release-policy selections to identify ReleaseKit and
|
||||||
accurately reflect the selected guards. Preserve the existing general release
|
the release-dependency guidance above. Align the corresponding architecture
|
||||||
policy unless an actual integration conflict requires a narrow change. Align
|
and contributor guidance without introducing mechanical dependency-source
|
||||||
`docs/development.md`, relevant internal inventory and adapter documentation,
|
enforcement. Preserve other existing general release policy unless an actual
|
||||||
and affected CLI guidance with the version integration and tooling boundary.
|
integration conflict requires a narrow change. Align `docs/development.md`,
|
||||||
|
relevant internal inventory and adapter documentation, and affected CLI
|
||||||
|
guidance with the version integration and tooling boundary.
|
||||||
Keep upstream tool-only packages distinct from the small runtime import when
|
Keep upstream tool-only packages distinct from the small runtime import when
|
||||||
describing the dependency graph. Existing accepted ADR decisions need not be
|
describing the dependency graph. Existing accepted ADR decisions need not be
|
||||||
rewritten for this tooling change.
|
rewritten for this tooling change.
|
||||||
@@ -217,38 +241,9 @@ runtime identity, and hosted workflow form the supported release path; the
|
|||||||
old publication/build/upload implementation and its duplicate tests are
|
old publication/build/upload implementation and its duplicate tests are
|
||||||
retired; and canonical documentation, policy selections, and attribution agree
|
retired; and canonical documentation, policy selections, and attribution agree
|
||||||
with that implemented path. Scriptorium retains its product choices and
|
with that implemented path. Scriptorium retains its product choices and
|
||||||
necessary integration, while upstream owns the release machinery. Resolve the
|
necessary integration, while upstream owns the release machinery. Release,
|
||||||
following policy choice before finalizing the implementation plan.
|
architecture, and contributor guidance express the agreed release-dependency
|
||||||
|
policy without dedicated mechanical enforcement.
|
||||||
## Open Decisions
|
|
||||||
|
|
||||||
### Distribution Guards Beyond Native Checks
|
|
||||||
|
|
||||||
The current release-policy selections and script reject every module
|
|
||||||
replacement and any root vendor tree. ReleaseKit's native checks reject
|
|
||||||
filesystem replacements and committed workspace files, while permitting
|
|
||||||
versioned replacements and vendoring. The architecture policy separately
|
|
||||||
prohibits committed local replacements and vendored PromptKit source. These
|
|
||||||
are different scopes; adoption must not silently relax an existing rule or
|
|
||||||
turn a broad script check into an even stronger invariant.
|
|
||||||
|
|
||||||
**Recommendation:** adopt the native workspace/filesystem-replacement checks
|
|
||||||
and revise the broader release-only bans to that scope. Preserve the
|
|
||||||
architecture policy's no-vendored-PromptKit boundary, with narrowly scoped
|
|
||||||
application-suite coverage where needed rather than a second release
|
|
||||||
orchestrator. Versioned replacements still need ordinary dependency review;
|
|
||||||
this choice does not authorize unpublished dependency assumptions. This best
|
|
||||||
matches native ownership and targets the stated risk of masking unpublished
|
|
||||||
framework code without maintaining a general ban on unrelated vendoring or
|
|
||||||
published replacements. The exact scope of any retained project assertion
|
|
||||||
should be settled in the implementation plan after this policy choice.
|
|
||||||
|
|
||||||
**Alternative:** retain the blanket vendor-tree and all-replacement bans as
|
|
||||||
explicit local release requirements and enforce their native-check gaps with
|
|
||||||
a small product check invoked by ReleaseKit. This preserves the current
|
|
||||||
broader release boundary, but adds locally owned validation and excludes
|
|
||||||
published replacements and vendoring that upstream supports. Choose it only
|
|
||||||
if that additional restriction has a Scriptorium-specific justification.
|
|
||||||
|
|
||||||
[adoption]: https://forge.maximumdirect.net/base-layer/releasekit/src/commit/82bac1a3ab935beddd4b8789d1e07f52135d4243/docs/consumers/adoption.md
|
[adoption]: https://forge.maximumdirect.net/base-layer/releasekit/src/commit/82bac1a3ab935beddd4b8789d1e07f52135d4243/docs/consumers/adoption.md
|
||||||
[configuration]: https://forge.maximumdirect.net/base-layer/releasekit/src/commit/82bac1a3ab935beddd4b8789d1e07f52135d4243/docs/config.md
|
[configuration]: https://forge.maximumdirect.net/base-layer/releasekit/src/commit/82bac1a3ab935beddd4b8789d1e07f52135d4243/docs/config.md
|
||||||
|
|||||||
Reference in New Issue
Block a user