Repository navigation
Preserve workflow progress across metadata refreshes - #43
Merged
Merged
Conversation
Separate engineering compatibility from immutable preparation provenance so operational refreshes preserve valid review checkpoints and verification. Retain runnable recovery inputs and isolated checkouts in private storage. Guard Decisions writes with revisions and publication ownership, preserving conflicting proposals for explicit reconciliation. Share plugin version validation between discovery and retained execution. Keep legacy runs on their retained runtimes and preserve consumed review budgets. Update both hosts' contracts and add concurrency and recovery regressions. Verified with python3 scripts/check.py and python3 scripts/test.py.
Distinguish an absent manifest version from an explicitly null declaration when the registry supplies a version. Keep discovery and retained execution on the same validator and require matching failure diagnostics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Operational metadata refreshes changed preparation identity and invalidated valid review progress, while interrupted workflows still depended on temporary exports. Decisions commands held file locks across network and model calls. Plugin version checks were duplicated between discovery and retained execution.
Fix
Separate immutable artifact provenance from runtime-computed engineering identity. Fresh workflows can retain completed reviewer checkpoints, scope assessments, and completion verification across operational refreshes, while governing evidence changes and changed heads still block interruption resume.
Commit Decisions updates only when their loaded revision matches. Preserve conflicting proposals and exact requests for explicit reconciliation, and persist publication ownership before GitHub mutations. Keep network and model calls outside the state lock while preserving persistent agreements and exclusive store configuration.
Retain contexts, isolated checkouts, evidence captures, and runnable recovery manifests in private workflow storage. Missing required live rules or instructions remain blocking. Share plugin version validation across discovery and retained execution, preserving package hashes and procedure identity.
Introduce preparation v3, session v2, review-result v3, and completion-verification v2 for fresh workflows. Existing interrupted runs continue through their retained runtimes, with review budgets and publication history preserved. Preserve the current cleanup prechecks and guarded reconciliation path. Synchronize both hosts and release metadata at version 1.4.0.