Require thin cmd/ entrypoints: all logic in internal/ or pkg/ #54

Merged
sneak merged 1 commits from thin-cmd-entrypoints into main 2026-08-30 04:20:59 +02:00
Collaborator

Codifies your ruling (2026-08-30, filed as homoicon issue 555): no project logic outside internal/ or pkg/; each cmd/<name>/ is a single main.go whose body is one call into library code.

  • CODE_STYLEGUIDE_GO.md: strengthens the "keep main small" rule to the single-call form and adds the no-logic-outside-internal/-or-pkg/ rule.
  • REPO_POLICIES.md: annotates cmd/ in the canonical subdirectory list accordingly. (Root copy is a symlink; one edit covers both.)
Codifies your ruling (2026-08-30, filed as homoicon issue 555): no project logic outside `internal/` or `pkg/`; each `cmd/<name>/` is a single `main.go` whose body is one call into library code. - `CODE_STYLEGUIDE_GO.md`: strengthens the "keep `main` small" rule to the single-call form and adds the no-logic-outside-`internal/`-or-`pkg/` rule. - `REPO_POLICIES.md`: annotates `cmd/` in the canonical subdirectory list accordingly. (Root copy is a symlink; one edit covers both.)
sneak merged commit 3f8201d532 into main 2026-08-30 04:20:59 +02:00
sneak deleted branch thin-cmd-entrypoints 2026-08-30 04:21:06 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/prompts#54