You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): wayful repair — reconcile a record from its backend state #85
A command that repairs a wayful record whose stored data has drifted from, or been damaged relative to, the state the backend natively holds — so an agent can recover without leaving the CLI and without hand-editing an issue body in a browser.
Under the GitHub backend a record's structured data lives inside its issue body, which humans can and do edit, and whose type and status live on labels and native state that humans can and do change. Tolerant decoding (#80) stops that from blocking work, but there is still no way to fix it. Repair rewrites a record's stored data from what the backend natively holds — state, close reason, labels, dependency edges — leaving its prose alone.
Deliberately outside the GitHub UX epic (#78): it is a general recovery affordance, not a GitHub-specific rough edge.
Acceptance criteria
A step repair command restores a step whose stored data was damaged, and wayful step show then reports it consistently with the state the backend holds.
A map-level repair repairs every damaged record on a map and reports what it changed.
Repair never discards a record's prose body.
Repair on a healthy map reports that nothing needed changing and makes no writes.
A record repair cannot reconstruct is named, along with what is missing.
Repair is available under both backends, or refuses clearly where it cannot apply.
Activity