Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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:

  1. 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).
  2. Exact arithmetic. Evaluation is exact decimal — no host floats (fsheet-calc).
  3. The server computes; the browser renders. The served grid never calculates a formula (D-G0): every displayed value is the server’s display projection, every scenario preview is server-computed.

Crate map

CrateRole
fsheet-coreDocument model (layers L1–L8), identities, values, spatial/scenario ops (deps: none)
fsheet-formatCanonical .fsheets parse/format, byte-stable round trips, fail-closed versions
fsheet-calcFormula lane: parser, exact evaluation, dependency engine
fsheet-connectFormaSL connectivity: anchors, basis-stamped snapshots, explicit write-back (OA-02)
fsheet-interopCSV import/export + real XLSX/ODS importers with typed reports (FSHEET-RM-01)
fsheet-surfaceGrid 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

DocumentContents
FORMAT.mdThe canonical .fsheets grammar with real corpus examples
CALC.mdFormulas: syntax, operators, the 17 functions, typed errors
CLI.mdThe fsheet commands and the agent authoring cycle
HTTP-API.mdThe fsheet-app routes: state projection, scenarios, connectivity
GRID-UI.mdThe /grid Tabulator surface and the D-G0 law
TUTORIAL.mdA full authoring cycle with executed transcripts
DEFINITIONS.mdVocabulary 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)