Skip to content

chore(cli): check a file with Biome the moment an agent writes it #841

Closed

Description

@blafourcade

Problem

A Biome violation an agent writes is found at the next gate (pre-commit or a manual pnpm lint), after other edits have piled on top of it. .claude/settings.json declares only a WorktreeCreate hook.

Proposal

A PostToolUse hook on file writes under cli/ that runs biome check on that one file and, when it fails, names the rules broken. This is Gouvernail's check-written-file.sh (PR 66).

Acceptance criteria

  • Writing a file that breaks a Biome rule returns the rule and the line to the agent in the same turn.
  • A clean write stays silent and costs well under a second.

Activity

  1. added theissue type on Sep 11, 2026
  2. moved this from Todo to In Progress in AIDD Roadmapon Sep 11, 2026
  3. moved this from In Progress to In review in AIDD Roadmapon Sep 11, 2026
  4. added a commit that references this issue on Sep 11, 2026
    7f1a20d
  5. moved this from In review to Done in AIDD Roadmapon Sep 11, 2026
  6. closed this as completedby moving to Done in AIDD Roadmapon Sep 11, 2026
  7. moved this from Done to In review in AIDD Roadmapon Sep 24, 2026
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

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions