Repository navigation
fix(diff): compare extension agent outputs and apply target filters - #414
Conversation
#392 taught status and doctor to recognise converted extension outputs, but diff (CLI) and the Sync tab (/api/diff) still compared the target directory's *.md files against the source name. A target whose extension renames the output (codex -> .toml) therefore listed every agent as pending after a sync. Both diff paths now use the same manifest-based check as status, and report tracked outputs whose source is gone as prune items. They also apply the target's include/exclude and the agents' frontmatter targets, so an agent that sync would skip is no longer shown as pending. Refs #391
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. |
The pending feat commits would make Release Please propose 0.25.0. This batch is meant to ship as the 0.24.6 patch, so ask for that version. Release-As: 0.24.6
|
Note for merging: the second commit carries a |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f430e7839f
ℹ️ 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".
Type
proposals/only — see CONTRIBUTING.md)Linked Issue
Refs #391 (kept open until the reporter confirms)
What changed
#392 fixed
statusanddoctorfor targets with anextension, butskillshare diffand the Sync tab (GET /api/diff) still compared*.mdfiles in the target against the source name. After a sync, a codex target (output.toml) kept listing every agent as pending.sync.ExtensionOutputStatus, the manifest-based checkstatusalready relies on (SyncedExtensionOutputsnow calls it).include/excludeand the agents' frontmattertargets, as sync does.Known cosmetic difference: pending items use the source name (
reviewer.md), prune items use the output name (reviewer.toml), because an orphan has no source.Checks run (devcontainer)
make check(fmt, lint, unit and integration tests): passedTestDiff_AgentsExtension_SyncedOutputsAreNotPending: fails onmain, passes on this branch/api/diff, plus unit tests for synced, outdated, orphan and excluded agentsmake checkre-run on the final commit: passedChecklist
make check)