@jiggai/recipes 0.2.11
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/README.md +142 -0
- package/clawcipes_cook.jpg +0 -0
- package/docs/AGENTS_AND_SKILLS.md +232 -0
- package/docs/BUNDLED_RECIPES.md +208 -0
- package/docs/CLAWCIPES_KITCHEN.md +27 -0
- package/docs/COMMANDS.md +266 -0
- package/docs/INSTALLATION.md +80 -0
- package/docs/RECIPE_FORMAT.md +127 -0
- package/docs/TEAM_WORKFLOW.md +62 -0
- package/docs/TUTORIAL_CREATE_RECIPE.md +151 -0
- package/docs/shared-context.md +47 -0
- package/docs/verify-built-in-team-recipes.md +65 -0
- package/index.ts +2244 -0
- package/openclaw.plugin.json +28 -0
- package/package.json +46 -0
- package/recipes/default/customer-support-team.md +246 -0
- package/recipes/default/developer.md +73 -0
- package/recipes/default/development-team.md +389 -0
- package/recipes/default/editor.md +74 -0
- package/recipes/default/product-team.md +298 -0
- package/recipes/default/project-manager.md +69 -0
- package/recipes/default/research-team.md +243 -0
- package/recipes/default/researcher.md +75 -0
- package/recipes/default/social-team.md +205 -0
- package/recipes/default/writing-team.md +228 -0
- package/src/lib/bindings.ts +59 -0
- package/src/lib/cleanup-workspaces.ts +173 -0
- package/src/lib/index.ts +5 -0
- package/src/lib/lanes.ts +63 -0
- package/src/lib/recipe-frontmatter.ts +59 -0
- package/src/lib/remove-team.ts +200 -0
- package/src/lib/scaffold-templates.ts +7 -0
- package/src/lib/shared-context.ts +52 -0
- package/src/lib/ticket-finder.ts +60 -0
- package/src/lib/ticket-workflow.ts +153 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Shared context conventions (team workspaces)
|
|
2
|
+
|
|
3
|
+
This is a **file-first** coordination convention for scaffolded teams.
|
|
4
|
+
|
|
5
|
+
## Goals
|
|
6
|
+
- Reduce cross-agent messaging; coordinate via shared files.
|
|
7
|
+
- Prevent shared context from becoming a junk drawer.
|
|
8
|
+
- Make work auditable: read → act → write loops.
|
|
9
|
+
|
|
10
|
+
## Directory layout
|
|
11
|
+
Team workspaces include:
|
|
12
|
+
|
|
13
|
+
- `notes/plan.md` — curated plan / priorities (lead-owned)
|
|
14
|
+
- `notes/status.md` — current snapshot (short, updated frequently)
|
|
15
|
+
- `shared-context/` — shared context + append-only inputs
|
|
16
|
+
- `priorities.md` — curated priorities (lead-owned)
|
|
17
|
+
- `agent-outputs/` — append-only outputs from non-lead roles
|
|
18
|
+
- `feedback/` — QA findings / feedback
|
|
19
|
+
- `kpis/` — metrics
|
|
20
|
+
- `calendar/` — optional notes
|
|
21
|
+
|
|
22
|
+
Back-compat:
|
|
23
|
+
- `shared/` may exist as a legacy folder. Prefer `shared-context/`.
|
|
24
|
+
|
|
25
|
+
## Curator model
|
|
26
|
+
- **Lead** curates:
|
|
27
|
+
- `notes/plan.md`
|
|
28
|
+
- `shared-context/priorities.md`
|
|
29
|
+
- **Non-lead roles** should not edit curated files.
|
|
30
|
+
- Append instead to `shared-context/agent-outputs/` (or `feedback/`).
|
|
31
|
+
|
|
32
|
+
## Read → Act → Write
|
|
33
|
+
Every role should:
|
|
34
|
+
1) **Read** plan/status + ticket before acting
|
|
35
|
+
2) **Act** (small, safe changes)
|
|
36
|
+
3) **Write back**
|
|
37
|
+
- update ticket
|
|
38
|
+
- add 3–5 bullets to `notes/status.md`
|
|
39
|
+
- append detailed outputs to `shared-context/agent-outputs/`
|
|
40
|
+
|
|
41
|
+
## Migration guidance (existing teams)
|
|
42
|
+
Safe migration:
|
|
43
|
+
1) Create `shared-context/` and starter subdirs.
|
|
44
|
+
2) Add `shared-context/priorities.md` (create-only; do not overwrite).
|
|
45
|
+
3) Update agent instructions to reference shared-context and curator model.
|
|
46
|
+
|
|
47
|
+
No existing files need to be deleted or renamed.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Verify built-in team recipes (scaffold + cron jobs)
|
|
2
|
+
|
|
3
|
+
This checklist verifies that each built-in **team** recipe scaffolds correctly and that any recipe-defined cron jobs reconcile safely.
|
|
4
|
+
|
|
5
|
+
## Prereqs
|
|
6
|
+
- You have OpenClaw installed and `openclaw` is on PATH.
|
|
7
|
+
- Set recipes cron installation behavior in config (safe default is `prompt`).
|
|
8
|
+
- `cronInstallation: prompt` ⇒ asks before installing cron jobs
|
|
9
|
+
- `cronInstallation: on` ⇒ installs cron jobs (enabled state still depends on `enabledByDefault`)
|
|
10
|
+
- `cronInstallation: off` ⇒ skips cron reconciliation
|
|
11
|
+
|
|
12
|
+
## Teams to verify
|
|
13
|
+
- product-team
|
|
14
|
+
- research-team
|
|
15
|
+
- writing-team
|
|
16
|
+
- social-team
|
|
17
|
+
- customer-support-team
|
|
18
|
+
- development-team
|
|
19
|
+
|
|
20
|
+
## Commands
|
|
21
|
+
|
|
22
|
+
### Scaffold each team
|
|
23
|
+
|
|
24
|
+
> Note: `--team-id` must end with `-team`.
|
|
25
|
+
|
|
26
|
+
For each recipe id `<rid>` above:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
openclaw recipes scaffold-team <rid> --team-id <rid>-team --apply-config
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Verify scaffold output
|
|
33
|
+
|
|
34
|
+
For each `~/.openclaw/workspace-<rid>-team/` ensure:
|
|
35
|
+
- `notes/plan.md` exists
|
|
36
|
+
- `notes/status.md` exists
|
|
37
|
+
- `shared-context/priorities.md` exists
|
|
38
|
+
- `shared-context/agent-outputs/` exists
|
|
39
|
+
- `work/backlog/`, `work/in-progress/`, `work/testing/`, `work/done/` exist
|
|
40
|
+
|
|
41
|
+
### Verify cron reconciliation behavior
|
|
42
|
+
|
|
43
|
+
1) With `cronInstallation: prompt`:
|
|
44
|
+
- Re-run scaffold-team and confirm you are prompted.
|
|
45
|
+
- Answer **No** and verify that installed jobs are created **disabled** (or not created, depending on implementation).
|
|
46
|
+
|
|
47
|
+
2) With `cronInstallation: on`:
|
|
48
|
+
- Re-run scaffold-team and verify recipe cron jobs are installed.
|
|
49
|
+
|
|
50
|
+
3) Confirm jobs are listed:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
openclaw cron list
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
4) Optionally force-run a job:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
openclaw cron run <jobId>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## What to record
|
|
63
|
+
- Any recipe that fails to scaffold
|
|
64
|
+
- Any cron job install/update errors
|
|
65
|
+
- Any cron job that runs but fails (include logs / error output)
|