Observe rehearsal resources and support safe cleanup

This commit is contained in:
2026-12-05 22:52:46 +00:00
parent 181e5a030c
commit 4210552cb8
15 changed files with 755 additions and 19 deletions

View File

@@ -23,6 +23,11 @@ checks. Local publication readiness also checks Git's configured tagger
identity. Native Git and SSH authentication remain in use; no conventional
private-key filename is required.
Rehearsal readiness also checks read access to the configured Woodpecker
repository using the separate local Woodpecker token file. Offline validation
checks the local settings but leaves that remote observation unchecked; it
does not read or register CI job secrets.
To require a specific local input, list it in `readiness.required_files` in the
profile. Paths are literal repository-root-relative or absolute filenames. This
checks readability, not Git authentication. `--assets DIR` selects an existing

View File

@@ -59,6 +59,7 @@ reports these implemented packages:
| `internal/publish` | Publication guards, one validation run, annotated tag creation, push, pre-push evidence recording, saved-attempt discovery, later observation, and recovery state. |
| `internal/runtimeinfo` | Injected version selection and cached fallback metadata lookup for the runtime facade. |
| `internal/versioncontract` | Shared stable-version rules and linker-symbol identity. |
| `internal/woodpecker` | Authenticated read-only CI repository, pipeline, workflow, step, and streamed log observation. |
The `buildinfo` facade depends only on its small runtime implementation. The
root facade forwards to internal implementation packages. The CLI adapter is

View File

@@ -510,6 +510,14 @@ and partial records after uncertain writes.
## Stage 10: Add Woodpecker observation and diagnostic forge effects
**Completed:** Read-only Woodpecker observation follows pipeline pages,
correlates exact tag events and commits, retains workflow and step identities,
and streams job logs. Rehearsal readiness checks repository access with the
separate local credential. Diagnostic forge and Git operations preserve stable
resource identities, conditional tag deletion, and uncertain-write evidence.
Local HTTP and Git fixture tests, the offline `go test ./...` suite, and the
compiled API/dependency check pass.
**Work:** implement an internal Woodpecker client and extend internal forge/Git
boundaries with the effects needed for recorded diagnostics.