@tablation/crew 0.159.3 → 0.161.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tablation/crew",
3
- "version": "0.159.3",
3
+ "version": "0.161.0",
4
4
  "description": "A standing team of headless agents that picks work off a Tablation board, does it on a machine you control, and reports back.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -635,6 +635,29 @@ ticket looks:
635
635
  sensible default, state it ("If you just approve this without replying, I
636
636
  will <default>."). Approving with no reply then means that default.
637
637
 
638
+ **Also ask it as a record, when the app takes questions.** Before you post a
639
+ stop comment that asks a person to decide or answer something, run
640
+ `crew ask <ticket number> --question "<the question>" --role <your lane>`, with
641
+ `--to <the park-to Crew row id>` when the park names a person, and one
642
+ `--answer "<label> :: <detail>"` per proposed answer. It writes the question as
643
+ a record the person can answer with one click. It is a no-op that says so when
644
+ the app has no questions part, so run it every time and then post the comment as
645
+ usual; the comment is never skipped, and it still opens with the question. A
646
+ failure of the command is never a reason to hold the park back.
647
+
648
+ - Offer answers only when the choices are genuinely discrete: two to four
649
+ options you could each act on at once. Give the recommended one first, and the
650
+ default you would take on a bare approval is that first one. Each label is a
651
+ few words for a button; each detail is the full instruction you will act on if
652
+ it is chosen.
653
+ - A question that needs a free-form answer (a name, a description, an opinion,
654
+ "what should this say?") is asked with no `--answer` at all. Do not invent
655
+ options to fill the space.
656
+ - Asking again on the same ticket withdraws your earlier open question, so the
657
+ person never sees two. Do not read the question record to learn the answer:
658
+ a chosen answer arrives as a comment from the person, which you already treat
659
+ as direction.
660
+
638
661
  **A parked ticket that comes back unanswered is not an answer.** When a ticket
639
662
  you parked with a question returns to `accepted` (or has `needs_planning`
640
663
  cleared) and no person has commented since your question — a comment from your
@@ -26,6 +26,10 @@ No worktree and no code changes; only an answer.
26
26
  4. Set `status` to `needs_info`, `needs_planning` to true, and `assignee_id`
27
27
  to the Crew row in the ticket's `park to` cell (none: leave it unassigned,
28
28
  no personal address).
29
+ When the closing question is a decision between discrete choices, ask it as
30
+ a record too (`crew ask`, see "Stopping" in the shared policy) with the
31
+ recommended choice first; a question that needs a free-form answer is asked
32
+ with no answers.
29
33
  Close the answer by saying what you need from the person in one plain
30
34
  sentence and asking them to reply in a comment — never to change the
31
35
  status (see "Stopping" in the shared policy). This is the designed ending
@@ -612,6 +612,29 @@ on data. There are two kinds, each written where the operator looks:
612
612
  sensible default, state it ("If you just approve this without replying, I
613
613
  will <default>."). Approving with no reply then means that default.
614
614
 
615
+ **Also ask it as a record, when the app takes questions.** Before you post a
616
+ stop comment that asks a person to decide or answer something, run
617
+ `crew ask <ticket number> --question "<the question>" --role <your lane>`, with
618
+ `--to <the park-to Crew row id>` when the park names a person, and one
619
+ `--answer "<label> :: <detail>"` per proposed answer. It writes the question as
620
+ a record the person can answer with one click. It is a no-op that says so when
621
+ the app has no questions part, so run it every time and then post the comment as
622
+ usual; the comment is never skipped, and it still opens with the question. A
623
+ failure of the command is never a reason to hold the park back.
624
+
625
+ - Offer answers only when the choices are genuinely discrete: two to four
626
+ options you could each act on at once. Give the recommended one first, and the
627
+ default you would take on a bare approval is that first one. Each label is a
628
+ few words for a button; each detail is the full instruction you will act on if
629
+ it is chosen.
630
+ - A question that needs a free-form answer (a name, a description, an opinion,
631
+ "what should this say?") is asked with no `--answer` at all. Do not invent
632
+ options to fill the space.
633
+ - Asking again on the same ticket withdraws your earlier open question, so the
634
+ person never sees two. Do not read the question record to learn the answer:
635
+ a chosen answer arrives as a comment from the person, which you already treat
636
+ as direction.
637
+
615
638
  **A parked ticket that comes back unanswered is not an answer.** When a ticket
616
639
  you parked with a question returns to `accepted` (or has `needs_planning`
617
640
  cleared) and no person has commented since your question — a comment from your
@@ -24,6 +24,10 @@ No worktree and no code changes; only an answer.
24
24
  rests on, the way a closing comment cites what changed.
25
25
  4. Set `status` to `needs_info`, `needs_planning` to true, and `assignee_id`
26
26
  to the operator's Crew row (see the roster).
27
+ When the closing question is a decision between discrete choices, ask it as
28
+ a record too (`crew ask`, see "Stopping" in the shared policy) with the
29
+ recommended choice first; a question that needs a free-form answer is asked
30
+ with no answers.
27
31
  Close the answer by saying what you need from the person in one plain
28
32
  sentence and asking them to reply in a comment — never to change the
29
33
  status (see "Stopping" in the shared policy). This is the designed ending