Repository navigation
v0.25.0 — Box Contract v24: init Framework Templates, tts-box dev & HTTP SSE Streaming (Pre-1.0)
Pre-release
Pre-release
Pre-1.0 Release — Slice 25 (Engine Contract v20 preserved & Box Contract v24)
Highlights
- 6-file verified web-framework scaffolding (
tts-box init <dir> --template=hono|express, #89): Scaffoldspolicy.ts,policy.test.ts,manifest.json,box/adapter.mjs,box/app/{routes,server}.ts, andREADME.mddirectly from the verifiedexamples/hono-api/andexamples/express-app/reference apps while preserving byte-identical 4-file output forbasic,webhook, andmcp. - Checked watch-reload development supervisor (
tts-box dev, #89): Watches manifest, actor.tsgraphs, and Linux box sources; runstts checkbefore initial start and every edit reload (keeping the previous live server running on errors), preserves--dbSQLite WAL state across reloads, and performs Linux boxadapter.mjs/app/**fast-sync viaaudit --offline+ atomic staging +.stamprecomputation without re-runningnpm ci(683.1 msp50 actor reload /402.1 msp50 boxapp/*.tsfast-sync). - WHATWG HTTP Server-Sent Events streaming (
sse&streamBox, #88):- Declarative actor SSE replies (
{ status, headers?, sse: [...] }) and live sandboxed box streaming relay ({ status, headers?, streamBox: { box, fn, args } }) supporting bothasync function*generators and WebResponse(ReadableStream, { headers: { "content-type": "text/event-stream" } })over bounded NDJSON pipes under Landlock + seccompnet: false. - Measured
0.849 msfirst-byte p50 (54,167 events/s) for declarative actor SSE and0.969 msfirst-byte p50 (55,750 events/s) for live sandboxed boxstreamBoxSSE (100events/stream). - Expanded read-only
GET /metricsfrom26to 28 typed Prometheus metric families (tts_box_sse_streams_active,tts_box_sse_events_total).
- Declarative actor SSE replies (
Verification & Guardrails
- Commit:
2b512ba4abe38ded99ab1fd996d3d77a14d110fe - External Conformance:
trusted-ts-checks@82386d3c3b2f35e5c8217c314ec7845a5db53097slices/25/conformance.mjs— 48 / 48 PASS (negative control onv0.24.0:45 / 48, failing only4c,6v,6w) - Architecture & Coverage:
49,002 / 50,500core token-lines (1,498headroom,tts <= 15,000,0.config/architecture.tomlcap edits,0cargo atlasviolations),91.83%workspace line coverage,deslop-please:ok(0new allowlist entries) - Invariants & Formal Proofs:
41VM opcodes (0new opcodes/builtins,0new Cargo dependencies,0.rsedits incrates/), Verus143verified, Lean 40 sorryAx, Kani18 / 18,@tsmodel6 / 6(0stale anchors) - Full benchmark & verification report: docs/benchmarks-v0.25.0.md