feat(studio): add AI workspace with Codex ACP integration
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good

This commit is contained in:
2026-11-23 03:11:33 +00:00
parent a2b6a81a27
commit ae7d01aa99
36 changed files with 2550 additions and 28 deletions
@@ -308,3 +308,15 @@ External PNGs require an opaque project-bound grant issued by explicit human
source selection. Validate canonical scope, expected bytes and PNG bounds before
staging, then revalidate relevant source bytes at commit. A path, hash or
caller-supplied claim alone is not an external-source grant.
## ACP configuration belongs to Studio
ACP launch settings MUST be machine-local Studio preferences in
`~/.prometeu-studio/ai-settings.json`, with an executable and ordered literal arguments.
They MUST NOT be persisted in project setup or restored as project state. Readers
MUST ignore legacy project `acp` fields while preserving runtime/save paths,
indentation and MCP `agentIntegration` intent. New setup writes MUST omit that field.
A legacy project MUST NOT override or automatically seed the global preference.
Credentials, session IDs, chats and drafts MUST NOT be stored in either setup or
launch preferences. Connection state is transient and cwd/sessions remain per project.
See [the ACP contract](16.%20Codex%20ACP%20Integration%20Specification.md).