完善通用开发 Agent Runtime V1.1
新增仓库上下文指纹复核与 durable action 漂移保护 拆分 App CLI 与独立 Runner 的投递执行边界并补齐恢复诊断 加入桌面和移动端浏览器验证及跨源网络阻断 实现隔离子 Agent 私有记忆与终止状态传播 补齐 Provider 协议确认副作用重放与 join 真实端到端验证 同步共享契约实施计划决策记录与开发流程文档
This commit is contained in:
@@ -70,6 +70,11 @@ describe('AI 游戏创作 App 共享契约', () => {
|
||||
(command) => command.id === 'agent.delegate',
|
||||
)?.permission,
|
||||
).toBe('confirm');
|
||||
expect(
|
||||
GAME_CREATION_APP_COMMANDS.find(
|
||||
(command) => command.id === 'agent.spawn_isolated',
|
||||
)?.permission,
|
||||
).toBe('confirm');
|
||||
expect(
|
||||
GAME_CREATION_APP_COMMANDS.find(
|
||||
(command) => command.id === 'agent.capabilities',
|
||||
@@ -103,6 +108,11 @@ describe('AI 游戏创作 App 共享契约', () => {
|
||||
(command) => command.id === 'preview.status',
|
||||
)?.permission,
|
||||
).toBe('auto');
|
||||
expect(
|
||||
GAME_CREATION_APP_COMMANDS.find(
|
||||
(command) => command.id === 'preview.validate',
|
||||
)?.permission,
|
||||
).toBe('auto');
|
||||
expect(
|
||||
GAME_CREATION_APP_COMMANDS.find((command) => command.id === 'file.read')
|
||||
?.permission,
|
||||
@@ -163,6 +173,10 @@ describe('AI 游戏创作 App 共享契约', () => {
|
||||
'task-graph-agenda',
|
||||
'evaluator-repair-routing',
|
||||
'tool-call-budget',
|
||||
'isolated-subagents',
|
||||
'repository-startup-context',
|
||||
'browser-validation',
|
||||
'persistent-runner',
|
||||
'multi-agent-collaboration',
|
||||
'role-level-collaboration',
|
||||
'repair-loop-carryover',
|
||||
|
||||
@@ -34,6 +34,7 @@ export const GAME_CREATION_APP_COMMANDS = [
|
||||
{ id: 'agent.retry', permission: 'confirm' },
|
||||
{ id: 'agent.resume', permission: 'confirm' },
|
||||
{ id: 'agent.delegate', permission: 'confirm' },
|
||||
{ id: 'agent.spawn_isolated', permission: 'confirm' },
|
||||
{ id: 'agent.schedule_ready', permission: 'confirm' },
|
||||
{ id: 'agent.capabilities', permission: 'auto' },
|
||||
{ id: 'agent.audit', permission: 'auto' },
|
||||
@@ -48,6 +49,7 @@ export const GAME_CREATION_APP_COMMANDS = [
|
||||
{ id: 'asset.upload', permission: 'confirm' },
|
||||
{ id: 'asset.register', permission: 'confirm' },
|
||||
{ id: 'preview.start', permission: 'confirm' },
|
||||
{ id: 'preview.validate', permission: 'auto' },
|
||||
{ id: 'preview.open', permission: 'confirm' },
|
||||
{ id: 'preview.stop', permission: 'auto' },
|
||||
{ id: 'preview.status', permission: 'auto' },
|
||||
@@ -107,6 +109,11 @@ export const GAME_CREATION_AGENT_CAPABILITIES = [
|
||||
area: 'agent-runtime',
|
||||
title: '组内角色协作',
|
||||
},
|
||||
{
|
||||
id: 'isolated-subagents',
|
||||
area: 'agent-runtime',
|
||||
title: '动态隔离子 Agent',
|
||||
},
|
||||
{ id: 'quality-review', area: 'agent-runtime', title: '质量评审' },
|
||||
{ id: 'run-lifecycle', area: 'agent-runtime', title: 'Run 生命周期控制' },
|
||||
{
|
||||
@@ -124,13 +131,24 @@ export const GAME_CREATION_AGENT_CAPABILITIES = [
|
||||
{ id: 'local-artifacts', area: 'local-runtime', title: '本地产物保存' },
|
||||
{ id: 'project-checkpoints', area: 'local-runtime', title: '项目快照与恢复' },
|
||||
{ id: 'project-index', area: 'local-runtime', title: '本地项目索引' },
|
||||
{
|
||||
id: 'repository-startup-context',
|
||||
area: 'local-runtime',
|
||||
title: '仓库启动上下文',
|
||||
},
|
||||
{ id: 'local-preview', area: 'local-runtime', title: '本地 HTTP 预览' },
|
||||
{
|
||||
id: 'browser-validation',
|
||||
area: 'local-runtime',
|
||||
title: '浏览器试玩验证',
|
||||
},
|
||||
{
|
||||
id: 'canvas-project-sync',
|
||||
area: 'local-runtime',
|
||||
title: '画板项目资源同步',
|
||||
},
|
||||
{ id: 'developer-window', area: 'dev-runtime', title: '开发窗口' },
|
||||
{ id: 'persistent-runner', area: 'dev-runtime', title: '独立持久 Runner' },
|
||||
{ id: 'guardrails', area: 'dev-runtime', title: '权限 Gate' },
|
||||
{ id: 'project-policy', area: 'dev-runtime', title: '项目级权限策略' },
|
||||
{ id: 'trace-log', area: 'dev-runtime', title: '执行日志' },
|
||||
|
||||
Reference in New Issue
Block a user