fix(servers): address CodeRabbit review on linked-server automation

Scope session permission modes and schedule locks by server, keep remote schedule cleanup working when a server is disabled or removed, harden the session server-scope migration and rollback, reject local server multi-run targets, widen schedule query invalidation, and update CLI fixtures for server-scoped schemas.
This commit is contained in:
Chris Scott committed 2026-10-18 21:01:53 -04:00
1 parent 780d31087b
commit 9ec2ed5903
13 files changed
+426 -49

No files matched your search

+3
View File
@@ -7,6 +7,7 @@ const BASE_URL = 'http://localhost:5003'
const goal: SessionGoal = {
id: 7,
sessionId: 'ses_1',
serverId: 'local',
directory: '/repo',
objective: 'fix the flaky test',
status: 'active',
@@ -27,6 +28,8 @@ const goal: SessionGoal = {
const run: MultiRun = {
id: 3,
repoId: 1,
serverId: 'local',
directory: null,
name: 'sweep',
prompt: 'hello',
isolated: true,