Skip to content

feat(framework): name the template path in the turn-end hook answer #1321

Open

Description

@blafourcade

Description

Codex and Copilot CLI receive the turn-end hook's findings every time, but fix the file correctly in only 1 run out of 3. Codex searched the project for the template and did not find it, because the template ships inside the plugin, not in the project.

Affected file(s)

  • scripts/check/engine/hook.cjs (FIX_HINT, the answer text), copied to plugins/*/hooks/artifacts.cjs by sync.cjs.

Expected behaviour

The answer names the path of the template each failing file must match, so the model reads the shape instead of guessing it.

Observed behaviour

On a broken review.md, Codex renames the stray heading wrongly. Claude Code and Cursor desktop fix it on the first answer.

AI tool

Codex, Copilot

aidd-cli version

unreleased, next

OS

macOS

Refs #1149

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions