The meta-evolution machinery (failure clustering meta-tasks, signed offline evaluation, shadow/canary stages, external release receipts, evaluator identity and its UI) could never take effect: promotions were written to the system tenant only, the benchmark/runner/observer it depended on did not exist, and its statistical gates were effectively unreachable. It is removed as agreed in docs/requirements.md section 3. What remains is the part every run actually uses, now explicit: - packages/evolution becomes packages/agent and keeps only the bundle schema, content digest and prompt assembly; consumers import it as the @wishforge/agent workspace package instead of by relative path. - apps/api/src/domain/agent-bundles.ts: immutable, content-addressed agent configurations per tenant, with create, activate and rollback restricted to human owners/admins. A run pins the active version at submission; later activations never change it. - /v1/agent-bundles routes replace /v1/evolution*; all /internal evolution routes, the evaluator service token and the rsi:rollout script are gone. - Web: the experiment page becomes an "Agent 配置" page. - Tests for the deleted modules are removed; control-plane tests cover version pinning, rollback and authorization. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
435 B
JSON
20 lines
435 B
JSON
{
|
|
"name": "@wishforge/worker",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx src/main.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@temporalio/activity": "^1.13.0",
|
|
"@temporalio/worker": "^1.13.0",
|
|
"@temporalio/workflow": "^1.13.0",
|
|
"@wishforge/agent": "*",
|
|
"@wishforge/contracts": "*",
|
|
"@wishforge/runtime": "*"
|
|
}
|
|
}
|