Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8ddc2f9
Document harness runtime plan
willwashburn May 25, 2026
84d8735
Implement harness runtime plans
willwashburn May 25, 2026
298ec21
Clarify headless app-server harnesses
willwashburn May 25, 2026
6b4ee74
Refine harness adapter docs
willwashburn May 25, 2026
29c9e3a
Address harness review feedback
willwashburn May 25, 2026
8c429f2
Fix harness runtime review issues
willwashburn May 25, 2026
21a480e
Rename harness plans to configs
willwashburn May 25, 2026
c2629f8
Clarify harness config naming docs
willwashburn May 25, 2026
342833d
Merge branch 'main' into codex/harness-runtime-plans
willwashburn May 25, 2026
e02a295
Fix harness clippy warnings
willwashburn May 25, 2026
75f019c
Default headless harness driver
willwashburn May 25, 2026
4fdda79
Add broker harness registry
willwashburn May 25, 2026
e86f7d0
Remove harness registry state
willwashburn May 25, 2026
af884f5
Resolve harness PR conflicts
willwashburn May 25, 2026
9061a03
Fix SDK spawn pid null handling
willwashburn May 25, 2026
2a1c065
Merge main into harness runtime plans
willwashburn May 26, 2026
7dd7af6
Move trajectories into .agentworkforce
willwashburn May 26, 2026
93780b7
Merge branch 'main' into codex/harness-runtime-plans
willwashburn May 26, 2026
936645d
Revert "Move trajectories into .agentworkforce"
willwashburn May 26, 2026
a8a46f2
Merge main into harness runtime plans
willwashburn May 26, 2026
64df055
Move trajectories under agentworkforce
willwashburn May 26, 2026
c223ca8
Clarify headless app-server worker naming
willwashburn May 26, 2026
514e175
Move harness runtime docs into web
willwashburn May 26, 2026
57af0b5
Move doctor repro docs into web
willwashburn May 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"id": "traj_0d1efjk6aeo2",
"version": 1,
"task": {
"title": "Respond to harness PR review comments"
},
"status": "completed",
"startedAt": "2026-05-25T17:14:45.927Z",
"completedAt": "2026-05-25T17:14:53.457Z",
"agents": [
{
"name": "default",
"role": "lead",
"joinedAt": "2026-05-25T17:14:49.998Z"
}
],
"chapters": [
{
"id": "chap_9esy8vjwbhf5",
"title": "Work",
"agentName": "default",
"startedAt": "2026-05-25T17:14:49.998Z",
"endedAt": "2026-05-25T17:14:53.457Z",
"events": [
{
"ts": 1779729289999,
"type": "decision",
"content": "Fixed valid automated review findings: Fixed valid automated review findings",
"raw": {
"question": "Fixed valid automated review findings",
"chosen": "Fixed valid automated review findings",
"alternatives": [],
"reasoning": "Verified each PR comment against current code; patched runtime compatibility, hook ordering, app-server request boundedness, auth isolation, agent metadata updates, and docs mismatches."
},
"significance": "high"
}
]
}
],
"retrospective": {
"summary": "Addressed PR review comments on harness runtime plans with compatibility, reliability, SDK metadata, and docs fixes.",
"approach": "Standard approach",
"confidence": 0.9
},
"commits": [],
"filesChanged": [],
"projectId": "/private/tmp/relay-harness-runtime-plans",
"tags": [],
"_trace": {
"startRef": "6b4ee74f302b2b96fb678627d27b9f4dbb3a7327",
"endRef": "6b4ee74f302b2b96fb678627d27b9f4dbb3a7327"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Trajectory: Respond to harness PR review comments

> **Status:** ✅ Completed
> **Confidence:** 90%
> **Started:** May 25, 2026 at 01:14 PM
> **Completed:** May 25, 2026 at 01:14 PM

---

## Summary

Addressed PR review comments on harness runtime plans with compatibility, reliability, SDK metadata, and docs fixes.

**Approach:** Standard approach

---

## Key Decisions

### Fixed valid automated review findings

- **Chose:** Fixed valid automated review findings
- **Reasoning:** Verified each PR comment against current code; patched runtime compatibility, hook ordering, app-server request boundedness, auth isolation, agent metadata updates, and docs mismatches.

---

## Chapters

### 1. Work

_Agent: default_

- Fixed valid automated review findings: Fixed valid automated review findings
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"id": "traj_1fjub7c9rlap",
"version": 1,
"task": {
"title": "Rewrite harness docs around SDK adapters"
},
"status": "completed",
"startedAt": "2026-05-25T16:53:04.706Z",
"completedAt": "2026-05-25T16:53:16.077Z",
"agents": [],
"chapters": [],
"retrospective": {
"summary": "Reworked harness docs to be concise and example-led around SDK adapter definitions for Claude, Codex, and OpenCode.",
"approach": "Standard approach",
"confidence": 0.9
},
"commits": [],
"filesChanged": [],
"projectId": "/private/tmp/relay-harness-runtime-plans",
"tags": [],
"_trace": {
"startRef": "298ec2169dcc7827c076a37099824c62ad78d136",
"endRef": "298ec2169dcc7827c076a37099824c62ad78d136"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Trajectory: Rewrite harness docs around SDK adapters

> **Status:** ✅ Completed
> **Confidence:** 90%
> **Started:** May 25, 2026 at 12:53 PM
> **Completed:** May 25, 2026 at 12:53 PM

---

## Summary

Reworked harness docs to be concise and example-led around SDK adapter definitions for Claude, Codex, and OpenCode.

**Approach:** Standard approach
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"id": "traj_7i9tigaejfje",
"version": 1,
"task": {
"title": "Clarify headless app-server harness terminology"
},
"status": "completed",
"startedAt": "2026-05-25T16:34:21.397Z",
"completedAt": "2026-05-25T16:34:33.412Z",
"agents": [
{
"name": "default",
"role": "lead",
"joinedAt": "2026-05-25T16:34:29.105Z"
}
],
"chapters": [
{
"id": "chap_vz66cc5xfiai",
"title": "Work",
"agentName": "default",
"startedAt": "2026-05-25T16:34:29.105Z",
"endedAt": "2026-05-25T16:34:33.412Z",
"events": [
{
"ts": 1779726869106,
"type": "decision",
"content": "Collapsed app-server into headless runtime driver: Collapsed app-server into headless runtime driver",
"raw": {
"question": "Collapsed app-server into headless runtime driver",
"chosen": "Collapsed app-server into headless runtime driver",
"alternatives": [],
"reasoning": "App-server and provider command workers have the same non-PTY broker capability surface; keeping app_server as a separate public runtime made docs and API shape more confusing."
},
"significance": "high"
}
]
}
],
"retrospective": {
"summary": "Clarified app-server as a headless harness driver instead of a separate public runtime.",
"approach": "Standard approach",
"confidence": 0.88
},
"commits": [],
"filesChanged": [],
"projectId": "/private/tmp/relay-harness-runtime-plans",
"tags": [],
"_trace": {
"startRef": "84d87355ef3a727947607690dd0df7bb0e158f5d",
"endRef": "84d87355ef3a727947607690dd0df7bb0e158f5d"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Trajectory: Clarify headless app-server harness terminology

> **Status:** ✅ Completed
> **Confidence:** 88%
> **Started:** May 25, 2026 at 12:34 PM
> **Completed:** May 25, 2026 at 12:34 PM

---

## Summary

Clarified app-server as a headless harness driver instead of a separate public runtime.

**Approach:** Standard approach

---

## Key Decisions

### Collapsed app-server into headless runtime driver

- **Chose:** Collapsed app-server into headless runtime driver
- **Reasoning:** App-server and provider command workers have the same non-PTY broker capability surface; keeping app_server as a separate public runtime made docs and API shape more confusing.

---

## Chapters

### 1. Work

_Agent: default_

- Collapsed app-server into headless runtime driver: Collapsed app-server into headless runtime driver
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"id": "traj_9dj3qiugt26j",
"version": 1,
"task": {
"title": "Fix harness runtime review issues"
},
"status": "completed",
"startedAt": "2026-05-25T17:41:16.384Z",
"completedAt": "2026-05-25T17:53:06.394Z",
"agents": [
{
"name": "default",
"role": "lead",
"joinedAt": "2026-05-25T17:52:56.230Z"
}
],
"chapters": [
{
"id": "chap_h9qfyvlzhsw1",
"title": "Work",
"agentName": "default",
"startedAt": "2026-05-25T17:52:56.230Z",
"endedAt": "2026-05-25T17:53:06.394Z",
"events": [
{
"ts": 1779731576231,
"type": "decision",
"content": "Keep app-server plans attach-only for now: Keep app-server plans attach-only for now",
"raw": {
"question": "Keep app-server plans attach-only for now",
"chosen": "Keep app-server plans attach-only for now",
"alternatives": [],
"reasoning": "The Rust broker can execute durable JSON plans and report an attached host PID, but broker-owned app-server supervision would need explicit lifecycle ownership; rejecting broker-owned host plans avoids a half-supported mode."
},
"significance": "high"
}
]
}
],
"retrospective": {
"summary": "Fixed harness runtime review issues: broker now tracks harness PID separately from worker wrapper PID, validates app-server plans at spawn, extends app-server release grace, avoids app-server delivery_verified overclaiming, and updates SDK/docs examples around env allowlists, permission flags, and attached app-server hosts.",
"approach": "Standard approach",
"confidence": 0.86
},
"commits": [],
"filesChanged": [],
"projectId": "/Users/will/Projects/AgentWorkforce/relay",
"tags": [],
"_trace": {
"startRef": "29c9e3af3bda02dd5e601dd1f648bab4cbf1384a",
"endRef": "29c9e3af3bda02dd5e601dd1f648bab4cbf1384a"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Trajectory: Fix harness runtime review issues

> **Status:** ✅ Completed
> **Confidence:** 86%
> **Started:** May 25, 2026 at 01:41 PM
> **Completed:** May 25, 2026 at 01:53 PM

---

## Summary

Fixed harness runtime review issues: broker now tracks harness PID separately from worker wrapper PID, validates app-server plans at spawn, extends app-server release grace, avoids app-server delivery_verified overclaiming, and updates SDK/docs examples around env allowlists, permission flags, and attached app-server hosts.

**Approach:** Standard approach

---

## Key Decisions

### Keep app-server plans attach-only for now

- **Chose:** Keep app-server plans attach-only for now
- **Reasoning:** The Rust broker can execute durable JSON plans and report an attached host PID, but broker-owned app-server supervision would need explicit lifecycle ownership; rejecting broker-owned host plans avoids a half-supported mode.

---

## Chapters

### 1. Work

_Agent: default_

- Keep app-server plans attach-only for now: Keep app-server plans attach-only for now
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"id": "traj_bd431l65n9lg",
"version": 1,
"task": {
"title": "Remove broker harness registry footgun"
},
"status": "completed",
"startedAt": "2026-05-25T21:55:14.197Z",
"completedAt": "2026-05-25T22:02:22.902Z",
"agents": [],
"chapters": [],
"retrospective": {
"summary": "Removed broker harness registry and harnessId from the PR. SDK named harnesses now resolve to inline harnessConfig before spawn; broker and Relaycast reject harnessId and require concrete configs for custom harness behavior.",
"approach": "Standard approach",
"confidence": 0.9
},
"commits": [],
"filesChanged": [],
"projectId": "/Users/will/Projects/AgentWorkforce/relay",
"tags": [],
"_trace": {
"startRef": "4fdda79ad264412bfc725e4d22a611a78b50df21",
"endRef": "4fdda79ad264412bfc725e4d22a611a78b50df21"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Trajectory: Remove broker harness registry footgun

> **Status:** ✅ Completed
> **Confidence:** 90%
> **Started:** May 25, 2026 at 05:55 PM
> **Completed:** May 25, 2026 at 06:02 PM

---

## Summary

Removed broker harness registry and harnessId from the PR. SDK named harnesses now resolve to inline harnessConfig before spawn; broker and Relaycast reject harnessId and require concrete configs for custom harness behavior.

**Approach:** Standard approach
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"id": "traj_fiygtgr3tfey",
"version": 1,
"task": {
"title": "Fix harness config clippy issues"
},
"status": "completed",
"startedAt": "2026-05-25T18:31:39.975Z",
"completedAt": "2026-05-25T18:34:10.562Z",
"agents": [],
"chapters": [],
"retrospective": {
"summary": "Fixed broker clippy failures by boxing AgentSpec in large protocol enum variants, replacing a manual iter-any check with contains, and moving runtime util tests after all non-test items.",
"approach": "Standard approach",
"confidence": 0.9
},
"commits": [],
"filesChanged": [],
"projectId": "/Users/will/Projects/AgentWorkforce/relay",
"tags": [],
"_trace": {
"startRef": "c2629f897d674166d1614651c41003893b8c0eb8",
"endRef": "c2629f897d674166d1614651c41003893b8c0eb8"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Trajectory: Fix harness config clippy issues

> **Status:** ✅ Completed
> **Confidence:** 90%
> **Started:** May 25, 2026 at 02:31 PM
> **Completed:** May 25, 2026 at 02:34 PM

---

## Summary

Fixed broker clippy failures by boxing AgentSpec in large protocol enum variants, replacing a manual iter-any check with contains, and moving runtime util tests after all non-test items.

**Approach:** Standard approach
Loading
Loading