Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 17:26
· 117 commits to main since this release

New

  • Lint asks about an identifier that names no place: one whose
    first segment is neither system nor a capability's identifier, such
    as a contract identified by its name alone (okf-get). The new ask
    identifier-unhomed stops no command, so an amendment that gives a
    capability another identifier, or removes one whose elements move
    elsewhere, still goes through, and a later rehome repairs what it left.
  • proviso rehome --rename <old>=<new> gives an element of the plan
    another new identifier than the one derived, for each element whose
    new identifier would be taken or awkward, such as an invariant moved
    to the system whose name a system term already holds. The new
    identifier must be well-formed and start with the element's place, is
    checked for collisions as a derived one is, and works with or without
    --write, so you see the plan before anything is written. Before, a
    collision stopped the rehome, and the only way on was an amendment.

Changed

  • proviso rehome puts the place in front of an identifier that
    names no place,
    instead of replacing its first segment: okf-get
    in the capability access becomes access.okf-get, and its member
    okf-get.input becomes access.okf-get.input. Before, every contract
    of a capability identified by its name alone was renamed to the
    capability's own identifier, so a tree with such contracts could not
    be rehomed at all. An identifier whose first segment names another
    place is renamed as before.
  • The skill proviso-rehome asks you for another identifier on a
    collision, or when a test name derived from the new one is taken, and
    passes it as --rename, instead of stopping. Run proviso update to
    bring it into an existing repository.
  • The writing guide the skills follow now says that contract
    identifiers carry their place too (cash.customer.id, referred to in
    rules as customer.id), so proviso-recover and proviso-integrate
    no longer write contract identifiers without one.

Documentation

  • The mutation report
    compares Proviso's own mutants with a mechanical tool: against
    Gremlins' 1,100 mutants, the acceptance tests catch 81.2%, the unit
    tests 79.9%, and either 86.7%.