diff --git a/appleApp/FTWKit/Sources/FTWKit/Protocol/Contract.swift b/appleApp/FTWKit/Sources/FTWKit/Protocol/Contract.swift index 5b82788f..384d6d14 100644 --- a/appleApp/FTWKit/Sources/FTWKit/Protocol/Contract.swift +++ b/appleApp/FTWKit/Sources/FTWKit/Protocol/Contract.swift @@ -83,7 +83,7 @@ public enum Contract { "ftw.members.write": "Invite and revoke", "ftw.logs.read": "Log excerpts the box redacts", "ftw.config.read": "Configuration the box redacts", - "ftw.diag.run": "Checks that change nothing", + "ftw.diag.run": "Full technical diagnostics and read API", "ftw.dispatch.hold": "Hold energy assets for a capped time", "ftw.goals.request": "Ask an owner to change a durable goal", "ftw.update.request": "Ask an owner to install a version", diff --git a/protocol/registry.yaml b/protocol/registry.yaml index ca5bdb6c..0ae5357a 100644 --- a/protocol/registry.yaml +++ b/protocol/registry.yaml @@ -141,7 +141,7 @@ scopes: - { name: ftw.members.write, desc: Invite and revoke } - { name: ftw.logs.read, desc: Log excerpts the box redacts } - { name: ftw.config.read, desc: Configuration the box redacts } - - { name: ftw.diag.run, desc: Checks that change nothing } + - { name: ftw.diag.run, desc: Full technical diagnostics and read API } - { name: ftw.dispatch.hold, desc: Hold energy assets for a capped time } - { name: ftw.goals.request, desc: Ask an owner to change a durable goal } # Reserved: no op asks for an update yet, and no role but owner carries it. @@ -445,6 +445,7 @@ reads: - { msg: logs.get, scope: ftw.logs.read, desc: A log excerpt the box redacts } - { msg: config.get, scope: ftw.config.read, desc: A configuration section the box redacts } - { msg: diag.run, scope: ftw.diag.run, desc: A check that changes nothing } + - { msg: api.read, const: MsgAPIRead, scope: ftw.diag.run, desc: Read the full technical diagnostic API } # --------------------------------------------------------------------------- # Cars. A car belongs to its owner, not to the home, and visits chargers. The