Support and limitations
FormaSL deliberately distinguishes source admission from runtime effect.
formasl check may accept a form whose current run bridge is deliberately
bounded, provider-dependent, or unsupported. The table below is the current
product boundary.
Public operations
| Operation | Implemented result | It does not imply |
|---|---|---|
check | accepted checked program or typed diagnostics | truth of a claim, source acquisition, or an external action |
inspect | summary or structured checked items | runtime execution |
run | typed application outcomes plus an aggregate status | persistence or provider invocation unless the outcome explicitly records it |
realize | plan binding or typed rejection | execution of a bound capability |
test | executed *.test.toml suite with an aggregate TestReceipt | production authorization of the tested claims; the receipt is evidence, not trust |
package seal / package verify | sealed release directory with re-derived id and verified digests, or a typed rejection | deployment, publication to a remote, or execution of the sealed capability |
analyze | the declared analysis application’s typed outcome (same engine as run) | contract/operator coordinates supplied from flags — they stay authored in source |
serve | one resolved project hosted over loopback HTTP with byte-identical machine envelopes | external network exposure, authentication, multi-application hosting, hot reload, or durable host-side operation state (owned by the execution plane) |
All source modules and realization plans are caller-supplied. Imports resolve against the supplied source set; FormaSL does not discover sibling files, download modules, or read an import from the filesystem implicitly.
Project mode (a forma.toml package with its forma.lock and release store)
binds these same four verbs to the resolved domain instead of explicit
operands; see Projects, packages and the release store. The
semantics of check/inspect/run/realize are identical in both modes;
project mode adds exact dependency resolution, the lock lifecycle, sealing,
and the test system.
Application-family support
| Surface family | Current run behavior | Important boundary |
|---|---|---|
match | runs the engine-backed query bridge (pattern conjunction, filters, optional, exists/not exists, alternatives, path traversal, COUNT/SUM/MIN/MAX aggregates, grouping, having, projection, ordering, slicing, graph views) | aggregates reduce over exact typed reducer-domain contracts; path completes under its reuse/selector contracts; an unadmissible clause fails closed with its owner’s typed outcome — never silently skipped, never laundered as complete |
infer | runs R1, R2, and R3 reasoning with a caller-supplied gas budget; rule using targets are formation-checked by resolved kind | a bounded run may return OUT_OF_GAS; R3 completion is reported under its goal/witness policy (COMPLETE_UNDER_GOALS, WITNESS_BUDGET_EXHAUSTED), not as unqualified truth; an ungoverned using target rejects with RULE_WIRE_REJECTION |
analyze | returns a typed analysis outcome | an operator can require an external provider or contract coordinates; formasl analyze is a thin facade over run --app and adds no coordinates of its own |
transform | executes authored rules productively through the native T1 kernel (TRANSFORM_EXECUTED) | exact-content coalescence keeps every source origin reconstructible as a dependence edge; a rule-less declaration is recognized as contract-only; the outcome is never evidence that an external target was materialized |
validate | returns a typed validation outcome | an evaluated result is not a global conformance certificate |
admit, authorize, decide | return typed governance outcomes, including denied/recorded results | they do not grant a real-world permission or execute a decision externally |
scenario, revise | instantiate the contracted scenario surface (with/assume/mask/substitute/introduce local/transition with a typed step judgment/embedded local application) as typed local outcomes | they seal their own hypothetical context; the baseline world is never mutated and never sees scenario content |
evolve source | returns a prepared source-evolution result | preparation is not publication or source replacement |
execution_request | records a typed REQUESTED result | recording is not dispatch or completion of work |
observe | reports NOT_ACQUIRED in the present bridge | no observation is acquired from an external system |
composition | returns a structured composition outcome | it is not an implicit orchestrator for external providers |
incorporate | runs the productive incorporation route over the promoted contract (S0–S7 gates over the real journal/publication carriers) or a typed gate refusal | APPLIED mints a successor source revision through the governed route; a gate refusal (NOT_APPLIED with its owning gate) is an executed gate sequence, not silent skipping, and never bypasses the authority mirror |
A selected run reports the worst aggregate status in this order:
REJECTED > RESOURCE_EXHAUSTED > UNSUPPORTED > COMPLETE. A completed
member therefore cannot hide a rejected, exhausted, or unsupported selected
member.
Material runtime limits by family
- Queries.
matchadmits pattern, path, optional, existence, alternatives, filtering, aggregate, grouping, selection, ordering, limiting, and graph-view clauses, and the current engine evaluates all of them. The aggregate operators are spelled exactlyCOUNT,SUM,MIN,MAX(uppercase) and are resolved against the exact language/operator basis, never inferred from a content name.SUMfolds only under an exact closed commutative-monoid reducer domain andMIN/MAXonly under an exact determining-order contract; an empty global group yieldsCOUNT0 and the typed additive zero forSUM, whileMIN/MAXleave their alias undefined without deleting the group.pathexecutes the full contract pipeline (endpoint correlation, role-exact steps, reuse policies, admissible family, selector, postfilter) and binds a structured path value distinct from any reference or display string. A source can still be accepted while a specific clause inside it fails closed under its owner’s typed outcome; the run outcome makes that visible, it never hides it. - Reasoning and rule authority. The
usingposition of aruleis a typed basis coordinate. On the public run path: atheory/ontologytarget is the reasoning authority; arelationtarget is a content/dependency coordinate that joins the executable chain through admitted rule heads or the application’s goal set; acontenttarget is a named basis coordinate under the selected authority; any other resolved kind rejects withRULE_WIRE_REJECTION. Goals never introduce reasoning authority and a foreign rule head never admits a foreign theory.checkadmits the source shape; executability is decided on the run path. - Transformations. Authored rules execute productively through the native T1 kernel over the accredited query matcher. Collision coalesces ONLY exact-content targets and preserves every source origin as a material dependence edge; coverage asserts no global preservation claim the source did not declare. A construct shape outside the productive route fails closed with its typed class; a rule-less declaration is recognized as contract-only (nothing to run), never laundered into a completion.
- Scenarios. The contracted surface instantiates as one hypothetical
context:
with,assume,mask,substitute, local introduction, hypothetical transition (a typed step judgment; a successor context is introduced only when the step’s precondition holds), and embedded local applications executed through the shared executor. Everything the scenario seals stays in its context; the baseline world is untouched. - Source evolution. An
evolve sourcerun creates a prepared candidate with aPreparedOnlyauthority guard. It never publishes, replaces, or persists a source unit. - Requests and observations.
execution_requestrecords a request with aRecordedOnlyeffectuation guard; request != attempt != execution. The bareobserverun route carries no acquisition session and therefore reportsNotAcquiredrather than inventing an observation; real acquisition runs ONLY through the productive P1 session (adapter family + source identity + guarantee scope, provider receipts at the cap, bridge admitted under the declaration’s own authority). An observed record is admissible evidence under its cap — never truth, and never an authorized action. - External execution plane (C1). The programmatic
formasl::execution_planesurface implements the ratified External Execution Plane contract: stable operation references, attempt occurrences only when the invocation actually began, independent authorization-standing and operational-outcome axes, reconcile-before-retry, and durable save/reopen with fail-closed integrity. Its ceiling is explicit: the plane performs real exposures only through a caller-sealed transport under the reference profile (one logical exposure, no automatic retry or redirect following). The wired native reference is loopback HTTP (127.0.0.1), so every conformance witness in this repository runs against controlled fixtures — aControlledFixtureEffectis never claimed as aProductionVendorEffect, and no receipt certifies external side effects beyond the bound capability’s declared guarantee scope. There the plane has no dedicated CLI dispatch verb — the application host (formasl serve) exposes the C-lanes only through the ordinaryrunoperation over the same executor, and the plane itself is not an orchestrator, not a scheduler, and not a payment/business layer. Further declared ceilings on the durable trust boundary: snapshot decode re-derives and coherence-checks every stored verdict and relation, but it cannot distinguish a hostile storage layer that rewrote an evidence item whose coordinates match the host attempt exactly (admission provenance is not carried by the v6 snapshot format); an admitted idempotency declaration’s key DOMAIN is enforced while its declared WINDOW is recorded, not clock-enforced (the reference route has no provider-side first-contact oracle); and the bound reference adapter offers no provider cancel channel, soCANCEL_ACKNOWLEDGEDremains a representable-but-unproduced class on this route. On the same boundary, decode validates control-event STRUCTURE — the append-order sequence (a cancellation can never be followed by a belated authority; the history begins with exactly one intent fact) and refuses erased-projection rewrites — but NOT cross-event tick values, because the clock is an explicitly non-persisted runtime component (§20 DB1/DB2): a legitimate post-reopen append on a fresh clock instance lawfully samples a lower tick, and rejecting that would make honestly-produced durable state permanently unreadable. The hostile-history space spans BOTH tamper directions, and both can reach the WRITE path, not merely a false readable record: (a) DELETION — deleting CONTROL facts (cancellation, intent, authorization event) while coherently re-plumbing the projection can re-arm the route (the surviving history is byte-identical to a never-cancelled one); deleting DISPATCHED ATTEMPTS fails closed against the minter-cardinality law (serials mint from 0 and the journal never removes, so the attempt set must equal the journal counter) — UNLESS the hostile layer also rewinds the journal counter. Deleting a SUFFIX with counter rewind survives reopening byte-identically to a shorter honest history — and when only the journal counter is rewound (the operation’s own generation kept), the erased route’s settled payload can be re-exposed a SECOND time under a legitimately-shaped owner retry authorization, whose prior=None the drained membership makes legal. And deleting a route’s ENTIRE plane-minted attempt chain together with rewinding both the journal counter and the operation’s generation re-arms it byte-identically to a fresh never-dispatched acceptance: the §12e gate reads the (rewound) counter, so that route then dispatches WITHOUT any retry authorization — pinned as measured behavior (mutation_full_chain_rewind_rearms_without_retry_authorization), not claimed as refused; (b) INSERTION — the paired fabrication of anAuthorityIssuedfact AND the matchingauthorityfield, with coordinates crafted from the readable operation, can re-arm a route the owner NEVER authorized (no decode law distinguishes the complete pair from a legitimate belated owner-attach, because the live route produces exactly the same durable bytes; the HALF-forgery — field without event — is refused by the pairing law), a fully coherent cross-operation re-point of a dispatched attempt (carrier edge + membership + question coordinate + receiver counter) survives as the same provenance ceiling (the global minter cardinality is unchanged; a HALF- rewire is refused by membership/carrier coherence), and a forgedCancelRequestedfact on a route that carries attempts contaminates accountability only (outcomes re-derive from the ledger; a settled attempt stays settled; a CR on an attempt-less route is now refused by the family law). Control events carry no admission provenance in v6; closing this space needs owner-signed control-fact provenance, which the contract places outside C1 decode scope — C4/real-transport accreditation keeps it under observation; the durable fence epoch is cross-checked for monotonic coherence at reopen (no missing fence, no rolled-back fence, no same-token/foreign-holder re-adoption), and a superseded but still-durable last publication remains readable by design — the stale-worker EXCLUSION law is enforced on the write path, and reopen alone does not identify the current writer. The §16 P2 classeslease-conflict,stale-fence, andpermit-ineligibleare mechanically representable but have no reachable producer on the reference route, which omits queue/lease machinery and mints its single-use exposure permit inside the same call it exposes (the permit-mismatch arms are structural defense for future multi-call routes), by §20 mechanism freedom; §12a I2 legs (b)–(d) are likewise future carriers —NotAdmittedhonestly covers every state without an admitted basis, and nothing settles replay without a represented admitted basis. Of the §17 T1 named roles, all are individually produced and durable on the reference route (request, intent-recorded, dispatch-authorization, occurrence, recording, transport-evidence, receipt, reconciliation- resolution, cancel-request, per-attempt retry-authorization) except one honest residual: the CANCEL-ACK time cannot exist without the declared-unproducedCANCEL_ACKNOWLEDGEDchannel. The RECONCILIATION-OPEN moment is durable with its own semantics per path (stage-7 law): the timeout/lost-ack admission samples its first-transition act asuncertainty_opened_at(refinement never overwrites — one open, one time), the dispatch-formed open coincides with the attempt’s own recording act (§6 AL runtime-controlled single-act formation, structurally evidenced), the cancel-race open carries theCancelRequestedevent time, and the late-observed discovery coincides with its recording act. - Compositions. The bridge can form supported stage/order/coupling
coordinates. It is not an external scheduler, and body forms without an
authorized public carrier — for example
case— fail typed rather than being ignored.
Claims, providers, and persistence
An asserted claim is source-authored information with an author/provenance field. Checking or matching it does not make the proposition true in the world. Likewise, a named realization binding only establishes that a checked plan matches a checked application under the implemented binder; it is not a network call, credential, deployment, observation, or durable write.
File-mode check/run do not persist anything: if an integration needs
persistence, it must own its own storage boundary and preserve the source,
revision, requested operation, and canonical machine result it records. In
project mode, persistence has explicit, owned surfaces — the forma.lock
domain lock, the package source ledger, and sealed release directories — each
with its own integrity checks. Sealing a package verifies and records the
sealed bytes; it still does not deploy, publish remotely, or execute anything.
Semantic memory (harness-internal)
The agent harness carries a Forma-native semantic memory: every cognitive
round’s context is the projection of a journaled, typed
SemanticContextEvaluation over the session journal, with standing-aware
current/history tiers, Zero/One/Many honesty, and derivation provenance
(see docs/book/src/autoridades/semantic-memory-v0.1/README.md). Its limits, as implemented:
- Not a public surface. Memory queries are an internal capability of
the agent harness (
crates/forma-agent+harness-*); theformaslCLI exposes no memory verb, and no service endpoint or.fslmemory query syntax exists. Integrations reach it through the harness crates, not through the toolchain contract. - No continuous scheduler. Currentness is decided by the reactive dependency machinery drained synchronously at cognitive round heads. Nothing invalidates between rounds, and no daemon, subscription, or cross-process notification is implied.
- Bounded context is not minimal context. The projection is bounded by the evaluation’s route and disclosure policy; it is not a guarantee of the smallest possible context for a need.
- Engine cost limits remain. The memory paths tested (round-1 recall, directed standing queries) complete within the verified envelope by semantic work reduction — the general fixpoint (F06) cost of the language is unchanged, and broad-need discovery legitimately retains corpus-wide cost.
- The semantic codec is an independent boundary. Memory accuracy is not natural-language accuracy: a codec defect surfaces as a codec failure, never as a memory discovery failure, and no NL memory query surface exists.
Tests and sealed packages
formasl test builds the test world from the production solution plus the
package’s test overlay, executes each *.test.toml case against the sealed
subject, and writes an atomic receipt embedding the resolution digests and
per-case outcomes. A passing receipt is reproducible evidence about bytes; it
is not a transferable certificate of semantic correctness.
formasl package seal re-checks the sealed source bytes through the real
public check, runs the package’s required test cases, and publishes the
release into the domain store. package verify re-derives the release id and
digests read-only. A second seal of different bytes under the same
(package, version) coordinate fails typed; identical bytes re-seal
idempotently.
Machine-schema limits
Use --schema-revision 1 for new machine consumers. Revision 0 is frozen and
fails closed if a run outcome belongs to a family it cannot represent (including
several current application families and R3-carrying reasoning outcomes); the
CLI then exits with the driver class (3) and reports the projection refusal
instead of fabricating a document. Revision 1 is a structured projection, not a
guarantee that an external system performed an effect.
Demos and the executable world
The repository’s demos/ tree carries remediated domain models (grid,
ownership/control, blast radius, trade compliance), the commerce and payments
realization campaigns, and the demos/executable-world/ situated witness
programs built over stdlib/sources/std/world/space.fsl. Demos are evidence
artifacts with pinned manifests; they are not part of the toolchain contract
and are not shipped with the CLI. Their presence does not extend any run-family
boundary documented above.
What is intentionally absent
The current CLI has no implicit package-download verb: packages are acquired
only as exact coordinates through formasl fetch (explicit registry base) or
the local release store — there is no name, version or popularity search
anywhere. The CLI does not select a default gas
budget. It does not execute a capability merely because a plan names it. It
does not turn an unsupported incorporation form into a synthetic result.
Remote packages (v0.1 registry boundary)
formasl fetch and formasl publish are the v0.1 distribution surface. The
minimum mechanism is deliberate:
registry = metadata index + immutable artifact store (no registry server in v0.1)
transport = plaintext HTTP/1.1 (no TLS) or filesystem locations
redirects = never followed (a relocation is never silently adopted)
auth = none; credentials never imply trust
publish = verifies the sealed artifact and prints the metadata document
only; moving artifact + metadata into a registry is an
operator action (seal != publish)
admission = every fetched byte is digest-verified before it enters the
local release store; cached copies re-verify on every fetch
(CacheHit != IntegrityProof)
resolution = fetched releases enter the ordinary E2 resolver through the
release store; there is no second, remote resolver
Plaintext transport makes remote fetch tamper-evident (changed bytes are rejected by digest verification) but not private. TLS, authentication and a registry server are future contracts; they are not silently assumed.
The separate fdoc binary (crates/fdoc) is the documentary-orchestration
tool — source admission over the frozen basis, editor sessions, publication
carriers, and preservation assessment. It is a campaign/product line of its
own with its own authority boundary: it never mints trust, and its strong
standings are introduced only through externally premised routes. It is not a
verb of the formasl CLI and adds no execution route to it.
For exact command applicability and exit codes see Toolchain and CLI. For typed diagnostics and recovery see Errors and exits.