Keep publication recovery usable after cold Go tool runs

This commit is contained in:
2026-11-02 22:32:58 +00:00
parent 19a14bfeb6
commit 993866c1d7
8 changed files with 323 additions and 9 deletions

View File

@@ -8,6 +8,15 @@ Standalone and delivery builds create their own owners. The package uses
`internal/process` for cancellation, the working directory, output, and wrapped
errors.
For CLI publication recovery, the package selects a registered module tool or
prepares durable alternate module files for an API-only consumer. Go's module
graph query includes transitive dependencies; preparation retains local module
selection and uses the original module directory for relative replacements.
The CLI formats the later invocation and falls back to its native executable
for consumers without a selected ReleaseKit module. The
[publication consumer guide](../consumers/publish.md#retain-and-reconcile-publication-evidence)
owns recovery-file placement and retention.
## Command output ownership
`Tool.Run` executes a status-only command. It forwards combined stdout and