endoskeletal kernel 1 · lib 2026.09

Reference

Reference

Condition operators, the standard library patterns used by the reference organizations, diagnostics, and the files of the reference toolchain.

Conditions

FormTrue when
holds p · false pp's operative claim has status T · F
unknown p · contradicted pstatus N (no evidence, or expired) · status B
holds pv.cost(r) <= 500 USD per monththe claim holds and its value compares; dimensions must match
occurred E(x) by Pa valid event matching E exists; binds x
count E over 30 d >= 3valid matching events within 30 d of now (clock time)
since E > 30 dayselapsed clock time since the latest matching event; N if none
within 2 business-days: CC becomes true by the deadline (calendar-resolved)
violated commitment of N for xa commitment detached from N for x passed its deadline unmet
breached N · in-force N · gap _a prohibition's aim held · N is enacted and not repealed · a requirement is unsatisfied
self is ag.Autonomousa kind claim about the acting principal
status(r) = T · bound(r)a realization's satisfaction status · it is bound
exists x : Entity . Cover finite projections at the evaluation index

Deontic lines

obligation of P to Qdetaches a commitment from P to Q when the condition holds
prohibition on Pbreached when the aim holds; fires or-else
permission of PP is free to act; may have no aim
power of P to decide | authorize | appoint | bind | amend … about XP's acts of that type count. Institutional verbs only (E-FAMILY)
immunity of P from amend | bind … about Xno power can be used to that effect against P
counts-as E as Van event of shape E is the institutional act V

Modifiers: level operational | collective | constitutional, source …, priority superior | specialis | posterior | explicit, or-else N, not tradeable, not defeasible.

Library patterns

PatternExpands to
gov.Constitution(founders, amendBy, board, quorum, delay)Recognition, Amend (board votes over 14 d + delay), AmendCollective, Vote, Appoint, Dismiss, Admit, Propose, Engine powers, Materialize, CompilerDelegation, Entrenched, NoSelfAmend, and the DurableRecord / Clock / Entropy requirements
gov.Freeze(except)prohibition on the Engine dispatching commitments not arising from except
gov.Proposal(kind, approver, deadline, escalateTo)Decide power, Route duty with deadline, Escalate
gov.ReviewedProposal(…, reviewer, …)as Proposal, but the decide power requires the reviewer's gov.Reviewed claim
org.Approval(approver, subject, threshold, deadline, escalateTo)Power, Duty, Escalation, and a Gate prohibiting execution before approval
fin.Budget(scope, resource, limit, reserve, window, orElse)Limit and Guard prohibitions sharing one or-else
fin.SpendTier(holder, subject, limit)decide power conditioned on amount; stack tiers for a delegation matrix
fin.ForecastCadence(holder, term, cadence, deadline)obligation to derive a forecast each period; revisions never overwrite
ev.TrustPolicy(source-kind, base, promote-when, vocab)information rule: base status for claims from that source kind
ev.Reaffirm(holder, term, cadence, deadline)obligation to re-evidence or consciously lapse decaying claims
ev.ContestResolution(owner, vocab, deadline)every contested condition gets an owner and a deadline
rz.RealizationEnvelope(holder, requirement, operation, admissible)power to authorize an external operation when admissible holds
rz.Failover(holder, requirement)power to bind active any bound realization with status T
rz.ExperimentPower(holder, pattern, budget, duration)power to constitute sandbox experiment scopes within budget and time
rz.Reconsider(holder, on, deadline)obligation to propose when any trigger condition holds
rz.GapAging(holder, after)every gap must be closed, risk-accepted or amended within after
rz.Crystallize(holder, requirement, promoteBy)Shadow, Promote (collective, needs ShadowAgreement ≥ 0.95), Envelope obligation

Party kinds in lib.agents: Autonomous, Program, ModelBased, Simulator, ExternalKnowledgeBase. Architecture capability kinds live in endoskel.architecture.{web, data, messaging, identity, secrets, observability}.

Diagnostics

CodeSev.Meaning
E-INCOMPLETEErequired field missing; use unspecified to leave it open on purpose
E-DIM · E-CURRENCYEdimension mismatch · currencies compared without a conversion claim
E-THRESHOLD-UNITEa rate threshold written with / instead of per
E-FAMILYEa power names a non-institutional verb
E-LEVELEa power enacts above its own level
E-AMBIGUOUS · E-VERSIONEname resolves through two imports · declared version bump too low
E-FREEZE-COVERAGEEa freeze would stop a non-tradeable obligation
E-WEIGHTED-NONTRADEABLEEa non-tradeable norm appears in a weighting
E-ARCH-PRODUCTIONEa research position holds a production bind or authorize power
W-UNKNOWN-BRANCHWa four-valued condition with no norm for its unknown case
W-NO-AUTHORITYWan external operation no power in scope can authorize
W-SINGLE-POINTWcardinality-1 position with no deputy holding exclusive powers or non-tradeable duties
W-OVERLAPPING-POWERWtwo powers cover the same act with no declared priority
W-CLOCK-RESOLUTIONWa deadline finer than the clock's granularity
UUundecidable before runtime: property satisfaction, temporal intents
CHAIN · AUTHORITY-MATRIX · IMMUNITYIchain of recognition per norm · powers per position · what each immunity constrains

Reference toolchain

FileRole
esk/parser.py · compiler.pysource → IR-D; pattern expansion with expandedFrom; verbalization
esk/checker.py · checker_ext.pystatic checks, chains, authority matrix, immunities
esk/engine.py · incremental.pythe log, felicity, status fixpoint, commitments, gaps; dependency-indexed evaluation (byte-identical to the naive engine)
esk/packages.py · knowledge.pypackage resolution and endoskel.lock; knowledge-bundle intake
sim/harness.py · projection.pyrun manifest, discrete-event clock, checkpoints; frontier and admissibility projections
sim/determinations.pydetermination store, surrogate models, the distiller and its envelope
tools/frontier.py · provenance.py · rebuild.py · divergence.py · differential.pyfrontier questions · why/authority queries · replay verification · counterfactual divergence · engine equivalence