Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
0deeea7
fix(orchestrator): Grok v2 settlement, spawn_subagent, monitor, and i…
mwolson Jul 3, 2026
3429f2b
fix(orchestrator): Harden Grok interrupt cleanup
mwolson Jul 18, 2026
30061ff
fix(orchestrator): Suppress wake spam after in-turn monitors
mwolson Jul 18, 2026
fa68d8f
fix(orchestrator): Narrow in-turn monitor handled and wake suppress
mwolson Jul 18, 2026
9a0ee56
fix(orchestrator): Mark in-turn handled only before prompt settle
mwolson Jul 18, 2026
1b5de90
fix(orchestrator): Mark failed/interrupted in-turn tools as handled
mwolson Jul 18, 2026
15b326c
fix(orchestrator): Preserve Grok runtime on settled steering interrupt
mwolson Jul 18, 2026
17a49e6
fix(orchestrator): Soften non-Stop Grok interrupts and track backgrou…
mwolson Jul 18, 2026
cc13ec5
fix(orchestrator): Quarantine post-Stop background task mutations
mwolson Jul 19, 2026
4b67887
fix(acp): Use wall clock for process containment teardown polls
mwolson Jul 19, 2026
de9a25d
fix(orchestrator): Contain orphan runtime on Stop after soft steer
mwolson Jul 19, 2026
fbd8aa3
fix(acp): Sweep stale cgroup lease directories on lease creation
mwolson Jul 19, 2026
6add8c0
fix(orchestrator): Close settled-steer wire race and finish orphan St…
mwolson Jul 19, 2026
e4972e3
fix(orchestrator): Preserve streamed subagent text and pin parent thr…
mwolson Jul 19, 2026
3d0ae5c
fix(orchestrator): Suppress steer-supersede interrupt items and stale…
mwolson Jul 19, 2026
838d38d
fix(orchestrator): Pair hard-Stop interrupt result across attempt sup…
mwolson Jul 19, 2026
2e46c51
fix(orchestrator): Show paired supersede interrupt result and expire …
mwolson Jul 19, 2026
05fac14
fix(orchestrator): Refuse ambiguous prompt settles and close env-lock…
mwolson Jul 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

# Blacksmith boots GitHub's Ubuntu runner image (gcc is usually present),
# but ACP process-tree live tests compile a small pthread fixture with `cc`
# and soft-skip when it is missing. Install build-essential so that path
# always runs in CI instead of silently no-oping.
- name: Install C toolchain for process-tree fixtures
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential
command -v cc

- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
Expand Down
437 changes: 436 additions & 1 deletion apps/server/scripts/acp-mock-agent.ts

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions apps/server/scripts/acp-thread-spawn-helper.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#define _GNU_SOURCE

#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>

static const char *pid_path;

static void *spawn_child(void *unused) {
(void)unused;
pid_t child = fork();
if (child == 0) {
execlp("sleep", "sleep", "120", NULL);
_exit(127);
}
if (child < 0) return NULL;
FILE *file = fopen(pid_path, "w");
if (file != NULL) {
fprintf(file, "%ld %d\n", syscall(SYS_gettid), child);
fclose(file);
}
waitpid(child, NULL, 0);
return NULL;
}

int main(int argc, char **argv) {
if (argc != 2) return 2;
pid_path = argv[1];
pthread_t worker;
if (pthread_create(&worker, NULL, spawn_child, NULL) != 0) return 3;
if (pthread_join(worker, NULL) != 0) return 4;
return 0;
}
Loading
Loading