Repository navigation
chore(protocol): sync diagnostic API read contract #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When the box records this newly recognized read as Useful? React with 👍 / 👎. |
||
|
|
||
| # --------------------------------------------------------------------------- | ||
| # Cars. A car belongs to its owner, not to the home, and visits chargers. The | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When an agent or support offer requests
ftw.diag.run,OfferFlowViewdisplaysAccessWords.scope, whose override inAccessWords.swift:96still says only “Run checks that change nothing.” This new operation lets the same grant read the full technical diagnostic API, so owners can approve materially broader access without being told what it permits; update the localized scope wording alongside this contract change.Useful? React with 👍 / 👎.