Skip to content

v0.1.0

Choose a tag to compare

@markusmazurczak markusmazurczak released this 02 Nov 18:50
b41f622

Home-Mandate Specification v0.1.0. The v0 formats (mandate, audit entry, audit checkpoint) and the vocabulary v0 are frozen from this release on (Section 14): a document that is valid under v0.1.0 stays valid and is evaluated the same way by every later v0 release; incompatible changes get a new type.

The pre-releases v0.1.0-alpha.1 to v0.1.0-rc.5 are not covered by the freeze. Since v0.1.0-rc.5 the specification changed in these points (details in the Changelog of SPEC-v0.md, section v0.1.0):

  • Request parameters and vocabulary v0.1 (#107): a request carries exactly the parameters the vocabulary declares; required parameters and alternatives (required_one_of), alarm.arm with a mode, range setpoints.
  • Acceptance and selection (#106): revoked through the selection, "accepted is not in effect" for successors, audience and expires required for signed mandates.
  • Recording before executing (#108): an action is recorded before it runs, denied_by: audit, the agent's values in the log are untrusted text.
  • The vocabulary is bound to the formats (#72): decision entries record the vocabulary, extension vocabularies carry an id.
  • New audit events (#74, #75): exports, directory changes, audit-mode proposals, rejected mandates, proposals name the version they replace.
  • AuthZEN mapping, signed checkpoints, EdDSA canonicality (#105); verification of audit logs defined condition by condition (#68); schemas and text aligned (#70).

v0.1.0 itself (#109) changes no rule, format or conformance case against commit 116d009: conformance manifest aa18f0f0dd534ebe8b9b83692cb58e68a568b018510146e261fccd31f181c40a.

The reference implementation in this repository and ha-home-mandate conform to this release; spec-ts follows with its own v0.1.0. The relay specification (RELAY-v0.md) is a draft and not part of this release.

What's Changed

  • fix: define broken_at condition by condition, broken_at and anchored 0, the entry size and up_to_seq (§9.4, §9.5) by @markusmazurczak in #68
  • fix: align schemas and text on actor kinds, previous_digest, approval_timeout and identifier lengths (§3, §9.1) by @markusmazurczak in #70
  • fix: bind the vocabulary to the formats and record it in decision entries (§5, §9.1, §14) by @markusmazurczak in #72
  • feat: audit events for exports, directory changes, audit-mode proposals and rejected mandates (§9.1, §9.2) by @markusmazurczak in #74
  • feat: proposals name the version they would replace (§9.1, §11.6) by @markusmazurczak in #75
  • feat: complete the AuthZEN mapping, name/note and signed checkpoint time, issuer and config events, EdDSA canonicality (§6, §3.1, §9.5, §9.2, §7.1) by @markusmazurczak in #105
  • feat: revoked through the selection, accepted is not in effect, audience for signed mandates (§3.5, §4.3, §7.1, §11.6) by @markusmazurczak in #106
  • feat: a request carries exactly the declared parameters; vocabulary v0.1 with required parameters, alarm modes and range setpoints (§4, §4.5, §5, §12.4) by @markusmazurczak in #107
  • feat: recording before executing, denied_by audit; the agent's values in the log are untrusted text (§9, §9.1, §9.2, §11.1, §12.2, §12.4, §13) by @markusmazurczak in #108
  • docs: release v0.1.0, the v0 formats are frozen by @markusmazurczak in #109

Full Changelog: v0.1.0-rc.5...v0.1.0