补充新手引导聊天入口
新增 /tutorial 新手引导检查摘要 补充 /next 与 /help 的引导入口覆盖 同步 AI 游戏创作 App 技术方案和决策记录
This commit is contained in:
@@ -1872,6 +1872,7 @@ const chatCommandHelp = [
|
||||
'/mvp:查看本轮最小可玩范围',
|
||||
'/pitch:查看试玩定位与卖点',
|
||||
'/rules:查看玩法操作与规则',
|
||||
'/tutorial:查看新手引导检查',
|
||||
'/risks:查看当前项目风险',
|
||||
'/criteria:查看当前任务验收标准',
|
||||
'/groups:查看专业组进度',
|
||||
@@ -2358,6 +2359,101 @@ function summarizeProjectControlGuide(
|
||||
};
|
||||
}
|
||||
|
||||
function summarizeProjectTutorialGuide(
|
||||
nextManifest: GameCreationAppManifest,
|
||||
trace: GameCreationAgentRunTrace | null,
|
||||
) {
|
||||
const preview = nextManifest.preview;
|
||||
const previewRunning = preview?.status === 'running' && preview.url;
|
||||
const previewSummary = previewRunning
|
||||
? `运行中 ${preview.url}`
|
||||
: preview
|
||||
? previewStatusLabels[preview.status]
|
||||
: '未启动';
|
||||
const tracePassed = isAgentRunTracePassed(trace);
|
||||
const goal =
|
||||
nextManifest.goal?.trim() ||
|
||||
trace?.goal?.trim() ||
|
||||
trace?.taskGraph.goal?.trim() ||
|
||||
'暂无';
|
||||
const manifestTasks = taskRowsFromManifest(nextManifest);
|
||||
const traceTasks = trace?.taskGraph.tasks ?? [];
|
||||
const tasks = manifestTasks.map(
|
||||
(task) => traceTasks.find((traceTask) => traceTask.id === task.id) ?? task,
|
||||
);
|
||||
const playtestTask =
|
||||
tasks.find((task) => task.id === 'preview-playtest') ?? null;
|
||||
const hasGameArtifact =
|
||||
trace?.artifacts.some(
|
||||
(artifact) =>
|
||||
artifact.path === 'game/index.html' || artifact.path === 'game/',
|
||||
) ?? false;
|
||||
const latestTutorialStep =
|
||||
trace?.steps
|
||||
.filter(
|
||||
(step) =>
|
||||
step.taskId === 'design-foundation' ||
|
||||
step.taskId === 'preview-readiness' ||
|
||||
step.taskId === 'preview-playtest' ||
|
||||
step.phase === 'generate' ||
|
||||
step.phase === 'playtest' ||
|
||||
step.toolCalls.some(
|
||||
(toolCall) =>
|
||||
toolCall.toolId === 'game.static_smoke' ||
|
||||
toolCall.toolId.startsWith('preview.'),
|
||||
),
|
||||
)
|
||||
.slice(-1)[0] ?? null;
|
||||
|
||||
let draftCommand = '/rules';
|
||||
let draftCommandLabel = '查看玩法规则';
|
||||
if (trace && !tracePassed) {
|
||||
draftCommand = '/review';
|
||||
draftCommandLabel = '查看评审';
|
||||
} else if (tracePassed && !hasGameArtifact) {
|
||||
draftCommand =
|
||||
'/agent-resume 新手引导:在首屏加入目标、操作、反馈、失败重开提示';
|
||||
draftCommandLabel = '补充新手引导';
|
||||
} else if (previewRunning) {
|
||||
draftCommand = '/open-preview';
|
||||
draftCommandLabel = '打开预览';
|
||||
} else if (tracePassed) {
|
||||
draftCommand = '/run';
|
||||
draftCommandLabel = '启动预览';
|
||||
}
|
||||
|
||||
return {
|
||||
text: [
|
||||
'新手引导:',
|
||||
`- 项目:${nextManifest.name}`,
|
||||
`- 首屏目标:${goal}`,
|
||||
'- 首局 30 秒:看到目标;尝试操作;收到反馈;理解失败/胜利;能重开',
|
||||
`- 当前证据:原型入口 ${hasGameArtifact ? '已生成' : '未见 trace 产物'};${
|
||||
tracePassed
|
||||
? `最近 run 已通过${trace?.runId ? ` ${trace.runId}` : ''}`
|
||||
: trace
|
||||
? `最近 run 未通过 ${trace.status} / ${trace.stopReason}`
|
||||
: '暂无最近 run'
|
||||
};预览 ${previewSummary}`,
|
||||
`- 试玩任务:${
|
||||
playtestTask
|
||||
? `${taskGroupLabels[playtestTask.group]} / ${playtestTask.role} ${playtestTask.title} · ${taskStatusLabels[playtestTask.status]}`
|
||||
: '暂无'
|
||||
}`,
|
||||
`- 最近引导证据:${
|
||||
latestTutorialStep
|
||||
? `${latestTutorialStep.agent} #${latestTutorialStep.pass} · ${latestTutorialStep.status} · ${latestTutorialStep.summary}`
|
||||
: '暂无'
|
||||
}`,
|
||||
'- 需要补齐:首屏目标提示;操作提示;碰撞/得分反馈;失败或胜利提示;重开按钮',
|
||||
'- 参考:/rules;/playtest;/feedback;/pitch',
|
||||
`- 建议:${draftCommand}`,
|
||||
].join('\n'),
|
||||
draftCommand,
|
||||
draftCommandLabel,
|
||||
};
|
||||
}
|
||||
|
||||
function summarizeProjectRisks(
|
||||
nextManifest: GameCreationAppManifest,
|
||||
trace: GameCreationAgentRunTrace | null,
|
||||
@@ -3622,6 +3718,7 @@ function summarizeNextProjectActions(
|
||||
addSuggestion('查看本轮 MVP 范围', '/mvp');
|
||||
addSuggestion('查看试玩定位与卖点', '/pitch');
|
||||
addSuggestion('查看玩法操作与规则', '/rules');
|
||||
addSuggestion('查看新手引导检查', '/tutorial');
|
||||
addSuggestion('查看数值与难度口径', '/balance');
|
||||
|
||||
const readyTasks = selectGameCreationAppReadyTasks({
|
||||
@@ -7309,6 +7406,23 @@ export function App() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (prompt === '/tutorial') {
|
||||
if (!requireChatProjectForUserAction()) {
|
||||
return;
|
||||
}
|
||||
const summary = summarizeProjectTutorialGuide(manifest, agentRunTrace);
|
||||
setMessages((current) => [
|
||||
...current,
|
||||
{
|
||||
role: 'assistant',
|
||||
text: summary.text,
|
||||
draftCommand: summary.draftCommand,
|
||||
draftCommandLabel: summary.draftCommandLabel,
|
||||
},
|
||||
]);
|
||||
return;
|
||||
}
|
||||
|
||||
if (prompt === '/risks') {
|
||||
if (!requireChatProjectForUserAction()) {
|
||||
return;
|
||||
|
||||
@@ -2545,6 +2545,111 @@ describe('AI 游戏创作 App 界面边界', () => {
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeControls.exportPackage);
|
||||
|
||||
const commandCountsBeforeTutorial = {
|
||||
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,
|
||||
};
|
||||
submitChat('/tutorial');
|
||||
const tutorialMessages = await screen.findAllByText(/新手引导:/);
|
||||
const tutorialMessage = tutorialMessages[tutorialMessages.length - 1];
|
||||
expect(tutorialMessage.textContent).toContain('项目:未命名游戏原型');
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'首屏目标:做一个厨房弹幕游戏',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'首局 30 秒:看到目标;尝试操作;收到反馈;理解失败/胜利;能重开',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'当前证据:原型入口 未见 trace 产物;最近 run 已通过 run-main-shortcut-trace;预览 未启动',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'试玩任务:程序组 / Playtest 预览并试玩验收 · 待处理',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'最近引导证据:Generator #1 · completed · 生成可运行草案',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'需要补齐:首屏目标提示;操作提示;碰撞/得分反馈;失败或胜利提示;重开按钮',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'参考:/rules;/playtest;/feedback;/pitch',
|
||||
);
|
||||
expect(tutorialMessage.textContent).toContain(
|
||||
'建议:/agent-resume 新手引导:在首屏加入目标、操作、反馈、失败重开提示',
|
||||
);
|
||||
const tutorialMessageList = document.querySelector('.message-list');
|
||||
expect(tutorialMessageList).not.toBeNull();
|
||||
const tutorialDraftButtons = within(
|
||||
tutorialMessageList as HTMLElement,
|
||||
).getAllByRole('button', { name: '补充新手引导' });
|
||||
fireEvent.click(tutorialDraftButtons[tutorialDraftButtons.length - 1]);
|
||||
expect(screen.getByLabelText('创作想法')).toHaveProperty(
|
||||
'value',
|
||||
'/agent-resume 新手引导:在首屏加入目标、操作、反馈、失败重开提示',
|
||||
);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'get_local_game_manifest',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.manifestRead);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'read_local_project_file',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.fileRead);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'list_local_project_files',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.fileList);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'run_limited_local_command',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.runLocal);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'start_local_game_preview',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.startPreview);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'open_local_game_preview',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.openPreview);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'export_local_project_package',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.exportPackage);
|
||||
expect(
|
||||
invoke.mock.calls.filter(
|
||||
([command]) => command === 'list_local_project_export_packages',
|
||||
),
|
||||
).toHaveLength(commandCountsBeforeTutorial.exportList);
|
||||
|
||||
const manifestReadCountBeforeRisks = invoke.mock.calls.filter(
|
||||
([command]) => command === 'get_local_game_manifest',
|
||||
).length;
|
||||
@@ -3221,6 +3326,7 @@ describe('AI 游戏创作 App 界面边界', () => {
|
||||
expect(screen.getByText(/查看本轮 MVP 范围:\/mvp/)).not.toBeNull();
|
||||
expect(screen.getByText(/查看试玩定位与卖点:\/pitch/)).not.toBeNull();
|
||||
expect(screen.getByText(/查看玩法操作与规则:\/rules/)).not.toBeNull();
|
||||
expect(screen.getByText(/查看新手引导检查:\/tutorial/)).not.toBeNull();
|
||||
expect(screen.getByText(/查看数值与难度口径:\/balance/)).not.toBeNull();
|
||||
expect(screen.getByText(/查看 .* 个 ready 任务:\/tasks/)).not.toBeNull();
|
||||
expect(screen.getByText(/查看当前任务验收标准:\/criteria/)).not.toBeNull();
|
||||
@@ -9414,6 +9520,7 @@ describe('AI 游戏创作 App 界面边界', () => {
|
||||
expect(screen.getByText(/\/mvp:查看本轮最小可玩范围/)).not.toBeNull();
|
||||
expect(screen.getByText(/\/pitch:查看试玩定位与卖点/)).not.toBeNull();
|
||||
expect(screen.getByText(/\/rules:查看玩法操作与规则/)).not.toBeNull();
|
||||
expect(screen.getByText(/\/tutorial:查看新手引导检查/)).not.toBeNull();
|
||||
expect(screen.getByText(/\/risks:查看当前项目风险/)).not.toBeNull();
|
||||
expect(screen.getByText(/\/criteria:查看当前任务验收标准/)).not.toBeNull();
|
||||
expect(screen.getByText(/\/groups:查看专业组进度/)).not.toBeNull();
|
||||
|
||||
@@ -3870,6 +3870,7 @@
|
||||
- 2026-07-03 调整:普通用户通过聊天输入 `/mvp` 查看本轮最小可玩范围,只基于当前 manifest、最近 run trace、preview、任务、资产和最近命令汇总 MVP 内、当前状态、试玩包状态和暂不做事项,并提供 `/review`、`/criteria`、`/trace`、`/run`、`/export`、`/exports` 或 `/next` 草稿;该入口不得触发 Tauri 读写、不得读取文件、不得启动或打开预览、不得导出试玩包,也不得新增普通用户 MVP 面板。
|
||||
- 2026-07-03 调整:普通用户通过聊天输入 `/pitch` 查看试玩定位与卖点,只基于当前 manifest、最近 run trace 和 preview 状态汇总试玩定位、一句话、核心乐趣、当前可演示状态、测试者讲解口径和暂不承诺事项,并提供 `/mvp`、`/review`、`/trace`、`/open-preview` 或 `/run` 草稿;该入口不得触发 Tauri 读写、不得读取文件、不得启动或打开预览、不得直接继续 run,也不得新增普通用户定位面板。该入口服务试玩讲解,不承接 `/listing` 的作品页包装。
|
||||
- 2026-07-03 调整:普通用户通过聊天输入 `/rules` 查看玩法操作与规则,只基于当前 manifest、最近 run trace.taskGraph、trace artifacts 和 steps 汇总玩法目标、操作 / 胜负 / 重开口径、设计与入口产物状态、相关任务和最近程序 / 试玩步骤,并提供 `/read game/game_design.md`、`/agent-resume 操作说明:...` 或 `/next` 草稿;该入口不得触发 Tauri 读写、不得读取设计文件、不得启动预览或继续 run,也不得新增普通用户规则面板。
|
||||
- 2026-07-03 调整:普通用户通过聊天输入 `/tutorial` 查看新手引导检查,只基于当前 manifest、最近 run trace、preview 和任务状态汇总首屏目标、首局 30 秒引导、原型证据、试玩任务、最近引导证据和补齐项,并提供 `/rules`、`/review`、`/agent-resume 新手引导:...`、`/open-preview` 或 `/run` 草稿;该入口不得触发 Tauri 读写、不得读取设计文件、不得启动或打开预览、不得直接继续 run,也不得新增普通用户引导面板。
|
||||
- 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 文件,也不得新增普通用户专业组面板。
|
||||
@@ -3893,7 +3894,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 调整:普通用户通过聊天输入 `/next` 触发下一步建议入口,只基于主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要生成聊天建议,列出 `/goal`、`/mvp`、`/pitch`、`/rules`、`/tasks`、`/criteria`、`/groups`、`/balance`、`/budget`、`/qa`、`/changes`、`/trace`、`/review`、`/context`、`/timeline`、`/playtest`、`/feedback`、`/share`、`/listing`、`/run`、`/open-preview`、`/assets`、`/art`、`/audio`、`/publish`、`/artifacts`、`/run-artifacts`、`/passes`、`/run-files`、`/internals`、`/logs`、`/agent-resume ` 等安全命令草稿方向,并提供一个首选草稿;该命令不得直接执行 Tauri 读写、启动或打开预览、读取本地文件,也不得绕过原有命令确认和 `file.read` 权限流。
|
||||
- 2026-07-03 调整:普通用户通过聊天输入 `/next` 触发下一步建议入口,只基于主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要生成聊天建议,列出 `/goal`、`/mvp`、`/pitch`、`/rules`、`/tutorial`、`/tasks`、`/criteria`、`/groups`、`/balance`、`/budget`、`/qa`、`/changes`、`/trace`、`/review`、`/context`、`/timeline`、`/playtest`、`/feedback`、`/share`、`/listing`、`/run`、`/open-preview`、`/assets`、`/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 读写,也不得新增普通用户轮次面板。
|
||||
|
||||
@@ -105,6 +105,7 @@ game-project/
|
||||
- 聊天输入 `/mvp` 可在普通聊天消息里查看本轮最小可玩范围、当前状态、试玩包状态和暂不做事项,不读取文件、不启动预览、不导出试玩包,也不新增普通用户 MVP 面板。
|
||||
- 聊天输入 `/pitch` 可在普通聊天消息里查看试玩定位与卖点,不读取文件、不启动或打开预览、不直接继续 run,也不新增普通用户定位面板。
|
||||
- 聊天输入 `/rules` 可在普通聊天消息里查看玩法操作与规则口径,不读取设计文件、不启动预览、不直接继续 run,也不新增普通用户规则面板。
|
||||
- 聊天输入 `/tutorial` 可在普通聊天消息里查看新手引导检查,不读取设计文件、不启动或打开预览、不直接继续 run,也不新增普通用户引导面板。
|
||||
- 聊天输入 `/criteria` 可在普通聊天消息里查看当前任务验收标准和预期产物,不读取任务文件或 trace 文件,也不新增普通用户验收面板。
|
||||
- 聊天输入 `/groups` 可在普通聊天消息里查看六个专业组进度和下一步任务,不读取任务文件或 trace 文件,也不新增普通用户专业组面板。
|
||||
- 聊天输入 `/balance` 可在普通聊天消息里查看数值与难度口径,不读取数值表、不启动预览、不直接继续 run,也不新增普通用户数值面板。
|
||||
@@ -131,6 +132,7 @@ game-project/
|
||||
- `/mvp` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest、最近 run trace、preview、任务、资产和最近命令汇总 MVP 内、当前状态、试玩包状态和暂不做事项,提供 `/review`、`/criteria`、`/trace`、`/run`、`/export`、`/exports` 或 `/next` 草稿,不触发 Tauri 读写、不读取文件、不启动或打开预览、不导出试玩包、不新增普通用户 MVP 面板。
|
||||
- `/pitch` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest、最近 run trace 和 preview 状态汇总试玩定位、一句话、核心乐趣、可演示状态、测试者讲解口径和暂不承诺事项,提供 `/mvp`、`/review`、`/trace`、`/open-preview` 或 `/run` 草稿,不触发 Tauri 读写、不读取文件、不启动或打开预览、不直接继续 run、不新增普通用户定位面板。
|
||||
- `/rules` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest、最近 run trace.taskGraph、trace artifacts 和 steps 汇总玩法目标、操作 / 胜负 / 重开口径、设计与入口产物状态、相关任务和最近程序 / 试玩步骤,提供 `/read game/game_design.md`、`/agent-resume 操作说明:...` 或 `/next` 草稿,不触发 Tauri 读写、不读取设计文件、不启动预览或继续 run、不新增普通用户规则面板。
|
||||
- `/tutorial` 聊天入口由 `appSurface.test.ts` 主窗口 smoke 覆盖:只基于当前已加载 manifest、最近 run trace、preview 和任务状态汇总首屏目标、首局 30 秒引导、原型证据、试玩任务、最近引导证据和补齐项,提供 `/rules`、`/review`、`/agent-resume 新手引导:...`、`/open-preview` 或 `/run` 草稿,不触发 Tauri 读写、不读取设计文件、不启动或打开预览、不直接继续 run、不新增普通用户引导面板。
|
||||
- `/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、不新增普通用户数值面板。
|
||||
@@ -222,6 +224,7 @@ game-project/
|
||||
- 聊天输入 `/mvp` 只使用主窗口当前已加载的 manifest、最近 run trace、preview、任务、资产和最近命令摘要,在聊天里列出本轮 MVP 内、当前状态、任务、预览、资产、试玩包状态和暂不做事项;该命令不调用 Tauri 读写、不读取文件、不启动或打开预览、不导出试玩包、不新增普通用户 MVP 面板,真正运行、导出或查看包仍由用户发送对应草稿并走原权限流。
|
||||
- 聊天输入 `/pitch` 只使用主窗口当前已加载的 manifest、最近 run trace 和 preview 状态,在聊天里列出试玩定位、一句话、核心乐趣、当前可演示状态、测试者讲解口径和暂不承诺事项;该命令不调用 Tauri 读写、不读取文件、不启动或打开预览、不直接继续 run、不新增普通用户定位面板,真正运行、打开预览或查看 trace 仍由用户发送对应草稿并走原权限流。
|
||||
- 聊天输入 `/rules` 只使用主窗口当前已加载的 manifest、最近 run trace.taskGraph、trace artifacts 和 steps,在聊天里列出玩法目标、操作 / 胜负 / 重开口径、设计与入口产物状态、相关任务和最近程序 / 试玩步骤;该命令不调用 Tauri 读写、不读取设计文件、不启动预览、不直接继续 run、不新增普通用户规则面板,真正读取设计或补充操作说明仍由用户发送对应草稿并走原权限流。
|
||||
- 聊天输入 `/tutorial` 只使用主窗口当前已加载的 manifest、最近 run trace、preview 和任务状态,在聊天里列出首屏目标、首局 30 秒引导、原型证据、试玩任务、最近引导证据和补齐项;该命令不调用 Tauri 读写、不读取设计文件、不启动或打开预览、不直接继续 run、不新增普通用户引导面板,真正补齐引导、运行或打开预览仍由用户发送对应草稿并走原权限流。
|
||||
- 聊天输入 `/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` 并走原读取流。
|
||||
@@ -231,7 +234,7 @@ game-project/
|
||||
- 聊天输入 `/changes` 只使用主窗口当前已加载的 manifest、最近 run trace 的 artifacts / steps 和最近命令,在聊天里列出最近 run、可验产物数量、关键产物、最近输出、当前资产、全部产物读取入口、trace 入口和真实 diff 查看方向,并提供 `/read <首个可验产物>` 或 `/run-artifacts` 草稿;该命令不调用 Tauri 读写、不读取产物或日志文件、不执行 checkpoint diff、不新增普通用户变更面板,真正读取产物或对比 checkpoint 仍由用户发送对应草稿并走原权限流。
|
||||
- 聊天输入 `/handoff` 只使用主窗口当前已加载的 manifest、最近 run trace、Agent 状态和已载入历史 run 批次,在聊天里生成项目交接摘要,并提供 `/next` 作为后续草稿;该命令不调用 Tauri 读写、不读取文件、不启动或打开预览、不新增普通用户面板,用户必须再发送草稿并按原命令权限流继续。
|
||||
- 聊天输入 `/runs` 只使用主窗口当前已加载的 latest trace 和已载入历史 run 批次,在聊天里列出 `/trace` 和 `/read .agent/runs/...` 读取草稿;该命令不调用 Tauri 读写、不滚动加载更多历史、不启动或打开预览、不新增普通用户面板,用户必须再发送草稿并按原命令权限流继续。
|
||||
- 聊天输入 `/next` 只使用主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要,在聊天里给出下一步建议,列出 `/goal`、`/mvp`、`/pitch`、`/rules`、`/tasks`、`/criteria`、`/groups`、`/balance`、`/budget`、`/qa`、`/changes`、`/trace`、`/review`、`/context`、`/timeline`、`/playtest`、`/feedback`、`/share`、`/listing`、`/run`、`/export`、`/exports`、`/open-preview`、`/assets`、`/art`、`/audio`、`/publish`、`/artifacts`、`/run-artifacts`、`/passes`、`/run-files`、`/internals`、`/logs`、`/agent-resume ` 等安全命令草稿方向,并提供一个首选草稿;该命令不调用 Tauri 读写、不启动或打开预览、不读取文件,用户必须再发送草稿并按原命令权限流继续。
|
||||
- 聊天输入 `/next` 只使用主窗口当前已加载的 manifest、最近 run trace 和最近命令摘要,在聊天里给出下一步建议,列出 `/goal`、`/mvp`、`/pitch`、`/rules`、`/tutorial`、`/tasks`、`/criteria`、`/groups`、`/balance`、`/budget`、`/qa`、`/changes`、`/trace`、`/review`、`/context`、`/timeline`、`/playtest`、`/feedback`、`/share`、`/listing`、`/run`、`/export`、`/exports`、`/open-preview`、`/assets`、`/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 或历史仍由用户发送对应草稿并走原权限流。
|
||||
|
||||
Reference in New Issue
Block a user