refactor(composition): unify capability bindings and cleanup ownership (#8441)

Bind typed service creation, observed availability and retryable cleanup in one composition owner. Reuse selected CLI/MCP factories and canonical contract groups without copying provider operation inventories.

Closes #8429. Refs #740.

Validated paired real application workflows, actual local Codex CLI Terra/high use, complete Evidence and Unknown checkpoint parity, compiler-backed import boundaries, SDK schemas and final real mixed routing. Automated review findings were fixed at their producing owners. Existing exact-base CodeQL alerts are documented on the PR under the owner-authorized unrelated-check exception; no global alerts or security rules were changed.

Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
This commit is contained in:
gensokyo-dev authored and GitHub committed 2026-11-01 13:30:21 +08:00
1 parent 6e9ee97a69
commit e18594b247
173 files changed
+3555 -1670

No files matched your search

+2 -5
View File
@@ -1,3 +1,4 @@
import { WEB_MODULE_TRACE_PROVIDER } from "../domain/webTraceProviders.js";
import { closeOwnedWebResources } from "./closeOwnedWebResources.js";
import { isDeepStrictEqual } from "node:util";
import { z } from "zod";
@@ -273,11 +274,7 @@ export class WebModuleTraceService {
sha256: data.sourceFile.sha256,
format: "file",
},
{
id: "rea-web-module-trace",
name: "REA captured module relationship trace",
version: "1",
},
WEB_MODULE_TRACE_PROVIDER,
{
operation: OPERATION,
parameters: input,