Repository navigation
feat(tooling): write a conflict dossier when checkpoint replay stops - #652
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a2f04a35bd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Record source ownership, observations and upstream changes beside the retained rebase, with advisory forecasts for later carry groups. Dossier failures warn without replacing the replay failure. Carry-Group: tooling
Intersect each cumulative merge's conflict paths with the files changed by its current group. Keep repeated-file conflicts while excluding false modify/delete conflicts caused by omitting earlier groups. Carry-Group: tooling Carry-Observation: Cumulative forecasts retain repeated-file conflicts without inventing deletions of earlier groups.
Resolve retained source refs from bounded provenance and batch region diffs per conflicted file. Preserve file-level owners and the complete dossier when optional ranking reaches its budget. Carry-Group: tooling Carry-Observation: Ownership ranking is optional; budget exhaustion retains the file-level dossier and advisory forecast.
Apply the writing pass and repository formatting, keep the recovery guide addition to one sentence, and clear focused typecheck and lint diagnostics. Carry-Group: tooling
Keep installed checkpoint commands self-contained. Bound subprocesses and summary output, batch ownership mapping, and retain stopped-group context when optional work fails. Carry-Group: tooling
Pass commit messages through temporary files and bound Git waits. Preserve deleted-path provenance and cover bounded dossier failures, later-group stops, partitions, and advisory forecast failures. Carry-Group: build-ci
Copy the dossier and upstream-history helper alongside the replay module so isolated lifecycle and publication fixtures can load the complete runtime. Carry-Group: incubator
Apply the repository formatter to the dossier implementation and copied-install CLI regression. Carry-Group: tooling
Default the optional commit environment before passing it to Git so the strict scripts typecheck accepts the helper. Format the replay implementation and regressions. Carry-Group: build-ci
a2f04a3 to
3b3f200
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Checkpoint replay stops at the first conflicting carry group. The recovery agent then has to reconstruct contribution ownership and per-file upstream context by hand.
This PR writes a conflict dossier when replay stops. It is a JSON file plus a short summary, saved beside the retained rebase. Failure history and supervisor alerts link to it, and recovery agents are told to read it first.
What the dossier contains
Carry-Observationnotes.Ownership lookup and region diffs are batched. If overlap ranking hits its budget, the dossier keeps the file-level owners and the forecast. It does not fail because ranking ran out of budget.
Validation
check:changed origin/lastcode/mainpassed: 154 tests across five files, format, lint, both knip passes, and typecheck of six affected packages.Implemented with GPT-6.1 Sol in the Codex harness.