Skip to content

fix(status): require a source fingerprint for extension outputs - #416

Merged
runkids merged 1 commit into
mainfrom
runkids/extension-output-needs-fingerprint
Oct 5, 2026
Merged

runkids merged 1 commit into
mainfrom
runkids/extension-output-needs-fingerprint

Conversation

@runkids

@runkids runkids commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)

Linked Issue

Refs #415 (first step only; kept open for the rest)

What changed

sync.ExtensionOutputStatus matched 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, diff and the Sync tab then reported the target in sync, while the next sync writes reviewer.toml and 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_ext or 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): passed
  • New test TestExtensionOutputStatus_PlainCopyIsNotConverted: failed before the change, passes after
  • Not run: dashboard in a browser

Checklist

  • I've read CONTRIBUTING.md
  • Tests included and passing (make check)
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T07:50:48.931556Z 2db2293 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 8879d44 into main Oct 5, 2026
8 checks passed
@runkids
runkids deleted the runkids/extension-output-needs-fingerprint branch October 5, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant