Skip to content

Commit 0f1798d

Browse files
committed
config mailbox
1 parent 3666845 commit 0f1798d

2 files changed

Lines changed: 42 additions & 6 deletions

File tree

.opencode/oh-my-openagent.jsonc

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
{
2-
"$schema": "file:///Volumes/Topper2TB/Git/agent-harness/assets/oh-my-opencode.schema.json",
3-
"cross_project_mailbox": {
4-
"enabled": true,
5-
"intake_eligible_agents": ["sisyphus"],
6-
"default_sender_access": "allow-none",
7-
"senders": {
2+
"$schema": "file:///Volumes/Topper2TB/Git/agent-harness/assets/oh-my-opencode.schema.json",
3+
"git_master": {
4+
"commit_footer": false,
5+
"git_env_prefix": "GIT_MASTER=1",
6+
"include_co_authored_by": false
7+
},
8+
"cross_project_mailbox": {
9+
"bounds": {
10+
"body_digest_ttl_min": 60,
11+
"max_body_bytes": 64768,
12+
"max_hops": 4,
13+
"max_notes_per_drain": 5,
14+
"reservation_ttl_ms": 120000,
15+
"same_pair_rate_limit_per_min": 6
16+
},
17+
"default_sender_access": "allow-none",
18+
"enabled": true,
19+
"intake_eligible_agents": [
20+
"sisyphus",
21+
"hephaestus",
22+
"atlas"
23+
],
24+
"interrupt_policy": "allow-interrupt",
25+
"launch_policy": "auto", "senders": {
826
"agent-harness-0367cd71": {
927
"access": "allow",
1028
"intent_budget": "plan"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
version: 1
3+
messageId: 128aef5a-7947-41f3-98b1-bdf9013989dd
4+
timestamp: 1783636267063
5+
correlationId: 53804f35-6e33-4a1d-81b3-cf03342c2ef8
6+
inReplyToMessageId: null
7+
fromProject: agent-harness
8+
toProject: opencode
9+
fromProjectId: agent-harness-0367cd71
10+
toProjectId: opencode-228cc625
11+
intent: impl
12+
priority: 0
13+
hopCount: 0
14+
hopPath:
15+
- agent-harness-0367cd71
16+
supersedes: null
17+
---
18+
New cross-project mailbox tools shipped in agent-harness (commit 3cb7ff8e8, fork/local): `project_mailbox_peek` (read-only, lists unread inbound notes without consuming them) and `project_mailbox_drain` (synchronously drains unread notes without waiting for session.idle). This fixes a deadlock where sessions holding open todos never go idle, so the automatic idle-drain hook never fired and notes sat unread. Also folded in a previously-verified fix in packages/utils/src/prompt-async-gate/pending-tool-turn.ts bounding session.messages() queries to limit:10 to avoid full-history timeouts on large sessions. Use project_mailbox_peek/project_mailbox_drain manually if you ever notice a note isn't being picked up automatically. (Sent while you're offline; will queue.)

0 commit comments

Comments
 (0)