Skip to content

status/doctor/diff treat a stale tracked output as synced after the extension or output_ext changes #415

Closed

Description

@runkids

Found while reviewing #414 (Codex review) for #391.

sync.ExtensionOutputStatus (used by status, doctor, diff and the dashboard) matches an agent to its tracked output by stem only, so it does not need to load the extension.

When a copy-mode target first enables an extension, or an extension changes output_ext, the manifest can still track the old output (for example reviewer.md). The stem match accepts it, so these commands report the target as in sync. The next sync writes reviewer.toml and prunes the old file. Manifests without a source fingerprint are also accepted by sourceMatches.

The gap lasts for that one transition and clears after the next sync. A target that is already converted is not affected.

Fixing it means resolving the extension to learn output_ext and requiring the expected output name, changed in status, doctor, diff and the dashboard together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions