28 NOTES
Advanced Platform Development
Rebuilding a complete self-hosted data platform from FOSS on Kubernetes, one working component at a time.
→ Start herestarlark-go in a Go server: FileOptions, host bindings, and a cancel watchdog
→ Read this note
flowchart TB
subgraph vault["hermetic: no clock, no filesystem, no network"]
direction TB
SRC(["saved source"])
TH{{"starlark.Thread<br/>step cap and watchdog"}}
PRE[["predeclared<br/>platform json date run"]]
SRC --> TH
TH -->|"ExecFileOptions"| PRE
end
PRE -->|"the only door"| CALL{"Caller.CallTool"}
CALL -->|"in-memory session"| SRV[("assembled MCP server")]
SRV --> WH[("warehouse")]
SRV --> API[/API/]
PRE -->|"export / publish_data"| KEY[["script:id:name"]]
KEY --> DOC[/"versioned document"/]
R(["reader"]) -.->|"bytes, no query"| DOC
Rebuilding a complete self-hosted data platform from FOSS on Kubernetes, one working component at a time.
→ Start hereThe Model Context Protocol taken apart one JSON message at a time, written by hand in Go.
→ Start hereMeasured studies of MCP agent behavior: knowledge-layer ablation, stored-knowledge use, the measurement harness, knowledge pollution, and cross-reference document completion.
→ Start hereMechanical verification for AI-written code: strict linting, coverage gates, mutation testing, and a pre-commit gate that refuses the commit.
→ Start here