Skip to content

refactor(services): rename 'package modules' -> 'services' (dir == package) - #403

Merged
krisarmstrong merged 1 commit into
mainfrom
harden/stem-services-pkg-rename
Jun 8, 2026
Merged

refactor(services): rename 'package modules' -> 'services' (dir == package)#403
krisarmstrong merged 1 commit into
mainfrom
harden/stem-services-pkg-rename

Conversation

@krisarmstrong

Copy link
Copy Markdown
Collaborator

Phase 2 coherence. internal/services/ declared package modules — a half-finished rename that left directory ≠ package and forced every caller to alias the import (modules "…/internal/services"). Renamed the package to services so directory == package, dropped the aliases at the 4 call sites + the external test, and fixed the stale package doc comment (Package modules, phantom testmasterorchestrator).

Mechanical, behavior-preserving: go build + go vet clean, golangci 0 issues, services/help/cmd + api module-handler tests green. No overlap with the in-flight #401 registry (different files).

…irectory

internal/services/ declared 'package modules' — a half-finished rename that
forced every caller to alias the import (modules "...internal/services"). Rename
the package to 'services' so directory == package name, and drop the aliases at
the 4 call sites (handlers_modules, handlers_testing, cmd/stem/main, help/display
+ the external module_test). Also corrected the package doc comment (was
'Package modules', referenced the phantom 'testmaster' subsystem -> orchestrator).

Mechanical; build + vet + lint(0) + services/help/cmd/api-module tests green.
Phase 2 architecture coherence.
@krisarmstrong
krisarmstrong enabled auto-merge (squash) June 8, 2026 03:01
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

License Compliance Report

All dependencies pass license compliance checks

Go Dependencies

  • Unknown: 31 package(s)
  • MIT: 26 package(s)
  • BSD-3-Clause: 16 package(s)
  • Apache-2.0: 11 package(s)
  • BSD-2-Clause: 1 package(s)

npm Dependencies

See full report in workflow artifacts

Allowed Licenses: MIT, Apache-2.0, BSD-*, ISC, CC0-1.0, MPL-2.0
Forbidden: GPL, AGPL, SSPL (strong copyleft)

@krisarmstrong
krisarmstrong merged commit edfc32f into main Jun 8, 2026
25 checks passed
@krisarmstrong
krisarmstrong deleted the harden/stem-services-pkg-rename branch June 8, 2026 03:03
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