operbe 1.0.0-rc.2 → 1.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -22
- package/conformance/describe/edge/body.json +1 -1
- package/conformance/describe/edge/digest +1 -1
- package/conformance/describe/edge/project/operbe.md +1 -1
- package/conformance/describe/example/body.json +1 -1
- package/conformance/describe/example/digest +1 -1
- package/conformance/describe/example/project/behaviors/B-0001.md +13 -9
- package/conformance/describe/example/project/behaviors/B-0002.md +1 -1
- package/conformance/describe/example/project/behaviors/B-0003.md +2 -2
- package/conformance/describe/example/project/behaviors/B-0004.md +2 -2
- package/conformance/describe/example/project/behaviors/B-0005.md +2 -2
- package/conformance/describe/example/project/behaviors/coverage/mcp.md +9 -0
- package/conformance/describe/example/project/operbe.md +9 -5
- package/conformance/diff/core/a/behaviors/B-0002.md +1 -1
- package/conformance/diff/core/a/behaviors/B-0003.md +1 -1
- package/conformance/diff/core/a/operbe.md +5 -5
- package/conformance/diff/core/b/behaviors/B-0002.md +1 -1
- package/conformance/diff/core/b/behaviors/B-0003.md +1 -1
- package/conformance/diff/core/b/operbe.md +5 -5
- package/conformance/diff/core/changes.json +45 -17
- package/conformance/diff/declared/a/operbe.md +1 -1
- package/conformance/diff/declared/b/operbe.md +1 -1
- package/conformance/diff/reworded/a/behaviors/B-0002.md +1 -1
- package/conformance/diff/reworded/a/behaviors/B-0003.md +1 -1
- package/conformance/diff/reworded/a/operbe.md +5 -5
- package/conformance/diff/reworded/b/behaviors/B-0002.md +1 -1
- package/conformance/diff/reworded/b/behaviors/B-0003.md +1 -1
- package/conformance/diff/reworded/b/operbe.md +5 -5
- package/dist/check.d.ts +1 -1
- package/dist/check.js +124 -67
- package/dist/cli.js +19 -15
- package/dist/describe.js +23 -20
- package/dist/diff.js +35 -24
- package/dist/indexes.js +20 -12
- package/dist/read.d.ts +8 -6
- package/dist/read.js +39 -15
- package/dist/reconcile.d.ts +2 -2
- package/dist/reconcile.js +12 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/schema/description.schema.json +26 -9
- package/skills/operbe/SKILL.md +42 -16
- package/skills/operbe/example/behaviors/B-0001.md +13 -9
- package/skills/operbe/example/behaviors/B-0002.md +1 -1
- package/skills/operbe/example/behaviors/B-0003.md +2 -2
- package/skills/operbe/example/behaviors/B-0004.md +2 -2
- package/skills/operbe/example/behaviors/B-0005.md +2 -2
- package/skills/operbe/example/behaviors/coverage/mcp.md +9 -0
- package/skills/operbe/example/operbe.md +9 -5
- package/skills/operbe/references/actions.md +226 -0
- package/skills/operbe/references/adopting.md +6 -6
- package/skills/operbe/references/behaviors.md +75 -59
- package/skills/operbe/references/formats.md +69 -51
- package/skills/operbe/references/operations.md +13 -14
- package/skills/operbe/references/tandem.md +31 -30
- package/skills/operbe/templates/{client-action.md → action.md} +3 -3
- package/skills/operbe/templates/behavior.md +1 -1
- package/skills/operbe/templates/coverage.md +1 -1
- package/skills/operbe/templates/operbe.md +1 -1
- package/skills/operbe/references/client-actions.md +0 -211
- /package/conformance/describe/example/project/{client-actions → actions}/archive-conversation.md +0 -0
- /package/conformance/describe/example/project/{client-actions → actions}/show-conversations.md +0 -0
- /package/conformance/describe/example/project/{client-actions → actions}/start-retitle.md +0 -0
- /package/conformance/describe/example/project/{client-actions → actions}/unarchive-conversation.md +0 -0
- /package/conformance/diff/core/a/{client-actions → actions}/archive-conversation.md +0 -0
- /package/conformance/diff/core/a/{client-actions → actions}/show-conversations.md +0 -0
- /package/conformance/diff/core/a/{client-actions → actions}/start-retitle.md +0 -0
- /package/conformance/diff/core/a/{client-actions → actions}/unarchive-conversation.md +0 -0
- /package/conformance/diff/core/b/{client-actions → actions}/archive-conversation.md +0 -0
- /package/conformance/diff/core/b/{client-actions → actions}/show-conversations.md +0 -0
- /package/conformance/diff/core/b/{client-actions → actions}/unarchive-conversation.md +0 -0
- /package/conformance/diff/reworded/a/{client-actions → actions}/archive-conversation.md +0 -0
- /package/conformance/diff/reworded/a/{client-actions → actions}/show-conversations.md +0 -0
- /package/conformance/diff/reworded/a/{client-actions → actions}/start-retitle.md +0 -0
- /package/conformance/diff/reworded/a/{client-actions → actions}/unarchive-conversation.md +0 -0
- /package/conformance/diff/reworded/b/{client-actions → actions}/archive-conversation.md +0 -0
- /package/conformance/diff/reworded/b/{client-actions → actions}/show-conversations.md +0 -0
- /package/conformance/diff/reworded/b/{client-actions → actions}/start-retitle.md +0 -0
- /package/conformance/diff/reworded/b/{client-actions → actions}/unarchive-conversation.md +0 -0
- /package/skills/operbe/example/{client-actions → actions}/archive-conversation.md +0 -0
- /package/skills/operbe/example/{client-actions → actions}/show-conversations.md +0 -0
- /package/skills/operbe/example/{client-actions → actions}/start-retitle.md +0 -0
- /package/skills/operbe/example/{client-actions → actions}/unarchive-conversation.md +0 -0
package/README.md
CHANGED
|
@@ -6,32 +6,36 @@ Version 1.0.0-rc.2. Everything in it is experimental until it has been proven on
|
|
|
6
6
|
|
|
7
7
|
## What it is
|
|
8
8
|
|
|
9
|
-
operbe has every project keep
|
|
9
|
+
operbe has every project keep three lists, for the front ends it names. A **front end** is anything that acts for a person: a native app, the web app, a command line a person types into, an assistant working over MCP, an API's Actions.
|
|
10
10
|
|
|
11
|
-
- **Operations** are everything that passes through the server membrane. There is one set, defined once
|
|
12
|
-
- **Behaviors** are everything the designer wants to hold true
|
|
13
|
-
- **
|
|
11
|
+
- **Operations** are everything that passes through the server membrane. There is one set, defined once. Operations are code at the server.
|
|
12
|
+
- **Behaviors** are everything the designer wants to hold true on the front ends. They are the parity contract: every front end, however it is built, is built from them and checked against them. Behaviors are documentation.
|
|
13
|
+
- **Actions** (optional as a list) are what a front end does for a person: show a list, archive a conversation, send a reply. Each is classed show, prepare or do. They are code in the front end, and the only way it reaches the server.
|
|
14
|
+
|
|
15
|
+
There are two relationships, and they don't form a line: **behaviors describe front ends** (their actions and their screens), and **actions call operations**.
|
|
14
16
|
|
|
15
17
|
```
|
|
16
|
-
people
|
|
17
|
-
│
|
|
18
|
-
|
|
19
|
-
│
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
│
|
|
24
|
-
│
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
people agents outside builders
|
|
19
|
+
│ │ │
|
|
20
|
+
┌──┴────────┐ ┌─────┴──────┐ │
|
|
21
|
+
│ apps, web,│ │ MCP, an │ │
|
|
22
|
+
│ command │ │ API's │ front ends │
|
|
23
|
+
│ line │ │ Actions │ ◀── described by │
|
|
24
|
+
└──┬────────┘ └─────┬──────┘ the BEHAVIOR │
|
|
25
|
+
│ actions │ actions LIST │ an API's Operations
|
|
26
|
+
│ call │ call │
|
|
27
|
+
════╪══════════════════╪══════════════════════════╪════ the membrane
|
|
28
|
+
└────────────── the OPERATION LIST ───────────┘
|
|
29
|
+
│
|
|
30
|
+
the server
|
|
29
31
|
```
|
|
30
32
|
|
|
33
|
+
An API or an MCP server offers two sets under the same names as the records: **Actions** ("Use Actions to act for a person"), which make it a front end, and **Operations** ("Use Operations to build your own front end"), granular, each still checking who may call it. An MCP server offers Actions by default.
|
|
34
|
+
|
|
31
35
|
## The one rule
|
|
32
36
|
|
|
33
37
|
1. Nothing crosses the membrane except an operation.
|
|
34
|
-
2. Nothing the designer cares about
|
|
38
|
+
2. Nothing the designer cares about on a front end is off the behavior list.
|
|
35
39
|
|
|
36
40
|
The rest of operbe follows from those two halves.
|
|
37
41
|
|
|
@@ -43,7 +47,7 @@ It is not a spec either. A project's two lists are its specs, and operbe is how
|
|
|
43
47
|
|
|
44
48
|
It is not a design system. It doesn't say what a designer should decide, only how a decision is written down and checked.
|
|
45
49
|
|
|
46
|
-
And it generates nothing. No
|
|
50
|
+
And it generates nothing. No front end is produced from the behavior list, and nothing reads that list at runtime. Actions are code in each front end, and their records say what that code is agreed to do.
|
|
47
51
|
|
|
48
52
|
## When to use it
|
|
49
53
|
|
|
@@ -79,9 +83,9 @@ npx operbe new behavior "Pin a conversation" <your project>
|
|
|
79
83
|
| Part | What it covers | File |
|
|
80
84
|
|---|---|---|
|
|
81
85
|
| Operations | What an operation is, how big, what it declares | `skills/operbe/references/operations.md` |
|
|
82
|
-
| Behaviors | What a behavior is,
|
|
83
|
-
|
|
|
84
|
-
| In tandem | How the
|
|
86
|
+
| Behaviors | What a behavior is, writing for every front end, coverage | `skills/operbe/references/behaviors.md` |
|
|
87
|
+
| Actions | What a front end does for a person, the three classes, the two sets an API or MCP server offers | `skills/operbe/references/actions.md` |
|
|
88
|
+
| In tandem | How the lists are worked out together, with an example | `skills/operbe/references/tandem.md` |
|
|
85
89
|
| Formats | The exact form of each file | `skills/operbe/references/formats.md` |
|
|
86
90
|
| Adopting | Starting a project, or bringing operbe into one | `skills/operbe/references/adopting.md` |
|
|
87
91
|
| The command | check, index, new, describe, diff, reconcile, schema | `npx operbe` (`src/`) |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"architectures":{"acme":{"diff-rules":[{"change":"changed","field":"acme.door.gate","level":"warning"},{"change":"removed","field":"acme.route","level":"breaking"}],"fields":[{"field":"acme.door.gate","on":"operation","required":"no","values":["a","b","c"]},{"field":"acme.route","on":"operation","required":{"is":["change","signal"],"when":"class"}}]}},"behaviors":{"B-7":{"applies-to":"all","form":"two","name":"Notes","operations":["send-note","read-note"],"sections":[{"text":"S.","title":"Statement"},{"text":"- a","title":"Examples"},{"text":"- form 1","title":"Changes"}],"status":"rough"}},"coverage":{"web":{"B-7":{"form":1,"note":"slow","value":"limited"}}},"operations":{"read-note":{"class":"query","effect":"reads","sections":[]},"send-note":{"class":"change","effect":"changes","ext":{"acme":{"door.gate":["a","b"],"route":"send-note"}},"many-at-once":"none","needs":"may write","risk":"destroys","safe-to-repeat":"no","sections":[{"text":"Send {note}.","title":"Sentence"},{"text":"Always.","title":"Holds only if"}],"taken-back-by":"nothing"}},"profile":{"architectures":["acme"],"operbe":"1","sections":[{"text":"- Café, 日本: Unicode stays as written.","title":"Decisions"},{"text":"- one","title":"Known deviations"}]
|
|
1
|
+
{"architectures":{"acme":{"diff-rules":[{"change":"changed","field":"acme.door.gate","level":"warning"},{"change":"removed","field":"acme.route","level":"breaking"}],"fields":[{"field":"acme.door.gate","on":"operation","required":"no","values":["a","b","c"]},{"field":"acme.route","on":"operation","required":{"is":["change","signal"],"when":"class"}}]}},"behaviors":{"B-7":{"applies-to":"all","form":"two","name":"Notes","operations":["send-note","read-note"],"sections":[{"text":"S.","title":"Statement"},{"text":"- a","title":"Examples"},{"text":"- form 1","title":"Changes"}],"status":"rough"}},"coverage":{"web":{"B-7":{"form":1,"note":"slow","value":"limited"}}},"operations":{"read-note":{"class":"query","effect":"reads","sections":[]},"send-note":{"class":"change","effect":"changes","ext":{"acme":{"door.gate":["a","b"],"route":"send-note"}},"many-at-once":"none","needs":"may write","risk":"destroys","safe-to-repeat":"no","sections":[{"text":"Send {note}.","title":"Sentence"},{"text":"Always.","title":"Holds only if"}],"taken-back-by":"nothing"}},"profile":{"architectures":["acme"],"front-ends":["web"],"operbe":"1","sections":[{"text":"- Café, 日本: Unicode stays as written.","title":"Decisions"},{"text":"- one","title":"Known deviations"}]}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
sha256:
|
|
1
|
+
sha256:cc431f41f0091a6664bfc2df445b1455722ddae812e7483f0ed55845f215bdca
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"architectures":{},"behaviors":{"B-0001":{"applies-to":"all","form":1,"name":"Archive a conversation","operations":["archive-conversation","unarchive-conversation","list-conversations"],"sections":[{"text":"A person can put a conversation out of the way without deleting it. It leaves the active
|
|
1
|
+
{"actions":{"archive-conversation":{"applies-to":"all","available-when":"the conversation is not already archived and I may change it","behaviors":["B-0001"],"class":"do","form":1,"operations":["archive-conversation"],"sections":[{"text":"Archive {conversation}.","title":"Sentence"},{"text":"- conversation: a conversation, by its id. Needed.","title":"Inputs"},{"text":"- done: the conversation has left the active list, and Undo is offered.\n- started: offline; it is marked as waiting and completes when the connection returns.\n- refused: says why, and nothing changed. If the server refuses after the list has changed, the conversation returns to it.","title":"Result"}],"status":"firm"},"show-conversations":{"applies-to":"all","available-when":"always","behaviors":["B-0005"],"class":"show","form":1,"operations":["list-conversations"],"sections":[{"text":"Show {which} conversations.","title":"Sentence"},{"text":"- which: one of active or archived. Needed.","title":"Inputs"},{"text":"- done: the screen is that list. Hands back each conversation shown: its id, its title, and whether it is archived.\n- refused: says why (for example, offline with nothing kept).","title":"Result"}],"status":"firm"},"start-retitle":{"applies-to":["phone"],"available-when":"I may change the conversation","behaviors":["B-0004"],"class":"prepare","form":1,"operations":[],"sections":[{"text":"Open the title of {conversation} for editing, filled with {text}.","title":"Sentence"},{"text":"- conversation: a conversation, by its id. Needed.\n- text: the title to suggest. If left out, the field holds the present title.","title":"Inputs"},{"text":"- done: the title field is open with the text in it. The person saves or cancels; which they did is reported afterwards.\n- refused: says why.","title":"Result"}],"status":"firm"},"unarchive-conversation":{"applies-to":"all","available-when":"the conversation is archived and I may change it","behaviors":["B-0001"],"class":"do","form":1,"operations":["unarchive-conversation"],"sections":[{"text":"Return {conversation} to the active list.","title":"Sentence"},{"text":"- conversation: a conversation, by its id. Needed.","title":"Inputs"},{"text":"- done: the conversation is back in the active list, where it was.\n- refused: says why, and nothing changed.","title":"Result"}],"status":"firm"}},"architectures":{},"behaviors":{"B-0001":{"applies-to":"all","form":1,"name":"Archive a conversation","operations":["archive-conversation","unarchive-conversation","list-conversations"],"sections":[{"text":"A person can put a conversation out of the way without deleting it. It leaves the active conversations at once and is among the archived ones, and the person is offered a way to take it back straight away.","title":"Statement"},{"text":"1. The person chooses to archive a conversation.\n2. It leaves the active conversations, and the person is told it was archived.\n3. The person is offered Undo straight away.","title":"Flow"},{"text":"The person may change the conversation.","title":"Appears when"},{"text":"The conversation is not already archived. Otherwise it is refused with \"Already archived.\"","title":"Usable when"},{"text":"Returns the conversation to the active conversations, where it was.","title":"Undo"},{"text":"- phone, desktop: Undo is a button, shown for at least five seconds.\n- mcp: there is no button; the result names `unarchive-conversation`, which takes it back.","title":"Differs on"},{"text":"- **Usual.** Given an active conversation I may change, when I archive it, then it leaves the active conversations, is among the archived ones, and Undo is offered.\n- **Not allowed.** Given a conversation I may only read, then archiving isn't offered at all.\n- **Wrong moment.** Given an archived conversation, then archiving is refused with \"Already archived.\"\n- **Offline.** Given I have no connection, when I archive it, then it leaves the active conversations and is marked as waiting; when I'm back it completes.\n- **Refused.** Given the server refuses, then the conversation is back among the active ones and I'm told why.","title":"Examples"},{"text":"- form 1: first version.","title":"Changes"}],"status":"firm"},"B-0002":{"actions":"none","applies-to":["phone"],"form":1,"name":"Swipe to archive","operations":["archive-conversation"],"sections":[{"text":"In any list of conversations, swiping a row fully to the left archives that conversation, exactly as Archive a conversation (B-0001) does. A partial swipe reveals an Archive button and does nothing more.","title":"Statement"},{"text":"- **Full swipe.** When I swipe a row all the way left and let go, the conversation is archived and Undo is offered.\n- **Partial swipe.** When I swipe a row part of the way, an Archive button shows on the right; letting go leaves the row open with the button.\n- **Not allowed.** On a conversation I may only read, the row doesn't swipe.","title":"Examples"},{"text":"- form 1: first version.","title":"Changes"}],"status":"firm"},"B-0003":{"actions":"none","applies-to":"screens","form":1,"name":"Archived looks dimmed","operations":[],"sections":[{"text":"Wherever an archived conversation is shown (the archive, search results, a link from elsewhere), its row is dimmed and carries the word \"Archived\".","title":"Statement"},{"text":"- **Search.** When a search finds an archived conversation, its row is dimmed and says \"Archived\".","title":"Examples"},{"text":"- form 1: first version.","title":"Changes"}],"status":"rough"},"B-0004":{"applies-to":"all","form":1,"name":"Rename a conversation","operations":["set-conversation-title"],"sections":[{"text":"A person can give a conversation a new title, which everyone who has the conversation then sees. A title may be suggested to them first; the person still decides whether to save it, and if they don't, the title stays as it was.","title":"Statement"},{"text":"- **Usual.** When I change \"Trip\" to \"Trip to Leeds\" and save, the conversation is called \"Trip to Leeds\" for everyone who has it.","title":"Examples"},{"text":"- form 1: first version.","title":"Changes"}],"status":"rough"},"B-0005":{"applies-to":"all","form":1,"name":"The two lists","operations":["list-conversations"],"sections":[{"text":"Conversations are kept in two lists, active and archived. A person can ask for either one in one step, and is always told which one they have.","title":"Statement"},{"text":"- **Usual.** When I ask for the archive, I get the archived conversations, and they are marked as the archive (on a screen, headed \"Archive\").","title":"Examples"},{"text":"- form 1: first version.","title":"Changes"}],"status":"rough"}},"coverage":{"desktop":{"B-0001":{"form":1,"note":"Undo is offered for three seconds, not five. Being fixed.","value":"differs"},"B-0005":{"form":1,"value":"honours"},"archive-conversation":{"form":1,"value":"honours"},"show-conversations":{"form":1,"value":"honours"}},"mcp":{"B-0001":{"form":1,"value":"honours"},"B-0005":{"form":1,"value":"honours"},"archive-conversation":{"form":1,"value":"honours"},"show-conversations":{"form":1,"value":"honours"},"unarchive-conversation":{"form":1,"value":"honours"}},"phone":{"B-0001":{"form":1,"value":"honours"},"B-0002":{"form":1,"value":"honours"},"B-0004":{"form":1,"value":"honours"},"B-0005":{"form":1,"value":"honours"},"archive-conversation":{"form":1,"value":"honours"},"show-conversations":{"form":1,"value":"honours"},"start-retitle":{"form":1,"value":"honours"},"unarchive-conversation":{"form":1,"value":"honours"}}},"operations":{"archive-conversation":{"class":"change","effect":"changes","many-at-once":"none","named-because":"restricted-state","needs":"may change the conversation","risk":"changes","safe-to-repeat":"yes","sections":[{"text":"Archive {conversation}.","title":"Sentence"},{"text":"The conversation is not already archived.","title":"Holds only if"}],"taken-back-by":"unarchive-conversation"},"list-conversations":{"class":"query","effect":"reads","many-at-once":"none","needs":"nothing","risk":"reads","safe-to-repeat":"yes","sections":[{"text":"List the conversations the caller has that are {active or archived}.","title":"Sentence"},{"text":"Always.","title":"Holds only if"}],"taken-back-by":"nothing"},"set-conversation-title":{"class":"change","effect":"changes","many-at-once":"none","needs":"may change the conversation","risk":"changes","safe-to-repeat":"yes","sections":[{"text":"Set the title of {conversation} to {title}.","title":"Sentence"},{"text":"Always.","title":"Holds only if"}],"taken-back-by":"itself"},"unarchive-conversation":{"class":"change","effect":"changes","many-at-once":"none","named-because":"restricted-state","needs":"may change the conversation","risk":"changes","safe-to-repeat":"yes","sections":[{"text":"Return {conversation} from the archive.","title":"Sentence"},{"text":"The conversation is archived.","title":"Holds only if"}],"taken-back-by":"archive-conversation"}},"profile":{"front-ends":["phone","desktop","mcp"],"groups":{"screens":["phone","desktop"]},"operations-offered-on":["api"],"operbe":"1","sections":[{"text":"- Front ends: a phone app, a desktop app, and an MCP server through which a person's assistant works for them. The phone app is built first.\n- `screens` groups the front ends with a screen.\n- The MCP server offers Actions. The server's API offers Operations to outside builders and no Actions, so it is not a front end.\n- Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.\n- B-0004 is described only by `start-retitle`, on the phone, so the check reports it as a gap on the desktop and over MCP. That is on purpose: the example shows the gap. Don't fix it by widening `start-retitle`.","title":"Decisions"},{"text":"","title":"Known deviations"}]}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
sha256:
|
|
1
|
+
sha256:c23a247ce79cbfe10b63e9fcbc2ccbf24aa3fb874fafbce8a306e6c0e0ca6762
|
|
@@ -9,28 +9,32 @@ replaced-by:
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
## Statement
|
|
12
|
-
A person can put a conversation out of the way without deleting it. It leaves the active
|
|
12
|
+
A person can put a conversation out of the way without deleting it. It leaves the active conversations at once and is among the archived ones, and the person is offered a way to take it back straight away.
|
|
13
13
|
|
|
14
14
|
## Flow
|
|
15
15
|
1. The person chooses to archive a conversation.
|
|
16
|
-
2.
|
|
17
|
-
3. The
|
|
16
|
+
2. It leaves the active conversations, and the person is told it was archived.
|
|
17
|
+
3. The person is offered Undo straight away.
|
|
18
18
|
|
|
19
19
|
## Appears when
|
|
20
20
|
The person may change the conversation.
|
|
21
21
|
|
|
22
22
|
## Usable when
|
|
23
|
-
The conversation is not already archived. Otherwise it is
|
|
23
|
+
The conversation is not already archived. Otherwise it is refused with "Already archived."
|
|
24
24
|
|
|
25
25
|
## Undo
|
|
26
|
-
Returns the conversation to the active
|
|
26
|
+
Returns the conversation to the active conversations, where it was.
|
|
27
|
+
|
|
28
|
+
## Differs on
|
|
29
|
+
- phone, desktop: Undo is a button, shown for at least five seconds.
|
|
30
|
+
- mcp: there is no button; the result names `unarchive-conversation`, which takes it back.
|
|
27
31
|
|
|
28
32
|
## Examples
|
|
29
|
-
- **Usual.** Given an active conversation I may change, when I archive it, then it leaves the active
|
|
33
|
+
- **Usual.** Given an active conversation I may change, when I archive it, then it leaves the active conversations, is among the archived ones, and Undo is offered.
|
|
30
34
|
- **Not allowed.** Given a conversation I may only read, then archiving isn't offered at all.
|
|
31
|
-
- **Wrong moment.** Given an archived conversation, then archiving is
|
|
32
|
-
- **Offline.** Given I have no connection, when I archive it, then it leaves the active
|
|
33
|
-
- **Refused.** Given the server refuses, then the conversation
|
|
35
|
+
- **Wrong moment.** Given an archived conversation, then archiving is refused with "Already archived."
|
|
36
|
+
- **Offline.** Given I have no connection, when I archive it, then it leaves the active conversations and is marked as waiting; when I'm back it completes.
|
|
37
|
+
- **Refused.** Given the server refuses, then the conversation is back among the active ones and I'm told why.
|
|
34
38
|
|
|
35
39
|
## Changes
|
|
36
40
|
- form 1: first version.
|
|
@@ -3,10 +3,10 @@ id: B-0003
|
|
|
3
3
|
name: Archived looks dimmed
|
|
4
4
|
status: rough
|
|
5
5
|
form: 1
|
|
6
|
-
applies-to:
|
|
6
|
+
applies-to: screens
|
|
7
7
|
operations: []
|
|
8
8
|
replaced-by:
|
|
9
|
-
|
|
9
|
+
actions: none # a rule about appearance; nothing to ask for
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
## Statement
|
|
@@ -9,10 +9,10 @@ replaced-by:
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
## Statement
|
|
12
|
-
|
|
12
|
+
A person can give a conversation a new title, which everyone who has the conversation then sees. A title may be suggested to them first; the person still decides whether to save it, and if they don't, the title stays as it was.
|
|
13
13
|
|
|
14
14
|
## Examples
|
|
15
|
-
- **Usual.** When I change "Trip" to "Trip to Leeds" and save, the
|
|
15
|
+
- **Usual.** When I change "Trip" to "Trip to Leeds" and save, the conversation is called "Trip to Leeds" for everyone who has it.
|
|
16
16
|
|
|
17
17
|
## Changes
|
|
18
18
|
- form 1: first version.
|
|
@@ -9,10 +9,10 @@ replaced-by:
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
## Statement
|
|
12
|
-
Conversations are
|
|
12
|
+
Conversations are kept in two lists, active and archived. A person can ask for either one in one step, and is always told which one they have.
|
|
13
13
|
|
|
14
14
|
## Examples
|
|
15
|
-
- **Usual.** When I
|
|
15
|
+
- **Usual.** When I ask for the archive, I get the archived conversations, and they are marked as the archive (on a screen, headed "Archive").
|
|
16
16
|
|
|
17
17
|
## Changes
|
|
18
18
|
- form 1: first version.
|
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
operbe: 1
|
|
3
3
|
operations: operations
|
|
4
4
|
behaviors: behaviors
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
actions: actions
|
|
6
|
+
front-ends: [phone, desktop, mcp]
|
|
7
|
+
groups:
|
|
8
|
+
screens: [phone, desktop]
|
|
9
|
+
operations-offered-on: [api]
|
|
7
10
|
---
|
|
8
11
|
|
|
9
12
|
## Decisions
|
|
10
|
-
- Front ends: a phone
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
+
- Front ends: a phone app, a desktop app, and an MCP server through which a person's assistant works for them. The phone app is built first.
|
|
14
|
+
- `screens` groups the front ends with a screen.
|
|
15
|
+
- The MCP server offers Actions. The server's API offers Operations to outside builders and no Actions, so it is not a front end.
|
|
13
16
|
- Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
|
|
17
|
+
- B-0004 is described only by `start-retitle`, on the phone, so the check reports it as a gap on the desktop and over MCP. That is on purpose: the example shows the gap. Don't fix it by widening `start-retitle`.
|
|
14
18
|
|
|
15
19
|
## Known deviations
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
operbe: 1
|
|
3
3
|
operations: operations
|
|
4
4
|
behaviors: behaviors
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
actions: actions
|
|
6
|
+
front-ends: [phone, desktop]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## Decisions
|
|
10
|
-
- Front ends: a phone
|
|
11
|
-
- The phone
|
|
12
|
-
-
|
|
10
|
+
- Front ends: a phone app and a desktop app.
|
|
11
|
+
- The phone app is built first.
|
|
12
|
+
- Actions are kept, for the desktop's command palette and for an assistant built into both apps.
|
|
13
13
|
- Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
|
|
14
14
|
|
|
15
15
|
## Known deviations
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
operbe: 1
|
|
3
3
|
operations: operations
|
|
4
4
|
behaviors: behaviors
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
actions: actions
|
|
6
|
+
front-ends: [phone, desktop]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## Decisions
|
|
10
|
-
- Front ends: a phone
|
|
11
|
-
- The phone
|
|
12
|
-
-
|
|
10
|
+
- Front ends: a phone app and a desktop app.
|
|
11
|
+
- The phone app is built first.
|
|
12
|
+
- Actions are kept, for the desktop's command palette and for an assistant built into both apps.
|
|
13
13
|
- Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
|
|
14
14
|
|
|
15
15
|
## Known deviations
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
"message": "[set-conversation-title] -> [set-conversation-name]"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
|
-
"kind": "
|
|
91
|
+
"kind": "action.removed",
|
|
92
92
|
"record": "start-retitle",
|
|
93
93
|
"level": "breaking",
|
|
94
|
-
"message": "
|
|
94
|
+
"message": "action 'start-retitle' was removed"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"kind": "coverage.worse",
|
|
@@ -128,6 +128,36 @@
|
|
|
128
128
|
"level": "breaking",
|
|
129
129
|
"message": "a known deviation was added; the list may only shrink: Undo isn't offered on the command line yet."
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "finding.appeared",
|
|
133
|
+
"record": "show-conversations",
|
|
134
|
+
"field": "operbe/show-sends",
|
|
135
|
+
"after": {
|
|
136
|
+
"rule": "operbe/show-sends",
|
|
137
|
+
"level": "error",
|
|
138
|
+
"file": "actions/show-conversations.md",
|
|
139
|
+
"line": 7,
|
|
140
|
+
"record": "show-conversations",
|
|
141
|
+
"field": "operations",
|
|
142
|
+
"message": "a show may call only queries, but lists ['list-conversations']; if the project decided this change is already agreed to, say why in 'show-because'"
|
|
143
|
+
},
|
|
144
|
+
"level": "warning",
|
|
145
|
+
"message": "error operbe/show-sends: a show may call only queries, but lists ['list-conversations']; if the project decided this change is already agreed to, say why in 'show-because'"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"kind": "finding.appeared",
|
|
149
|
+
"record": "B-0004",
|
|
150
|
+
"field": "operbe/action-missing",
|
|
151
|
+
"after": {
|
|
152
|
+
"rule": "operbe/action-missing",
|
|
153
|
+
"level": "gap",
|
|
154
|
+
"file": "behaviors/B-0004.md",
|
|
155
|
+
"record": "B-0004",
|
|
156
|
+
"message": "B-0004 'Rename a conversation' describes no action; name it in an action's behaviors, or mark it 'actions: none'"
|
|
157
|
+
},
|
|
158
|
+
"level": "info",
|
|
159
|
+
"message": "gap operbe/action-missing: B-0004 'Rename a conversation' describes no action; name it in an action's behaviors, or mark it 'actions: none'"
|
|
160
|
+
},
|
|
131
161
|
{
|
|
132
162
|
"kind": "finding.appeared",
|
|
133
163
|
"record": "B-0002",
|
|
@@ -153,26 +183,24 @@
|
|
|
153
183
|
"file": "behaviors/coverage/phone.md",
|
|
154
184
|
"line": 10,
|
|
155
185
|
"record": "start-retitle",
|
|
156
|
-
"message": "start-retitle is not a behavior or
|
|
186
|
+
"message": "start-retitle is not a behavior or an action"
|
|
157
187
|
},
|
|
158
188
|
"level": "warning",
|
|
159
|
-
"message": "error operbe/unknown-reference: start-retitle is not a behavior or
|
|
189
|
+
"message": "error operbe/unknown-reference: start-retitle is not a behavior or an action"
|
|
160
190
|
},
|
|
161
191
|
{
|
|
162
|
-
"kind": "finding.
|
|
163
|
-
"record": "
|
|
164
|
-
"field": "operbe/
|
|
165
|
-
"
|
|
166
|
-
"rule": "operbe/
|
|
167
|
-
"level": "
|
|
168
|
-
"file": "
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"field": "operations",
|
|
172
|
-
"message": "a show may send only queries, but lists ['list-conversations']; if the project decided this change is already agreed to, say why in 'show-because'"
|
|
192
|
+
"kind": "finding.resolved",
|
|
193
|
+
"record": "B-0004",
|
|
194
|
+
"field": "operbe/action-missing",
|
|
195
|
+
"before": {
|
|
196
|
+
"rule": "operbe/action-missing",
|
|
197
|
+
"level": "gap",
|
|
198
|
+
"file": "behaviors/B-0004.md",
|
|
199
|
+
"record": "B-0004",
|
|
200
|
+
"message": "B-0004 'Rename a conversation' describes no action on desktop"
|
|
173
201
|
},
|
|
174
|
-
"level": "
|
|
175
|
-
"message": "
|
|
202
|
+
"level": "info",
|
|
203
|
+
"message": "gap operbe/action-missing: B-0004 'Rename a conversation' describes no action on desktop"
|
|
176
204
|
},
|
|
177
205
|
{
|
|
178
206
|
"kind": "finding.resolved",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
operbe: 1
|
|
3
3
|
operations: operations
|
|
4
4
|
behaviors: behaviors
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
actions: actions
|
|
6
|
+
front-ends: [phone, desktop]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## Decisions
|
|
10
|
-
- Front ends: a phone
|
|
11
|
-
- The phone
|
|
12
|
-
-
|
|
10
|
+
- Front ends: a phone app and a desktop app.
|
|
11
|
+
- The phone app is built first.
|
|
12
|
+
- Actions are kept, for the desktop's command palette and for an assistant built into both apps.
|
|
13
13
|
- Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
|
|
14
14
|
|
|
15
15
|
## Known deviations
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
operbe: 1
|
|
3
3
|
operations: operations
|
|
4
4
|
behaviors: behaviors
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
actions: actions
|
|
6
|
+
front-ends: [phone, desktop]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## Decisions
|
|
10
|
-
- Front ends: a phone
|
|
11
|
-
- The phone
|
|
12
|
-
-
|
|
10
|
+
- Front ends: a phone app and a desktop app.
|
|
11
|
+
- The phone app is built first.
|
|
12
|
+
- Actions are kept, for the desktop's command palette and for an assistant built into both apps.
|
|
13
13
|
- Renaming in place is on the phone only for now, so `start-retitle` applies to the phone.
|
|
14
14
|
|
|
15
15
|
## Known deviations
|