Skip to content

Add fix_guidance config field#3

Merged
jakekaplan merged 2 commits intomainfrom
fix-guidance
Jan 13, 2026
Merged

Add fix_guidance config field#3
jakekaplan merged 2 commits intomainfrom
fix-guidance

Conversation

@jakekaplan
Copy link
Owner

Summary

When loq reports violations, there's no way to tell developers (or LLMs) how to fix them. Each codebase has its own conventions for splitting files.

fix_guidance lets you define project-specific instructions that appear when violations occur:

fix_guidance = """
Split this file following our conventions:
- Extract helper functions to src/utils/
- Move types to src/types/
"""

Especially useful when piping loq output to LLMs—they get actionable context alongside the violations.

Closes #2

🤖 Generated with Claude Code

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Closes #2

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@jakekaplan jakekaplan merged commit 513e810 into main Jan 13, 2026
12 checks passed
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.

Add fix_guidance config field for custom violation remediation instructions

2 participants