Track latest stage attempt diagnostics

This commit is contained in:
2026-11-30 01:24:29 +00:00
parent a5d541529d
commit 16c3d7d643
10 changed files with 561 additions and 4 deletions

View File

@@ -572,6 +572,14 @@ and ordinary stage records unchanged. Use controlled providers/subprocesses.
## Stage 15 — Add latest-attempt log/debug views to the runner
**Complete.** Commit: `Track latest stage attempt diagnostics`.
Verification with Go 1.27.4 covered first and repeated attempts, failed attempts,
empty debug directories, self-skips and reuse, distinct producer runs, relative
targets, reserved probe names, conflicting files and links, unsafe directory
components, creation failures, and workspace-free cleanup. The confined layout
checks also reject symlinked session directories. Focused preflight tests passed;
all packages compiled. Legacy fixture failures remain scheduled for reconciliation.
**Read:** roadmap “Latest attempts, debug, and retention”; workspace and runner
lifecycle docs. Entry points: run-local path owner, `runner_runtime.go`, execution
attempt transitions, and shared file operations.