# SCRATCH ROOT, NOT LIVE. Window rows 177-185, limits rerun (sage-1242, mos-0934, mos-0936), run by darkwing from 2026-10-20T07:48:40Z.
# 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 459156, ports 47396 and 47397
# events after A Console start: none new
GET :47397/api/bus/limits -> 400, 55 bytes: {"error":"invalid-request","message":"invalid-request"}
# events after GET /api/bus/limits: event 1 action.refused actor tester/null at 2026-10-20T07:48:40.435Z
GET :47397/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:48:40.562Z"}
# 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 2 action.refused actor tester/null at 2026-10-20T07:48:40.660Z
# 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)
mosaic: invalid-request
# exit 2
# events after A CLI limits --tester --json (89af38a83): event 3 action.refused actor tester/null at 2026-10-20T07:48:40.883Z

## 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: BusinessError code undefined message "running session has no exact provider/model; reconcile before launching"
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/20261020T074841Z-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/20261020T074841Z-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 d412aabb-7348-4402-84ff-b3315c5afaad
# 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 08fc2598-b80a-4387-ba3e-2751bbb26d55  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 28c375b0 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": "28c375b0-05cf-4343-aac5-4bb691176e35",
    "at": "2026-10-20T07:48:43.763Z",
    "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 08fc2598-b80a-4387-ba3e-2751bbb26d55, message 28c375b0-05cf-4343-aac5-4bb691176e35

## B. GETs on the tester port of the 490e2771d Console
# B: 490e2771d Console up, pid 460557, 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 -> 400, 55 bytes: {"error":"invalid-request","message":"invalid-request"}
# events after GET /api/bus/limits: event 4 action.refused actor tester/null at 2026-10-20T07:48:44.650Z
GET :47399/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:48:44.768Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47399/api/bus/replies?id=28c375b0-05cf-4343-aac5-4bb691176e35 -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:48:44.870Z"}
# events after GET /api/bus/replies?id=28c375b0-05cf-4343-aac5-4bb691176e35: 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)
mosaic: invalid-request
# exit 2
# events after B CLI limits --tester --json (490e2771d): event 5 action.refused actor tester/null at 2026-10-20T07:48:45.088Z

## 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: BusinessError code undefined message "running session has no exact provider/model; reconcile before launching"
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/20261020T074845Z-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": "d412aabb-7348-4402-84ff-b3315c5afaad",
    "at": "2026-10-20T07:48:42.819Z",
    "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 461574, ports 47396 and 47397
# events after C Console start: none new
GET :47397/api/bus/limits -> 400, 55 bytes: {"error":"invalid-request","message":"invalid-request"}
# events after GET /api/bus/limits: event 6 action.refused actor tester/null at 2026-10-20T07:48:47.805Z
GET :47397/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:48:47.927Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47397/api/bus/replies?id=28c375b0-05cf-4343-aac5-4bb691176e35 -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:48:48.031Z"}
# events after GET /api/bus/replies?id=28c375b0-05cf-4343-aac5-4bb691176e35: 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)
mosaic: invalid-request
# exit 2
# events after C CLI limits --tester --json (89af38a83): event 7 action.refused actor tester/null at 2026-10-20T07:48:48.251Z

## 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: BusinessError code undefined message "running session has no exact provider/model; reconcile before launching"
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/20261020T074848Z-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/20261020T074848Z-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":1792482519,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482519,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul458725, claude-code emulated"}
{"epoch":1792482521,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482521,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul459818, claude-code emulated"}
{"epoch":1792482525,"unit":"mosaic-bus@mosaic-stack.service","text":"mosaic-bus: thread 08fc2598-b80a-4387-ba3e-2751bbb26d55 (assistant): start refused: no-session-credential"}
{"epoch":1792482526,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482526,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul461177, claude-code emulated"}
{"epoch":1792482528,"unit":"mosaic-bus@mosaic-stack.service","text":"mosaic-bus: thread 08fc2598-b80a-4387-ba3e-2751bbb26d55 (assistant): start refused: no-session-credential"}
{"epoch":1792482529,"unit":"mosaic-bus@mosaic-stack.service","text":"tasks mosaic-stack startup tracker-unavailable"}
{"epoch":1792482529,"unit":"mosaic-bus@mosaic-stack.service","text":"launched chief: run remul462206, claude-code emulated"}

## sessions.json (run, instance, model, launchedBy only)
{"run":"remul462206","instance":"chief","model":"emulated","launchedBy":"standin-pm-emulation"}

## the launches log, every line (at, event, instance, thread, code, why)
2026-10-20T07:48:43.988Z refused assistant 08fc2598 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:48:48.177Z refused assistant 08fc2598 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:48:51.362Z refused assistant 08fc2598 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:48:39Z adopt ok to 89af38a83
2026-10-20T07:48:41Z activate started to 490e2771d
2026-10-20T07:48:42Z activate ok to 490e2771d
2026-10-20T07:48:45Z rollback started to 89af38a83
2026-10-20T07:48:46Z rollback ok to 89af38a83
2026-10-20T07:48:48Z activate started to 490e2771d
2026-10-20T07:48:49Z activate ok to 490e2771d
# lim.sh: done
