# SCRATCH ROOT, NOT LIVE. Window rows 177-185, limits rerun (sage-1242, mos-0934, mos-0936), run by darkwing from 2026-10-20T07:49:01Z.
# Fresh root from prep.sh and seed.sh: OLD 89af38a83afa22a8a4f0d368a0a4030ad15a0efa at 3i, NEW 490e2771d3d057ab76991e2c7859cd251857e64c, tool blob f8051d81cc18aedb7b6f2e743ec0c3f505e0e44b.
# Real Consoles started by hand: OLD on 47396/47397, NEW on 47398/47399 with --checkout /home/jwoltje/darkwing-scratch/w185/p3/repo. Events: kind, actor and at only.
# events after seed (rows before point A): none new

## A. GETs on the tester port of the 89af38a83 Console
# A: 89af38a83 Console up, pid 469461, ports 47396 and 47397
# events after A Console start: none new
GET :47397/api/bus/limits -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:01.644Z"}
# events after GET /api/bus/limits: none new
GET :47397/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:01.739Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47397/api/bus/replies?id=00000000-0000-4000-8000-000000000000 -> 400, 59 bytes: {"error":"message-not-found","message":"message-not-found"}
# events after GET /api/bus/replies?id=00000000-0000-4000-8000-000000000000: event 1 action.refused actor tester/null at 2026-10-20T07:49:01.834Z
# A Console log:
#   Mosaic Console: http://127.0.0.1:47396/
#   Board: http://127.0.0.1:7331
#   Bus: mosaic-stack
#   Tester Console: http://127.0.0.1:47397/ (binds the tester)
#   Ctrl-C stops this server.
# events after A Console stop: none new

## A CLI limits --tester --json (89af38a83)
{
  "business": "mosaic-stack",
  "revision": "8cbde94f421c349a691f21db9e0f0e6a01fffbd0ebd18e06e2b633978355f1b1",
  "models": {
    "opus": {
      "provider": "your-provider",
      "model": "claude-opus-5-5"
    },
    "sonnet": {
      "provider": "your-provider",
      "model": "claude-sonnet-5-5"
    }
  },
  "limits": {
    "models": {
      "your-provider": {
        "claude-opus-5-5": 4,
        "claude-sonnet-5-5": 4
      }
    }
  },
  "instances": {
    "pm": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "cto": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "coder": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-sonnet-5-5",
      "modelKey": "sonnet"
    },
    "reviewer": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "chief": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "assistant": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    }
  },
  "assistants": {
    "assistant": {
      "definition": "assistant",
      "vars": {
        "model": "opus",
        "harness": "claude-code",
        "thinking": "low"
      },
      "tracker": null
    }
  },
  "usage": {
    "total": 1,
    "providers": {
      "your-provider": 1
    },
    "models": {
      "your-provider": {
        "claude-opus-5-5": 1
      }
    }
  },
  "tokens": []
}
# exit 0
# events after A CLI limits --tester --json (89af38a83): none new

## A limits-diag.mjs on 89af38a83 (the copy's view(), no bus)
launch.models keys: ["opus","sonnet"]
instance pm: model "opus"
instance cto: model "opus"
instance coder: model "sonnet"
instance reviewer: model "opus"
instance chief: model "opus"
instance assistant: model "opus"
view with readSessions: ok, instances 6
view with no sessions: ok, instances 6
# exit 0
# events after A limits-diag.mjs on 89af38a83 (the copy's view(), no bus): none new

## W5. activate NEW --pm
stack-release: captured the rollback set: /home/jwoltje/darkwing-scratch/w185/p3/root/data/state/stack-rollback/20261020T074902Z-490e2771d3d0
stack-release: stopped both units
stack-release: stopped store schema: 3i
stack-release: backup: /home/jwoltje/darkwing-scratch/w185/p3/root/data/backups/stack/20261020T074902Z-490e2771d3d0
stack-release: installed 490e2771d3d057ab76991e2c7859cd251857e64c
stack-release: gate passed on 490e2771d3d057ab76991e2c7859cd251857e64c
stack-release: activate ok: 490e2771d3d057ab76991e2c7859cd251857e64c is live for mosaic-stack
# exit 0
# events after W5. activate NEW --pm: none new

## W9e. project create window-p3 as the tester (NEW's CLI)
created project window-p3  id 19e3df5a-de1e-4b28-8dfe-4d0b4a141d9d
# exit 0
# events after W9e. project create window-p3 as the tester (NEW's CLI): none new

## W9f. thread create window-p3 w9 as the tester (NEW's CLI)
created window-p3/w9  id e4549a04-647f-4b5c-ac31-8a9d652f95da  instance assistant
# exit 0
# events after W9f. thread create window-p3 w9 as the tester (NEW's CLI): none new

## W9g. talk --thread as the tester, --wait 0 (NEW's CLI)
sent 8901c0f7 to window-p3/w9
# exit 0
# events after W9g. talk --thread as the tester, --wait 0 (NEW's CLI): none new

## W9j. thread read --json as the tester (NEW's CLI)
[
  {
    "seq": 1,
    "id": "8901c0f7-fd50-4468-942a-5ab7ec20ae1d",
    "at": "2026-10-20T07:49:04.980Z",
    "business": "mosaic-stack",
    "from_role": "tester",
    "from_run": "tester-cli",
    "to_role": "assistant",
    "class": "REQUEST",
    "in_reply_to": null,
    "decision": null,
    "corrects": null,
    "body": "[lim test] reply with one line, then stop",
    "to_name": null
  }
]
# exit 0
# events after W9j. thread read --json as the tester (NEW's CLI): none new
# thread e4549a04-647f-4b5c-ac31-8a9d652f95da, message 8901c0f7-fd50-4468-942a-5ab7ec20ae1d

## B. GETs on the tester port of the 490e2771d Console
# B: 490e2771d Console up, pid 470810, ports 47398 and 47399, extra flags --checkout /home/jwoltje/darkwing-scratch/w185/p3/repo
# events after B Console start: none new
GET :47399/api/bus/limits -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:05.893Z"}
# events after GET /api/bus/limits: none new
GET :47399/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:05.997Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47399/api/bus/replies?id=8901c0f7-fd50-4468-942a-5ab7ec20ae1d -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:06.096Z"}
# events after GET /api/bus/replies?id=8901c0f7-fd50-4468-942a-5ab7ec20ae1d: none new
# B Console log:
#   Mosaic Console: http://127.0.0.1:47398/
#   Board: http://127.0.0.1:7331
#   Bus: mosaic-stack
#   Queue: read from the --checkout directory
#   Proxy: proxy proof off
#   Tester Console: http://127.0.0.1:47399/ (binds the tester)
#   Ctrl-C stops this server.
# events after B Console stop: none new

## B CLI limits --tester --json (490e2771d)
{
  "business": "mosaic-stack",
  "revision": "8cbde94f421c349a691f21db9e0f0e6a01fffbd0ebd18e06e2b633978355f1b1",
  "models": {
    "opus": {
      "provider": "your-provider",
      "model": "claude-opus-5-5"
    },
    "sonnet": {
      "provider": "your-provider",
      "model": "claude-sonnet-5-5"
    }
  },
  "limits": {
    "models": {
      "your-provider": {
        "claude-opus-5-5": 4,
        "claude-sonnet-5-5": 4
      }
    }
  },
  "instances": {
    "pm": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "cto": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "coder": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-sonnet-5-5",
      "modelKey": "sonnet"
    },
    "reviewer": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "chief": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "assistant": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    }
  },
  "assistants": {
    "assistant": {
      "definition": "assistant",
      "vars": {
        "model": "opus",
        "harness": "claude-code",
        "thinking": "low"
      },
      "tracker": null
    }
  },
  "usage": {
    "total": 1,
    "providers": {
      "your-provider": 1
    },
    "models": {
      "your-provider": {
        "claude-opus-5-5": 1
      }
    }
  },
  "tokens": []
}
# exit 0
# events after B CLI limits --tester --json (490e2771d): none new

## B limits-diag.mjs on 490e2771d (the copy's view(), no bus)
launch.models keys: ["opus","sonnet"]
instance pm: model "opus"
instance cto: model "opus"
instance coder: model "sonnet"
instance reviewer: model "opus"
instance chief: model "opus"
instance assistant: model "opus"
view with readSessions: ok, instances 6
view with no sessions: ok, instances 6
# exit 0
# events after B limits-diag.mjs on 490e2771d (the copy's view(), no bus): none new

## R1b. rollback
stack-release: captured the rollback set: /home/jwoltje/darkwing-scratch/w185/p3/root/data/state/stack-rollback/20261020T074906Z-89af38a83afa
stack-release: stopped both units
stack-release: stopped store schema: 3i
stack-release: installed 89af38a83afa22a8a4f0d368a0a4030ad15a0efa
stack-release: gate passed on 89af38a83afa22a8a4f0d368a0a4030ad15a0efa
stack-release: rollback ok: 89af38a83afa22a8a4f0d368a0a4030ad15a0efa is live for mosaic-stack
# exit 0
# events after R1b. rollback: none new

## O1. threads --tester --json (OLD's CLI)
[
  {
    "id": "b3a7c1d2-0000-4000-8000-000000000001",
    "at": "2026-10-19T09:30:00.000Z",
    "project": "p3-proj",
    "instance": "assistant",
    "name": "p3-human-thread"
  }
]
# exit 0
# events after O1. threads --tester --json (OLD's CLI): none new

## O2. agents --tester --json (OLD's CLI)
[]
# exit 0
# events after O2. agents --tester --json (OLD's CLI): none new

## O3. project list --tester --json (OLD's CLI)
[
  {
    "id": "p3-proj",
    "at": "2026-10-19T09:00:00.000Z",
    "name": "p3-project",
    "repo": null
  },
  {
    "id": "19e3df5a-de1e-4b28-8dfe-4d0b4a141d9d",
    "at": "2026-10-20T07:49:04.025Z",
    "name": "window-p3",
    "repo": null
  }
]
# exit 0
# events after O3. project list --tester --json (OLD's CLI): none new

## C. GETs on the tester port of the 89af38a83 Console
# C: 89af38a83 Console up, pid 471933, ports 47396 and 47397
# events after C Console start: none new
GET :47397/api/bus/limits -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:09.156Z"}
# events after GET /api/bus/limits: none new
GET :47397/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:09.257Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47397/api/bus/replies?id=8901c0f7-fd50-4468-942a-5ab7ec20ae1d -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:49:09.357Z"}
# events after GET /api/bus/replies?id=8901c0f7-fd50-4468-942a-5ab7ec20ae1d: none new
# C Console log:
#   Mosaic Console: http://127.0.0.1:47396/
#   Board: http://127.0.0.1:7331
#   Bus: mosaic-stack
#   Tester Console: http://127.0.0.1:47397/ (binds the tester)
#   Ctrl-C stops this server.
# events after C Console stop: none new

## C CLI limits --tester --json (89af38a83)
{
  "business": "mosaic-stack",
  "revision": "8cbde94f421c349a691f21db9e0f0e6a01fffbd0ebd18e06e2b633978355f1b1",
  "models": {
    "opus": {
      "provider": "your-provider",
      "model": "claude-opus-5-5"
    },
    "sonnet": {
      "provider": "your-provider",
      "model": "claude-sonnet-5-5"
    }
  },
  "limits": {
    "models": {
      "your-provider": {
        "claude-opus-5-5": 4,
        "claude-sonnet-5-5": 4
      }
    }
  },
  "instances": {
    "pm": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "cto": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "coder": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-sonnet-5-5",
      "modelKey": "sonnet"
    },
    "reviewer": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "chief": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    },
    "assistant": {
      "harness": "claude-code",
      "provider": "your-provider",
      "model": "claude-opus-5-5",
      "modelKey": "opus"
    }
  },
  "assistants": {
    "assistant": {
      "definition": "assistant",
      "vars": {
        "model": "opus",
        "harness": "claude-code",
        "thinking": "low"
      },
      "tracker": null
    }
  },
  "usage": {
    "total": 1,
    "providers": {
      "your-provider": 1
    },
    "models": {
      "your-provider": {
        "claude-opus-5-5": 1
      }
    }
  },
  "tokens": []
}
# exit 0
# events after C CLI limits --tester --json (89af38a83): none new

## C limits-diag.mjs on 89af38a83 (the copy's view(), no bus)
launch.models keys: ["opus","sonnet"]
instance pm: model "opus"
instance cto: model "opus"
instance coder: model "sonnet"
instance reviewer: model "opus"
instance chief: model "opus"
instance assistant: model "opus"
view with readSessions: ok, instances 6
view with no sessions: ok, instances 6
# exit 0
# events after C limits-diag.mjs on 89af38a83 (the copy's view(), no bus): none new

## A2. activate NEW --pm again
stack-release: captured the rollback set: /home/jwoltje/darkwing-scratch/w185/p3/root/data/state/stack-rollback/20261020T074909Z-490e2771d3d0
stack-release: stopped both units
stack-release: stopped store schema: 3i
stack-release: backup: /home/jwoltje/darkwing-scratch/w185/p3/root/data/backups/stack/20261020T074909Z-490e2771d3d0
stack-release: installed 490e2771d3d057ab76991e2c7859cd251857e64c
stack-release: gate passed on 490e2771d3d057ab76991e2c7859cd251857e64c
stack-release: activate ok: 490e2771d3d057ab76991e2c7859cd251857e64c is live for mosaic-stack
# exit 0
# events after A2. activate NEW --pm again: none new
# A2: waited 4 s for NEW's host tick

## the bus journal: lines naming limit, refused, no-route, launch or start
{"epoch":1792482540,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482540,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul468971, claude-code emulated"}
{"epoch":1792482543,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482543,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul470136, claude-code emulated"}
{"epoch":1792482546,"unit":"mosaic-bus@mosaic-stack.service","text":"mosaic-bus: thread e4549a04-647f-4b5c-ac31-8a9d652f95da (assistant): start refused: no-session-credential"}
{"epoch":1792482547,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482547,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul471455, claude-code emulated"}
{"epoch":1792482550,"unit":"mosaic-bus@mosaic-stack.service","text":"mosaic-bus: thread e4549a04-647f-4b5c-ac31-8a9d652f95da (assistant): start refused: no-session-credential"}
{"epoch":1792482550,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482550,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul472575, claude-code emulated"}

## sessions.json (run, instance, model, launchedBy only)
{"run":"remul472575","instance":"chief","model":"claude-opus-5-5","launchedBy":"standin-pm-emulation"}

## the launches log, every line (at, event, instance, thread, code, why)
2026-10-20T07:49:05.185Z refused assistant e4549a04 no-session-credential the bus host has none of CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN with ANTHROPIC_BASE_URL; the bus unit's EnvironmentFile sets one when the bus starts
2026-10-20T07:49:09.393Z refused assistant e4549a04 no-session-credential the bus host has none of CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN with ANTHROPIC_BASE_URL; the bus unit's EnvironmentFile sets one when the bus starts
2026-10-20T07:49:12.739Z refused assistant e4549a04 no-session-credential the bus host has none of CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN with ANTHROPIC_BASE_URL; the bus unit's EnvironmentFile sets one when the bus starts

## the pointer moves (activation log: at, op, result, to)
2026-10-20T07:49:00Z adopt ok to 89af38a83
2026-10-20T07:49:02Z activate started to 490e2771d
2026-10-20T07:49:03Z activate ok to 490e2771d
2026-10-20T07:49:06Z rollback started to 89af38a83
2026-10-20T07:49:07Z rollback ok to 89af38a83
2026-10-20T07:49:09Z activate started to 490e2771d
2026-10-20T07:49:11Z activate ok to 490e2771d
# lim.sh: done
