refactor(squad): drop dead WorkspaceRefForRun adapter (zero callers)
squad -> workspace import eliminated; physical workspace refs stay product-side per KTD1. Arch edge removed from allowlist.
This commit is contained in:
@@ -292,7 +292,6 @@ imports:
|
||||
- template
|
||||
- textextract
|
||||
- workflowdef
|
||||
- workspace
|
||||
storage:
|
||||
- config
|
||||
stream:
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
package squad
|
||||
|
||||
import "chat-agent-system/internal/workspace"
|
||||
|
||||
// WorkspaceRefForRun is the only squad→workspace DTO. Physical paths stay inside workspace.
|
||||
func WorkspaceRefForRun(runID string, projectID int64, env, token string) workspace.WorkspaceRef {
|
||||
return workspace.WorkspaceRef{
|
||||
ID: "run-" + runID,
|
||||
SchemaVersion: workspace.SchemaVersion,
|
||||
FencingToken: token,
|
||||
ProjectScope: projectID,
|
||||
RunID: runID,
|
||||
Environment: env,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user