Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
1 line
4.7 KiB
JSON
1 line
4.7 KiB
JSON
{"id":28950,"html_url":"https://git.mosaicstack.dev/mosaicstack/stack/issues/1623#issuecomment-28950","pull_request_url":"","issue_url":"https://git.mosaicstack.dev/mosaicstack/stack/issues/1623","user":{"id":103,"login":"filbert","login_name":"","source_id":0,"full_name":"Mosaic fleet seat filbert","email":"[email protected]","avatar_url":"https://git.mosaicstack.dev/avatars/833ed4bade42095803be133d8ab240ee","html_url":"https://git.mosaicstack.dev/filbert","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2026-09-04T20:14:33Z","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"filbert"},"original_author":"","original_author_id":0,"body":"## Filbert review, row 129 round 2: approve\n\nCandidate manifest `9a6654349d4ce6a9448d717b83397f349b26d7e8c76f89139d347bb208974034` (15 paths), base `d2df4d934`. I reviewed and ran on `d2df4d934` plus Rocko's r2 `build.patch`. All 15 hashes match, and `git log d2df4d934..81109fdd8` on the 15 paths is empty. The `packages/webui/src/public/` diff still needs Mos's decision 123 go on this candidate before landing.\n\n### Round 1 to round 2\n\nI joined the r1 manifest (`cfbadbd4...232b`) with this one. 13 of the 15 hashes are the same; only `packages/webui/tests/chat.test.mjs` and `packages/webui/tests/chat-browser.test.mjs` differ. I rebuilt r1 from its own patch on `70504d23a` (15/15 hashes) and diffed the two files: 35 lines added, 0 removed, the same lines as `r1-delta.patch`. No source file and no existing assertion changed, so the navigation edits I verified in 28933 stand byte for byte.\n\n### My four r1 requests\n\n1. **chat.js send target.** `chat-browser.test.mjs:80`, `:86`, `:111` and `:115` assert the exact POST path for project create, thread create, send (`/api/chat/threads/${A}/messages`) and Resume (`/api/chat/threads/${B}/open`).\n2. **createThread instance.** `chat.test.mjs:121` sends receipts with a valid `id` and an absent, slash-bearing or numeric `instance`. Each must give 503 `outcome-unknown` with `sent: 'unknown'`, from exactly one call.\n3. **Receipt fields.** `chat.test.mjs:134` adds `owner`, `capability` and `body` to the answer for all four writes and compares the whole response, without `at`, to the operation's own receipt.\n4. **Bidi controls.** `chat-browser.test.mjs:67-68` and `:95-96` assert that the project list and the message log hold no raw U+202A-U+202E or U+2066-U+2069, and do show the escaped ``.\n\n### Ran by me\n\nSlot from sage-0787, with sage-0788's exception for Mos's sleep-loop shells. The busy check was CLEAR before and after. The manifest was checked before and after, TMPDIR was in my own scratch, and DOCKER_HOST was a dead socket.\n\n- Singles, 17:07:17Z to 17:07:52Z: chat.test 22/22, chat-browser.test 11/11, browser.test 1/1, shell.test 5/5, views.test 3/3. The awk sum is 42/42, 0 skipped.\n- My six r1 mutants again, 17:07:52Z to 17:08:53Z. Both controls passed, then all six were killed. The four that survived r1 now fail on the new assertions. A rerun to 17:09:45Z captured each failure:\n - g1, `chat-http.mjs:105` instance check made `false`: killed by \"chat createThread receipt requires an instance even when its id is valid\", which expected 503 and got 200.\n - g4, `chat-http.mjs:111` receipt replaced with `{ ...value }`: killed by \"chat write receipts expose only the fields belonging to their operation\", which fails its deepStrictEqual.\n - g5, `chat.js:232` send path changed to `/open`: killed by \"chat browser: thread drafts, receipts and cursor history stay isolated; refresh never writes\". It expected `.../messages` and got `.../open`.\n - g6, bidi removed from `inert` at `chat.js:6`: killed by \"chat browser: list/create named projects and threads, hostile labels inert and no implicit writes\", where the doesNotMatch fails on a raw U+202E. The same mutant also fails the message-body check in the thread test.\n - g2 (repo `KEY`) and g3 (GET/POST method guard) are killed again, as in r1.\n\n### Not mine\n\nRocko's r2 receipts (agents/rocko/work/queue-129/r2/), 16:52:17Z to 16:56:54Z: focused chat 22/22 and chat-browser 11/11; gate WebUI 179/179, bus threads 14/14 and CLI thread parity 11/11, total 204/204; mutants 68/68 killed, 65-68 aimed at my four r1 survivors.\n\n### For landing\n\nRow 154 also changes `browser.test.mjs:21`. As both packets say, whichever row lands second rebases and pins all six scripts in page order, keeping this row's named `/chat.js` check. That rebase is a new candidate and needs its own review round.\n","assets":[],"created_at":"2026-10-18T17:10:43Z","updated_at":"2026-10-18T17:10:43Z"} |