@cynodia/axiom 0.15.0-alpha.3 → 0.16.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -33,7 +33,7 @@ Shorter forms of the same routing: [`AGENTS.md`](AGENTS.md) and [`llms.txt`](llm
33
33
  at this package's root.
34
34
 
35
35
  **Status: experimental / alpha.** The API may change between alpha releases. The
36
- documentation in `docs/` describes this exact version, `0.15.0-alpha.3`.
36
+ documentation in `docs/` describes this exact version, `0.16.0-alpha.1`.
37
37
 
38
38
  ## Installation
39
39
 
@@ -47,7 +47,7 @@ Every release of this project is a pre-release and npm's `latest` tag points at
47
47
  plain command above installs the current version. **There is no `alpha` dist-tag** — the tag
48
48
  was removed once it stopped tracking releases, and `npm install @cynodia/axiom@alpha` now
49
49
  fails with a 404. Pin the exact version instead when one is needed:
50
- `npm install @cynodia/axiom@0.15.0-alpha.3`.
50
+ `npm install @cynodia/axiom@0.16.0-alpha.1`.
51
51
 
52
52
  These are ES modules compiled to ES2022; import them with `import`, not `require`. There is
53
53
  no published Axiom CLI. `@cynodia/axiom-server`'s SQLite persistence adapter additionally
@@ -1,6 +1,6 @@
1
1
  # Actions and transactions
2
2
 
3
- Axiom 0.15.0-alpha.3. An action is behavior expressed as data, executed as a transaction.
3
+ Axiom 0.16.0-alpha.1. An action is behavior expressed as data, executed as a transaction.
4
4
 
5
5
  ```ts
6
6
  {
package/docs/AGENT_API.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Agent API
2
2
 
3
- Axiom 0.15.0-alpha.3. The machine-facing interface. Agents query semantics and apply
3
+ Axiom 0.16.0-alpha.1. The machine-facing interface. Agents query semantics and apply
4
4
  structural transformations; they never edit generated code.
5
5
 
6
6
  ```ts
@@ -257,6 +257,158 @@ diff**.
257
257
 
258
258
  Change sets are in memory and per `AgentAPI` instance. There is no semantic version control.
259
259
 
260
+ ## Semantic inventory, dependencies and explanation (spec16)
261
+
262
+ Everything in this section is **static**: it answers what the graph represents, never what a
263
+ running authority has observed. It requires no repository source, no runtime internals and
264
+ no credential — see [`AGENT_REFERENCE.md`](AGENT_REFERENCE.md#explainability--ai-authoring-spec16)
265
+ for the compressed reference and the discoverability contract.
266
+
267
+ ```ts
268
+ agent.inventory({ kinds?, cursor?, limit? })
269
+ // { countsByKind, entries: [{ id, kind, name?, dependencyCount, dependentCount }], nextCursor? }
270
+
271
+ agent.getTransitiveDependencies(id, edgeKinds?) // { root, ids: [...] } — cycle-safe
272
+ agent.getTransitiveDependents(id, edgeKinds?)
273
+ agent.explainDependency(fromId, toId) // { edges, reasons } — why the edge exists, or undefined
274
+ ```
275
+
276
+ `inventory()` covers every graph-model kind and every UI kind. `kinds` restricts it; `limit` +
277
+ `cursor` page through a large graph deterministically (canonical order is by id).
278
+
279
+ ### Explaining one node
280
+
281
+ ```ts
282
+ agent.explainAction(actionId)
283
+ // { actionId, parameters, reads, writes, invokesActions, integrationQueries, integrationEffects,
284
+ // runsQueries, storages, nativeOperations, authorization, constraintsThatMayBlock, invokedBy,
285
+ // clientInvocable, systemOnly, destructive, analysisComplete, analysisGaps }
286
+
287
+ agent.explainState(stateId)
288
+ // { stateId, valueType, derived, draft, ephemeral, authority, serverOnly, persistence,
289
+ // hasInitialValue, readers, writers, entities, constraints, transitionConstraints }
290
+
291
+ agent.explainQuery(queryId) // explainQuery(id) + { authorization, liveCapability }
292
+ agent.explainWorkflow(workflowId) // analyzeWorkflow(id) + { startPolicyId, instanceAccessPolicyId,
293
+ // actionAuthorization, privilegeReviewActions }
294
+ agent.explainGraph()
295
+ // { nodeCountsByKind, executableRoots, securityBoundaries, externalCapabilities, opaqueBoundaries }
296
+ ```
297
+
298
+ `explainAction` returning `analysisComplete: false` means a `NativeOperation` with no
299
+ declared effects prevents a complete answer — `analysisGaps` says which one. Never read the
300
+ absence of a listed effect as proof no such effect exists past that boundary (spec16 §29,
301
+ §102, §173).
302
+
303
+ ### Capabilities and the NativeOperation boundary
304
+
305
+ ```ts
306
+ agent.analyzeCapabilities()
307
+ // { requirements: [{ capability, required, reasons }], requiredCapabilities }
308
+ ```
309
+
310
+ `capability` is one of `REQUIRED_CAPABILITIES`: `persistence` `coordination`
311
+ `mutation-observation` `live-queries` `workflow-store` `event-journal` `scheduler`
312
+ `effect-execution` `provider-transaction` `blob-storage` `subscription-adapter`. Each
313
+ requirement carries `reasons` — which graph nodes make it necessary — never a bare list
314
+ (spec16 §31). This names capability *domains*, never a provider brand (spec16 §51).
315
+
316
+ ```ts
317
+ agent.listNativeOperations() // every NativeOperation, with its action and declared effects
318
+ agent.summarizeNativeOperations() // { count, opaqueCount, occurrences }
319
+ ```
320
+
321
+ `opaque: true` on an occurrence means it declares no effects at all — static analysis cannot
322
+ see past it. Long-term framework direction is zero (spec16 §49).
323
+
324
+ ### Authorization decision explanation
325
+
326
+ ```ts
327
+ agent.explainAuthorizationDecision({ actionId | queryId, principal?, resource? })
328
+ // { operation, decision: 'ALLOW' | 'DENY', reason, policyId, policyResult, legacyResult } | undefined
329
+ ```
330
+
331
+ Evaluated through the **same** evaluator the authority uses (`evaluateAuthorizationExpression`
332
+ / `decideAuthorization`, spec15pt3) — never a second interpretation. Performs zero mutation,
333
+ zero effect, zero provider call. It is advisory: the real operation always re-authorizes on
334
+ the authority, and a prior result here is never a token (spec16 §26, §136-138). A missing
335
+ `PRINCIPAL`/`RESOURCE` field can never manufacture `ALLOW` — see [`AUTHORIZATION.md`](AUTHORIZATION.md).
336
+
337
+ ### Semantic diff
338
+
339
+ ```ts
340
+ agent.semanticDiff(otherGraph)
341
+ // {
342
+ // entries: [{ changeKind: 'added'|'removed'|'changed', nodeId, nodeKind, categories, message }],
343
+ // schema: SchemaDiff, // the spec11 field-level diff — entities/states/relationships/read-policies
344
+ // compatibility: {
345
+ // semanticFingerprintChanged, schemaFingerprintChanged, authorityCompatibilityAffected,
346
+ // serverContractBefore, serverContractAfter, serverContractChanged, migrationRequired,
347
+ // },
348
+ // byCategory, isNoOp,
349
+ // }
350
+ agent.requiredServerContract() // the Server IR contract this graph currently requires
351
+ ```
352
+
353
+ `entries` covers every non-schema-owned node kind (actions, queries, workflows,
354
+ authorization policies, triggers, UI, …); entity/field/state/relationship/read-policy changes
355
+ are in `schema` instead — the one place spec11 already classifies them, not duplicated here
356
+ (spec16 §159). `categories` is one or more of `semantic` `authorization` `schema` `provider`
357
+ `workflow` `query` `presentation` `metadata` — a rename is `metadata` only, never
358
+ `semantic` (spec16 §35, §154-155); attaching/detaching/editing a policy is always tagged
359
+ `authorization`, even on an `ActionDef`/`QueryDef`/`WorkflowDef` node (spec16 §156). Diffing
360
+ is pure: it reads both graphs and mutates neither.
361
+
362
+ ### Candidate graph edits
363
+
364
+ ```ts
365
+ const result = agent.proposeEdit({ changes: GraphChange[], preconditions?: EditPrecondition[] });
366
+ // { applied, conflict?, applyError?, validation?, diff?, candidate? }
367
+ agent.acceptEdit(result, { reason?, actor? }); // commits a validated candidate; throws otherwise
368
+ ```
369
+
370
+ `changes` is the same portable `GraphChange[]` vocabulary `Transaction` already records —
371
+ `add-node` `remove-node` `update-node` `add-field` `remove-field` `add-edge` `remove-edge`
372
+ `set-theme` — so a proposal is plain, serializable data, not a TypeScript closure (spec16
373
+ §79-80, §184). `proposeGraphEdit`/`applyGraphChanges` (free functions, also exported) never
374
+ touch the graph passed in: every change is replayed onto a private clone, which is then
375
+ validated and diffed against the original (spec16 §81-83, §133, §145).
376
+
377
+ `preconditions` (`{ nodeId, expect: 'exists' | 'absent' | { field, equals } }`) are checked
378
+ **before** any change is applied; a stale one is reported as `conflict`, not silently merged
379
+ or overwritten (spec16 §85-86). `applyError` means a change referenced something that does
380
+ not exist or is the wrong kind — distinct from `conflict` (a stale precondition) and from an
381
+ invalid `validation` result (a change set that applied but produced an invalid graph, e.g. an
382
+ unresolved reference — `candidate` is still returned for inspection, per spec16 §100).
383
+ Because only the **final** candidate is validated, an atomic multi-change set may pass through
384
+ an intermediate state that would not validate on its own (spec16 §84).
385
+
386
+ ### Machine-readable authoring schema
387
+
388
+ ```ts
389
+ import { authoringSchema, describeAuthoringKind, listAuthorableKinds } from '@cynodia/axiom';
390
+ ```
391
+
392
+ One descriptor per graph-model semantic node kind (`entity` … `authorization-policy` — the
393
+ eighteen `SEMANTIC_NODE_KINDS`): `purpose`, `fields` (name, required, type, reference
394
+ targets, closed enum, description), and a minimal-valid `template`. A template is not a set
395
+ of defaults — it never assigns security-sensitive semantics an author did not ask for
396
+ (spec16 §69-78). UI node kinds are deliberately **not** duplicated here: `@cynodia/axiom-ui`'s
397
+ generated `PATTERN_CATALOG.json` (`npm run toolkit:catalog`) and [`UI.md`](UI.md) already own
398
+ that authoring contract.
399
+
400
+ ### Conformance
401
+
402
+ `axiom.conformance.v10` (`runToolingConformanceFixture` / `runToolingConformanceSuite`,
403
+ `packages/agent-api/src/tooling-conformance.ts`) checks the canonical inspection/analysis/
404
+ authoring/editing entry points above against independently hand-specified expected results
405
+ (spec16 §123-126) — inventory, dependencies, explain-action, explain-query,
406
+ authorization-analysis, capabilities, semantic-diff, diagnostics, authoring-schema,
407
+ graph-edit and the native-operation boundary. This is a separate, smaller tier from the
408
+ Server-IR execution conformance (`axiom.conformance.v1`-`v9`, `packages/server/conformance/`):
409
+ AgentAPI carries no execution semantics of its own to check against a persistence backend
410
+ (spec16 §121).
411
+
260
412
  ## Scale of change
261
413
 
262
414
  Prefer the smallest semantic change that expresses the intent.
@@ -276,3 +428,8 @@ State these to yourself before acting on an answer:
276
428
  - Type inference is partial, so a type-dependent question may have no answer rather than a wrong one.
277
429
  - `getOpaquePresentationNodes()` lists nodes whose renderer-specific presentation is **not** analyzed. Semantic analysis makes no claim about them.
278
430
  - Change history is per instance and in memory.
431
+ - `explainAuthorizationDecision` is advisory static analysis, never a token: it does not accept or produce a resolved principal identity, does not authenticate anyone, and the real operation always re-authorizes on the authority (spec16 §26, §138).
432
+ - `analyzeCapabilities` names capability *domains* a runtime would need, derived from graph structure — it does not know which concrete provider a deployment will choose, and never should (spec16 §51).
433
+ - `semanticDiff`'s `.entries` covers every node kind except entities, states, relationships and read policies, which are the already-detailed `.schema` sub-object instead — do not expect an entity/field change to appear in `.entries` too.
434
+ - `authoringSchema()` covers the eighteen graph-model semantic node kinds only. UI node authoring remains `@cynodia/axiom-ui`'s job — see [`UI.md`](UI.md).
435
+ - Axiom provides deterministic semantic validation and analysis of *represented* semantics. It does not prove an AI-authored graph is safe merely because it validates, and it cannot see past a `NativeOperation` that declares no effects (spec16 §221).
@@ -1,6 +1,6 @@
1
1
  # Agent reference
2
2
 
3
- Axiom 0.15.0-alpha.3. Compressed operational contract. Read this plus the `.d.ts`
3
+ Axiom 0.16.0-alpha.1. Compressed operational contract. Read this plus the `.d.ts`
4
4
  declarations before authoring or modifying an Axiom application.
5
5
 
6
6
  Formal guarantees: [`SEMANTIC_CONTRACT.md`](SEMANTIC_CONTRACT.md). Mistakes that compile:
@@ -1323,6 +1323,56 @@ inside an action surfaces as `QUERY_OPERATION_FAILED` with `details.code =
1323
1323
  'AUTHORIZATION_DENIED'` and rolls the action back. A denied `workflow.inspect` /
1324
1324
  `workflow.history` returns `undefined` / `[]` (no existence leak).
1325
1325
 
1326
+ ## EXPLAINABILITY & AI AUTHORING (spec16)
1327
+
1328
+ Full model: [`AGENT_API.md`](AGENT_API.md#semantic-inventory-dependencies-and-explanation-spec16).
1329
+ No new graph/IR vocabulary; Server IR stays `axiom.server.v9` — 0.16 adds inspection,
1330
+ analysis and authoring-metadata APIs over the existing graph, never new execution semantics.
1331
+ Everything below is **static**: it reads the graph, never a running authority, and performs
1332
+ zero mutation / zero effect / zero provider call (spec16 §133).
1333
+
1334
+ ```ts
1335
+ agent.inventory({ kinds?, cursor?, limit? }) // every node, dependency/dependent counts
1336
+ agent.getTransitiveDependencies(id, edgeKinds?) / agent.getTransitiveDependents(id, edgeKinds?)
1337
+ agent.explainDependency(fromId, toId) // { edges, reasons } | undefined
1338
+
1339
+ agent.explainAction(actionId) // reads/writes/effects/authorization/invokedBy/analysisComplete
1340
+ agent.explainState(stateId) // type/persistence/authority/readers/writers/constraints
1341
+ agent.explainQuery(queryId) // explainQuery + { authorization, liveCapability }
1342
+ agent.explainWorkflow(workflowId) // analyzeWorkflow + { startPolicyId, instanceAccessPolicyId, … }
1343
+ agent.explainGraph() // structural summary: counts, executable roots, security, opaque boundaries
1344
+
1345
+ agent.analyzeCapabilities() // { requirements: [{ capability, required, reasons }], requiredCapabilities }
1346
+ agent.listNativeOperations() / agent.summarizeNativeOperations() // the one opaque boundary, made discoverable
1347
+
1348
+ agent.explainAuthorizationDecision({ actionId | queryId, principal?, resource? })
1349
+ // same evaluator the authority uses; ALLOW/DENY + which mechanism decided it. Advisory only.
1350
+
1351
+ agent.semanticDiff(otherGraph) // { entries, schema, compatibility, byCategory, isNoOp }
1352
+ agent.requiredServerContract() // the Server IR contract this graph currently needs
1353
+
1354
+ agent.proposeEdit({ changes, preconditions? }) // { applied, conflict?, applyError?, validation?, diff?, candidate? }
1355
+ agent.acceptEdit(result, { reason?, actor? }) // commits a validated candidate
1356
+
1357
+ authoringSchema() / describeAuthoringKind(kind) / listAuthorableKinds() // free functions, core
1358
+ ```
1359
+
1360
+ `REQUIRED_CAPABILITIES`: `persistence` `coordination` `mutation-observation` `live-queries`
1361
+ `workflow-store` `event-journal` `scheduler` `effect-execution` `provider-transaction`
1362
+ `blob-storage` `subscription-adapter`. `SEMANTIC_DIFF_CATEGORIES`: `semantic` `authorization`
1363
+ `schema` `provider` `workflow` `query` `presentation` `metadata`.
1364
+
1365
+ `explainAction`/`listNativeOperations`: a `NativeOperation` with no declared effects makes
1366
+ `analysisComplete: false` — never silently treated as "no further effects" (spec16 §29,
1367
+ §102). `explainAuthorizationDecision` runs through the same `evaluateAuthorizationExpression`
1368
+ / `decideAuthorization` the authority uses (spec15pt3) — it is not a second evaluator, and a
1369
+ prior result is never a token; the real operation always re-authorizes (spec16 §138).
1370
+ `semanticDiff` reuses `diffSchema` for entity/state/relationship/read-policy changes (`.schema`)
1371
+ and classifies everything else (`.entries`) — a rename is `metadata` only, attaching/editing a
1372
+ policy is always tagged `authorization` even on an `ActionDef`/`QueryDef`/`WorkflowDef`.
1373
+ `proposeEdit` replays a portable `GraphChange[]` onto a private clone — the graph passed in is
1374
+ never mutated, whether or not the candidate validates.
1375
+
1326
1376
  ## Metadata classes
1327
1377
 
1328
1378
  ```ts
@@ -1,6 +1,6 @@
1
1
  # Anti-patterns
2
2
 
3
- Axiom 0.15.0-alpha.3. Each of these compiles. Each is wrong. Each is followed by the correct
3
+ Axiom 0.16.0-alpha.1. Each of these compiles. Each is wrong. Each is followed by the correct
4
4
  alternative.
5
5
 
6
6
  ## 1. Field names as entity runtime keys
package/docs/AUTHORITY.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Authority
2
2
 
3
- Axiom 0.15.0-alpha.3. How an application crosses the trust boundary.
3
+ Axiom 0.16.0-alpha.1. How an application crosses the trust boundary.
4
4
 
5
5
  Until 0.5.x an Axiom application executed locally. 0.6 adds an **authority**: a generic
6
6
  runtime that owns state, decides mutations and persists them. The same semantic graph
@@ -1,6 +1,6 @@
1
1
  # Authorization
2
2
 
3
- Axiom 0.15.0-alpha.3. The operational contract for **authorization completeness** — the 0.15
3
+ Axiom 0.16.0-alpha.1. The operational contract for **authorization completeness** — the 0.15
4
4
  milestone (spec15). Whether a principal may perform a semantic operation is part of the
5
5
  graph's executable meaning — not a runtime concern, not UI visibility, not something that
6
6
  varies by transport, provider, process, retry path or authority topology. `axiom.server.v9`
@@ -11,8 +11,8 @@ prior contract.
11
11
  > outside portable application semantics. **Authorization** answers *may this principal
12
12
  > perform this semantic operation?* — that is what this document defines.
13
13
 
14
- 0.15 landed in nine phases (A–I); `0.15.0-alpha.2` (spec15pt2) and `0.15.0-alpha.3`
15
- (spec15pt3) are corrective passes. **spec15pt2**: authorization **absent-value safety** (a
14
+ 0.15 landed in nine phases (A–I); spec15pt2 and spec15pt3 are corrective passes that
15
+ followed. **spec15pt2**: authorization **absent-value safety** (a
16
16
  missing PRINCIPAL / RESOURCE field never grants authority), `validateGraph` totality over a
17
17
  malformed `allow` tree, a fail-closed `host.authenticate` exception boundary. **spec15pt3**:
18
18
  the same fail-closed absent-value semantics now also cover the **legacy
@@ -1,6 +1,6 @@
1
1
  # Constraints
2
2
 
3
- Axiom 0.15.0-alpha.3. Two constructs, answering different questions. They are not
3
+ Axiom 0.16.0-alpha.1. Two constructs, answering different questions. They are not
4
4
  interchangeable.
5
5
 
6
6
  | | Question | Sees |
@@ -1,6 +1,6 @@
1
1
  # Distributed authority
2
2
 
3
- *This document describes Axiom `0.15.0-alpha.3`.*
3
+ *This document describes Axiom `0.16.0-alpha.1`.*
4
4
 
5
5
  The authoritative runtime (`docs/AUTHORITY.md`) may run as **more than one process at the
6
6
  same time**, over one shared persistence provider, without any change to the
package/docs/EFFECTS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Effects
2
2
 
3
- Axiom 0.15.0-alpha.3. External effects are not rollback-capable state mutations. This file
3
+ Axiom 0.16.0-alpha.1. External effects are not rollback-capable state mutations. This file
4
4
  is the delivery model; [`AUTHORITY.md`](AUTHORITY.md#external-effects) is the load-bearing
5
5
  statement of why, and [`INTEGRATIONS.md`](INTEGRATIONS.md) is the operation vocabulary this
6
6
  builds on.
package/docs/EVENTS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Events
2
2
 
3
- Axiom 0.15.0-alpha.3. An event is a typed fact — something that happened — never work
3
+ Axiom 0.16.0-alpha.1. An event is a typed fact — something that happened — never work
4
4
  itself. [`AUTHORITY.md`](AUTHORITY.md#external-events) is the load-bearing statement;
5
5
  this file is the vocabulary and the webhook delivery mechanism. A **subscription** is the
6
6
  other way an external fact becomes an `EventDef` payload — see
@@ -1,6 +1,6 @@
1
1
  # Expressions
2
2
 
3
- Axiom 0.15.0-alpha.3. An expression describes **what value is computed**. It is a tree of
3
+ Axiom 0.16.0-alpha.1. An expression describes **what value is computed**. It is a tree of
4
4
  plain data, never source text and never a callback. Evaluation is pure: an expression MUST
5
5
  NOT change state.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Graph model
2
2
 
3
- Axiom 0.15.0-alpha.3. The `ApplicationGraph` is the authoritative representation of an
3
+ Axiom 0.16.0-alpha.1. The `ApplicationGraph` is the authoritative representation of an
4
4
  application. Everything else — the IR, the page, the DOM — is derived from it and is never
5
5
  edited.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Integrations
2
2
 
3
- Axiom 0.15.0-alpha.3. How an application declares and calls an external system, without
3
+ Axiom 0.16.0-alpha.1. How an application declares and calls an external system, without
4
4
  embedding a transport, an SDK or a secret in the graph. The authority boundary this
5
5
  depends on is [`AUTHORITY.md`](AUTHORITY.md#external-systems); this file is the vocabulary.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Realtime — live canonical queries
2
2
 
3
- Axiom 0.15.0-alpha.3. The operational contract for **observing a `QueryDef` result over
3
+ Axiom 0.16.0-alpha.1. The operational contract for **observing a `QueryDef` result over
4
4
  time**: subscribe once, receive an initial coherent result, then receive canonical changes
5
5
  as authoritative committed state moves — through any compatible authority, across
6
6
  reconnects. `axiom.server.v7` (0.13 adds no IR vocabulary).
package/docs/LOCATIONS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Locations
2
2
 
3
- Axiom 0.15.0-alpha.3.
3
+ Axiom 0.16.0-alpha.1.
4
4
 
5
5
  ```text
6
6
  Expression = a value
@@ -1,6 +1,6 @@
1
1
  # Schema evolution & semantic migrations
2
2
 
3
- Axiom 0.15.0-alpha.3. The operational contract for evolving a deployed application's
3
+ Axiom 0.16.0-alpha.1. The operational contract for evolving a deployed application's
4
4
  semantic model and its persisted canonical data over time — adding a required field,
5
5
  splitting one field into two, removing an obsolete one, migrating millions of
6
6
  provider-backed rows — **without** an application-authored SQL migration, an ORM migration,
@@ -1,6 +1,6 @@
1
1
  # Presentation
2
2
 
3
- Axiom 0.15.0-alpha.3. Presentation is **semantic UX intent**, expressed as data on a UI
3
+ Axiom 0.16.0-alpha.1. Presentation is **semantic UX intent**, expressed as data on a UI
4
4
  node. It names roles, tokens and device classes. It never names a colour, a length, a media
5
5
  query or a CSS property.
6
6
 
package/docs/QUERIES.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Semantic data access & the query layer
2
2
 
3
- Axiom 0.15.0-alpha.3. The operational contract for demand-driven reads over authoritative
3
+ Axiom 0.16.0-alpha.1. The operational contract for demand-driven reads over authoritative
4
4
  data that is too large to materialize as a `StateDef` — 500,000 orders, 5,000,000 order
5
5
  lines, years of audit rows. `axiom.server.v6`.
6
6
 
package/docs/RUNTIME.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Runtime
2
2
 
3
- Axiom 0.15.0-alpha.3. The runtime executes an `ApplicationIR`. It is domain-independent: it
3
+ Axiom 0.16.0-alpha.1. The runtime executes an `ApplicationIR`. It is domain-independent: it
4
4
  contains no knowledge of any application.
5
5
 
6
6
  ## Constructing
@@ -1,6 +1,6 @@
1
1
  # Semantic contract
2
2
 
3
- Axiom 0.15.0-alpha.3. Runtime guarantees, stated formally. This file defines behavior; it
3
+ Axiom 0.16.0-alpha.1. Runtime guarantees, stated formally. This file defines behavior; it
4
4
  does not teach. Where this file and any specification in `../specs/` disagree, this file
5
5
  describes the implementation and is authoritative.
6
6
 
package/docs/STATE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # State
2
2
 
3
- Axiom 0.15.0-alpha.3. A `StateDef` is a named application value: stored, or computed from
3
+ Axiom 0.16.0-alpha.1. A `StateDef` is a named application value: stored, or computed from
4
4
  other state.
5
5
 
6
6
  ```ts
package/docs/STORAGE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Storage and blobs
2
2
 
3
- Axiom 0.15.0-alpha.3. How an application stores, references, serves and deletes binary data —
3
+ Axiom 0.16.0-alpha.1. How an application stores, references, serves and deletes binary data —
4
4
  an attachment, a document, a photograph, a diagnostic log — with no filesystem path, no
5
5
  upload route and no download route anywhere in it.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Subscriptions
2
2
 
3
- Axiom 0.15.0-alpha.3. How an application receives a stream of external events — an MQTT
3
+ Axiom 0.16.0-alpha.1. How an application receives a stream of external events — an MQTT
4
4
  topic, a WebSocket feed, a queue consumer, a filesystem watcher, a serial port — without a
5
5
  client, a socket or a callback anywhere in the graph.
6
6
 
package/docs/TRIGGERS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Triggers
2
2
 
3
- Axiom 0.15.0-alpha.3. A `TriggerDef` says **when** an action should be invoked, without
3
+ Axiom 0.16.0-alpha.1. A `TriggerDef` says **when** an action should be invoked, without
4
4
  embedding callback code. `docs/AUTHORITY.md`
5
5
  [§ Triggers](AUTHORITY.md#triggers) is the load-bearing statement of the execution model;
6
6
  this file is the vocabulary.
package/docs/UI.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # UI
2
2
 
3
- Axiom 0.15.0-alpha.3. Eleven semantic UI node kinds describe **what exists and what it does**.
3
+ Axiom 0.16.0-alpha.1. Eleven semantic UI node kinds describe **what exists and what it does**.
4
4
  How it looks is [presentation](PRESENTATION.md).
5
5
 
6
6
  All eleven share `UIBase`:
@@ -1,6 +1,6 @@
1
1
  # Validation
2
2
 
3
- Axiom 0.15.0-alpha.3. Validation is authoring-time structural checking. It is not the same
3
+ Axiom 0.16.0-alpha.1. Validation is authoring-time structural checking. It is not the same
4
4
  as runtime constraint evaluation — see [`CONSTRAINTS.md`](CONSTRAINTS.md) for the four
5
5
  layers of correctness.
6
6
 
package/docs/WORKFLOWS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Durable workflows
2
2
 
3
- Axiom 0.15.0-alpha.3. The operational contract for **long-running semantic computations with
3
+ Axiom 0.16.0-alpha.1. The operational contract for **long-running semantic computations with
4
4
  a durable control position** — orchestration that survives process death, authority
5
5
  failover, retries, timer delivery, event delivery and ordinary distributed contention
6
6
  without application-owned infrastructure. `axiom.server.v8`.
@@ -255,7 +255,7 @@ step's argument expressions / `retry` policy, a `wait-event` step's `where` / `b
255
255
  or binding migration, and none is inferred ("closest step" recovery never happens).
256
256
  - A graph with **no** `WorkflowDef` compiles to the byte-identical `axiom.server.v1`–`v7`
257
257
  document it always did, and its `semanticFingerprint` / `schemaFingerprint` are unchanged.
258
- - Pre-`0.15.0-alpha.3` instances carry a compatibility key computed before `WorkflowDef`
258
+ - Pre-`0.16.0-alpha.1` instances carry a compatibility key computed before `WorkflowDef`
259
259
  participated; a corrected authority treats them as incompatible and fails closed (these
260
260
  are pre-freeze alpha releases — silent reinterpretation is the only unacceptable
261
261
  outcome).
package/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # Axiom
2
2
 
3
- > AI-native semantic application framework, version 0.15.0-alpha.3. An Axiom application is a
3
+ > AI-native semantic application framework, version 0.16.0-alpha.1. An Axiom application is a
4
4
  > typed semantic graph — state, behavior, constraints, UI structure, presentation and
5
5
  > authority as structured data — executed by generic runtimes. The JavaScript, HTML and CSS
6
6
  > that reach a browser are compiler output and are never authored or edited. The primary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cynodia/axiom",
3
- "version": "0.15.0-alpha.3",
3
+ "version": "0.16.0-alpha.1",
4
4
  "description": "AI-native semantic web application framework.",
5
5
  "license": "MIT",
6
6
  "author": "AskTech AS",
@@ -34,10 +34,10 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@cynodia/axiom-core": "0.15.0-alpha.3",
38
- "@cynodia/axiom-runtime": "0.15.0-alpha.3",
39
- "@cynodia/axiom-compiler": "0.15.0-alpha.3",
40
- "@cynodia/axiom-agent-api": "0.15.0-alpha.3"
37
+ "@cynodia/axiom-core": "0.16.0-alpha.1",
38
+ "@cynodia/axiom-runtime": "0.16.0-alpha.1",
39
+ "@cynodia/axiom-compiler": "0.16.0-alpha.1",
40
+ "@cynodia/axiom-agent-api": "0.16.0-alpha.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsc -b tsconfig.json"