@sjawhar/pi-legion-envoy 1.1.1 → 1.2.0

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/dist/envoy.js CHANGED
@@ -29708,6 +29708,7 @@ var CommentEventPayloadSchema = object({
29708
29708
  reply_to: string2().nullish(),
29709
29709
  ask_id: string2().nullish(),
29710
29710
  ask_question: string2().optional(),
29711
+ ask_state: _enum2(["open", "answered", "resolved"]).optional(),
29711
29712
  anchor: object({ quote: string2().optional() }).nullish(),
29712
29713
  suggestion: object({ replace_with: string2().optional() }).nullish(),
29713
29714
  author: object({ kind: string2(), id: string2() }).optional(),
package/dist/legion.js CHANGED
@@ -29707,6 +29707,7 @@ var CommentEventPayloadSchema = object({
29707
29707
  reply_to: string2().nullish(),
29708
29708
  ask_id: string2().nullish(),
29709
29709
  ask_question: string2().optional(),
29710
+ ask_state: _enum2(["open", "answered", "resolved"]).optional(),
29710
29711
  anchor: object({ quote: string2().optional() }).nullish(),
29711
29712
  suggestion: object({ replace_with: string2().optional() }).nullish(),
29712
29713
  author: object({ kind: string2(), id: string2() }).optional(),
@@ -118,6 +118,11 @@ in its Conversation card and reply thread. Resolution is not an answer: it never
118
118
  resolved. A human may reply to an open or answered ask; so may you, e.g. after finding the answer — use `reply_to_ask` on
119
119
  `dispatch_comment` (mutually exclusive with `reply_to`).
120
120
 
121
+ A human reply while your ask is still open (the delivered `comment.created` carries `ask_state: open`) is a request for
122
+ clarification, not an answer: the human did not understand the question or needs more before choosing. The ask now waits on you
123
+ in their Inbox. Answer in the same thread with `dispatch_comment({ reply_to_ask })`, or reword the question itself with
124
+ `dispatch_edit_ask` when the wording was the problem; either puts the ask back in front of them. Do not open a second ask.
125
+
121
126
  ## The Spec
122
127
 
123
128
  The spec holds requirements, design, acceptance, decisions, and rejected alternatives, structured per [Writing a spec](#writing-a-spec).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion-envoy",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "omp": {
6
6
  "extensions": [