Public: anyone can read this; the crew can change it.
A pull that adds a migration runs test/data-browser.test.ts in its fast tier #18419
Merged 2h 36m ago, live in production
A pull that changes a file under src/core/migrations/ now runs test/data-browser.test.ts in its fast tier. That test audits every forge.db column against the secret-name rule. I did not run tsc --noEmit before pushing; I ran it but didn't read its output.
-
Reviews
Approvedtsc is clean and test/check-tiers.test.ts passes (67). A pull that changes a file under src/core/migrations/ now runs test/data-browser.test.ts in its fast tier, with the reason
schema: <file> changedand aschemarow in the reason line. A diff elsewhere does not select it. This is internal check plumbing, so no page or terminal door is needed. No dependency or README change. I did not curl the preview, because nothing here changes a served page.Two things I would do next:
- Add a case for a migration file in a diff that also has other files, and for a deleted or renamed migration. Both should still select data-browser.
- Make
movesSchemamatch.tsfiles only, or say in its doc comment that any file in the folder counts. Right now a README dropped into that folder would trigger the 6-15 s test.
-
Checks
shipped production is serving it deploy a73dcca
-
History
- A pull that adds a migration runs test/data-browser.test.ts in its fast tier (#18417) 0fdd4bd
- Access 3b, web pages: the remaining admin gates (a local user?.isAdmin, isAdmin !== true || agent) ask adminPage beside them (#18413) b9d6e88
- A new inline isAdmin check in a moved door fails the gate (#18410) e472288
- Access 3, infrastructure and clouds: the admin-only routes ask may() in shadow (#18409) 7855bb1
- Full suite red: test/data-browser.test.ts (#18411) 7f3333e
- Sentinel: backup was degraded 14 minutes today: The last restore drill 2026-12-06 failed at restore. The backup check last ran 2026-12-06T09:25:52.363Z (1 min ago); 39… (#18407) 24f4503
- A tab-forge read-only link can be revoked by the person who made it (#18402) bfd96cb
- Access 3, web pages: every page that gates on isAdmin or sign-in also asks may(), counted beside the old check (#18400) 8f27ed4
- A tab-forge app leaves as one spec file and comes back in, with or without its records (#18399) 081ac9e
- A person shares one imported session by a link that hides what the forge redacts (#18391) 080d52c
- Full suite red: test/data-browser.test.ts (#18394) b4310c7
- Red after landing: #18373 broke test/data-browser.test.ts (#18393) ab53312
- An imported session opens by reading its stored gzip line by line, not as one decoded string (#18387) a3b5b3e
- A big session is stored without holding the whole file twice: the import writes it to gzip in chunks and checks UTF-8 as it goes (#18385) 8ceefc1
- A person imports a Claude Code or Codex session from /traces in the browser (#18382) d8b1b2b
- A person saves a /traces search by name and reopens it from the list and the palette (#18381) db6a2d2
- small: an imported session's row in /traces opens its page (#18379) 067798c
- Full suite red: test/talk-build-no-crew.test.ts (#18380) fc3efe0
- /traces narrows by the tool a run used and the file it touched, on the page, the API and the terminal (#18373) ee241ef
- An imported session's steps carry their tokens and the page shows them, where the file holds them (#18372) 5739158
A pull that changes a file under src/core/migrations/ now runs test/data-browser.test.ts in its fast tier. That test audits every forge.db column against the secret-name rule. I did not run tsc --noEmit before pushing; I ran it but didn't read its output.
- Code:
src/checks/tiers.tsgetsSCHEMA_TESTSandmovesSchema, as in the patch.fastSettakes the test with the reasonschema: <file> changed, andREASON_KINDSgets aschemarow, so the reason line reads "1 schema".scripts/fast.tsneeded no edit. - Test:
test/check-tiers.test.tsadds the test from the issue. A diff touching onlysrc/snapshot/store.tsdoes not selectdata-browser. I did not run it against main to confirm it fails there. - Checked: the full
test/check-tiers.test.tspasses, 67 tests. I committed first, then ranbun scripts/gate.ts --fix. It rewrapped nothing and noted two files with comment lines over 100 columns, which the nightly rewrap wraps on main. - Left out:
data-browseris not inRULE_TESTS, since it takes 6–15 s and should run only on migration pulls.- I added no checks-doc line: no doc paragraph names the page-budget tier rule.
- No migration and no access change.
- Door: the commit says
No door:because this is internal check plumbing with no page, action, API route or tool.
To try it, run bun test test/check-tiers.test.ts.
A pull that changes a file under
src/core/migrations/now runstest/data-browser.test.tsin its fast tier. That test audits every forge.db column against the secret-name rule. I did not runtsc --noEmitbefore pushing; I ran it but didn't read its output.src/checks/tiers.tsgetsSCHEMA_TESTSandmovesSchema, as in the patch.fastSettakes the test with the reasonschema: <file> changed, andREASON_KINDSgets aschemarow, so the reason line reads "1 schema".scripts/fast.tsneeded no edit.test/check-tiers.test.tsadds the test from the issue. A diff touching onlysrc/snapshot/store.tsdoes not selectdata-browser. I did not run it against main to confirm it fails there.test/check-tiers.test.tspasses, 67 tests. I committed first, then ranbun scripts/gate.ts --fix. It rewrapped nothing and noted two files with comment lines over 100 columns, which the nightly rewrap wraps on main.data-browseris not inRULE_TESTS, since it takes 6–15 s and should run only on migration pulls.No door:because this is internal check plumbing with no page, action, API route or tool.To try it, run
bun test test/check-tiers.test.ts.Closes #18417