@unoverse-platform/studio 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/App.tsx
CHANGED
|
@@ -232,7 +232,9 @@ function Shell({
|
|
|
232
232
|
{!theme ? (
|
|
233
233
|
<div className="p-6 text-xs text-gray-500">Reading your theme…</div>
|
|
234
234
|
) : view === "apps" ? (
|
|
235
|
-
|
|
235
|
+
// Standalone Studio authors offline: open apps in MOCK (the defaultLive=true
|
|
236
|
+
// resting mode is Canvas's, where the universe is right there).
|
|
237
|
+
<TemplatesView theme={theme} themeName={variant} org={org} defaultLive={false} />
|
|
236
238
|
) : view === "components" ? (
|
|
237
239
|
<ComponentsView theme={theme} org={org} />
|
|
238
240
|
) : view === "atoms" ? (
|
|
@@ -166,6 +166,23 @@ the first read, never standing debt. This is implemented in
|
|
|
166
166
|
`server/src/runtime/components/executor/briefService.ts`; a component that fights it burns
|
|
167
167
|
every turn to `maxTurns` and returns an empty text output.
|
|
168
168
|
|
|
169
|
+
### The agent node's system prompt stays ROLE-ONLY
|
|
170
|
+
|
|
171
|
+
The service port already delivers everything else when the agent connects: the fill
|
|
172
|
+
protocol (`briefService.ts` `getSchema.instructions` — survey once, batch fills, blanks
|
|
173
|
+
are finished, stop when done — folded into the agent's system prompt by MCPServiceRouter),
|
|
174
|
+
the content rules (each part's compiled brief), and the grounding law (injected into the
|
|
175
|
+
schema description). A workflow agent's system prompt therefore carries ONE line of role
|
|
176
|
+
("You fill the page from this run's documents; the service's instructions and each part's
|
|
177
|
+
schema carry every rule") and nothing more.
|
|
178
|
+
|
|
179
|
+
Anything longer is a defect with two failure modes, both observed live (2026-08-18,
|
|
180
|
+
deal-page): content rules in the prompt DRIFT from the briefs the moment either is edited,
|
|
181
|
+
and hand-written protocol CONTRADICTS the served protocol (a prompt demanding "one section
|
|
182
|
+
per fill call" while the service instructs "batch into as few calls as possible"). When
|
|
183
|
+
auditing a briefed-component workflow, read the agent node's `systemPrompt` and delete
|
|
184
|
+
every sentence the schema or the service already carries.
|
|
185
|
+
|
|
169
186
|
---
|
|
170
187
|
|
|
171
188
|
## Checklist
|
|
@@ -178,3 +195,5 @@ every turn to `maxTurns` and returns an empty text output.
|
|
|
178
195
|
5. Linter: 0 errors, and every warning read rather than silenced.
|
|
179
196
|
6. Previewed in Studio, then filled once for real. Studio proves the layout; only a fill
|
|
180
197
|
proves the prompt.
|
|
198
|
+
7. Workflow door only: every agent node filling this component has a ROLE-ONLY system
|
|
199
|
+
prompt — no sentence the schema or the service instructions already carry.
|