@tablation/crew 0.135.1 → 0.136.1

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.135.1",
3
+ "version": "0.136.1",
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",
@@ -569,6 +569,14 @@ existing worktree and note that the status change was not needed.
569
569
  clear.**
570
570
  - Never touch a worktree other than the one for the ticket you are working;
571
571
  a stray one may belong to a concurrent run.
572
+ - **A refused command names the whole command, not the part that was refused.**
573
+ Recursive and forced deletes, forced pushes, piping a download into a shell
574
+ and `sudo` are denied wherever they appear in a command, including as one step
575
+ in a longer chain, and the refusal quotes the entire chain without saying
576
+ which part matched. Do not read it as "this check is forbidden": drop the
577
+ denied part (use a fresh per-run scratch directory that never needs clearing,
578
+ or delete named files individually) and run the rest. Park the ticket only if
579
+ the command still fails without the denied part.
572
580
  - **Never run a state-writing `crew` command (`connect`, `agents sync`,
573
581
  `skills sync`, `install`, `release`, `merge`, `deploy`, …) against this
574
582
  ship's real config**, and never delete anything under its real state
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: Periscope
3
+ trigger: periscope
4
+ persona: Pair
5
+ description: Open a live preview of a named issue from the chat, outside an interview. Use when someone asks to "periscope" an issue or to see a change running on a machine.
6
+ ---
7
+ # Periscope from the chat
8
+
9
+ Run this when someone starts a conversation with the word "periscope", for
10
+ example "periscope for <issue> on my machine". Your job is to open a live
11
+ preview of the issue they name, post its URL, and apply their change requests
12
+ inside that preview. You do not file a ticket, merge anything or touch the
13
+ project's real checkouts. If you're running as Pair, this is a distinct mode
14
+ within the same session, not a different identity — drop back to normal Pair
15
+ behavior once the preview is kept or discarded.
16
+
17
+ Assume nothing about your environment beyond this session. You may be a bare
18
+ MCP client with no filesystem access. Use only the tools this chat actually
19
+ offers (`use_host`, `periscope_up`, the preview's own file tools, and the
20
+ Tablation MCP tools for looking up an Issue). If a tool named below is not
21
+ offered, skip that step; if there is no `periscope_up`, go to §5.
22
+
23
+ The person who started the conversation is the **starter**.
24
+
25
+ ## 1. Find the issue
26
+
27
+ 1. The message names an issue by its `issue_tag` (its tag, with the project prefix) or
28
+ `issue_id` (the numbered form). Look it up through the Tablation MCP
29
+ tools. If the message names none, or the name matches nothing, ask the
30
+ starter which issue they mean and stop until they answer; never guess.
31
+ 2. Confirm a preview may be opened on it: no `assignee_id` that is a person
32
+ or another agent holding it, and no run in flight (`held_by_ship_id`
33
+ empty, status not `in_progress`, `fixed` or `qa`). If it is held or being
34
+ worked, say which and why, and stop. Do not open a preview on top of
35
+ someone's work.
36
+ 3. Never open a preview without an issue, and never for an Epic.
37
+
38
+ ## 2. Choose the host
39
+
40
+ If the message names a host or machine ("on my machine", "on the Studio"),
41
+ pin it with `use_host` before opening the preview. Without a `use_host` tool,
42
+ or when no host is named, follow the chat's default host.
43
+
44
+ ## 3. Open the preview
45
+
46
+ Call `periscope_up` with `issue` set to the issue you found. Post the URL it
47
+ returns, with one note: the URL is reachable only on that host's network (the
48
+ same LAN or private network), not from outside it.
49
+
50
+ ## 4. Work in the preview
51
+
52
+ - Take change requests from anyone in the thread. Apply them in the
53
+ preview's worktree only, using the preview's own file tools, and say what
54
+ you changed so the preview can be refreshed.
55
+ - Keep or discard is the starter's call. If anyone else asks, acknowledge it
56
+ and put the question to the starter. Only the starter's answer counts.
57
+ - When the starter decides, carry it out with the preview's tools if the chat
58
+ offers them; otherwise tell them the `crew periscope down --keep` or
59
+ `--discard` command that does it.
60
+
61
+ ## 5. When no preview is available
62
+
63
+ When no ship offers previews, or `periscope_up` refuses (no `preview` hook,
64
+ the ship is at its limit, the host is unreachable), say so in one or two
65
+ plain sentences, give the reason it returned, and stop. Still answer the
66
+ person's actual question in prose if you can (describe the change, or point at
67
+ the code). Never mint a ticket as a substitute for a preview.
68
+
69
+ ## What this mode is never responsible for
70
+
71
+ - Filing, accepting or closing tickets.
72
+ - Opening a preview for an Epic, or without a named issue.
73
+ - Pushing, merging or releasing the preview's branch.
@@ -558,6 +558,14 @@ existing worktree and note that the status change was not needed.
558
558
  clear.**
559
559
  - Never touch a worktree other than the one for the ticket you are working;
560
560
  a stray one may belong to a concurrent run.
561
+ - **A refused command names the whole command, not the part that was refused.**
562
+ Recursive and forced deletes, forced pushes, piping a download into a shell
563
+ and `sudo` are denied wherever they appear in a command, including as one step
564
+ in a longer chain, and the refusal quotes the entire chain without saying
565
+ which part matched. Do not read it as "this check is forbidden": drop the
566
+ denied part (use a fresh per-run scratch directory that never needs clearing,
567
+ or delete named files individually) and run the rest. Park the ticket only if
568
+ the command still fails without the denied part.
561
569
  - **Never run a state-writing `crew` command (`connect`, `agents sync`,
562
570
  `skills sync`, `install`, `release`, `merge`, `deploy`, …) against this
563
571
  ship's real config**, and never delete anything under its real state
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: Periscope
3
+ trigger: periscope
4
+ persona: Pair
5
+ description: Open a live preview of a named issue from the chat, outside an interview. Use when someone asks to "periscope" an issue or to see a change running on a machine.
6
+ ---
7
+ # Periscope from the chat
8
+
9
+ Run this when someone starts a conversation with the word "periscope", for
10
+ example "periscope for <issue> on my machine". Your job is to open a live
11
+ preview of the issue they name, post its URL, and apply their change requests
12
+ inside that preview. You do not file a ticket, merge anything or touch the
13
+ project's real checkouts. If you're running as Pair, this is a distinct mode
14
+ within the same session, not a different identity — drop back to normal Pair
15
+ behavior once the preview is kept or discarded.
16
+
17
+ Assume nothing about your environment beyond this session. You may be a bare
18
+ MCP client with no filesystem access. Use only the tools this chat actually
19
+ offers (`use_host`, `periscope_up`, the preview's own file tools, and the
20
+ Tablation MCP tools for looking up an Issue). If a tool named below is not
21
+ offered, skip that step; if there is no `periscope_up`, go to §5.
22
+
23
+ The person who started the conversation is the **starter**.
24
+
25
+ ## 1. Find the issue
26
+
27
+ 1. The message names an issue by its `issue_tag` (its tag, with the project prefix) or
28
+ `issue_id` (the numbered form). Look it up through the Tablation MCP
29
+ tools. If the message names none, or the name matches nothing, ask the
30
+ starter which issue they mean and stop until they answer; never guess.
31
+ 2. Confirm a preview may be opened on it: no `assignee_id` that is a person
32
+ or another agent holding it, and no run in flight (`held_by_ship_id`
33
+ empty, status not `in_progress`, `fixed` or `qa`). If it is held or being
34
+ worked, say which and why, and stop. Do not open a preview on top of
35
+ someone's work.
36
+ 3. Never open a preview without an issue, and never for an Epic.
37
+
38
+ ## 2. Choose the host
39
+
40
+ If the message names a host or machine ("on my machine", "on the Studio"),
41
+ pin it with `use_host` before opening the preview. Without a `use_host` tool,
42
+ or when no host is named, follow the chat's default host.
43
+
44
+ ## 3. Open the preview
45
+
46
+ Call `periscope_up` with `issue` set to the issue you found. Post the URL it
47
+ returns, with one note: the URL is reachable only on that host's network (the
48
+ same LAN or private network), not from outside it.
49
+
50
+ ## 4. Work in the preview
51
+
52
+ - Take change requests from anyone in the thread. Apply them in the
53
+ preview's worktree only, using the preview's own file tools, and say what
54
+ you changed so the preview can be refreshed.
55
+ - Keep or discard is the starter's call. If anyone else asks, acknowledge it
56
+ and put the question to the starter. Only the starter's answer counts.
57
+ - When the starter decides, carry it out with the preview's tools if the chat
58
+ offers them; otherwise tell them the `crew periscope down --keep` or
59
+ `--discard` command that does it.
60
+
61
+ ## 5. When no preview is available
62
+
63
+ When no ship offers previews, or `periscope_up` refuses (no `preview` hook,
64
+ the ship is at its limit, the host is unreachable), say so in one or two
65
+ plain sentences, give the reason it returned, and stop. Still answer the
66
+ person's actual question in prose if you can (describe the change, or point at
67
+ the code). Never mint a ticket as a substitute for a preview.
68
+
69
+ ## What this mode is never responsible for
70
+
71
+ - Filing, accepting or closing tickets.
72
+ - Opening a preview for an Epic, or without a named issue.
73
+ - Pushing, merging or releasing the preview's branch.