Skip to content

[audit] Structural (design): pkg/aws is a god package — split opportunistically along domain files #325

Closed

Description

@scttfrdmn

Filed from the 2026-07-11 spawn audit. Full report: docs/spawn-audit-2026-07-11.md. Assessment-only — no code changed yet.

Phase: Phase 3 — structural (needs design)

Evidence

  • pkg/aws ~7.2K non-test lines, 32 *Client methods; client.go 2379, iam.go 768, cleanup.go 563
  • no import cycle exists

Recommendation
No cycle → split opportunistically (imaging/fsx/iam/thin core) as files are touched. Needs a design discussion before a dedicated pass.

User-facing / SemVer: No — internal. No bump.

Adversarially verified during the audit (62/62 findings survived verification; severities/scope adjusted where the first pass was wrong).

Activity

  1. added
    area:infra
    audit:2026-07
    on Jul 11, 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

    area:infraaudit:2026-07

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions