Repository navigation
Release v6.20.0
A system can now declare the abilities it can be asked to perform, each with typed inputs, returned values, named outcomes and an effect class. This is the first slice of the extension design in decision 0159; nothing invokes an ability yet.
Added
ability <Name> [safe | idempotent | once]under asystem, with typed inputs, areturnsblock,outcome <Name>lines,answers later, and anAbilityEffectimplementation (file, tagged fence orimplementationwrapper). An omitted effect class meansonce, which is never retried. Both compilers parse, validate, print and round-trip them, held equal by a new conformance document (#1250).- Diagnostics
PLAY0983(duplicate ability, compared ignoring case),PLAY0984(unknown effect class),PLAY0985(outcome namednext,refused,failed,returnedorexpired) andPLAY0986(undeclared input or returned type). Malformed abilities, outcomes with a payload and emptyreturnsblocks reportPLAY0495. - Executable semantic model v50: a model that declares an ability carries
application.systemswith each ability's effect class, typed inputs and returns, outcomes,answersLaterand realization (noneorcode). Models without abilities keep their bytes and version. The ESM v50 JSON Schema and golden vector are published. - A "Systems and abilities" guide, grammar and diagnostics reference entries, and an ability-declaring
PaymentGatewaysystem in the Invoicing sample. - Ability completion, hover, validation and highlighting in the Monaco language service and the VS Code grammar, and ability details in the MCP
system-intent-detailsview.
Changed
- A system that declares an ability now binds; operations and systems without abilities still report
PLAY0268.