Codex/fix pr188 191 ci (#194)
Project CI / Repository checks (push) Successful in 2m24s
Project CI / Frontend tests (push) Successful in 2m54s
Project CI / Backend tests (push) Successful in 4m33s
Project CI / Native shell tests (push) Successful in 14m29s

Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/194
Co-authored-by: kdletters <kdletters@qq.com>
Co-committed-by: kdletters <kdletters@qq.com>
This commit was merged in pull request #194.
This commit is contained in:
2026-08-25 15:41:55 +08:00
committed by 段舒康
parent a265a0ff92
commit c09a511aaa
113 changed files with 1102 additions and 40430 deletions
@@ -19,7 +19,7 @@ describe('AI 游戏创作 App 共享契约', () => {
it('keeps command permissions explicit', () => {
const commandIds = GAME_CREATION_APP_COMMANDS.map((command) => command.id);
expect(GAME_CREATION_APP_COMMANDS).toHaveLength(64);
expect(GAME_CREATION_APP_COMMANDS).toHaveLength(63);
expect(commandIds).toContain('project.git_inspect');
expect(commandIds).toContain('project.git_commit');
expect(commandIds).toContain('project.patchset');
@@ -30,7 +30,6 @@ describe('AI 游戏创作 App 共享契约', () => {
expect(commandIds).toContain('command.stdin');
expect(commandIds).toContain('command.terminate');
expect(commandIds).toContain('mcp.call');
expect(commandIds).toContain('agent.route_manifest');
expect(commandIds.indexOf('command.exec')).toBe(
commandIds.indexOf('command.run_limited') + 1,
);
@@ -61,11 +60,6 @@ describe('AI 游戏创作 App 共享契约', () => {
(command) => command.id === 'command.run_limited',
)?.permission,
).toBe('confirm');
expect(
GAME_CREATION_APP_COMMANDS.find(
(command) => command.id === 'agent.route_manifest',
)?.permission,
).toBe('auto');
expect(
GAME_CREATION_APP_COMMANDS.find(
(command) => command.id === 'command.exec',
@@ -40,7 +40,6 @@ export const GAME_CREATION_APP_COMMANDS = [
{ id: 'agent.delegate', permission: 'confirm' },
{ id: 'agent.spawn_isolated', permission: 'confirm' },
{ id: 'agent.schedule_ready', permission: 'confirm' },
{ id: 'agent.route_manifest', permission: 'auto' },
{ id: 'agent.capabilities', permission: 'auto' },
{ id: 'agent.audit', permission: 'auto' },
{ id: 'llm.config_check', permission: 'auto' },