@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.
@@ -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)