Skip to content

Move daemon placement under apps/daemon/internal - #273

Merged
SaladDay merged 1 commit into
mainfrom
refactor/agentdaemon-ownership
Sep 30, 2026
Merged

SaladDay merged 1 commit into
mainfrom
refactor/agentdaemon-ownership

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

internal/ holds code that both Core and the daemon use. internal/agentdaemon/placement is used only by the daemon, so it moves to apps/daemon/internal/placement. This is a pure git mv; the only other change is its one importer.

internal/agentdaemon/{proto,gateway,device} stay. gateway and device are shared too: the daemon's wire contract test (apps/daemon/internal/contracttest) runs Core's production gateway against the production daemon transport, and Go's internal-package rule prevents that test from importing services/core/internal.

Checks run (focused): go build ./...; go vet on the moved package and its importer (linux, darwin, windows); go test on placement, cli and contracttest; check-names.

Review: a fresh subagent blind-reviewed the diff and found nothing at P0–P3.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit c1e985a into main Sep 30, 2026
5 checks passed
@SaladDay
SaladDay deleted the refactor/agentdaemon-ownership branch September 30, 2026 08:53
Only the daemon's placement command uses the placement package, so it
belongs with the daemon rather than in the shared internal tree.
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