收敛 AGC 外置智能体提示词,去掉客户端与宿主实现细节 #491
Reference in New Issue
Block a user
Delete Branch "codex/agc-prompt-internal-detail-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
AGC 外置智能体提示词里暴露了过多客户端/宿主实现细节。本次按「提示词只写模型必须遵守的指令与契约」的边界做收敛:删掉"我们系统怎么实现"的叙述,保留模型真正要执行的契约。
改动
prompts/runtime:删除宿主机制叙述(交付合同冻结与自动关闭、manifest 幂等投影、回执认领与 continuation 派生、浏览器证据回灌、Runtime 自动推进阶段)validation.maxRuns、共用客户端持久预算、preMutationLoopLimit、源码字符上限、错误反馈重试计数)instanceId/sessionId/runId/executionMode/contextBoundary、DirectProject/workspaceMode、autonomous-game-build、Run Profile、manifest DAG)resources/agc-skills:8 个 skill 的客户端职责/状态枚举叙述收敛,skill pack 版本与内容哈希同步design-agent:系统提示、阶段上下文、模板与示例中的渲染器、内部落盘路径、登记编号与平台实现措辞收敛docs/project-memory/shared-memory/team-conventions.md:提示词不写宿主实现细节;改占位符须同步 Rust 调用点与断言验证
cargo check --offline --tests:通过cargo test … prompt:76 passed;design:60 passed;autonomous_game_build:29 passed;tool_planning:10 passednpm run check:encoding、npm run check:rustfmt、node scripts/check-skill-pack.mjs、git diff --check:均通过suzmii referenced this pull request2026-09-23 13:29:35 +08:00