Skip to content

Commit 3fc76cd

Browse files
phasenullclaude
andauthored
Docs sweep: README matches main (2026-11-15) (#16)
Checked against the code on main during the docs sweep for www.typetorch.dev: commands, flags, env vars, versions and removed features. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent d3ff948 commit 3fc76cd

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ Version 0.5.7, kernel API 1 (`src/shared/Constants.luau`: `KERNEL_VERSION`, `KER
3030
needs with the `KernelApi` attribute; a kernel with a lower `KERNEL_API` refuses it.
3131
- **Studio plugin** (`typetorch/studio-plugin`): sets `LiveReload` on `ServerStorage.TypeTorchDev` while it syncs Rojo
3232
into a playtest (see "Live reload in a Studio playtest" below).
33-
- **Backend** (`typetorch/backend`): receives heartbeats, deploy reports, alerts, error reports and debug bundles at the
34-
signed settings' `backend` URL, and drives remote debug.
33+
- **Backend** (`typetorch/backend`): receives heartbeats, deploy reports, alerts, error reports, debug bundles and live
34+
debug streams at the signed settings' `backend` URL, and drives remote debug and the live map.
3535

3636
Guides: [typetorch/docs](https://github.com/typetorch/docs) (runtime API, branches and channels, prod signing,
37-
settings, fleet and alerts, Studio testing).
37+
settings, fleet and alerts, cross-server messages, loading screens, Studio testing).
3838

3939
## Layout
4040

4141
- `src/server/` → `ServerScriptService.TypeTorchKernel`: `Kernel` (boot, branch choice, LoadAsset + side-by-side
4242
mounting, swaps with soft + hard stop, automatic rollback, `/tt`), `Api` (the server generation API), `Registry`
4343
(in-game DataStore / MemoryStore heads), `Settings` (the signed settings), `Signing` (Ed25519 rules), `Access` (dev
4444
access), `Transport` (stable remotes), `Logs`, `Fleet` (the fleet API sender), `Fallback`, `Health`, `Messaging`,
45-
`Budget`, `Errors`, `RemoteDebug`, `Bundle`, `vendor/` and `Entry` (disabled template, cloned per generation). A
46-
place project that maps these files one by one must map `Fleet` (0.3.2), `Fallback` (0.3.6), `Health` (0.3.7) and
47-
`Messaging` (0.3.8), `Budget` and `Errors` (0.4.0), `RemoteDebug` (0.5.0) and `Bundle` (0.5.3) too; without them the
48-
kernel boots without that part and says so.
45+
`Budget`, `Errors`, `RemoteDebug`, `LiveDebug`, `Bundle`, `vendor/` and `Entry` (disabled template, cloned per
46+
generation). A place project that maps these files one by one must map `Fleet` (0.3.2), `Fallback` (0.3.6), `Health`
47+
(0.3.7) and `Messaging` (0.3.8), `Budget` and `Errors` (0.4.0), `RemoteDebug` (0.5.0), `Bundle` (0.5.3) and
48+
`LiveDebug` (0.5.7) too; without them the kernel boots without that part and says so.
4949
- `src/shared/` → `ReplicatedStorage.TypeTorchKernelShared`: `Constants`, `ClientApi` (the client generation API),
5050
`ClientEntry` template.
5151
- `src/client/` → `ReplicatedFirst.TypeTorchKernelClient`: the holding screen, follows `ActiveGeneration`, swaps client
@@ -80,8 +80,8 @@ use `:` (roblox-ts calls interface methods that way). Details of each are in the
8080

8181
## `/tt` chat commands
8282

83-
For devs, and the way in when a generation is broken: `/tt status | branch <name> | new <branch> [assetId] | pin
84-
<assetId> | unpin | reload | rollback | bundle | dev` (`dev` opens the framework's dev menu). Owner-only rules are
83+
For devs, and the way in when a generation is broken:
84+
`/tt status | branch <name> | new <branch> [assetId] | pin <assetId> | unpin | reload | rollback | bundle | dev` (`dev` opens the framework's dev menu). Owner-only rules are
8585
under "Owners and owner switches" below.
8686

8787
## What it does, by version
@@ -372,7 +372,7 @@ under "Owners and owner switches" below.
372372
`status().remoteDebug` has the counters (never a command, the URL or the key).
373373
- How it learns it is watched: a heartbeat reply `{ ok, rd = 1 }` (up to one heartbeat, 30 s), or (0.5.1, **instant
374374
wake**) a wake message `{ k = "rd", j = <JobId> }` on `TypeTorch/deploy` that a backend with
375-
`TYPETORCH_MESSAGING_KEY` publishes through Open Cloud when the watch starts: the named server starts polling at
375+
`OPENCLOUD_API_KEY` and `TYPETORCH_UNIVERSE_ID` publishes through Open Cloud when the watch starts: the named server starts polling at
376376
once. No new subscription (the kernel's control topic already carries the settings ping and the peers' ask). The
377377
wake is unsigned and only does what `rd = 1` does: the first poll asks the backend, which says whether the job is
378378
really watched, so a forged wake costs one poll. Another JobId's or a malformed wake is ignored, one per
@@ -416,10 +416,11 @@ under "Owners and owner switches" below.
416416
- `lune run scripts/test-remote-debug.luau` (0.5.0: allow-list, owners only, rate, secret scrub, plain data, the
417417
session, client logs; 0.5.1: the wake: this JobId within a tick, other JobIds and malformed ignored, the local rate,
418418
a forged wake costs one poll, no backend no poll), `lune run scripts/test-live-debug.luau` (0.5.7: declarations
419-
and the hash, heartbeats' xh / x / cv / xq and the columns gap, failing and yielding getters, `game.*` routing,
419+
and the hash, heartbeats' xh / xd / cv / xq and the columns gap, failing and yielding getters, `game.*` routing,
420420
stream rates, batching and caps, the stop rules, live map mode and its lapse), `lune run scripts/test-bundle.luau` (0.5.3: triggers and the id,
421421
joining, the per-code and per-server limits, the close rule, parallel client logs and their timeout, the left
422-
players' lines, trimming, the key scrub, retries and the 404 stop, the body against the contract).
422+
players' lines, trimming, the key scrub, retries and the 404 stop, the body against the contract),
423+
`lune run scripts/test-devtools-strip.luau` (0.5.6: the devtools folder left off the shared client tree).
423424
- `lune run scripts/smoke-kernel.luau` boots the real server kernel with stubbed services (vectors in
424425
`scripts/smoke-settings.json` and `scripts/smoke-signatures.json`; `--verbose` prints more). Modes: `--fallback`,
425426
`--dev`, `--vip`, `--bootstrap`, `--bootstrap-only`, `--blind`, `--empty`, `--studio-local` (0.5.4: live reload

0 commit comments

Comments
 (0)