feat(studio): coordinate integrated AI activity and internal language services
Start project-owned language and authenticated MCP services when opening a project, reusing the embedded LSP backend without a desktop TCP listener. Keep editor overlays separate from saved-file MCP queries. Reserve conflicting editing before ACP prompt delivery and retain protection through native/tool termination, runtime cleanup and document refresh. Preserve drafts on rejected admission, provide cleanup/preparation recovery, distinguish terminal outcomes and redact permission previews. Add lifecycle, language parity, activity, composition and UI regressions and update the canonical Studio contracts. Keep distribution update alignment as the separate WRK-002A follow-up. Validation: complete make -C tooling verify PASSED in 20261127T035822Z-ec5d9266 (1172 unit, 131 compiler fixture, 31 headless tests). Opt-in real-model and native AI-view qualification are outside that gate. Work: WRK-0029; decision: DEC-0001.
This commit is contained in:
@@ -89,14 +89,16 @@ controls MUST remain outside that split. Adjusting it MUST NOT change execution
|
||||
state or restart the runtime. The split is retained for the open view; it does not
|
||||
introduce persisted project settings or a restoration contract across reopening.
|
||||
|
||||
It MUST NOT initialize an AI client or editor/LSP infrastructure when opening for
|
||||
Opening MUST initialize project-owned internal language and MCP services. The
|
||||
integrated AI connection follows specification 16. This does not mount an editor
|
||||
or add compiler work to FX when opening for
|
||||
Play. Existing headless, MCP, evidence, tests and agent contracts remain available
|
||||
through their existing entry points and services. Their preservation takes
|
||||
precedence over interactive convenience.
|
||||
|
||||
Editors, functional agent integration, tuning during Play,
|
||||
breakpoints, hot reload, PMC builds and distribution/export are outside this
|
||||
slice. Future packaging belongs in Studio as a separate action; Play MUST NOT
|
||||
A full editor, tuning during Play, breakpoints, hot reload, PMC builds and
|
||||
distribution/export are outside this interactive slice. Integrated AI follows
|
||||
specifications 15–16. Future packaging belongs in Studio as a separate action; Play MUST NOT
|
||||
implicitly package a PMC or a distributable runtime.
|
||||
|
||||
## Project selection, creation and loading
|
||||
@@ -354,8 +356,8 @@ available for attribution, with concise visual forms permitted.
|
||||
|
||||
The UI uses static presentation controls with existing themes, text scale,
|
||||
English/Portuguese localization and accessible labels. It MUST NOT instantiate
|
||||
an editor, full-document view, edit/save actions, editorial LSP or unused future
|
||||
editor infrastructure. The legacy JavaFX frontend is not modified by this feature;
|
||||
an editor, full-document view or edit/save actions. Project-owned internal language
|
||||
services still start at project open, independently of this diagnostic view. The legacy JavaFX frontend is not modified by this feature;
|
||||
neutral API constructors remain compatible with its compilation.
|
||||
|
||||
## Verification and limits
|
||||
@@ -394,3 +396,12 @@ Windows/Linux, release performance, physical HiDPI pixel alignment, and human
|
||||
listening/IME/accessibility walkthroughs require separate evidence. Diagnostic runs
|
||||
and failures remain in Work evidence; a later passing run does not establish their
|
||||
unobserved cause.
|
||||
|
||||
|
||||
## AI activity exclusion
|
||||
|
||||
Play admission MUST use the shared Core editing/execution guard. Active or
|
||||
finalizing AI activity MUST disable conflicting Play/settings/navigation actions
|
||||
and keep the AI workspace selected. A running Play session MUST cause AI admission
|
||||
to refuse without stopping Play or discarding game data. Closing requires confirmed
|
||||
agent and managed worker/runtime cleanup before releasing project resources.
|
||||
|
||||
Reference in New Issue
Block a user