From e20788b1ea3b4a9446fba7c771c2db3822a5568c Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Tue, 24 Nov 2026 02:51:19 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20Roc=20four=20items=20=E2=80=94=20direct?= =?UTF-8?q?ion=20appended=20to=20the=20composed-platform=20design?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Appends §3.9 to the Roc platform design record beside §3.8 (PR #14029): Drew's direction to implement and use Rocco, Roclet, concave, and roc-pdf, with an example app for each one or multiple. Rocco and Roclet recorded as platform-variant candidates with catalogue caps; concave as reference design for the id backend shape with a named open question (own implementation vs adopting the days-old upstream as our variant's base); roc-pdf as a library consumed through a platform. Example apps join the family nightly-pin bump rehearsal. Recorded, not enqueued. --- ...6-11-24T02-50-49Z_design_roc-four-items.md | 98 +++++++++++++++++++ doc/README.md | 1 + 2 files changed, 99 insertions(+) create mode 100644 doc/2026-11-24T02-50-49Z_design_roc-four-items/2026-11-24T02-50-49Z_design_roc-four-items.md diff --git a/doc/2026-11-24T02-50-49Z_design_roc-four-items/2026-11-24T02-50-49Z_design_roc-four-items.md b/doc/2026-11-24T02-50-49Z_design_roc-four-items/2026-11-24T02-50-49Z_design_roc-four-items.md new file mode 100644 index 000000000..5f0363aaf --- /dev/null +++ b/doc/2026-11-24T02-50-49Z_design_roc-four-items/2026-11-24T02-50-49Z_design_roc-four-items.md @@ -0,0 +1,98 @@ +# Roc four items — direction appended to the composed-platform design + +**Date:** 2026-11-24 · **Lane:** ROC-FOUR-DIRECTIONS +**Direction:** Drew, 2026-11-23 ~20:48 CST (implement and use each of Rocco, +Roclet, concave, and roc-pdf; build an example app for each one, or +multiple). +**Amends:** "Roc Platforms Deep-Dive + A Composable Platform Family for ID +Apps" (the ROC-PLATFORMS-DESIGN exploration, 2026-11-23), as amended by the +platform composer record +(`doc/2026-11-24T02-45-34Z_design_roc-platform-composer/`, PR #14029). The +design exploration's repo copy lands as +`doc/2026-11-24T02-09-38Z_research_roc-investigation/platform-design-exploration-2026-11-23.md` +via PR #14012. The identical text below is appended as §3.9 of the working +note in `~/workspace/roc-investigation/`, directly beside §3.8 (the +own-the-five-platforms direction). +**Programme context:** the wider frame is the ID design programme for worlds, +capabilities and permissions (#5955); this direction belongs to the platform +design record above, not to a separate design. +**Open question carried:** §3.9 item 3 records a named question for Drew — +whether "implement" for concave means building our own implementation of +its shape or adopting the days-old upstream as the base of our variant. It +is flagged there, not decided. + +The direction follows, verbatim as appended to the design note. + +--- + +## 3.9 Direction recorded (Drew, 2026-11-23, later): the four join the family + +A second direction from Drew the same evening, extending §3.8's list: + +**Drew's direction, in substance:** *"Plan to implement and use each of +these and build an example app for each one, or multiple."* + +"These" are the four items from the decisions-lane report — **Rocco**, +**Roclet**, **concave**, and **roc-pdf**. They join the family plan +alongside the five platforms of §3.8, but they are not four more of the +same thing, and this entry keeps their shapes distinct: + +1. **Rocco — a platform in the same sense as the five.** A 3D engine + platform (engine in Odin, WebGPU rendering; a game is a model plus five + pure functions returning a `Scene` value; PBR, shadows, glTF, skinned + animation, collision queries, no physics; web builds via wasm + + WebGPU). It is a candidate for a variant of ours under §3.8's logic, + and its capability surface (scene/render, input, audio) is a candidate + cap family for the catalogue. Two months old, 21 releases, explicitly + early — the youngest of the platform candidates, and the one where + "implement" most plausibly means growing our variant alongside a fast + upstream rather than stabilising a finished thing. +2. **Roclet — also a platform in the same sense.** Notebooks for Roc + running entirely in the browser via Wasm: reactive cells ordered by + dependency rather than position, notebooks saved as plain Roc or + Markdown, exportable as runnable scripts or HTML reports. Experimental + alpha, Chrome only. A variant candidate like Rocco; its example apps + are example *notebooks*, which in its model are also its distributable + artefact. +3. **concave — a platform, but first a reference design.** The + Convex-style reactive backend announced the same day as the report: + typed Roc queries and mutations, queries as live subscriptions by + default, ACID mutations that can schedule jobs transactionally, + built-in document database, file storage, auth integrations, an + auto-generated typed client, pure-Roc components. Days old, zero + releases, no production users, and its formal-verification claims are + the author's own. Its certain role is as the reference point for the + id backend shape — it proves the reactive-backend slice is buildable + on RC1, and its author's compiler-API workaround (a manual string + registry plus an `--introspect` mode) is the first use case for the + embedding adapter the decisions lane recommended. Whether it is also + the base code of our backend platform is **an open question for Drew, + recorded here rather than decided:** "implement" can mean *(a)* build + our own implementation of the concave shape on the id platform family, + or *(b)* adopt the days-old upstream as the base of our variant, per + §3.8's pattern for the five. The costs differ by an order of + magnitude, and the use-and-example-app parts of the direction apply + either way. +4. **roc-pdf — a library, not a platform.** Boswell's Roc library that + *generates PDF files* — pagination, font embedding, deterministic + standards-conformant output — with twelve releases and the most mature + footing of the four (Åhdén generates real-estate sale flyers with it in + production). It joins the family as a library: nothing here gets a + variant in the platform sense and it takes no catalogue entry, because + catalogue caps are host capabilities and a pure Roc library needs + none. Example apps consume it *through* a platform — a server- or + CLI-profile app that generates documents. "Implement and use" in + library form: depend on it, and own fixes in a library variant if it + becomes load-bearing. + +**The example-app programme shape.** At least one example app per item, +multiple where the item supports it: Rocco and roc-pdf support several +naturally (small games and visual tools; document generators of different +kinds), Roclet's are notebooks, concave starts with one reactive app. +Example apps are built against our variants (for roc-pdf, against the +library through one of our platforms) on the family's pinned nightly, +and they join §3.8 point 2's discipline: the example apps of the four are +part of the same bump-rehearsal suite as the five variants' examples, so +a nightly-pin bump is rehearsed across all nine, and the combined +breakage list is the bump's true cost. As with §3.7's slice, this +programme is recorded here, not enqueued. diff --git a/doc/README.md b/doc/README.md index 5dbcd100d..0190765ec 100644 --- a/doc/README.md +++ b/doc/README.md @@ -71,6 +71,7 @@ Folders are named `__`. The kinds in use are `feature` - [IdP identity-linking policy — pending trust, passkeys, configurable factors, account merge](2026-11-24T01-28-40Z_design_idp-linking-policy/2026-11-24T01-28-40Z_design_idp-linking-policy.md) — design record (Drew, 2026-11-23) for #13415 and workstreams #13972 (HEAD), #13973, #13974, #13975: federation doors link to the same user without auto-trust (a new provider sign-in registers pending until approved from an established session), first sign-in auto-provisions the CA SSO account, passkeys bind to the originating sign-in path by default with a standalone option (unlimited, multi-provider attach), two-factor is user-configured as any two distinct factors, and account merge stays possible (no per-account-unique objects beyond a limited set, primary chosen, no data lost, per-attribute repointing); recovery/deletion policy explicitly undecided. - [Roc ecosystem research](2026-11-23T22-00-25Z_research_roc-ecosystem/2026-11-23T22-00-25Z_research_roc-ecosystem.md) — research record (2026-11-23): the state of the Roc language ecosystem — the new Zig compiler (feature parity July 2026; 0.1.0-RC1 shipped 2026-11-21, promotion to 0.1.0 still open), platforms (basic-cli, basic-webserver, Joy, roc-ray, roc-gui, Cloudflare Workers, native Android), the new-compiler package canon, real projects and production use (Joy/roc-deflate, roc-chat), a 30-day Zulip digest (linear types decided against FBIP; the LLM-generated-code conversation, no policy adopted; tooling and distribution progress), and the talks/releases/showcases worth watching. - [Roc platform composer — amendment to the composed-platform design](2026-11-24T02-45-34Z_design_roc-platform-composer/2026-11-24T02-45-34Z_design_roc-platform-composer.md) — design record (2026-11-24) amending the Roc platform design exploration (ROC-PLATFORMS-DESIGN; its repo copy lands via PR #14012): a platform composer that takes a capability manifest from the shared catalogue and produces a single compiled platform on demand — capability-set hashing as platform identity, named profiles vs arbitrary compositions, two-level narrowing (composition, then grant), the static-binding tension stated plainly, and who may compose — plus Drew's direction to own a variant of each of the five surveyed platforms (RocRay, roc-gui, Joy, roc-native-android, roc-cloudflare-workers), example apps built off our variants, and one pinned Roc nightly across the family, superseding the design's re-host default where they differ. +- [Roc four items — direction appended to the composed-platform design](2026-11-24T02-50-49Z_design_roc-four-items/2026-11-24T02-50-49Z_design_roc-four-items.md) — design record (2026-11-24) appending §3.9 to the Roc platform design exploration beside §3.8: Drew's direction to implement and use Rocco (3D engine platform), Roclet (browser notebooks), concave (Convex-style reactive backend), and roc-pdf (PDF library), with an example app for each one or multiple — Rocco and Roclet as platform-variant candidates with catalogue caps, concave as reference design for the id backend shape with a named open question (build our own implementation of its shape vs adopt the days-old upstream as our variant's base), roc-pdf as a library consumed through a platform — and the four items' example apps joining the family's nightly-pin bump rehearsal. - [Actions exec — build and tiered-extension proof material](2026-11-24T00-39-49Z_report_actions-exec-proof-material/2026-11-24T00-39-49Z_report_actions-exec-proof-material.md) — raw proof scripts and run logs for #13774: the ACTIONS-EXEC-2 build (broker verbs, OIDC RS256 gate, fleet actions family; handoff proven end to end twice; the second run failed at the agent-install step and its diagnosis is held behind a flag hold) and the ACTIONS-EXEC-3 tiered lease-extension policy (design amendment and completion record on the issue; fleet-queue 616 and fleet bin 141 tests passing; live tier proof on the generation-8 broker; push delivery blocked by the PM intake 401, #13902). Backfilled from lane /tmp under the work-product landing rule. - [OpenRouter post-reset through-route probe](2026-11-24T00-22-00Z_report_openrouter-route-probe/2026-11-24T00-22-00Z_report_openrouter-route-probe.md) — verification record for #13677 (2026-11-24): two post-reset probe sessions through the openrouter-free-plan route completed, but the server session records show both were served by other providers (claude-payg and _muse), not by OpenRouter :free models, so the owed verification stays open in substance and the next diagnostic is named. Backfilled from the goal workspace under the work-product landing rule. - [UNBLOCK-393 sweep — per-item disposition table](2026-11-23T19-38-00Z_audit_unblock-393-sweep/2026-11-23T19-38-00Z_audit_unblock-393-sweep.md) — audit record (2026-11-23): all 393 blocked queue tasks re-checked against their linked issues and dispositioned (34 done, 8 stale blocks, 7 decision-blocked, 7 defective packets replaced, 337 still blocked with named unblockers); the blocked count went 393 to 339, verified by read-back. The raw sweep working files (worker brief, baseline lists, per-slice outputs) are in the folder under raw/. Backfilled from the goal workspace under the work-product landing rule.