Cotal TypeScript packages
    Preparing search index...

    Class RunJournalStore

    @cotal-ai/runtime — where a cotal-lang run is HOSTED.

    packages/lang is the language: the parser and validator, the effect interface, the step journal, the interpreter, the simulator, the dry run. It depends on nothing in this repo, and that independence is what lets a program be tested without a broker. This package is the other half: the mesh bindings that make a run durable and drivable — the journal's storage over the activation barrier, the effect handler over the real planes, and the run driver hosted on the manager daemon.

    Implements

    Index
    • anchor, when given, is called with the journal's head after every append and awaited before the append resolves, so the entry is covered by an anchor outside the journal before the language acts on it. The calls run one at a time in append order. A failed anchor fails this append and every later one, which the language reads as L5010.

      Parameters

      Returns RunJournalStore

    • get isFinished(): boolean

      True once the underlying appender is finished. A driver polls this to stop early rather than discovering it on the next entry — the interpreter has no such concept and does not need one.

      Returns boolean