@tablation/crew 0.135.1 → 0.136.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.135.1",
3
+ "version": "0.136.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",
@@ -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.
@@ -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.