feat: solo default, job completion reports, tools wave-1 (0.9.32)
Password Realm no longer auto-enables parliament (keeps task/worker tools); finished jobs fan out to agent notes + TUI; raise PAR_MAX/grep caps and tag truncations. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-3
@@ -643,15 +643,16 @@ int cst_parliament_apply_sync(unsigned long revision, const char *parliament_id,
|
||||
}
|
||||
|
||||
int cst_parliament_is_active(void) {
|
||||
/* Solo (legacy_workers) is the default for single-machine execution.
|
||||
* Password Realm alone no longer forces parliament — that starved task /
|
||||
* worker_* / runtime tools. Opt in via CST_COLLABORATION / settings, or
|
||||
* when an open parliament meta already exists. */
|
||||
const char *mode = getenv("CST_COLLABORATION");
|
||||
if (mode && mode[0])
|
||||
return strcmp(mode, "parliament") == 0;
|
||||
cst_settings_t s;
|
||||
if (cst_settings_load(&s) == 0 && s.collaboration[0])
|
||||
return strcmp(s.collaboration, "parliament") == 0;
|
||||
char dir[OS_PATH_MAX];
|
||||
if (cst_realm_dir(dir, sizeof(dir)) == 0 && cst_realm_is_password_mode(dir))
|
||||
return 1;
|
||||
cst_parliament_meta_t m;
|
||||
if (cst_parliament_load(&m) == 0 && m.status[0] &&
|
||||
strcmp(m.status, "idle") != 0 && strcmp(m.status, "dissolved") != 0)
|
||||
|
||||
Reference in New Issue
Block a user