# SCRATCH ROOT, NOT LIVE. Window rows 177-185, limits rerun (sage-1242, mos-0934, mos-0936), run by darkwing from 2026-10-20T07:46:34Z.
# 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 434029, 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:46:35.248Z
GET :47397/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:46:35.365Z"}
# 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:46:35.467Z
# 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:46:35.717Z

## 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/20261020T074636Z-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/20261020T074636Z-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 52534f9e-1342-4cfb-992a-3693ba7c80f9
# 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 84b75035-1d73-4b29-8881-beac08fc19cd  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 20f6b29a 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": "20f6b29a-2167-4b19-8c22-e9d4ccbec8fe",
    "at": "2026-10-20T07:46:38.591Z",
    "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 84b75035-1d73-4b29-8881-beac08fc19cd, message 20f6b29a-2167-4b19-8c22-e9d4ccbec8fe

## B. GETs on the tester port of the 490e2771d Console
# B: 490e2771d Console up, pid 435371, 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:46:39.492Z
GET :47399/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:46:39.608Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47399/api/bus/replies?id=20f6b29a-2167-4b19-8c22-e9d4ccbec8fe -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:46:39.712Z"}
# events after GET /api/bus/replies?id=20f6b29a-2167-4b19-8c22-e9d4ccbec8fe: 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:46:39.942Z

## 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/20261020T074640Z-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": "52534f9e-1342-4cfb-992a-3693ba7c80f9",
    "at": "2026-10-20T07:46:37.649Z",
    "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 438955, 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:46:43.013Z
GET :47397/api/bus/decisions?list=recent -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:46:43.158Z"}
# events after GET /api/bus/decisions?list=recent: none new
GET :47397/api/bus/replies?id=20f6b29a-2167-4b19-8c22-e9d4ccbec8fe -> 200, 43 bytes: {"rows":[],"at":"2026-10-20T07:46:43.269Z"}
# events after GET /api/bus/replies?id=20f6b29a-2167-4b19-8c22-e9d4ccbec8fe: 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:46:43.512Z

## 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

## the bus journal: lines naming limit, refused or no-route
{"epoch":1792482400,"unit":"mosaic-bus@mosaic-stack.service","text":"mosaic-bus: thread 84b75035-1d73-4b29-8881-beac08fc19cd (assistant): start refused: no-route"}

## sessions.json (run, instance, model, launchedBy only)
node:fs:621
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open '/home/jwoltje/darkwing-scratch/w185/p3/root/data/sessions.json'
    at Object.readFileSync (node:fs:621:20)
    at [eval]:1:34
    at runScriptInThisContext (node:internal/vm:219:10)
    at node:internal/process/execution:485:12
    at [eval]-wrapper:6:24
    at runScriptInContext (node:internal/process/execution:483:60)
    at evalFunction (node:internal/process/execution:317:30)
    at evalTypeScript (node:internal/process/execution:329:3)
    at node:internal/main/eval_string:71:3 {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/jwoltje/darkwing-scratch/w185/p3/root/data/sessions.json'
}

Node.js v26.8.1
(no sessions.json)

## the launches log: thread start refusals (at, instance, code, why)
2026-10-20T07:46:38.829Z assistant no-route instance assistant: no thinking var
2026-10-20T07:46:43.129Z assistant no-route instance assistant: no thinking var

## the pointer moves (activation log: at, op, result, to)
2026-10-20T07:46:34Z adopt ok to 89af38a83
2026-10-20T07:46:36Z activate started to 490e2771d
2026-10-20T07:46:37Z activate ok to 490e2771d
2026-10-20T07:46:40Z rollback started to 89af38a83
2026-10-20T07:46:41Z rollback ok to 89af38a83
# lim.sh: done
