Skip to content

Refactor Go codebase into focused files#8

Merged
cerede2000 merged 1 commit into
mainfrom
agent/refactor-go-codebase
Jul 18, 2026
Merged

Refactor Go codebase into focused files#8
cerede2000 merged 1 commit into
mainfrom
agent/refactor-go-codebase

Conversation

@cerede2000

Copy link
Copy Markdown
Owner

What changed

  • splits the former 2,200-line src/main.go into focused Go files without changing runtime behavior;
  • isolates configuration/profile lifecycle, Docker discovery and events, route policy/scope enforcement, HTTP proxy handling, and shared types;
  • leaves src/main.go as application wiring only.

Why

The codebase now has clear boundaries for future engine support such as Podman while keeping the security policy and container-scope logic shared rather than duplicated.

User impact

No endpoint, profile key, permission, image, or authorization behavior changes. Existing deployments remain compatible.

Validation

  • gofmt -w src/*.go
  • git diff --check
  • go test -race ./...
  • go vet ./...

@cerede2000
cerede2000 merged commit 1011623 into main Jul 18, 2026
2 checks passed
@cerede2000
cerede2000 deleted the agent/refactor-go-codebase branch July 18, 2026 12:47
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