Docs Update

This commit is contained in:
Raven Scott
2026-04-04 19:51:05 -04:00
parent f8ddef7950
commit c29ec13cf9
47 changed files with 1106 additions and 464 deletions
+15
View File
@@ -22,3 +22,18 @@ sequenceDiagram
Booter->>Booter: AsyncFunction start ctx from init.js
```
After replication, the booter records **`vfs`** → **`ctx`** → **`repl`** → **`initd`** → **`kernel_invoke`** (see [`KERNEL_CONTRACT`](../architecture/KERNEL_CONTRACT.md)) before the stock **`start(ctx)`** loop opens the interactive shell unless **`BARE_OS_SKIP_REPL`** applies.
```mermaid
flowchart TB
vfsStep[vfs createVfs]
ctxStep[ctx buildBareCtxObjectFromHost]
replStep[repl createKernelReplSession]
initdStep[initd bare-initd]
kern[kernel_invoke runKernelFromSource]
shell[Interactive execLine loop]
vfsStep --> ctxStep --> replStep --> initdStep --> kern --> shell
```
![Booter phase ordering](../images/boot-flow.png)