Skip to content

feat(code-review): Long Function joins the smell baseline - #23

Merged
leomontigatti merged 1 commit into
mainfrom
feat/long-function-smell
Oct 23, 2026
Merged

leomontigatti merged 1 commit into
mainfrom
feat/long-function-smell

Conversation

@leomontigatti

Copy link
Copy Markdown
Owner

Every project's Standards review now flags a long function: one whose happy path is buried under validation and detail. The fix is a helper named for a real concept, placed below the function; a helper with no concept of its own stays inline. No project has to add or rename anything, and a project's own standard still overrides the entry. The idea comes from opencode's AGENTS.md (§ Complex Logic). No text is carried over, so there's no decisions.md row and no NOTICE entry.

Review

Tier: readback, reviewed 4fbb0b1

  • readback (Luna): no findings

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leomontigatti
leomontigatti merged commit 3ccfd8d into main Oct 23, 2026
3 checks passed
@leomontigatti
leomontigatti deleted the feat/long-function-smell branch October 23, 2026 00:54
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.

1 participant