Forma Sheet v0.1 (FSHEET)
Status: RELEASE_CANDIDATE (campaign FORMA-SHEET-v0.1 closed: RM-01..03 gates green — nextest 2937/2937, DOM E2E, connected E2E 5/5)
Architecture authority: docs/design/FORMA-SHEET-ARCHITECTURE.md (STABLE; §8 erratum 2026-10-02 — Tabulator surface)
Contract package: docs/forma-sheet-campaign-v0.1/ (owner decisions FS-D01..D52, OA-01..06)
This documentation set: generated by CAMPAIGN-FORMA-DOCS-QUAD-v0.1 from the implemented code. Documentation is not semantic authority.
What it is
Forma Sheet is a spreadsheet with stable cell identity, exact decimal calculation, server-computed scenarios and semantic connectivity — a product line built strictly on top of FormaSL, never underneath it:
Dependency direction is strictly one-way:
FormaSL and Semantic UI never depend on any fsheet crate.
The three pillars:
- Position ≠ identity. A cell has an address (
orc!B5) and an identity (c10) that survives movement; patches may target either (FS-D11/D12, RM-03). - Exact arithmetic. Evaluation is exact decimal — no host floats
(
fsheet-calc). - The server computes; the browser renders. The served grid never
calculates a formula (D-G0): every displayed value is the server’s
displayprojection, every scenario preview is server-computed.
Crate map
| Crate | Role |
|---|---|
fsheet-core | Document model (layers L1–L8), identities, values, spatial/scenario ops (deps: none) |
fsheet-format | Canonical .fsheets parse/format, byte-stable round trips, fail-closed versions |
fsheet-calc | Formula lane: parser, exact evaluation, dependency engine |
fsheet-connect | FormaSL connectivity: anchors, basis-stamped snapshots, explicit write-back (OA-02) |
fsheet-interop | CSV import/export + real XLSX/ODS importers with typed reports (FSHEET-RM-01) |
fsheet-surface | Grid renderer, editor shell, typed intent dispatcher (OA-03) |
fsheet-cli (bin fsheet) | Textual authoring surface for humans and agents |
fsheet-app (bin fsheet-app) | Local HTTP application + Tabulator grid UI |
Documentation map
| Document | Contents |
|---|---|
| FORMAT.md | The canonical .fsheets grammar with real corpus examples |
| CALC.md | Formulas: syntax, operators, the 17 functions, typed errors |
| CLI.md | The fsheet commands and the agent authoring cycle |
| HTTP-API.md | The fsheet-app routes: state projection, scenarios, connectivity |
| GRID-UI.md | The /grid Tabulator surface and the D-G0 law |
| TUTORIAL.md | A full authoring cycle with executed transcripts |
| DEFINITIONS.md | Vocabulary and the != laws |
Reading order: README → FORMAT/CALC → the surface you will use (CLI or HTTP-API/GRID-UI) → TUTORIAL.
What v0.1 is not
FSHEET != a calculation cloud (single-process local app; no multi-user)
Browser != calculator (D-G0; no client-side semantics)
Import != semantic authoring (imports carry zero semantic anchors;
enrichment is an explicit governed op)
Scenario != revision (scenarios are hypothetical overlays;
promotion is an explicit, separate op)