Normalize source and publication selection

This commit is contained in:
2026-12-05 20:47:58 +00:00
parent 8f3b59b5f2
commit b0fce88a51
20 changed files with 677 additions and 50 deletions

View File

@@ -2,7 +2,9 @@
## Status
Accepted.
Accepted; partially superseded by [ADR 0007](0007-general-source-release-identity.md)
for releases that do not select Go module publication. Its module-scoped
validation and Go module publication conventions continue to apply.
## Date

View File

@@ -2,7 +2,7 @@
## Status
Draft for review. Upon acceptance, supersedes the requirement in
Accepted. Supersedes the requirement in
[ADR 0005](0005-module-release-scope.md) that every release selects a Go module.
Its module-scoped validation and Go module publication conventions continue
to apply to those uses.

View File

@@ -34,6 +34,12 @@ source-publication completion point continue to apply.
## Stage 1: Normalize source, Go, and publication selection
**Completed:** Profile and facade selection now preserve legacy module defaults,
normalize explicit selections, resolve physical working or committed directories,
and load Go declarations only when selected. Targeted identity, candidate, profile,
and facade mapping tests pass, as does the compiled API/dependency check. General
source identity and the corresponding operation behavior follow in the next stages.
**Work:** refactor profile loading in `cmd/releasekit/internal/cli/config.go` and
introduce the shared internal selection model in `internal/releaseidentity`.