Skip to content

Release v6.20.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 19:35
c20ba2b

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 a system, with typed inputs, a returns block, outcome <Name> lines, answers later, and an AbilityEffect implementation (file, tagged fence or implementation wrapper). An omitted effect class means once, 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 named next, refused, failed, returned or expired) and PLAY0986 (undeclared input or returned type). Malformed abilities, outcomes with a payload and empty returns blocks report PLAY0495.
  • Executable semantic model v50: a model that declares an ability carries application.systems with each ability's effect class, typed inputs and returns, outcomes, answersLater and realization (none or code). 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 PaymentGateway system 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-details view.

Changed

  • A system that declares an ability now binds; operations and systems without abilities still report PLAY0268.