Playbook · agent team

Agent harness playbook

How this Eastern fleet is built and (honestly) where it still is: a dual-layer harness (Grok bots + Mac CLIs), an EM loop driven by intent/spec/plan markdown as the target contract, Agent Manage Bot as chief of staff, live hub surfaces, and hard human gates. Gaps are labeled — not papered over.

东方舰队双层 harness 操作手册 · 目标合同与现状诚实并列。

Owner Tongli Zhou (TonyZhou05) Timezone America/Toronto (ET) Updated 2026-09-24 · Field Brief under CR-Harness (daily LIVE); Collection daily; miss-watch daily; Jev LIVE Live usage · lab · CR-HarnessDattri-llm
Public contract. Architecture and operating rules only. No secrets, API keys, tokens, Keychain material, or private CR-Harness code. Quotas live on the usage dashboard. Private notes belong in a vault when one exists — not here.
Honesty banner — gaps still real. Field Brief LIVE under project surfaces (CR-Harness /CR-harness/field-brief/; daily cadence, not hourly Cao-style; first populate 2026-09-24) · Collection pipeline standing as daily (not hourly) · former Field Brief 6h watch retargeted to a daily miss-watch · Obsidian vault scaffolded · grok-tmux-run + watchdog installed · Github Bot EM room status per gap register · Jev router LIVE active (jev-route, floor 0.55) · weekday usage refresh per gap register · blind dual-LGTM piloted; standing EM babysitter still thin · Agy installed · Lab collect/KEEP slots per usage dashboard.

1. Thesis

The harness is not “one mega-agent.” It is a small company of specialists with clear ownership, shared memory (when the vault exists), and a few locked pipelines. Chat is a digest; proof of done is an artifact path and/or a live URL.

2. Two layers

Layer A — Grok bots Always-on assistants in the Grok Bot sidebar. They schedule routines, babysit Mac workers, publish hub HTML, and talk to each other. Today: Agent Manage Bot (chief of staff). Target: Collection Bot, Github Bot EM room, optional specialist rooms.
Layer B — Mac CLIs Local coding/scout agents on Tongli’s Mac. Live seats: Claude, Codex, Kimi, Muse, DSH. Agy binary installed — auth deferred. Long runs kick via grok-tmux-run + watchdog under ~/bin/.
Tongli Zhou (TonyZhou05) ├─ Grok bots (orchestrate, publish, EM, roster) │ ├─ Agent Manage Bot → CoS / Lab / usage integrity (live) │ ├─ Github Bot EM room → Plan–Design–Build–Test–Review [not yet] │ ├─ Collection Bot → Field Brief packs + publish [daily surface LIVE] │ └─ Jev (OpenRouter) → typed route Choice before fan-out [LIVE active] └─ Mac CLIs (execute) ├─ Claude / Fable → default implementer (live) ├─ Codex / Astra → RFC / blind dual-LGTM reviewer (live) ├─ Kimi 2.1.0 → deep brief / review fallback (live) ├─ Muse 1.3.0 → collect / optional implement (live) ├─ DSH 0.1.5-rc.3 → collect / optional implement (live) └─ Agy → collect packs [installed · auth deferred]

3. Roster

Human + Grok bots

SeatOwnsDoes not
Tongli Zhou (TonyZhou05)Product owner; only merge / pay / send / delete / production gatesHand mid-build approval spam to agents that should own the slice
Agent Manage BotChief of staff; create/organize teammates; onboard Mac CLIs; Lab collect→KEEP; usage cards; playbook syncDestroy agents, merge, pay, or send without Tongli
Github Bot EM not yetTarget: EM for fleet coding; commit artifacts; fire implementer; triage dual-LGTMMerge without Tongli
Collection Bot dailyField Brief packs → synthesize → hub publish (daily; surface live)Desk/SDK PRs; invent hourly cadences; skip Three-Run Proof
Jev LIVETypeSafe System One decision layer — Choice/Score/Noul routingChat authorship; coding implement; merge/pay/send

Mac CLIs

AgentStatusPrimary job
Claude Code / FableLIVE claude.ai pro · KeychainDefault implementer; dual-LGTM reviewer role when not implementer
Codex / AstraLIVE ChatGPTRFC / evidence review; blind dual-LGTM peer with Fable
KimiLIVE 2.1.0 AUTH_OKDeep Field Brief writer fallback; optional review
Muse Code / Muse SparkLIVE 1.3.0 Meta OAuth AUTH_OKCollect packs (target rotation); optional implementer
DSH (DeepSeek Harness)LIVE dsh 0.1.5-rc.3 · Node nvm v22.23.3 AUTH_OKCollect packs (target rotation); optional implementer
Agyinstalled 1.4.7 · AUTH_OKBinary on PATH; Tongli auth required before AUTH_OK / collect

Playground root: ~/Documents/Tonys-agent-playground/. Hub checkout: hub-stage/ → remote TonyZhou05/research main → tonyzhou05.github.io/research.

4. Context vault scaffolded

Target long-term memory is a shared Obsidian vault on the Mac — a context repo, not a chat log.

~/Documents/agent-context — scaffolded 2026-09-24. Fleet contract in AGENTS.md; agents should read vault before tasks. Chat remains digest-only.

Layout

FolderWhat lives there
Hunt/Scout packs & research notes
Ship/Deliverables: briefs, rfc, builds
Wiki/Learning notes, Daily digests
Maps/Roster, Decisions locks, TELOS / hooks
Agents/Per-agent cards (role, paths, locks)
AGENTS.mdFleet-wide contract (read first)
forbidden.mdNever-again list
Before starting Read AGENTS.md + forbidden.md, recent Hunt/Ship notes, Decisions that touch the work, Roster if ownership is unclear. Prefer vault truth over chat memory.
After finishing File a short learning note: what/done, learned, pointers (no secrets), follow-ups. Standing rule changes → Decisions lock. Corrections → forbidden.md.

Proof of done = vault note path and/or git commit / PR URL / live hub URL. Chat alone is not proof. Soft pointers: ~/.claude/READ_VAULT_FIRST.md, ~/.codex/READ_VAULT_FIRST.md, playground AGENTS.md symlink.

Staging a vault between machines: one writer is the source of truth; mirror one-way with rsync (exclude .obsidian/, .trash/, .git/) so plugin state never ping-pongs. Agents on the consumer side write only into _inbox/, which is excluded from --delete; the owner promotes notes out of it.

Memory loop

Vault hygiene

Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook, adapted to this fleet (approved by Tongli).

5. EM task loop (intent → plan → PR)

This is the fleet coding contract to grow into — same semantics as the reference EM loop. A Github Bot EM room is the intended babysitter; it is not wired yet. Until then, Manage Bot + Tongli hold the gates manually.

CR-Harness note: private repo TeachFakerPlayingMid/CR-Harness-main uses its own issue-first Claude CONTRIBUTING flow (see /CR-harness/). That stays. This playbook’s intent→spec→plan→PR is the fleet contract for other work and for growing the EM room — not a rewrite of CR’s local norms.

Roles

RoleWhoJob
Product ownerTongliAccepts intent.md / spec.md; only merge & production gate
EMGithub Bot not yet (Manage holds interim)Commits artifacts, fires the next play, triages review, starts the next independent slice; heartbeat babysitter
ImplementerClaude / Fable (default) or Muse/DSHImplements from accepted plan.md; opens PR; cannot be a dual-LGTM reviewer on the same PR
ReviewersAstra (Codex) + second seatBlind dual LGTM (each sees PR + intent/spec/plan only — never each other’s reviews). Second seat = Fable if Fable did not implement; else Kimi. Dual LGTM = agent-complete, not shipped
Research originatorhuman or scout botWrites Stage‑1 intent.md — not a coding task

Artifact chain

intent.md → spec.md → plan.md → PR + tests → dual review → human merge → pipeline ↑ │ └──────── incident / broken demo / failed control band ──────────────┘

What each markdown is for

intent.md Problem, why now, constraints, non-goals, success signal. Written by research/product — not by the implementer inventing scope mid-build.
spec.md Observable behavior / acceptance criteria the reviewers will check against. Product owner accepts before plan mode.
plan.md Ordered slices, claim map, files to touch, test plan, and “done” definition. Implementer works from this file; reviewers check the PR against it. Review fix passes append a short record instead of rewriting history silently.

Play-by-play (one slice)

  1. Read context — EM + implementer pull standing rules, Decisions, prior Ship notes (vault when it exists).
  2. Commit intent → spec → plan if missing (any slice bigger than a one-line fix).
  3. Tongli accepts intent/spec when the change is consequential.
  4. EM launches implementer via durable Mac launch (tmux + stream + watchdog when stood up); prompt points at the committed plan.md.
  5. Implementer builds, runs the repo’s one-command tests, commits, pushes, opens the PR — does not wait for reviewers.
  6. EM requests Astra + second seat on the PR URL independently (blind dual-LGTM).
  7. EM triages — P0/P1 block dual LGTM; P2s get a fix pass on the same branch/session id.
  8. Dual LGTM → ping product owner. Merge only if Tongli asked (or a standing order for that repo).
  9. File proof — note with PR URL, session ids, follow-ups.
  10. Next independent slice starts without waiting on org APPROVE of the previous one.

Budgets: every slice / routine run carries a retry budget, cost ceiling, and wall-clock timeout in its plan or handoff note; exhausting any one escalates to Tongli — never degrade quietly. An accepted plan is not permission: RED actions still need Tongli (§14).

Machine-checkable output: when an EM or routine script consumes a scripted claude -p result, pair --output-format json with --json-schema and read the payload from structured_output instead of parsing free text; an invalid schema fails the run, so a malformed contract is caught before “done” (§8).

What the EM does not do

Review contract

Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook, adapted to this fleet (approved by Tongli).

6. Field Brief pipeline surface LIVE · daily

Public scout surface under project surfaces (not the hub homepage): /research/CR-harness/field-brief/ — first populate 2026-09-24. Daily cadence (token-light), not hourly. Collection Bot still synthesizes packs on a daily loop; do not invent an hourly Cao-style feed.

Daily source collect (standing intent)

Capacity balance among installed collectors (Agy when AUTH_OK):

RotationCollectorPack file (target)
slot AMuse · muse execpacks/muse-pack-YYYY-MM-DD-HH.md
slot BDSH · collect packpacks/dsh-pack-…
slot C (future)Agy · when installedpacks/agy-pack-…

Skip Muse long jobs while the seat is billing-denied (no_allowance / exec 402); see §11. That is not a dead binary.

Collection only — no catalog HTML from pack agents. Label thin packs before brief.

Target deep brief + publish

  1. Deep writer (Claude preferred; Kimi fallback; Astra last-resort) synthesizes packs since the last slot.
  2. Collection Bot (when stood) publishes HTML + push to the hub.

Former Field Brief 6h miss-watch is retargeted to a daily miss-watch (enabled weekdays 11:36 ET; Three-Run Proof). Field Brief is linked from CR-Harness project pages (not as a hub homepage card) — not a fake hourly ticker.

7. Coding loop (SDLC)

AI-native Plan → Design → Build → Test → Deploy → Maintain. Detailed EM playbook is in §5.

No-exit-while-waiting: Mac agents must not end a turn waiting on background CI/live jobs with a dirty tree. Foreground to a durable exit, or hermetic-first push then a second pass.

8. Mac launch standards helpers installed

Standing order for every long Mac CLI run (Claude, Codex, Kimi, Muse, DSH, Agy when authed):

  1. Launch via ~/bin/grok-tmux-run <session> -- <cmd> (logs under a stable Logs path). Logs under ~/Library/Logs/grok-tmux/. Never bare nohup from Grok Shell. installed
  2. Streaming required — Claude stream-json, Muse --json, DSH tee stdout/stderr; no long buffered text-only launches.
  3. Attach grok-tmux-watchdog (~540s stale; --on-stale resume of the same session). installed
  4. Reuse each tool’s session id per PR/slice; don’t cold-start follow-ups.
  5. Transient vs limit — on a stuck Claude pane, transient API errors (API Error / 529 / transient 429) get a debounced Continue with backoff (cap ~10 tries, then escalate); a real usage limit / “resets at” is left alone. Headless runs use the native CLAUDE_CODE_RETRY_WATCHDOG (item 24) plus a hard outer timer on Claude older than 2.1.311. No auto-restart on sessions that post or pay; dry-run first. If auto-restart is ever added, the seen-alive / cooldown guard is item 29.
  6. Hang vs crash — pair Claude JSONL mtime (~/.claude/projects, 30–45 min threshold beside the 540s log check) with the process table: stale + alive = hang, stale + gone = crash. A Stop hook alone cannot see crashes; keep the observer read-only. On Claude older than 2.1.327 a claude -p kick can hang silently before its first request while a model-settings fetch stalls, so don’t recycle it on silence alone; after upgrade, 10 s plus these checks is enough.
  7. Scripted claude -p (EM / collect kicks) defaults to --bare + explicit --allowedTools / --settings, so host hooks, MCP, and CLAUDE.md cannot silently change results. Lock unattended runs with --permission-mode dontAsk (denies every call that would prompt; reads and explicit --allowedTools still work) — usable on the current Mac Claude, no need to wait for a “no prompts” flag. Never pre-authorize through a hook’s allow (item 27).
  8. Unattended Codex — codex exec --sandbox workspace-write (command network off unless sandbox_workspace_write.network_access is set); never --yolo / bypass on Astra seats. Before upgrading Codex to ≥ 0.169, pre-trust seat dirs or pass --trust on exec / review; otherwise project config and MCP stay silently off in untrusted dirs.
  9. Codex resume keeps its sandbox only if you re-pass it by config — codex exec resume rejects -s/--sandbox, so pass -c sandbox_mode="read-only" (or workspace-write) on every resume; otherwise a resumed run can write what the original read-only run blocked.
  10. No approvals_reviewer=auto_review under unattended codex exec — it can silently defeat --sandbox read-only. Keep the reviewer as user (or omit auto_review) so the sandbox stays binding.
  11. Hard spend cap on scripted claude -p — add --max-budget-usd next to --max-turns; a few long turns can still burn tokens. Log total_cost_usd from the JSON result in the run note.
  12. Gate on silent tool loss — an invalid --mcp-config can be skipped while -p still exits 0. With stream-json, fail the run if the system/init event has a non-empty mcp_server_errors or plugin_errors.
  13. Headless Codex review target — for Astra / Dual-LGTM second passes, pick exactly one of --uncommitted, --base <branch>, --commit <SHA>, or a custom prompt; they are mutually exclusive, so state which one the kickoff uses.
  14. One-shot Codex — codex exec --ephemeral for reviews or summaries that should not leave a resume target or session rollout on disk; persist a thread id only when you intend to resume.
  15. Strict MCP for scheduled claude -p — when passing --mcp-config, add --strict-mcp-config so host or project MCP servers cannot be silently inherited; it pairs with the system/init error gate above and with --bare.
  16. No disk session for one-shots — add --no-session-persistence to one-shot claude -p (collect / EM kicks) so nothing lands in the --continue / --resume pickers or watchdog transcript scans. This is not --fork-session; keep sessions on when a slice needs a follow-up.
  17. Structured result contract — --output-format json + --json-schema puts the final payload in structured_output; an invalid schema fails the run. Prefer it to free-text result parsing in EM and routine scripts (§5).
  18. Event-based quiet signal target — tmux can flag a silent window (monitor-silence N / window_silence_flag) and fire an alert-silence hook once; set silence-action any or detached sessions never fire. A quiet long command looks idle too, so this is one input to the hang-vs-crash gate (item 6), never a restart trigger on its own.
  19. Codex AGENTS.md cap — Codex drops project AGENTS.md content past project_doc_max_bytes (32 KiB default) with only a trace log. Before trusting a Codex / Astra review, run codex debug prompt-input (no model call) and confirm the instruction block ends intact; if it is cut, raise the cap or split into nested AGENTS.md.
  20. Strict Codex config — scripted codex exec / codex review pass --strict-config, so a misspelled config key or -c override errors with file:line instead of being silently ignored (same trap as launchd Weekday, §12).
  21. Reproducible Codex kicks — the Codex counterpart to --bare: codex exec --ignore-user-config --ignore-rules skips $CODEX_HOME/config.toml and user/project execpolicy rules (auth still comes from CODEX_HOME); pass sandbox and model as explicit flags.
  22. Codex structured result — --output-schema <schema.json> plus -o <file> for unattended Astra reviews and routine summaries, read by field, not free text; a schema miss counts as a failure (pairs with item 17).
  23. Codex MCP fail-fast — for a scheduled Codex job that depends on an MCP server, set mcp_servers.<id>.required = true so startup / resume dies when that server can’t initialize instead of quietly producing a weaker result (counterpart of the system/init gate in item 12).
  24. Native retry watchdog for unattended Claude doc-based · not yet tested — headless claude -p runs set CLAUDE_CODE_RETRY_WATCHDOG=1 so 429/529 overload errors are waited out with backoff instead of failing the run; a spend-limit or exhausted-credit 429 still stops the run immediately (no retry). Also set CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS shorter than the slot’s wall-clock budget, but that cap is not enough on Claude older than 2.1.311 (the Mac is on 2.1.221): unattended retry mode can retry a non-retryable request for minutes or indefinitely, so scripted runs also need a hard outer timer. Release notes only; not reproduced on this Mac. Complements “Transient vs limit” (item 4), which covers stuck interactive panes.
  25. Completion signal via tmux wait-for target — end long jobs with ; status=$?; tmux wait-for -S <job>; exit $status and block on tmux wait-for <job> instead of polling the pane. wait-for has no timeout and a killed job never signals, so always wrap the wait in a timer (gtimeout or a shell timer) and keep the heartbeat watchdog as backup. Target until grok-tmux-run supports it.
  26. Crash corpse via remain-on-exit failed + pane-died hook target — set remain-on-exit failed on the job window so only non-zero exits keep their pane (tmux shows the exit status or signal), and attach a pane-died hook that appends a crash line to the job’s heartbeat log the moment it happens. A crashed job never sends its wait-for -S signal (item 25) and otherwise just goes quiet; clean exits still close as before. Pane hooks are pane options, so set them with -g or on the job’s own pane. Target until grok-tmux-run supports it.
  27. Unattended Claude never relies on a hook “allow” doc-based — pre-authorize unattended seats with --allowedTools or a permission mode (item 7). From Claude Code 2.1.314, headless runs ignore a PermissionRequest hook’s allow for actions only a person may approve (a hook deny still works). Nothing breaks today: the Mac’s hook approves nothing and Mac Claude is below 2.1.314.
  28. Safe Claude re-login — re-auth / claude auth login only when no Claude job is running. On the shared Mac home (2.1.221), signing in again in one terminal can make other in-flight jobs exit Not logged in. The watchdog treats that exit as an auth event, not a crash — do not restart as if the binary died.
  29. Guarded auto-restart target — if the watchdog ever auto-restarts panes, only restart a pane seen alive within roughly 10 minutes, with roughly 90s cooldown, so a crash-on-start seat cannot loop. Today’s grok-tmux-watchdog is log-age plus Enter only; this is the guard to build in before adding any restart, not current behavior. Complements the crash-corpse hook (item 26).

Items 5–8 promoted from Harness Lab in the 2026-09-28 Monday sync; items 9–12 and the dontAsk clause in item 7 in the 2026-10-03 daily review; items 13–17 in the 2026-10-04 daily review; items 18–23 in the 2026-10-30 review; items 24–25 in the 2026-11-01 review; items 26–27 in the 2026-11-02 review; items 28–29 in the 2026-11-08 review (disk-floor merge in the same pass); 2026-11-11 review: outer-timer clause on item 24 (Claude older than 2.1.311) and empty-stdout/JSON failure next to the disk floor.

Resume, stop and disk rules

Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook, adapted to this fleet (approved by Tongli). Claude -p full-disk exit-0 warning merged from Harness Lab in the 2026-11-08 review. Empty-stdout/JSON failure added in the 2026-11-11 review.

# Live shape — helpers in ~/bin (ensure PATH includes ~/bin)
# grok-tmux-run muse-collect-HH -- \
#   muse exec --json --trust-workspace --disable-approval --prompt-file prompt.md
#
# grok-tmux-watchdog muse-collect-HH --on-stale
#
# Docs: vault Wiki/grok-tmux.md

9. Skills & hooks

Target fleet-wide installer lives next to the vault (agent-context/bin/install-agent-hooks.sh) when the vault exists.

SurfaceWhat gets wired (target)
Codex / Kimi / AgyAGENTS.md symlink into each home
ClaudeGlobal CLAUDE.md from vault
DSH~/.dsh/AGENTS.md + skills
MusePersonal skills under Muse config; project skills via --trust-workspace
ProjectsHub + playground get vault AGENTS.md + skill mirrors

Shared skill themes: vault read/file rules · Field Brief source collect · exception-first Mac launch (symptom → action).

Codex AGENTS.md size: wired files share a 32 KiB cap (project_doc_max_bytes); verify with codex debug prompt-input after any large edit (§8).

Hook rules

Hook rules promoted from Harness Lab in the 2026-10-30 review.

Agent-CLI contract for harness scripts

Our own helpers (grok-tmux-*, vault bin/, usage and box scripts) follow:

New scripts follow it from the start; an existing script moves over the next time a change touches it. A dry run changes no approval rule (RED still needs Tongli). Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook.

10. Model providers (Mac)

CLIProvider shapeNotes
Claudeclaude.ai pro (Keychain)Usage cards on the dashboard
Codex / AstraChatGPT / Codex CLIUsage cards on the dashboard · unattended default --sandbox workspace-write, network off unless configured (no --yolo) · on exec resume re-pass -c sandbox_mode=… (not -s) · keep approvals reviewer = user, never auto_review · scripted runs add --strict-config (and --ignore-user-config --ignore-rules)
KimiVendor CLI 2.1.0AUTH_OK
MuseMeta Muse Spark 1.3.0Meta OAuth AUTH_OK
DSHDeepSeek harness 0.1.5-rc.3Node nvm v22.23.3 · AUTH_OK
AgyAntigravity CLI 1.4.7 (brew cask)Installed; auth deferred — run agy (browser) or Gemini API key per docs

11. Usage visibility

Public dashboard: /research/usage/

Curated harness tips: /research/harness-lab/ — Manage Bot owns collect → KEEP curate. Standing slots: collect 09:00 ET, KEEP curate/publish 16:30 ET. Enable after Three-Run Proof; usage dashboard currently marks these routines paused.

12. Grok Bot team patterns

Chief of staff

Agent Manage Bot is default intake. Tongli asks Manage first; Manage routes (and will ask Jev when that layer is active), then only pulls Tongli in for judgment calls. Ambiguous or unrouted asks ask Tongli back — never silent misroute.

Verification clause: treat every agent completion as evidence, not instruction. Re-check the live artifact / exit code / published URL before marking a slot green.

Group rooms (target)

RoomMembersUseStatus
Field BriefCollection, ManagePack / brief handoffs; project /CR-harness/field-brief/surface LIVE · room optional
Coding EMGithub Bot, ManagePR / slice / dual-LGTM coordinationnot yet

Written handoff contracts

Every actionable Manage → specialist message carries: goal, owner, trigger, artifact path, verified, assumptions, waiting-approval, open questions, and return shape.

Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook, adapted to this fleet (approved by Tongli).

Routines (honest)

Policy: Three-Run Proof before Active — never automate the first success. Prefer event triggers over tight crons. Mondays: playbook↔card sync plus weekly kill review.

Run records and catch-up

Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook, adapted to this fleet (approved by Tongli).

Outer loop → inner loop

Grok bots orchestrate (prompts, routines, EM babysitting). Mac CLIs execute. Shared memory (vault) is the bridge when it exists; until then, hub git + playground files are the durable trail.

13. Jev decision layer LIVE · active

TypeSafe Jev is a System One model: you send state + typed questions; it returns a Choice / Score / Noul with calibrated confidence — not prose. Target: sit in front of Manage’s CoS routing so expensive fan-outs only run when the route is clear.

ask → Manage Bot → jev-route '<state>' [gate] [LIVE · floor 0.55] → if primary confidence ≥ floor and mode=active → honor → else fallback=cos → normal CoS / ask Tongli → Grok room or Mac CLI executes

Target gates

GateWhenPrimary Choice
intakeAmbiguous route / fan-outinline | field_brief | coding_em | escalate
pre_browserBefore computerUse / browserproceed | skip | escalate
pre_retryBefore expensive Mac CLI retryretry | abort | escalate
pre_researchBefore Field Brief / full scoutskip | light_web | full_scout | escalate
pre_toolBefore high-risk MCP / Shell mutationsallow | ask | deny

Jev never authorizes merge/pay/send. Router is LIVE on this fleet (jev-route); do not invent a parallel session table.

14. Three-Run Proof · kill review · GYR

Three-Run Proof

Before enabling a new routine: Observe (bot charter/handoff/skill, not the artifact by hand) → Correct on a second input → Release after a third consecutive clean run (or three checkable proofs). Do not automate the first successful run.

Weekly kill review

Paired with Monday playbook↔card sync. For each Manage routine: did it run? was the output right? would we miss it if killed? Pause or delete zombies. Spot-check one output by hand.

GREEN / YELLOW / RED (reversibility)

TierRuleExamples
GREENDo it; log itsearch, read, summarize, draft, vault note, research
YELLOWAllowed inside approved tools / laneshub edits under lane, saved routines, Mac CLI on named repos
REDAlways ask Tonglisend/publish, spend/pay, merge, delete non-junk, permissions, production, accept terms

Uncertainty: if you cannot undo it in under a minute, park and ask.

Closed proof loop

Checkable proof before “done”: green CI / exit code, live URL, or before/after screenshot. Summaries are intent. Fail-closed: prose “done” cannot pass without a mechanical artifact or an independent read-only check.

Approvals

Added in the 2026-11-04 sync with Haiyuan Cao’s public playbook, adapted to this fleet (approved by Tongli).

Run limits + autonomy

15. How to extend the team

Architecture tips that survive a day get filed in Harness Lab; if a KEEP changes how we run, patch this playbook the same day.

  1. Decide the layer — Grok bot (orchestrator) vs Mac CLI (worker).
  2. Agent Manage Bot creates/organizes Grok bots; onboards Mac CLIs (binary, auth, usage card).
  3. Vault — when stood up: add agent card, update Roster + AGENTS.md, file a Decisions lock.
  4. Hooks — extend installer if the CLI has an AGENTS/skills home.
  5. Routines — owning Grok bot schedules the cron/event listeners; Three-Run Proof before Active.
  6. Usage — add a collector + card in playground usage-dashboard, refresh, push.
  7. Never put keys in the vault or hub HTML. Rotate anything pasted into chat.
  8. Role card — each bot’s vault card opens with five fields: Owns · Inputs · May · Must ask before · Done when.
  9. Charter test — a new bot’s charter says why the work can’t be a skill or routine on an existing seat.
  10. Model-change sweep — a model, seat or CLI version change is carried into this playbook, AGENTS.md, agent cards and affected skills the same day.

16. Operator checklist

17. Gap register

GapStatus
Public harness playbook pagethis page — shipping
Github Bot EM roomCoding EM bot + room wired
Obsidian ~/Documents/agent-contextscaffolded 2026-09-24
grok-tmux-run + watchdoginstalled ~/bin · smoke OK
Watchdog transient-vs-limit + JSONL/process hang-vs-crash (§8)rule in playbook · watchdog still log-age + Enter
tmux alert-silence quiet signal for watchdog (§8)rule in playbook · not wired
Large repo AGENTS.md over Codex 32 KiB cap (§8/§9)preflight rule in playbook · repo fix is project work
Mac wake schedule for routine slots (§12)target · needs sudo
Claude OTel / Prometheus measured usage (§11)target · not wired
Jev routerLIVE · jev-route active · floor 0.55
Field Brief public surface (under CR-Harness)LIVE · daily · /CR-harness/field-brief/
Collection Bot Field Brief pipelinestanding as daily (not hourly)
Field Brief miss-watch (was 6h)enabled · weekdays 11:36 ET
Hourly Field Brief collectout of scope (daily only)
Weekday usage refreshenabled · weekdays 9:05 ET
Lab collect 09:00 / KEEP 16:30 ETenabled after Three-Run Proof + populate
Blind dual-LGTM babysitter looppiloted — research PR #1 merged; standing EM babysitter still thin
Agyinstalled 1.4.7 · AUTH_OK

18. Trading runbook separate page

The trading seats keep their own runbook under /research/harness/trading/: the FriesTrader live process (Phase A after close, Phase B at open, dry-run vs live gate), the AI-Trader paper seat, guardrails, and the idea → paper test → evidence → approval → dry-run → live promotion path. Process and strategy level only.

19. Auto-Research Harness separate page

A dedicated playbook for building a closed research loop lives at /research/research_harness/: the stage × layer framework, the four-layer architecture (pipeline, tree search, decision layer, world model), operators and RPM-style candidate selection, budget, the mandatory leakage gate, human gates, and our evaluation plan. Figures are cited from the referenced papers and not independently re-verified.