sisyphi 1.1.25 → 1.1.27

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.
Files changed (76) hide show
  1. package/README.md +35 -35
  2. package/deploy/aws/main.tf +1 -1
  3. package/deploy/aws/variables.tf +1 -1
  4. package/deploy/aws/versions.tf +1 -1
  5. package/deploy/hetzner/variables.tf +1 -1
  6. package/deploy/hetzner/versions.tf +1 -1
  7. package/deploy/shared/cloud-init.yaml.tpl +1 -1
  8. package/dist/cli.js +619 -200
  9. package/dist/cli.js.map +1 -1
  10. package/dist/daemon.js +23 -11
  11. package/dist/daemon.js.map +1 -1
  12. package/dist/deploy/aws/main.tf +1 -1
  13. package/dist/deploy/aws/variables.tf +1 -1
  14. package/dist/deploy/aws/versions.tf +1 -1
  15. package/dist/deploy/hetzner/variables.tf +1 -1
  16. package/dist/deploy/hetzner/versions.tf +1 -1
  17. package/dist/deploy/shared/cloud-init.yaml.tpl +1 -1
  18. package/dist/templates/agent-plugin/agents/explore.md +2 -2
  19. package/dist/templates/agent-plugin/agents/implementor.md +2 -2
  20. package/dist/templates/agent-plugin/agents/operator.md +3 -3
  21. package/dist/templates/agent-plugin/agents/plan.md +2 -2
  22. package/dist/templates/agent-plugin/agents/problem.md +8 -8
  23. package/dist/templates/agent-plugin/agents/review-plan/CLAUDE.md +1 -1
  24. package/dist/templates/agent-plugin/agents/spec/requirements-writer.md +1 -1
  25. package/dist/templates/agent-plugin/agents/spec.md +19 -19
  26. package/dist/templates/agent-plugin/skills/humanloop/SKILL.md +7 -7
  27. package/dist/templates/agent-plugin/skills/perspective-fanout/SKILL.md +2 -2
  28. package/dist/templates/agent-plugin/skills/problem-plateau-breakers/SKILL.md +2 -2
  29. package/dist/templates/agent-suffix.md +3 -3
  30. package/dist/templates/dashboard-claude.md +13 -13
  31. package/dist/templates/orchestrator-base.md +13 -13
  32. package/dist/templates/orchestrator-completion.md +11 -11
  33. package/dist/templates/orchestrator-discovery.md +5 -5
  34. package/dist/templates/orchestrator-impl.md +8 -8
  35. package/dist/templates/orchestrator-planning.md +6 -6
  36. package/dist/templates/orchestrator-plugin/commands/sisyphus/scratch.md +1 -1
  37. package/dist/templates/orchestrator-plugin/commands/sisyphus/strategize.md +2 -2
  38. package/dist/templates/orchestrator-plugin/skills/humanloop/SKILL.md +9 -9
  39. package/dist/templates/orchestrator-plugin/skills/orchestration/CLAUDE.md +1 -1
  40. package/dist/templates/orchestrator-plugin/skills/orchestration/SKILL.md +1 -1
  41. package/dist/templates/orchestrator-plugin/skills/orchestration/strategy.md +4 -4
  42. package/dist/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +2 -2
  43. package/dist/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +1 -1
  44. package/dist/templates/orchestrator-validation.md +5 -5
  45. package/dist/templates/termrender-haiku-system.md +1 -1
  46. package/dist/tui.js +8 -8
  47. package/dist/tui.js.map +1 -1
  48. package/package.json +2 -1
  49. package/templates/agent-plugin/agents/explore.md +2 -2
  50. package/templates/agent-plugin/agents/implementor.md +2 -2
  51. package/templates/agent-plugin/agents/operator.md +3 -3
  52. package/templates/agent-plugin/agents/plan.md +2 -2
  53. package/templates/agent-plugin/agents/problem.md +8 -8
  54. package/templates/agent-plugin/agents/review-plan/CLAUDE.md +1 -1
  55. package/templates/agent-plugin/agents/spec/requirements-writer.md +1 -1
  56. package/templates/agent-plugin/agents/spec.md +19 -19
  57. package/templates/agent-plugin/skills/humanloop/SKILL.md +7 -7
  58. package/templates/agent-plugin/skills/perspective-fanout/SKILL.md +2 -2
  59. package/templates/agent-plugin/skills/problem-plateau-breakers/SKILL.md +2 -2
  60. package/templates/agent-suffix.md +3 -3
  61. package/templates/dashboard-claude.md +13 -13
  62. package/templates/orchestrator-base.md +13 -13
  63. package/templates/orchestrator-completion.md +11 -11
  64. package/templates/orchestrator-discovery.md +5 -5
  65. package/templates/orchestrator-impl.md +8 -8
  66. package/templates/orchestrator-planning.md +6 -6
  67. package/templates/orchestrator-plugin/commands/sisyphus/scratch.md +1 -1
  68. package/templates/orchestrator-plugin/commands/sisyphus/strategize.md +2 -2
  69. package/templates/orchestrator-plugin/skills/humanloop/SKILL.md +9 -9
  70. package/templates/orchestrator-plugin/skills/orchestration/CLAUDE.md +1 -1
  71. package/templates/orchestrator-plugin/skills/orchestration/SKILL.md +1 -1
  72. package/templates/orchestrator-plugin/skills/orchestration/strategy.md +4 -4
  73. package/templates/orchestrator-plugin/skills/orchestration/task-patterns.md +2 -2
  74. package/templates/orchestrator-plugin/skills/orchestration/workflow-examples.md +1 -1
  75. package/templates/orchestrator-validation.md +5 -5
  76. package/templates/termrender-haiku-system.md +1 -1
package/README.md CHANGED
@@ -61,7 +61,7 @@ npm install -g sisyphi
61
61
  Then run setup once:
62
62
 
63
63
  ```bash
64
- sisyphus admin setup
64
+ sis admin setup
65
65
  ```
66
66
 
67
67
  This installs the background daemon (macOS launchd), tmux keybindings (`M-s` to cycle sessions, `M-S` for dashboard), and checks your environment. The daemon auto-updates when new versions are published.
@@ -69,15 +69,15 @@ This installs the background daemon (macOS launchd), tmux keybindings (`M-s` to
69
69
  Verify:
70
70
 
71
71
  ```bash
72
- sisyphus admin doctor
72
+ sis admin doctor
73
73
  ```
74
74
 
75
75
  ## Quick start
76
76
 
77
77
  ```bash
78
- sisyphus start "your task description" # Start a session
79
- sisyphus dashboard # Open the TUI (auto-opens on start)
80
- sisyphus status # Check session state from the CLI
78
+ sis start "your task description" # Start a session
79
+ sis dashboard # Open the TUI (auto-opens on start)
80
+ sis status # Check session state from the CLI
81
81
  ```
82
82
 
83
83
  Sisyphus is a CLI that Claude Code calls for you. Tell Claude to use it and it handles the rest.
@@ -86,24 +86,24 @@ In Claude Code, say something like:
86
86
 
87
87
  > Use sisyphus to migrate our REST API from Express to Hono. The API lives in src/api/ with 14 route files...
88
88
 
89
- Claude calls `sisyphus start` with a detailed task description, and tmux panes start appearing with parallel agents working on your codebase.
89
+ Claude calls `sis start` with a detailed task description, and tmux panes start appearing with parallel agents working on your codebase.
90
90
 
91
91
  ### Slash command (recommended)
92
92
 
93
93
  Create `.claude/commands/sisyphus-begin.md` in your project:
94
94
 
95
95
  ~~~markdown
96
- Run `sisyphus start` with a detailed task description:
96
+ Run `sis start` with a detailed task description:
97
97
 
98
98
  ```bash
99
- sisyphus start "your task description"
99
+ sis start "your task description"
100
100
  ```
101
101
 
102
102
  Write a thorough task description. Include what needs to be built or fixed, where relevant code lives, what done looks like, constraints, and adjacent concerns (don't break X, keep Y working). More context produces better results. The orchestrator figures out how to break it down.
103
103
 
104
104
  Example:
105
105
  ```bash
106
- sisyphus start "Rip out our hand-rolled RBAC system and replace it with a proper policy engine. Current implementation is scattered across 20+ middleware files in src/middleware/auth/ that each do their own role checks with hardcoded string comparisons. Replace with a centralized policy engine in src/auth/policies/ using a declarative permission model — define resources, actions, and role mappings in a single config, then write one middleware that evaluates policies. Migrate every route that currently calls requireRole() or checkPermission() to the new system. The admin panel (src/routes/admin/) has the most complex rules including org-scoped permissions and delegated access — those need to work exactly as before. Add integration tests that cover the full matrix: superadmin, org-admin, member, and guest across every protected endpoint. Don't break the public API routes in src/routes/v1/public/. The existing test suite (npm test) must pass when you're done."
106
+ sis start "Rip out our hand-rolled RBAC system and replace it with a proper policy engine. Current implementation is scattered across 20+ middleware files in src/middleware/auth/ that each do their own role checks with hardcoded string comparisons. Replace with a centralized policy engine in src/auth/policies/ using a declarative permission model — define resources, actions, and role mappings in a single config, then write one middleware that evaluates policies. Migrate every route that currently calls requireRole() or checkPermission() to the new system. The admin panel (src/routes/admin/) has the most complex rules including org-scoped permissions and delegated access — those need to work exactly as before. Add integration tests that cover the full matrix: superadmin, org-admin, member, and guest across every protected endpoint. Don't break the public API routes in src/routes/v1/public/. The existing test suite (npm test) must pass when you're done."
107
107
  ```
108
108
  ~~~
109
109
 
@@ -113,8 +113,8 @@ Or just add a note to your `CLAUDE.md`:
113
113
 
114
114
  ```markdown
115
115
  ## Sisyphus
116
- For large tasks, use the `sisyphus` CLI to orchestrate parallel agents.
117
- Run `sisyphus start "detailed task description"` inside tmux.
116
+ For large tasks, use the `sis` CLI to orchestrate parallel agents.
117
+ Run `sis start "detailed task description"` inside tmux.
118
118
  ```
119
119
 
120
120
  ### Interactive tutorial
@@ -122,7 +122,7 @@ Run `sisyphus start "detailed task description"` inside tmux.
122
122
  New to tmux or sisyphus? Run the guided walkthrough:
123
123
 
124
124
  ```bash
125
- sisyphus admin getting-started
125
+ sis admin getting-started
126
126
  ```
127
127
 
128
128
  Covers tmux basics, neovim essentials, sisyphus concepts, and a live demo session.
@@ -132,10 +132,10 @@ Covers tmux basics, neovim essentials, sisyphus concepts, and a live demo sessio
132
132
  Full-screen TUI for watching and controlling sessions.
133
133
 
134
134
  ```bash
135
- sisyphus dashboard # or press M-S (Alt-Shift-S)
135
+ sis dashboard # or press M-S (Alt-Shift-S)
136
136
  ```
137
137
 
138
- Auto-opens when you `sisyphus start`.
138
+ Auto-opens when you `sis start`.
139
139
 
140
140
  Left panel is a session tree (sessions, cycles, agents, reports) with status indicators. Right panel shows detail for whatever's selected: roadmap, agent instructions, report content, live pane output. If neovim is available, files open in an embedded editor. Bottom bar has mode and keybinding hints.
141
141
 
@@ -251,7 +251,7 @@ Updates every 5 seconds. Focused session is highlighted.
251
251
 
252
252
  ### Keybindings
253
253
 
254
- Installed by `sisyphus admin setup` into `~/.sisyphus/tmux.conf`. Requires tmux ≥ 3.2.
254
+ Installed by `sis admin setup` into `~/.sisyphus/tmux.conf`. Requires tmux ≥ 3.2.
255
255
 
256
256
  | Key | Action |
257
257
  |-----|--------|
@@ -277,9 +277,9 @@ A persistent character that tracks your work across sessions. Earns XP, levels u
277
277
  Shows up as a mood-colored face in the tmux status bar, generates commentary on lifecycle events via Haiku, and has 66 unlockable badges.
278
278
 
279
279
  ```bash
280
- sisyphus companion # View profile, stats, and achievements
281
- sisyphus companion --badges # Full achievement gallery
282
- sisyphus companion --name Bub # Rename your companion
280
+ sis companion # View profile, stats, and achievements
281
+ sis companion --badges # Full achievement gallery
282
+ sis companion --name Bub # Rename your companion
283
283
  ```
284
284
 
285
285
  Press `c` in the dashboard (nav mode) to open the companion overlay.
@@ -317,7 +317,7 @@ Project `.sisyphus/config.json` overrides global `~/.sisyphus/config.json`:
317
317
 
318
318
  ### Session upload (optional)
319
319
 
320
- On session completion, sisyphus zips the session directory and uploads it to an operator-managed Cloudflare R2 bucket through a Worker proxy — asynchronously, never blocking completion. Use `sisyphus admin upload <id>` to re-run the upload on demand (retry or in-progress sessions). `sisyphus admin export` is unchanged; upload is purely additive.
320
+ On session completion, sisyphus zips the session directory and uploads it to an operator-managed Cloudflare R2 bucket through a Worker proxy — asynchronously, never blocking completion. Use `sis admin upload <id>` to re-run the upload on demand (retry or in-progress sessions). `sis admin export` is unchanged; upload is purely additive.
321
321
 
322
322
  **Token workflow** — the operator mints a per-user token and shares a URL of the form:
323
323
 
@@ -329,13 +329,13 @@ Run `configure-upload` with that URL to write credentials to `~/.sisyphus/config
329
329
 
330
330
  ```bash
331
331
  # Safest — no argv leak:
332
- pbpaste | sisyphus admin configure-upload --stdin
332
+ pbpaste | sis admin configure-upload --stdin
333
333
 
334
334
  # Interactive prompt:
335
- sisyphus admin configure-upload
335
+ sis admin configure-upload
336
336
 
337
337
  # Direct argv (triggers a leak warning — token visible via `ps` and shell history):
338
- sisyphus admin configure-upload "https://<worker-host>/upload?token=sisyphus_pat_..."
338
+ sis admin configure-upload "https://<worker-host>/upload?token=sisyphus_pat_..."
339
339
  ```
340
340
 
341
341
  **Config** — `configure-upload` always writes to `~/.sisyphus/config.json`. The `upload` block is only honored from the global config; a project-local `.sisyphus/config.json` with an `upload` block is ignored with a warning (security hardening — prevents project files from redirecting your uploads).
@@ -365,8 +365,8 @@ sisyphus admin configure-upload "https://<worker-host>/upload?token=sisyphus_pat
365
365
  **Manual retry:**
366
366
 
367
367
  ```bash
368
- sisyphus admin upload <session-id> # re-uploads any session (active or completed)
369
- sisyphus admin upload # uploads the active session in this cwd
368
+ sis admin upload <session-id> # re-uploads any session (active or completed)
369
+ sis admin upload # uploads the active session in this cwd
370
370
  ```
371
371
 
372
372
  **Disable** — omit the `upload` config block. Daemon skips silently.
@@ -388,10 +388,10 @@ Setup: `admin setup`, `admin init`, `admin doctor`, `admin getting-started`, `co
388
388
  Browse session history and metrics.
389
389
 
390
390
  ```bash
391
- sisyphus admin history # List recent sessions
392
- sisyphus admin history <session-id> # Inspect a specific session
393
- sisyphus admin history --stats # Aggregate statistics
394
- sisyphus admin history --events # Raw event timeline
391
+ sis admin history # List recent sessions
392
+ sis admin history <session-id> # Inspect a specific session
393
+ sis admin history --stats # Aggregate statistics
394
+ sis admin history --events # Raw event timeline
395
395
  ```
396
396
 
397
397
  | Option | Description |
@@ -410,9 +410,9 @@ sisyphus admin history --events # Raw event timeline
410
410
  Clone a session into a new independent session with a different goal.
411
411
 
412
412
  ```bash
413
- sisyphus session clone "new goal"
414
- sisyphus session clone "new goal" --strategy # carry over strategy.md from source
415
- sisyphus session clone "new goal" --name my-clone --context "extra context"
413
+ sis session clone "new goal"
414
+ sis session clone "new goal" --strategy # carry over strategy.md from source
415
+ sis session clone "new goal" --name my-clone --context "extra context"
416
416
  ```
417
417
 
418
418
  Useful for branching off a variant approach without starting from scratch.
@@ -422,7 +422,7 @@ Useful for branching off a variant approach without starting from scratch.
422
422
  Reconnect the daemon to an orphaned tmux session (e.g. after a daemon restart). Makes no state changes and does not spawn the orchestrator.
423
423
 
424
424
  ```bash
425
- sisyphus session reconnect <session-id>
425
+ sis session reconnect <session-id>
426
426
  ```
427
427
 
428
428
  ### delete
@@ -430,13 +430,13 @@ sisyphus session reconnect <session-id>
430
430
  Delete a session and all its data.
431
431
 
432
432
  ```bash
433
- sisyphus session delete <session-id>
434
- sisyphus session delete <session-id> --cwd /path/to/project
433
+ sis session delete <session-id>
434
+ sis session delete <session-id> --cwd /path/to/project
435
435
  ```
436
436
 
437
437
  ---
438
438
 
439
- `sisyphus --help` or `sisyphus <command> --help` for full usage.
439
+ `sis --help` or `sis <command> --help` for full usage.
440
440
 
441
441
  ## License
442
442
 
@@ -67,7 +67,7 @@ resource "aws_key_pair" "this" {
67
67
 
68
68
  resource "aws_security_group" "this" {
69
69
  name = "${var.name}-sisyphus"
70
- description = "sisyphus deploy: deny public 22, allow Tailscale UDP 41641 + ICMP"
70
+ description = "sis deploy: deny public 22, allow Tailscale UDP 41641 + ICMP"
71
71
  vpc_id = local.effective_vpc_id
72
72
 
73
73
  # Tailscale WireGuard endpoint discovery. SG only sees public traffic
@@ -35,7 +35,7 @@ variable "ssh_pubkey" {
35
35
  variable "ts_authkey" {
36
36
  type = string
37
37
  sensitive = true
38
- description = "Tailscale auth key (ephemeral, single-use, tagged) — minted by sisyphus deploy runner."
38
+ description = "Tailscale auth key (ephemeral, single-use, tagged) — minted by sis deploy runner."
39
39
  }
40
40
 
41
41
  variable "sisyphus_version" {
@@ -12,5 +12,5 @@ terraform {
12
12
  provider "aws" {
13
13
  region = var.region
14
14
  # AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY env vars are loaded by the
15
- # sisyphus deploy runner from ~/.sisyphus/deploy/aws.env.
15
+ # sis deploy runner from ~/.sisyphus/deploy/aws.env.
16
16
  }
@@ -35,7 +35,7 @@ variable "ssh_pubkey" {
35
35
  variable "ts_authkey" {
36
36
  type = string
37
37
  sensitive = true
38
- description = "Tailscale auth key (ephemeral, single-use, tagged) — minted by sisyphus deploy runner."
38
+ description = "Tailscale auth key (ephemeral, single-use, tagged) — minted by sis deploy runner."
39
39
  }
40
40
 
41
41
  variable "sisyphus_version" {
@@ -10,6 +10,6 @@ terraform {
10
10
  }
11
11
 
12
12
  provider "hcloud" {
13
- # HCLOUD_TOKEN env var is loaded by sisyphus deploy runner from
13
+ # HCLOUD_TOKEN env var is loaded by sis deploy runner from
14
14
  # ~/.sisyphus/deploy/hetzner.env before invoking terraform.
15
15
  }
@@ -1,5 +1,5 @@
1
1
  #cloud-config
2
- # Provisioned by `sisyphus deploy` — turns a clean Ubuntu 24.04 box into
2
+ # Provisioned by `sis deploy` — turns a clean Ubuntu 24.04 box into
3
3
  # a Tailscale-only sisyphus host. See specs/deploy.md.
4
4
 
5
5
  hostname: ${hostname}