Computational Office Web Embedding & Sheet Interoperability
Publication Date: 28 November 2026 · Author: Myceta Labs ([email protected])
Canonical URL:
https://myceta.dev/specs/office-interoperability/
1. Scope
This technical note documents four open client-side presentation and interaction mechanisms used by Myceta Computational Office surfaces on the web and desktop so third-party host pages, notebooks, and engineering tools can interoperate predictably.
2. Zero-Trust <myceta-embed> Custom Element & Browser Quarantine
Any standard HTML document may embed a content-addressed or channel-addressed Myceta view using the custom element
<myceta-embed src="myceta://..."></myceta-embed>:
<myceta-embed
src="myceta://sha256/9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08/BeamSummary"
display-units="imperial"
sandbox-policy="read-only">
</myceta-embed>
When instantiated, the custom element resolves the URI over an untrusted HTTPS gateway into an isolated in-memory quarantine buffer,
executes client-side WebAssembly verification (myceta-verify.wasm) to check content digests and principal signatures
before mounting a closed/isolated Shadow DOM tree, and refuses rendering with an explicit diagnostic banner if any check fails.
Host DOM scripts outside the component cannot mutate verified numerical outputs inside the Shadow DOM while preserving certified badge state.
3. Non-Mutating Bidirectional Display-Unit Cell Lenses (parse ↔ fmt)
In reactive engineering sheets, underlying graph nodes store quantities in canonical typed units (for example, f64<m>
or f64<Pa>), while individual sheet cells or viewer locales attach symmetric bidirectional presentation lenses
(fmt: Canonical → Display, parse: Display → Result<Canonical, Diagnostic>) subject to round-trip coherence.
Switching a sheet or cell view between SI (mm, MPa, degC) and customary units (in,
ksi, degF) transforms only the presentation lens without rewriting upstream source formulas or invalidating
canonical node identities.
4. Four-Mode Derived-Cell Edit Disambiguation
Conventional spreadsheets silently destroy formula structure when a user types a literal value over a formula cell.
In a Myceta Computational Office sheet, attempting to edit a cell bound to a derived graph node y = f(x) never silently
clobbers the formula; instead, the editor surfaces four deterministic structural operations:
- Inspect Provenance: Navigate directly to the defining
nodeformula, unit contract, and upstream inputs. - Goal-Seek Upstream Input: Solve or invert for a designated upstream
inputsparameterxsuch thatf(x)attains the entered target value within tolerance. - Fork Named Scenario Override: Materialize a non-destructive
scenariobranch (scenario Draft = Base with { ... }) comparing baseline and overridden results side-by-side. - Insert Typed Synthesis Hole: Replace the sub-expression with a typed hole
?targetconstrained by the cell's expected unit and type signature for interactive completion.
5. Semiring Metadata Overlays Over Dependency Graphs
Visual graph lenses render operational and epistemic properties across a computation DAG by evaluating commutative semiring or bounded-lattice homomorphisms over node metadata independently of value execution:
- Data Staleness / Age: Tropical max-semiring (
maxover upstream source timestamps). - Cumulative Resource / Footprint Accounting: Additive monoid (
+over per-node cost, energy, or latency weights, deduplicated across shared DAG ancestors). - Assurance / Source Reliability Floor: Min-lattice (
minover upstream trust tiers). - Sensitivity / Classification Label Propagation: Security lattice join (
⊔over confidentiality labels).
Because overlay propagation is strictly read-only over DAG topology and metadata annotations, toggling visual heatmaps never alters underlying node values or execution semantics.