补充隐私导出边界入口

新增 /privacy 隐私与导出边界摘要

补充 /next 与 /help 的隐私入口覆盖

验证 /privacy 不触发文件读取、预览、导出或 agent 控制

同步 AI 游戏创作 App 技术方案和决策记录
This commit is contained in:
AIGameCreator App
2026-07-04 11:57:45 +08:00
parent 48f6a8af3d
commit 94344098a9
4 changed files with 227 additions and 2 deletions
+102
View File
@@ -1884,6 +1884,7 @@ const chatCommandHelp = [
'/ready:查看试玩就绪度',
'/deps:查看任务依赖链',
'/revise:准备下一轮改版说明草稿',
'/privacy:查看隐私与导出边界',
'/criteria:查看当前任务验收标准',
'/groups:查看专业组进度',
'/balance:查看数值与难度口径',
@@ -3551,6 +3552,84 @@ function summarizeProjectRevisionDraft(
};
}
function summarizeProjectPrivacyBoundary(
nextManifest: GameCreationAppManifest,
projectPath: string,
trace: GameCreationAgentRunTrace | null,
) {
const sourceCounts = nextManifest.assets.reduce(
(counts, asset) => {
counts[asset.source.kind] += 1;
return counts;
},
{
uploaded: 0,
generated: 0,
canvas: 0,
} satisfies Record<GameCreationAppAssetSourceKind, number>,
);
const sourceSummary =
(Object.keys(sourceCounts) as GameCreationAppAssetSourceKind[])
.filter((source) => sourceCounts[source] > 0)
.map(
(source) => `${assetSourceKindLabels[source]} ${sourceCounts[source]}`,
)
.join(' / ') || '暂无';
const commandRuns = nextManifest.commandRuns ?? [];
const latestExportCommand =
[...commandRuns]
.reverse()
.find(
(commandRun) => commandRun.commandId === 'project.export_package',
) ?? null;
const preview = nextManifest.preview;
const previewRunning = preview?.status === 'running' && preview.url;
const previewSummary = previewRunning
? `本机预览 ${preview.url}`
: preview
? previewStatusLabels[preview.status]
: '未启动';
const draftCommand =
latestExportCommand?.status === 'completed'
? '/exports'
: nextManifest.assets.length > 0
? '/credits'
: '/config';
const draftCommandLabel =
draftCommand === '/exports'
? '查看试玩包'
: draftCommand === '/credits'
? '查看素材来源'
: '打开配置';
return {
text: [
'隐私与导出边界:',
`- 项目:${nextManifest.name}`,
`- 本地目录:${projectPath}`,
'- API Key:只应保存在 App 运行时配置;不进入 manifest、trace、聊天、导出包或项目文件',
`- 本地预览:${previewSummary};仅限 127.0.0.1 本机访问`,
`- 试玩包:${
latestExportCommand?.status === 'completed'
? '最近已导出'
: '尚未导出'
} game/**assets/** exports/README.md`,
`- 内部文件:.agent/**、memory/**、日志、trace、配置和密钥不得进入试玩包`,
`- 素材来源:${nextManifest.assets.length} 个;${sourceSummary}`,
`- Trace${
trace
? `${trace.runId} · ${trace.artifacts.length} 个内部产物记录`
: '暂无最近 run'
} /trace /internals `,
'- 交付前建议:/credits/ready/export/exports',
'- 边界:只整理隐私与交付口径;不读取文件;不导出;不启动预览;不写项目',
`- 建议:${draftCommand}`,
].join('\n'),
draftCommand,
draftCommandLabel,
};
}
function summarizeProjectAcceptanceCriteria(
nextManifest: GameCreationAppManifest,
trace: GameCreationAgentRunTrace | null,
@@ -4984,6 +5063,7 @@ function summarizeNextProjectActions(
addSuggestion('查看试玩就绪度', '/ready');
addSuggestion('查看任务依赖链', '/deps');
addSuggestion('准备下一轮改版说明', '/revise');
addSuggestion('查看隐私与导出边界', '/privacy');
const readyTasks = selectGameCreationAppReadyTasks({
tasks: taskRowsFromManifest(nextManifest),
@@ -8950,6 +9030,28 @@ export function App() {
return;
}
if (prompt === '/privacy') {
const nextProjectPath = requireChatProjectForUserAction();
if (!nextProjectPath) {
return;
}
const summary = summarizeProjectPrivacyBoundary(
manifest,
nextProjectPath,
agentRunTrace,
);
setMessages((current) => [
...current,
{
role: 'assistant',
text: summary.text,
draftCommand: summary.draftCommand,
draftCommandLabel: summary.draftCommandLabel,
},
]);
return;
}
if (prompt === '/criteria') {
if (!requireChatProjectForUserAction()) {
return;
@@ -3877,6 +3877,121 @@ describe('AI 游戏创作 App 界面边界', () => {
invoke.mock.calls.filter(([command]) => command === 'control_agent_run'),
).toHaveLength(commandCountsBeforeRevise.controlAgentRun);
const commandCountsBeforePrivacy = {
manifestRead: invoke.mock.calls.filter(
([command]) => command === 'get_local_game_manifest',
).length,
fileRead: invoke.mock.calls.filter(
([command]) => command === 'read_local_project_file',
).length,
fileList: invoke.mock.calls.filter(
([command]) => command === 'list_local_project_files',
).length,
runLocal: invoke.mock.calls.filter(
([command]) => command === 'run_limited_local_command',
).length,
startPreview: invoke.mock.calls.filter(
([command]) => command === 'start_local_game_preview',
).length,
openPreview: invoke.mock.calls.filter(
([command]) => command === 'open_local_game_preview',
).length,
exportPackage: invoke.mock.calls.filter(
([command]) => command === 'export_local_project_package',
).length,
exportList: invoke.mock.calls.filter(
([command]) => command === 'list_local_project_export_packages',
).length,
controlAgentRun: invoke.mock.calls.filter(
([command]) => command === 'control_agent_run',
).length,
};
submitChat('/privacy');
const privacyMessages = await screen.findAllByText(/隐私与导出边界:/);
const privacyMessage = privacyMessages[privacyMessages.length - 1];
expect(privacyMessage.textContent).toContain('项目:未命名游戏原型');
expect(privacyMessage.textContent).toContain(
'本地目录:/tmp/authorized-game',
);
expect(privacyMessage.textContent).toContain(
'API Key:只应保存在 App 运行时配置;不进入 manifest、trace、聊天、导出包或项目文件',
);
expect(privacyMessage.textContent).toContain(
'本地预览:未启动;仅限 127.0.0.1 本机访问',
);
expect(privacyMessage.textContent).toContain(
'试玩包:尚未导出;只应包含 game/**、assets/** 和 exports/README.md',
);
expect(privacyMessage.textContent).toContain(
'内部文件:.agent/**、memory/**、日志、trace、配置和密钥不得进入试玩包',
);
expect(privacyMessage.textContent).toContain(
'素材来源:2 个;上传 1 / 画板 1',
);
expect(privacyMessage.textContent).toContain(
'Tracerun-main-shortcut-trace · 3 个内部产物记录;只通过 /trace 或 /internals 查看,不作为交付内容',
);
expect(privacyMessage.textContent).toContain(
'交付前建议:/credits/ready/export/exports',
);
expect(privacyMessage.textContent).toContain(
'边界:只整理隐私与交付口径;不读取文件;不导出;不启动预览;不写项目',
);
expect(privacyMessage.textContent).toContain('建议:/credits');
const privacyMessageList = document.querySelector('.message-list');
expect(privacyMessageList).not.toBeNull();
const privacyDraftButtons = within(
privacyMessageList as HTMLElement,
).getAllByRole('button', { name: '查看素材来源' });
fireEvent.click(privacyDraftButtons[privacyDraftButtons.length - 1]);
expect(screen.getByLabelText('创作想法')).toHaveProperty(
'value',
'/credits',
);
expect(
invoke.mock.calls.filter(
([command]) => command === 'get_local_game_manifest',
),
).toHaveLength(commandCountsBeforePrivacy.manifestRead);
expect(
invoke.mock.calls.filter(
([command]) => command === 'read_local_project_file',
),
).toHaveLength(commandCountsBeforePrivacy.fileRead);
expect(
invoke.mock.calls.filter(
([command]) => command === 'list_local_project_files',
),
).toHaveLength(commandCountsBeforePrivacy.fileList);
expect(
invoke.mock.calls.filter(
([command]) => command === 'run_limited_local_command',
),
).toHaveLength(commandCountsBeforePrivacy.runLocal);
expect(
invoke.mock.calls.filter(
([command]) => command === 'start_local_game_preview',
),
).toHaveLength(commandCountsBeforePrivacy.startPreview);
expect(
invoke.mock.calls.filter(
([command]) => command === 'open_local_game_preview',
),
).toHaveLength(commandCountsBeforePrivacy.openPreview);
expect(
invoke.mock.calls.filter(
([command]) => command === 'export_local_project_package',
),
).toHaveLength(commandCountsBeforePrivacy.exportPackage);
expect(
invoke.mock.calls.filter(
([command]) => command === 'list_local_project_export_packages',
),
).toHaveLength(commandCountsBeforePrivacy.exportList);
expect(
invoke.mock.calls.filter(([command]) => command === 'control_agent_run'),
).toHaveLength(commandCountsBeforePrivacy.controlAgentRun);
const fileReadCountBeforeCriteria = invoke.mock.calls.filter(
([command]) => command === 'read_local_project_file',
).length;
@@ -4629,6 +4744,7 @@ describe('AI 游戏创作 App 界面边界', () => {
expect(screen.getByText(/查看试玩就绪度:\/ready/)).not.toBeNull();
expect(screen.getByText(/查看任务依赖链:\/deps/)).not.toBeNull();
expect(screen.getByText(/准备下一轮改版说明:\/revise/)).not.toBeNull();
expect(screen.getByText(/查看隐私与导出边界:\/privacy/)).not.toBeNull();
expect(screen.getByText(/查看素材署名与来源:\/credits/)).not.toBeNull();
expect(screen.getByText(/查看美术素材:\/art/)).not.toBeNull();
expect(screen.getByText(/查看发布准备清单:\/publish/)).not.toBeNull();
@@ -10935,6 +11051,9 @@ describe('AI 游戏创作 App 界面边界', () => {
expect(
screen.getByText(/\/revise:准备下一轮改版说明草稿/),
).not.toBeNull();
expect(
screen.getByText(/\/privacy:查看隐私与导出边界/),
).not.toBeNull();
expect(screen.getByText(/\/criteria:查看当前任务验收标准/)).not.toBeNull();
expect(screen.getByText(/\/groups:查看专业组进度/)).not.toBeNull();
expect(screen.getByText(/\/balance:查看数值与难度口径/)).not.toBeNull();
@@ -3882,6 +3882,7 @@
- 2026-07-04 调整:普通用户通过聊天输入 `/ready` 查看试玩就绪度,只基于当前 manifest、最近 run trace、preview、最近自检、导出记录、ready / failed 任务和资产概况汇总可交付判断,并提供 `/run``/export``/todo``/review``/trace``/tasks``/art``/share``/next` 草稿;该入口不得触发 Tauri 读写、不得读取文件、不得启动预览、不得导出试玩包、不得写项目,也不得新增普通用户就绪度面板。
- 2026-07-04 调整:普通用户通过聊天输入 `/deps` 查看任务依赖链,只基于当前 manifest.tasks 和最近 run trace.taskGraph 汇总 active / carry / ready / 等待依赖、可执行任务与等待依赖,并提供 `/criteria``/todo``/tasks``/next` 草稿;该入口不得触发 Tauri 读写、不得读取任务文件、不得启动 run、不得修改项目,也不得新增普通用户依赖面板。
- 2026-07-04 调整:普通用户通过聊天输入 `/revise` 准备下一轮改版说明草稿,只基于当前 manifest 和最近 run trace 汇总返工焦点、失败 / active / carry / ready 任务、最近评审 / 试玩步骤、预览和导出缺口,并填入 `/agent-resume 改版说明:...` 草稿;该入口不得触发 Tauri 读写、不得读取文件、不得继续 run、不得启动预览、不得导出试玩包、不得写项目,也不得新增普通用户改版面板。
- 2026-07-04 调整:普通用户通过聊天输入 `/privacy` 查看隐私与导出边界,只基于当前 manifest、授权项目路径、最近 run trace、preview、资产来源和导出记录汇总 API Key、预览、本地试玩包、内部文件、素材来源和 trace 的隐私 / 交付边界,并提供 `/credits``/exports``/config` 草稿;该入口不得触发 Tauri 读写、不得读取文件、不得导出试玩包、不得启动预览、不得写项目,也不得新增普通用户隐私面板。
- 2026-07-03 调整:普通用户通过聊天输入 `/risks` 查看当前项目风险,只基于主窗口当前已加载的 manifest、最近 run trace、预览状态、任务状态、资产来源和最近命令派生风险摘要,并提供首个风险处理草稿;该入口不得触发 Tauri 读写、不得读取文件、不得启动或打开预览,也不得新增普通用户面板。
- 2026-07-03 调整:普通用户通过聊天输入 `/criteria` 查看当前任务验收标准,只基于当前 manifest.tasks 和最近 run trace.taskGraph 汇总 active、carry、ready、失败或待处理任务的验收条件和产物,并提供 `/tasks` 草稿;该入口不得触发 Tauri 读写、不得读取任务文件或 trace 文件,也不得新增普通用户验收面板。
- 2026-07-03 调整:普通用户通过聊天输入 `/groups` 查看专业组进度,只基于当前 manifest.tasks 和最近 run trace.taskGraph / passPlans 汇总六个专业组的完成、active、carry、ready、失败数量和下一步任务,并提供 `/tasks` 草稿;该入口不得触发 Tauri 读写、不得读取任务文件或 trace 文件,也不得新增普通用户专业组面板。
@@ -3907,7 +3908,7 @@
- 2026-07-03 调整:普通用户通过聊天输入 `/balance` 查看数值与难度口径,只基于当前 manifest.tasks、最近 run trace.taskGraph、trace artifacts 和 steps 汇总数值组任务、验收口径、`game/balance.json` 状态和最近数值步骤,并提供 `/read game/balance.json``/agent-resume 数值调整:...` 草稿;该入口不得触发 Tauri 读写、不得读取数值表、不得启动预览或继续 run,也不得新增普通用户数值面板。
- 2026-07-03 调整:主窗口新增常用生成产物读取入口,只把入口 HTML、设计、数值、美术清单、音频清单和发布说明对应的 `/read` 草稿填入聊天输入框;聊天命令 `/artifacts` 只列出同一组固定读取命令并提供首个读取草稿,`/run-artifacts` 只列出最近 trace 里的产物读取命令并提供首个 `/read` 草稿,`/logs` 只列出固定日志读取命令;实际读取仍走聊天侧 `file.read` 权限流,不直接读本地文件。
- 2026-07-03 调整:普通用户通过聊天输入 `/share` 准备试玩交付清单,只基于当前 manifest、授权项目路径、最近 run trace、preview 状态和 manifest.commandRuns 汇总原型通过状态、本地预览、本地试玩包、测试者说明和反馈收集方向,并提供 `/export``/exports``/trace``/review``/next` 草稿;该入口不得触发 Tauri 读写、不得导出试玩包、不得列出历史包、不得上传云端、不得生成公开分享链接,也不得新增普通用户分享面板。
- 2026-07-03 调整,2026-07-04 更新:普通用户通过聊天输入 `/next` 触发下一步建议入口,只基于主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要生成聊天建议,列出 `/goal``/spec``/mvp``/pitch``/demo``/rules``/tutorial``/mobile``/accessibility``/performance``/polish``/blockers``/ready``/deps``/revise``/tasks``/criteria``/groups``/balance``/budget``/qa``/changes``/todo``/trace``/review``/context``/timeline``/playtest``/test-plan``/feedback``/share``/listing``/run``/open-preview``/assets``/credits``/art``/audio``/publish``/artifacts``/run-artifacts``/passes``/run-files``/internals``/logs``/agent-resume ` 等安全命令草稿方向,并提供一个首选草稿;该命令不得直接执行 Tauri 读写、启动或打开预览、读取本地文件,也不得绕过原有命令确认和 `file.read` 权限流。
- 2026-07-03 调整,2026-07-04 更新:普通用户通过聊天输入 `/next` 触发下一步建议入口,只基于主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要生成聊天建议,列出 `/goal``/spec``/mvp``/pitch``/demo``/rules``/tutorial``/mobile``/accessibility``/performance``/polish``/blockers``/ready``/deps``/revise``/privacy``/tasks``/criteria``/groups``/balance``/budget``/qa``/changes``/todo``/trace``/review``/context``/timeline``/playtest``/test-plan``/feedback``/share``/listing``/run``/open-preview``/assets``/credits``/art``/audio``/publish``/artifacts``/run-artifacts``/passes``/run-files``/internals``/logs``/agent-resume ` 等安全命令草稿方向,并提供一个首选草稿;该命令不得直接执行 Tauri 读写、启动或打开预览、读取本地文件,也不得绕过原有命令确认和 `file.read` 权限流。
- 2026-07-03 调整:普通用户通过聊天输入 `/publish` 生成发布准备清单,只基于主窗口当前已加载的 manifest、最近 run trace、预览状态、资产来源和最近命令摘要列出原型通过、预览、任务、资产、音频、包装说明和试玩包状态,并提供 `/run``/trace``/agent-resume ``/export` 草稿;该入口不得触发 Tauri 读写、不得启动或打开预览、不得读取文件,也不得新增普通用户发布面板。
- 2026-07-03 调整:普通用户通过聊天输入 `/internals` 只列出 `.agent/manifest.json``.agent/run.latest.json``.agent/spec.md``.agent/findings.md``.agent/policy.json``.agent/project.index.json``.agent/agent.db``.agent/conversations/project.jsonl``/read` 草稿,并提供首个读取草稿;该入口不得直接读取内部文件、不得触发 Tauri 读写,也不得新增普通用户内部文件面板。
- 2026-07-03 调整:普通用户通过聊天输入 `/passes` 只从当前已加载的最近 run trace artifacts 中筛选 `.agent/passes/` 轮次产物,列出 `/read` 草稿并提供首个读取草稿;该入口不得直接读取轮次文件、不得触发 Tauri 读写,也不得新增普通用户轮次面板。
@@ -117,6 +117,7 @@ game-project/
- 聊天输入 `/ready` 可在普通聊天消息里查看试玩就绪度,不读取文件、不启动预览、不导出试玩包、不写项目,也不新增普通用户就绪度面板。
- 聊天输入 `/deps` 可在普通聊天消息里查看任务依赖链,不读取任务文件、不启动 run、不修改项目,也不新增普通用户依赖面板。
- 聊天输入 `/revise` 可在普通聊天消息里准备下一轮改版说明草稿,不读取文件、不继续 run、不启动预览、不导出试玩包、不写项目,也不新增普通用户改版面板。
- 聊天输入 `/privacy` 可在普通聊天消息里查看隐私与导出边界,不读取文件、不导出试玩包、不启动预览、不写项目,也不新增普通用户隐私面板。
- 聊天输入 `/criteria` 可在普通聊天消息里查看当前任务验收标准和预期产物,不读取任务文件或 trace 文件,也不新增普通用户验收面板。
- 聊天输入 `/groups` 可在普通聊天消息里查看六个专业组进度和下一步任务,不读取任务文件或 trace 文件,也不新增普通用户专业组面板。
- 聊天输入 `/balance` 可在普通聊天消息里查看数值与难度口径,不读取数值表、不启动预览、不直接继续 run,也不新增普通用户数值面板。
@@ -157,6 +158,7 @@ game-project/
- `/ready` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest、最近 run trace、preview、最近自检、导出记录、ready / failed 任务和资产概况汇总试玩就绪度,提供 `/run``/export``/todo``/review``/trace``/tasks``/art``/share``/next` 草稿,不触发 Tauri 读写、不读取文件、不启动预览、不导出试玩包、不写项目、不新增普通用户就绪度面板。
- `/deps` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest.tasks 和最近 run trace.taskGraph 汇总 active / carry / ready / 等待依赖、可执行任务与依赖等待,提供 `/criteria``/todo``/tasks``/next` 草稿,不触发 Tauri 读写、不读取任务文件、不启动 run、不修改项目、不新增普通用户依赖面板。
- `/revise` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest 和最近 run trace 汇总返工焦点、失败 / active / carry / ready 任务、最近评审 / 试玩步骤、预览和导出缺口,并填入 `/agent-resume 改版说明:...` 草稿,不触发 Tauri 读写、不读取文件、不继续 run、不启动预览、不导出试玩包、不写项目、不新增普通用户改版面板。
- `/privacy` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest、授权项目路径、最近 run trace、preview、资产来源和导出记录汇总 API Key、预览、本地试玩包、内部文件、素材来源和 trace 的隐私 / 交付边界,提供 `/credits``/exports``/config` 草稿,不触发 Tauri 读写、不读取文件、不导出试玩包、不启动预览、不写项目、不新增普通用户隐私面板。
- `/criteria` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest.tasks 和最近 run trace.taskGraph 汇总 active、carry、ready、失败或待处理任务的验收条件和产物,提供 `/tasks` 草稿,不触发 Tauri 读写、不读取任务文件或 trace 文件、不新增普通用户验收面板。
- `/groups` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest.tasks 和最近 run trace.taskGraph / passPlans 汇总六个专业组的完成、active、carry、ready、失败数量和下一步任务,提供 `/tasks` 草稿,不触发 Tauri 读写、不读取任务文件或 trace 文件、不新增普通用户专业组面板。
- `/balance` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest.tasks、最近 run trace.taskGraph、trace artifacts 和 steps 汇总数值组任务、验收口径、`game/balance.json` 状态和最近数值步骤,提供 `/read game/balance.json``/agent-resume 数值调整:...` 草稿,不触发 Tauri 读写、不读取数值表、不启动预览或继续 run、不新增普通用户数值面板。
@@ -262,6 +264,7 @@ game-project/
- 聊天输入 `/ready` 只使用主窗口当前已加载的 manifest、最近 run trace、preview、最近自检、导出记录、ready / failed 任务和资产概况,在聊天里列出试玩就绪度和首个处理草稿;该命令不调用 Tauri 读写、不读取文件、不启动预览、不导出试玩包、不写项目、不新增普通用户就绪度面板,真正启动预览、导出试玩包或交付仍由用户发送对应草稿并走原权限流。
- 聊天输入 `/deps` 只使用主窗口当前已加载的 manifest.tasks 和最近 run trace.taskGraph,在聊天里列出任务依赖链、可执行任务和等待依赖;该命令不调用 Tauri 读写、不读取任务文件、不启动 run、不修改项目、不新增普通用户依赖面板,真正查看完整任务或验收标准仍由用户发送对应草稿并走原权限流。
- 聊天输入 `/revise` 只使用主窗口当前已加载的 manifest 和最近 run trace,在聊天里准备下一轮改版说明草稿;该命令不调用 Tauri 读写、不读取文件、不继续 run、不启动预览、不导出试玩包、不写项目、不新增普通用户改版面板,真正继续改版仍由用户发送 `/agent-resume 改版说明:...` 草稿并走原确认流。
- 聊天输入 `/privacy` 只使用主窗口当前已加载的 manifest、授权项目路径、最近 run trace、preview、资产来源和导出记录,在聊天里列出 API Key、预览、本地试玩包、内部文件、素材来源和 trace 的隐私 / 交付边界;该命令不调用 Tauri 读写、不读取文件、不导出试玩包、不启动预览、不写项目、不新增普通用户隐私面板,真正查看素材来源、导出或配置仍由用户发送对应草稿并走原权限流。
- 聊天输入 `/risks` 只使用主窗口当前已加载的 manifest、最近 run trace、预览状态、任务状态、资产来源和最近命令摘要,在聊天里列出当前项目风险,并提供首个风险处理草稿;该命令不调用 Tauri 读写、不读取文件、不启动或打开预览、不新增普通用户面板,用户必须再发送草稿并按原命令权限流继续。
- 聊天输入 `/criteria` 只使用主窗口当前已加载的 manifest.tasks 和最近 run trace.taskGraph,在聊天里列出 active、carry、ready、失败或待处理任务的验收条件和预期产物,并提供 `/tasks` 草稿;该命令不调用 Tauri 读写、不读取任务文件或 trace 文件、不新增普通用户验收面板,真正查看完整任务仍由用户发送 `/tasks` 并走原读取流。
- 聊天输入 `/groups` 只使用主窗口当前已加载的 manifest.tasks 和最近 run trace.taskGraph / passPlans,在聊天里列出六个专业组的完成、active、carry、ready、失败数量和下一步任务,并提供 `/tasks` 草稿;该命令不调用 Tauri 读写、不读取任务文件或 trace 文件、不新增普通用户专业组面板,真正查看完整任务仍由用户发送 `/tasks` 并走原读取流。
@@ -272,7 +275,7 @@ game-project/
- 聊天输入 `/todo` 只使用主窗口当前已加载的 manifest 和最近 run trace,在聊天里列出下一轮优先小步,优先失败、active、carry 和 ready 任务,没有 trace 时回退当前 ready 任务,并提供 `/tasks``/review``/next` 草稿;该命令不调用 Tauri 读写、不读取任务文件、不启动 run、不修改项目、不新增普通用户小步面板,真正查看任务或继续修复仍由用户发送对应草稿并走原权限流。
- 聊天输入 `/handoff` 只使用主窗口当前已加载的 manifest、最近 run trace、Agent 状态和已载入历史 run 批次,在聊天里生成项目交接摘要,并提供 `/next` 作为后续草稿;该命令不调用 Tauri 读写、不读取文件、不启动或打开预览、不新增普通用户面板,用户必须再发送草稿并按原命令权限流继续。
- 聊天输入 `/runs` 只使用主窗口当前已加载的 latest trace 和已载入历史 run 批次,在聊天里列出 `/trace``/read .agent/runs/...` 读取草稿;该命令不调用 Tauri 读写、不滚动加载更多历史、不启动或打开预览、不新增普通用户面板,用户必须再发送草稿并按原命令权限流继续。
- 聊天输入 `/next` 只使用主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要,在聊天里给出下一步建议,列出 `/goal``/spec``/mvp``/pitch``/demo``/rules``/tutorial``/mobile``/accessibility``/performance``/polish``/blockers``/ready``/deps``/revise``/tasks``/criteria``/groups``/balance``/budget``/qa``/changes``/todo``/trace``/review``/context``/timeline``/playtest``/test-plan``/feedback``/share``/listing``/run``/export``/exports``/open-preview``/assets``/credits``/art``/audio``/publish``/artifacts``/run-artifacts``/passes``/run-files``/internals``/logs``/agent-resume ` 等安全命令草稿方向,并提供一个首选草稿;该命令不调用 Tauri 读写、不启动或打开预览、不读取文件,用户必须再发送草稿并按原命令权限流继续。
- 聊天输入 `/next` 只使用主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要,在聊天里给出下一步建议,列出 `/goal``/spec``/mvp``/pitch``/demo``/rules``/tutorial``/mobile``/accessibility``/performance``/polish``/blockers``/ready``/deps``/revise``/privacy``/tasks``/criteria``/groups``/balance``/budget``/qa``/changes``/todo``/trace``/review``/context``/timeline``/playtest``/test-plan``/feedback``/share``/listing``/run``/export``/exports``/open-preview``/assets``/credits``/art``/audio``/publish``/artifacts``/run-artifacts``/passes``/run-files``/internals``/logs``/agent-resume ` 等安全命令草稿方向,并提供一个首选草稿;该命令不调用 Tauri 读写、不启动或打开预览、不读取文件,用户必须再发送草稿并按原命令权限流继续。
- 聊天输入 `/review` 只使用主窗口当前已加载的最近 run trace,在聊天里列出 Evaluator 通过 / 需返工状态、返工焦点、返工路线、下一步和最近评审步骤;该命令不调用 Tauri 读写、不读取 `.agent/findings.md`、不新增普通用户评审面板,真正读取评审记录仍由用户发送 `/read .agent/findings.md` 并走 `file.read` 权限流,需要返工时只填入 `/agent-resume ` 草稿。
- 聊天输入 `/context` 只使用主窗口当前已加载的 manifest 和最近 run trace,在聊天里列出项目对话、短期记忆、长期记忆、项目黑板、Agent 对话、Agent 私有记忆、manifest、最近 trace 和最近 LLM 输入路径;该命令不调用 Tauri 读写、不读取上下文文件、不新增普通用户上下文面板,真正查看上下文仍由用户发送 `/read``/memory blackboard` 并走原权限流。
- 聊天输入 `/timeline` 只使用主窗口当前已加载的 manifest.commandRuns 和最近 run trace,在聊天里列出最近命令、日志读取草稿、最近 Run 状态和最近 Agent 步骤;该命令不调用 Tauri 读写、不读取日志或 trace 文件、不新增普通用户时间线面板,真正查看日志、trace 或历史仍由用户发送对应草稿并走原权限流。