feat(bizdev): snapshot collaborators onto Runtime and Server ports

Composition roots copy Parts once so HTTP/CLI handlers stop calling locator getters on every request.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-15 13:00:33 +00:00
co-authored by Cursor
parent 92a9c6783d
commit 3f42149457
68 changed files with 458 additions and 315 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func main() {
srv := server.NewServer(cfg, svc)
ctx := context.Background()
pwSvc := svc.ProjectWorkflow()
pwSvc := bizdev.Snapshot(svc).PW
if pwSvc == nil {
log.Fatal("project workflow service unavailable")
}