### lane_journal_path / _lane_journal_append outside a lane child
path: [<T>/ctl/harness/state/lanes/results/T-J.journal]
rc=0 journal exists: no
### lane_child_begin 2 T-J — inside the forked child
rc=0
-- LANE_CHILD_ID=[2] LANE_DEFER_INTEGRATION=[true] CURRENT_LEASE_TASK_ID=[] LEASE_HEARTBEAT_PID=[]
-- LANE_CHILD_JOURNAL=[<T>/ctl/harness/state/lanes/results/T-J.journal]
-- SESSION_LOG is the lane log: yes [<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log]
-- EXIT trap: []
-- the writers, swapped:
inbox_write_event rc=0
inbox_write_event (no name) rc=0
[2026-10-18 00:00:00] [lane 2] a lane log line
[ERROR 2026-10-18 00:00:00] [lane 2] a lane error line
lane_enter (adopt, active) rc=0
lane_exit rc=0 LANE_ACTIVE=false LANE_WORKTREE=[<unset>]
lane_enter (adopt, inactive) rc=1
lease_update rc=0
[ERROR 2026-10-18 00:00:00] [lane 2] Runner exhaustion detected — raising the global sentinel; the scheduler will park every lane.
handle_runner_exhaustion rc=0 RESTART_SCHEDULED=true
[ERROR 2026-10-18 00:00:00] [lane 2] Runner exhaustion detected — the sentinel is already raised by another lane.
handle_runner_exhaustion again rc=0
-- sentinel: raised=yes task_log=[<T>/ctl/harness/state/logs/task-T-J.log]
-- the journal:
   metric	{"event":"lane_log","task_id":"T-J","slot":2,"log":"<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log","at":"2026-10-18T00:00:00+00:00"}
   metric	{"event":"x","task_id":"T-J","at":"t","story_id":"STORY-9"}
   queue	docs/j.md#t-j	DONE
   reactivate	docs/j.md#t-j
   requeue	docs/j.md#t-j
   blocker	T-J	docs/j.md#t-j	a reason	<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log	
   blocker	T-J	docs/j.md#t-j	with extra	<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log	extra text
   bugreopen	BUG-1	STORY-9	attempt 2
   bugdispatch	BUG-1	STORY-9
   bugclear	BUG-1
   metric	{"event":"lane_exhausted","lane":"2","at":"2026-10-18T00:00:00+00:00"}
   metric	{"event":"lane_exhausted","lane":"2","at":"2026-10-18T00:00:00+00:00"}
-- the lane log:
   # Lane 2 — T-J
   # Started: 2026-10-18T00:00:00+00:00
   # Scheduler log: <T>/ctl/harness/state/logs/orchestrate-golden.log
   # This file carries ONE task. Nothing else writes here.
   [2026-10-18 00:00:00] [lane 2] a lane log line
   [ERROR 2026-10-18 00:00:00] [lane 2] a lane error line
   [ERROR 2026-10-18 00:00:00] [lane 2] Runner exhaustion detected — raising the global sentinel; the scheduler will park every lane.
   [ERROR 2026-10-18 00:00:00] [lane 2] Runner exhaustion detected — the sentinel is already raised by another lane.
-- the lane inbox:
   == ev-1.yaml
      type: enqueue-bug
rc=0
-- back in the scheduler: SESSION_LOG=[<T>/ctl/harness/state/logs/orchestrate-golden.log] CURRENT_LEASE_TASK_ID=[T-J] LANE_CHILD_JOURNAL=[]
### lane_journal_drop_queue_records — keeps the metrics, drops the queue marks
rc=0
   metric	{"event":"lane_log","task_id":"T-J","slot":2,"log":"<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log","at":"2026-10-18T00:00:00+00:00"}
   metric	{"event":"x","task_id":"T-J","at":"t","story_id":"STORY-9"}
   reactivate	docs/j.md#t-j
   requeue	docs/j.md#t-j
   blocker	T-J	docs/j.md#t-j	a reason	<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log	
   blocker	T-J	docs/j.md#t-j	with extra	<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log	extra text
   bugreopen	BUG-1	STORY-9	attempt 2
   bugdispatch	BUG-1	STORY-9
   bugclear	BUG-1
   metric	{"event":"lane_exhausted","lane":"2","at":"2026-10-18T00:00:00+00:00"}
   metric	{"event":"lane_exhausted","lane":"2","at":"2026-10-18T00:00:00+00:00"}
no journal rc=0
### lane_journal_apply — the full journal replayed through the REAL writers, in order
CALL emit_metric {"event":"lane_log","task_id":"T-J","slot":2,"log":"<T>/ctl/harness/state/logs/lane-2-T-J-<SHA8>-000000.log","at":"2026-10-18T00:00:00+00:00"}
CALL emit_metric {"event":"x","task_id":"T-J","at":"t","story_id":"STORY-9"}
CALL mark_queue_state [docs/j.md#t-j] [DONE]
CALL reactivate_queue_state [docs/j.md#t-j]
CALL requeue_spec_line [docs/j.md#t-j]
CALL write_blocker [T-J] [docs/j.md#t-j] [a reason] [lane-2-T-J-<SHA8>-000000.log] []
CALL write_blocker [T-J] [docs/j.md#t-j] [with extra] [lane-2-T-J-<SHA8>-000000.log] [extra text]
CALL record_bug_reopen [BUG-1] [STORY-9] [attempt 2]
CALL record_bug_dispatch [BUG-1] [STORY-9]
CALL clear_bug_escalation_ledger [BUG-1]
CALL emit_metric {"event":"lane_exhausted","lane":"2","at":"2026-10-18T00:00:00+00:00"}
CALL emit_metric {"event":"lane_exhausted","lane":"2","at":"2026-10-18T00:00:00+00:00"}
rc=0
-- journal removed: yes
no journal rc=0
