Repository navigation
fix(status): require a source fingerprint for extension outputs - #416
Merged
Merged
Conversation
Extension outputs were matched to an agent by stem alone. A plain copy that sync tracked before the target enabled an extension (reviewer.md) passed for the converted output, so status, doctor, diff and the Sync tab reported the target in sync while the next sync would write reviewer.toml and prune the copy. Only a transform records a source fingerprint, so an output without one is no longer counted as converted. Outputs written before fingerprints existed (before 0.24.5) show as pending until the next sync, which is what they were already reported as before #392. Refs #415
Codex Review SummaryThis 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. |
This was referenced Oct 5, 2026
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.
Type
proposals/only — see CONTRIBUTING.md)Linked Issue
Refs #415 (first step only; kept open for the rest)
What changed
sync.ExtensionOutputStatusmatched an extension output to an agent by stem alone, so a plain copy tracked before the target enabled an extension (reviewer.md) counted as the converted output.status,doctor,diffand the Sync tab then reported the target in sync, while the next sync writesreviewer.tomland prunes the copy.Only a transform records a source fingerprint in the manifest, so an output without one no longer counts as converted. One condition in
ExtensionOutputStatus, which all four callers share.Side effect: extension outputs written before fingerprints existed (before 0.24.5) show as pending until the next sync. Before #392 they were reported as drift anyway.
Not covered (second step in #415): changing
output_extor switching extension on an already-converted target. Those outputs have fingerprints, so catching them needs the expected output name, either by resolving the extension or by recording its name in the manifest.Checks run (devcontainer)
make check(fmt, lint, unit and integration tests): passedTestExtensionOutputStatus_PlainCopyIsNotConverted: failed before the change, passes afterChecklist
make check)