Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: classify PM2 and workspace git reads precisely and keep the Gmail subject guard test on an approved draft (#13055)
[._.]/ Adam Eivy2473185560b5
diff --git a/server/hostControlCoverage.test.js b/server/hostControlCoverage.test.jsindex 5a0e84b2bc..45f2ada1f0 100644--- a/server/hostControlCoverage.test.js+++ b/server/hostControlCoverage.test.js@@ -373,7 +373,7 @@ const REVIEWED_OPEN_MUTATIONS = [['DELETE /api/decks/:id/samples/:sampleId', REMOVES_RECORD],// /api/detect['POST /api/detect/ai', HANDLER_GATED],- ['POST /api/detect/pm2', READ_OVER_POST],+ ['POST /api/detect/pm2', READ_ONLY_PROBE],['POST /api/detect/port', READ_ONLY_PROBE],// /api/devtools/video-download['POST /api/devtools/video-download/:jobId/cancel', REDUCES_EXECUTION],@@ -1272,8 +1272,8 @@ const REVIEWED_OPEN_MUTATIONS = [['POST /api/voice/public/synthesize', EXPOSED_API],// /api/workspace-contexts['DELETE /api/workspace-contexts/:appId', REMOVES_RECORD],- ['POST /api/workspace-contexts/:appId/restore', READ_OVER_POST],- ['POST /api/workspace-contexts/:appId/save', RECORDS],+ ['POST /api/workspace-contexts/:appId/restore', READ_ONLY_EXTERNAL],+ ['POST /api/workspace-contexts/:appId/save', READ_ONLY_EXTERNAL],// /api/writers-room['POST /api/writers-room/exercises', RECORDS],['POST /api/writers-room/exercises/:id/discard', RECORDS],diff --git a/server/lib/hostControlRoutes.js b/server/lib/hostControlRoutes.jsindex 83262d1a7e..13b577b0db 100644--- a/server/lib/hostControlRoutes.js+++ b/server/lib/hostControlRoutes.js@@ -104,8 +104,8 @@* only with host control), voice config (the runtime reconcile likewise),* and the body splits in COMPILED_BODY_ROUTES. Left open with a specific* reason in REVIEWED_OPEN_MUTATIONS (server/hostControlCoverage.test.js):- * fixed read-only probes (`ps`, `du`, `lsof`), the chiptune and waveform- * renders (a fixed ffmpeg encode of audio PortOS synthesized), TTS+ * fixed read-only probes (`ps`, `du`, `lsof`, `pm2 jlist`), the chiptune+ * and waveform renders (a fixed ffmpeg encode of audio PortOS synthesized), TTS* synthesis on an installed runtime (configured inference), and selection* among already-configured providers that arms nothing.* - Importer, Brain and analytics AI (#11036): classify/analyze/retry-issues,@@ -1445,11 +1445,12 @@ const COMPILED_BODY_ROUTES = [// A code-animation prompt that studies a reference video runs ffmpeg over// it (#13055); a prompt without one only reads records.['POST /api/code-animation/prompt', (body) => body?.referenceVideo ? ['referenceVideo'] : []],- // Pre-guard audit, remainder (#13055). Each opens or retargets unattended- // work only for the named value; the rest of the body is records, and- // disarming or disabling stays open.- // Toggling Docker containment runs the docker CLI and removes containers,- // networks and volumes, like the eidoverse toggle above.+ // Pre-guard audit, remainder (#13055). Each gates only the named value; the+ // rest of the body is records, and disarming or disabling stays open except+ // where disabling itself tears down host executables (Docker containment+ // here, and the voice runtime through HOST_CONTROL_VOICE_CONFIG_PATHS).+ // Toggling Docker containment either way runs the docker CLI and removes+ // containers, networks and volumes, like the eidoverse toggle above.['PUT /api/settings/features/docker-containment', (body) => bodyKeys(body)],// Enabling a subscription family re-enables its provider records, the gated// provider-edit change.diff --git a/server/routes/messageGmailReply.test.js b/server/routes/messageGmailReply.test.jsindex f621a965c3..5ad88c5013 100644--- a/server/routes/messageGmailReply.test.js+++ b/server/routes/messageGmailReply.test.js@@ -140,7 +140,8 @@ describe('HTTP Gmail reply identity', () => {it('revalidates the claimed subject if it changes while provider metadata is loading', async () => {const id = await approvedReply();doubles.metadata.mockImplementationOnce(async () => {- await updateDraft(id, { subject: 'Different conversation' });+ // Re-approved, since a content edit alone drops approval (#13055).+ await updateDraft(id, { subject: 'Different conversation', status: 'approved' });return metadata();});const response = await request(app).post(`/api/messages/drafts/${id}/send`);