@sous-io/sous 1.2.2 → 1.3.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/dist/sous.js +134 -134
- package/docs/markdown/_sidebar.md +2 -0
- package/docs/markdown/commands.md +9 -9
- package/docs/markdown/config-inspection.md +1 -1
- package/docs/markdown/config-layers.md +2 -2
- package/docs/markdown/project-recipes.md +2 -2
- package/docs/markdown/repositories-authoring.md +9 -6
- package/docs/markdown/repositories-consuming.md +8 -6
- package/docs/markdown/repositories-contributing.md +11 -14
- package/docs/markdown/repositories-file-formats.md +14 -14
- package/docs/markdown/repositories-providers.md +18 -17
- package/docs/markdown/repositories-quickstart.md +13 -12
- package/docs/markdown/repositories-troubleshooting.md +8 -8
- package/docs/markdown/repositories-variables.md +2 -2
- package/docs/markdown/repositories.md +36 -18
- package/docs/markdown/skill-categories.md +5 -4
- package/package.json +38 -38
- package/recipes/core/sous-skills/skills/about-agent-skills/SKILL.tpl.md +1 -1
- package/recipes/core/sous-skills/skills/about-liquid-templates/SKILL.tpl.md +1 -1
- package/recipes/core/sous-skills/skills/about-sous/SKILL.tpl.md +17 -11
- package/recipes/core/sous-skills/skills/about-sous-configuration/SKILL.tpl.md +8 -1
- package/recipes/core/sous-skills/skills/about-sous-recipes/SKILL.tpl.md +1 -1
- package/recipes/core/sous-skills/skills/about-sous-repos/SKILL.tpl.md +7 -6
- package/recipes/core/sous-skills/skills/create-skill/SKILL.tpl.md +1 -1
- package/recipes/core/sous-skills/sous.recipe.yaml +6 -12
|
@@ -5,7 +5,7 @@ an ordinary git repository holding a few manifest files and some markdown, and s
|
|
|
5
5
|
way a package manager reads a registry: an index says what exists, a project says what it wants,
|
|
6
6
|
and a lockfile records exactly what it got.
|
|
7
7
|
|
|
8
|
-
This page is the map: the vocabulary the system is built from, the
|
|
8
|
+
This page is the map: the vocabulary the system is built from, the two repositories every
|
|
9
9
|
project starts with, how a single build fits them together, and where every file lands on disk.
|
|
10
10
|
The task-oriented guides are listed at the bottom.
|
|
11
11
|
|
|
@@ -66,7 +66,7 @@ contents:
|
|
|
66
66
|
|
|
67
67
|
A recipe is named by a **ref**: `workflow` for a whole namespace, `workflow/task-files` for one
|
|
68
68
|
recipe, `workflow/task-files@^1.2.0` to constrain the version, and
|
|
69
|
-
`
|
|
69
|
+
`the-pantry:workflow/task-files` when two trusted repositories publish the same ref and sous
|
|
70
70
|
needs to be told which one you meant. A one-word ref is a guess at a name, and sous works it out:
|
|
71
71
|
a namespace first, a recipe second, across every repository the project trusts. The full grammar
|
|
72
72
|
is in [Refs: how anything is named](repositories-file-formats.md#refs-how-anything-is-named).
|
|
@@ -99,7 +99,7 @@ questions the target publishes are asked (see [Recipe variables](repositories-va
|
|
|
99
99
|
```yaml
|
|
100
100
|
depends:
|
|
101
101
|
- workflow/qa-helper # a sibling in this repository
|
|
102
|
-
- github://sous-io/
|
|
102
|
+
- github://sous-io/the-pantry/workflow/task-files@^1.0 # one in another repository
|
|
103
103
|
subscribes:
|
|
104
104
|
- quality/code-review
|
|
105
105
|
```
|
|
@@ -161,8 +161,8 @@ every entry is re-fetchable from the pins in some project's lockfile, so deletin
|
|
|
161
161
|
download and nothing else.
|
|
162
162
|
|
|
163
163
|
```text
|
|
164
|
-
~/.sous/cache/github.com/sous-io/
|
|
165
|
-
~/.sous/cache/_indexes/github.com/sous-io/
|
|
164
|
+
~/.sous/cache/github.com/sous-io/the-pantry/workflow/task-files/1.0.3/
|
|
165
|
+
~/.sous/cache/_indexes/github.com/sous-io/the-pantry.json
|
|
166
166
|
```
|
|
167
167
|
|
|
168
168
|
`sous repo gc` collects the store back to a size cap, least recently used first, never evicting
|
|
@@ -230,17 +230,22 @@ variables are not asked, and its pins stay in the committed lockfile. `sous subs
|
|
|
230
230
|
and `sous subscription enable <ref>` switch one off and on for everyone, because they edit the
|
|
231
231
|
committed `conf.d/510-subscriptions.jsonc`.
|
|
232
232
|
|
|
233
|
-
## The
|
|
233
|
+
## The built-in repositories, and core
|
|
234
234
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
Every project trusts two repositories without `sous repo add`:
|
|
236
|
+
|
|
237
|
+
- **`sous`** ([`sous-io/sous`](https://github.com/sous-io/sous)), the sous repository itself. It
|
|
238
|
+
publishes one namespace, `core`, and its one recipe, `core/sous-skills`. It cannot be switched
|
|
239
|
+
off.
|
|
240
|
+
- **`the-pantry`** ([`sous-io/the-pantry`](https://github.com/sous-io/the-pantry)), the official
|
|
241
|
+
recipe repository. Its namespaces are drawn from the canonical [skill categories](skill-categories.md).
|
|
242
|
+
Nothing in it is subscribed until you subscribe to it.
|
|
238
243
|
|
|
239
244
|
`core` is the exception. It holds the skills that teach an agent what sous is, why generated files
|
|
240
245
|
must not be hand-edited and where the source of a managed file lives; without them an agent will
|
|
241
|
-
cheerfully edit a compiled `CLAUDE.md`. So
|
|
242
|
-
|
|
243
|
-
|
|
246
|
+
cheerfully edit a compiled `CLAUDE.md`. So `core` is subscribed in every project, pinned to the
|
|
247
|
+
sous CLI version you are running, and a copy ships inside the package and seeds the store on first
|
|
248
|
+
run, so a fresh install needs no network at all.
|
|
244
249
|
|
|
245
250
|
```term
|
|
246
251
|
$ sous subscription list
|
|
@@ -252,13 +257,26 @@ $ sous subscription list
|
|
|
252
257
|
workflow/qa-helper any version workflow/qa-helper 0.1.0 user yes
|
|
253
258
|
```
|
|
254
259
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
These are ordinary config entries a person could have written by hand:
|
|
261
|
+
|
|
262
|
+
- `subscriptions: { core: { enabled: false } }` is the only way to drop `core`.
|
|
263
|
+
`sous subscription remove core` writes it for you, keeping core's pin in the lockfile, and
|
|
264
|
+
`sous subscription add core` clears it again. See
|
|
265
|
+
[Opt out of `core`](repositories-consuming.md#opt-out-of-core) for what you give up.
|
|
266
|
+
- `repos: { "the-pantry": { enabled: false } }` switches the official recipe repository off.
|
|
267
|
+
- `repos: { sous: { enabled: false } }` is a config error that names the `core` setting above.
|
|
268
|
+
|
|
269
|
+
**Upgrading from `sous-recipes`.** [`sous-recipes`](https://github.com/sous-io/sous-recipes) is no
|
|
270
|
+
longer built in; each of its recipes is retired and names its new home. The first command a project
|
|
271
|
+
runs with sous 1.3.0 or later runs a migration that moves each pin to the same recipe in
|
|
272
|
+
`the-pantry`, at the newest version it publishes (one patch above the last `sous-recipes` version:
|
|
273
|
+
1.4.2 becomes 1.4.3), drops the `core` pin so the next build pins `core` from `sous`, raises an
|
|
274
|
+
exact version in a subscription to the new one (a range that still matches is left alone), and
|
|
275
|
+
adds `repos.the-pantry.enabled: false` beside any `repos.sous-recipes.enabled: false`. It reads
|
|
276
|
+
`the-pantry` once, so it needs the network; see [`sous migrate`](commands.md#sous-migrate).
|
|
259
277
|
|
|
260
278
|
?> Subscribe to a whole namespace when it is one coherent set your team owns end to end. In the
|
|
261
|
-
official repository, prefer subscribing to recipes one at a time, so a recipe published later
|
|
279
|
+
official recipe repository, prefer subscribing to recipes one at a time, so a recipe published later
|
|
262
280
|
does not arrive in your project unasked. `core` is the deliberate exception.
|
|
263
281
|
|
|
264
282
|
## One build, end to end
|
|
@@ -407,4 +425,4 @@ listed it), the error names it:
|
|
|
407
425
|
- [Repository file formats](repositories-file-formats.md): every manifest, index and schema
|
|
408
426
|
- [Command reference](commands.md): every command and flag
|
|
409
427
|
- [Troubleshooting](repositories-troubleshooting.md): what the errors mean and how to clear them
|
|
410
|
-
- [Skill categories](skill-categories.md): the category list the official repository uses
|
|
428
|
+
- [Skill categories](skill-categories.md): the category list the official recipe repository uses
|
|
@@ -34,10 +34,11 @@ vocabulary, on its own, before anything is filed.
|
|
|
34
34
|
|
|
35
35
|
## Categories as namespaces
|
|
36
36
|
|
|
37
|
-
The official repository, [`sous-io/
|
|
38
|
-
this list directly: a namespace in that repository is a category from the table above
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
The official recipe repository, [`sous-io/the-pantry`](https://github.com/sous-io/the-pantry), uses
|
|
38
|
+
this list directly: a namespace in that repository is a category from the table above. The sous
|
|
39
|
+
repository, [`sous-io/sous`](https://github.com/sous-io/sous), publishes one extra namespace, `core`,
|
|
40
|
+
which holds the recipes that teach an agent about sous itself. `core` is not a skill category. It is
|
|
41
|
+
a distribution concern, and it exists because those recipes are
|
|
41
42
|
auto-subscribed in every project rather than chosen from a catalog.
|
|
42
43
|
|
|
43
44
|
Your own repository is under no obligation to use these names. Namespaces are just names, and a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sous-io/sous",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Compiles AI coding agent configuration (CLAUDE.md, skills, memories) from LiquidJS templates",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,49 +39,49 @@
|
|
|
39
39
|
"sous.config.schema.json"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sous-io/sous-plugin-api": "1.
|
|
42
|
+
"@sous-io/sous-plugin-api": "1.3.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"esbuild": "^0.27.4",
|
|
46
46
|
"jsonc-parser": "^3.3.1",
|
|
47
47
|
"yaml": "^2.9.0",
|
|
48
48
|
"zod": "^4.4.3",
|
|
49
|
-
"@sous-io/sous-lib-
|
|
50
|
-
"@sous-io/sous-plugin-authoring": "1.
|
|
51
|
-
"@sous-io/sous-
|
|
52
|
-
"@sous-io/sous-plugin-claude-code": "1.
|
|
53
|
-
"@sous-io/sous-
|
|
54
|
-
"@sous-io/sous-plugin-cli": "1.
|
|
55
|
-
"@sous-io/sous-plugin-
|
|
56
|
-
"@sous-io/sous-plugin-
|
|
57
|
-
"@sous-io/sous-plugin-
|
|
58
|
-
"@sous-io/sous-plugin-
|
|
59
|
-
"@sous-io/sous-plugin-formats": "1.
|
|
60
|
-
"@sous-io/sous-plugin-
|
|
61
|
-
"@sous-io/sous-plugin-
|
|
62
|
-
"@sous-io/sous-plugin-gitlab": "1.
|
|
63
|
-
"@sous-io/sous-plugin-harnesses": "1.
|
|
64
|
-
"@sous-io/sous-plugin-host": "1.
|
|
65
|
-
"@sous-io/sous-plugin-
|
|
66
|
-
"@sous-io/sous-plugin-
|
|
67
|
-
"@sous-io/sous-plugin-
|
|
68
|
-
"@sous-io/sous-plugin-
|
|
69
|
-
"@sous-io/sous-plugin-mcp": "1.
|
|
70
|
-
"@sous-io/sous-plugin-
|
|
71
|
-
"@sous-io/sous-plugin-
|
|
72
|
-
"@sous-io/sous-plugin-
|
|
73
|
-
"@sous-io/sous-plugin-
|
|
74
|
-
"@sous-io/sous-plugin-
|
|
75
|
-
"@sous-io/sous-plugin-
|
|
76
|
-
"@sous-io/sous-plugin-update": "1.
|
|
77
|
-
"@sous-io/sous-plugin-
|
|
78
|
-
"@sous-io/sous-plugin-
|
|
79
|
-
"@sous-io/sous-plugin-
|
|
80
|
-
"@sous-io/sous-plugin-
|
|
81
|
-
"@sous-io/sous-plugin-
|
|
82
|
-
"@sous-io/sous-plugin-
|
|
83
|
-
"@sous-io/sous-plugin-codex": "1.
|
|
84
|
-
"@sous-io/sous-plugin-
|
|
49
|
+
"@sous-io/sous-lib-documents": "1.3.1",
|
|
50
|
+
"@sous-io/sous-plugin-authoring": "1.3.1",
|
|
51
|
+
"@sous-io/sous-lib-core": "1.3.1",
|
|
52
|
+
"@sous-io/sous-plugin-claude-code": "1.3.1",
|
|
53
|
+
"@sous-io/sous-plugin-build": "1.3.1",
|
|
54
|
+
"@sous-io/sous-plugin-cli": "1.3.1",
|
|
55
|
+
"@sous-io/sous-plugin-config-files": "1.3.1",
|
|
56
|
+
"@sous-io/sous-plugin-confd": "1.3.1",
|
|
57
|
+
"@sous-io/sous-plugin-compiler": "1.3.1",
|
|
58
|
+
"@sous-io/sous-plugin-expressions": "1.3.1",
|
|
59
|
+
"@sous-io/sous-plugin-formats": "1.3.1",
|
|
60
|
+
"@sous-io/sous-plugin-github": "1.3.1",
|
|
61
|
+
"@sous-io/sous-plugin-git": "1.3.1",
|
|
62
|
+
"@sous-io/sous-plugin-gitlab": "1.3.1",
|
|
63
|
+
"@sous-io/sous-plugin-harnesses": "1.3.1",
|
|
64
|
+
"@sous-io/sous-plugin-host": "1.3.1",
|
|
65
|
+
"@sous-io/sous-plugin-init": "1.3.1",
|
|
66
|
+
"@sous-io/sous-plugin-inspect": "1.3.1",
|
|
67
|
+
"@sous-io/sous-plugin-local": "1.3.1",
|
|
68
|
+
"@sous-io/sous-plugin-liquid": "1.3.1",
|
|
69
|
+
"@sous-io/sous-plugin-mcp": "1.3.1",
|
|
70
|
+
"@sous-io/sous-plugin-npm": "1.3.1",
|
|
71
|
+
"@sous-io/sous-plugin-memories": "1.3.1",
|
|
72
|
+
"@sous-io/sous-plugin-recipe-answers": "1.3.1",
|
|
73
|
+
"@sous-io/sous-plugin-pnpm": "1.3.1",
|
|
74
|
+
"@sous-io/sous-plugin-recipes": "1.3.1",
|
|
75
|
+
"@sous-io/sous-plugin-refs": "1.3.1",
|
|
76
|
+
"@sous-io/sous-plugin-update": "1.3.1",
|
|
77
|
+
"@sous-io/sous-plugin-skills": "1.3.1",
|
|
78
|
+
"@sous-io/sous-plugin-yarn": "1.3.1",
|
|
79
|
+
"@sous-io/sous-plugin-variables": "1.3.1",
|
|
80
|
+
"@sous-io/sous-plugin-handlers": "1.3.1",
|
|
81
|
+
"@sous-io/sous-plugin-migrations": "1.3.1",
|
|
82
|
+
"@sous-io/sous-plugin-doctor": "1.3.1",
|
|
83
|
+
"@sous-io/sous-plugin-codex": "1.3.1",
|
|
84
|
+
"@sous-io/sous-plugin-editor": "1.3.1"
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=22"
|
|
@@ -246,6 +246,6 @@ build input; a change to a recipe goes upstream through `sous repo contribute`.
|
|
|
246
246
|
|
|
247
247
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
248
248
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
249
|
-
change it, propose the change to `sous-io/sous`, under
|
|
249
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
250
250
|
|
|
251
251
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -322,6 +322,6 @@ The following variables are in scope at compile time in this project (secrets sh
|
|
|
322
322
|
|
|
323
323
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
324
324
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
325
|
-
change it, propose the change to `sous-io/sous`, under
|
|
325
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
326
326
|
|
|
327
327
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -90,20 +90,26 @@ config (`sous.config.*`, `conf.d/` layers), defining or debugging config variabl
|
|
|
90
90
|
diagnosing a ConfigError.
|
|
91
91
|
|
|
92
92
|
YOU MUST load `about-sous-repos` when working inside a recipe repository (one with a
|
|
93
|
-
`sous.repo.yaml` at its root), and `about-sous-recipes` when creating or changing a recipe.
|
|
93
|
+
`sous.repo.yaml` at its root or in `.sous/`), and `about-sous-recipes` when creating or changing a recipe.
|
|
94
94
|
|
|
95
95
|
## Sous's Shared Recipes
|
|
96
96
|
|
|
97
97
|
The `about-sous`, `about-sous-configuration`, `about-agent-skills` and
|
|
98
|
-
`about-liquid-templates` skills you are reading come from the `core/sous-skills` recipe,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
project; that copy is build output and is overwritten
|
|
98
|
+
`about-liquid-templates` skills you are reading come from the `core/sous-skills` recipe, which
|
|
99
|
+
the sous repository (https://github.com/sous-io/sous) publishes itself, as the built-in
|
|
100
|
+
repository `sous`. Every project trusts it and subscribes to `core`; it cannot be switched off,
|
|
101
|
+
and `subscriptions: { core: { enabled: false } }` is the only way to drop `core`. A copy of the
|
|
102
|
+
recipe also ships inside the installed sous package, where it seeds the machine-wide store so a
|
|
103
|
+
fresh, offline install still has these skills.
|
|
104
|
+
|
|
105
|
+
Their source is in that repository, under `.sous/recipes/core/sous-skills/`. Never edit a
|
|
106
|
+
compiled copy of them inside a consuming project; that copy is build output and is overwritten
|
|
107
|
+
on the next sous run.
|
|
108
|
+
|
|
109
|
+
Every other shared recipe sous offers comes from the official recipe repository, `the-pantry`
|
|
110
|
+
(https://github.com/sous-io/the-pantry), which every project also trusts; nothing in it is
|
|
111
|
+
subscribed until the project subscribes to it, and `repos: { "the-pantry": { enabled: false } }`
|
|
112
|
+
switches it off.
|
|
107
113
|
|
|
108
114
|
## Trust and Activation
|
|
109
115
|
|
|
@@ -164,6 +170,6 @@ far.
|
|
|
164
170
|
|
|
165
171
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
166
172
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
167
|
-
change it, propose the change to `sous-io/sous`, under
|
|
173
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
168
174
|
|
|
169
175
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -78,6 +78,13 @@ prefer the on-disk copies.
|
|
|
78
78
|
`projectRecipes.exclude` (`string[] = []`) leaves some out by namespace, `namespace/recipe` key,
|
|
79
79
|
glob or `/regex/`. The repository name `project` is reserved for them, so `repos.project` is an
|
|
80
80
|
error. See `{{ sousRootPath }}/docs/markdown/project-recipes.md`.
|
|
81
|
+
- `repos` holds the repositories the project trusts. Two are built in and need no entry: `sous`
|
|
82
|
+
(https://github.com/sous-io/sous, which publishes `core`) and `the-pantry`
|
|
83
|
+
(https://github.com/sous-io/the-pantry, the official recipe repository).
|
|
84
|
+
`repos: { "the-pantry": { enabled: false } }` switches the official one off. The `sous`
|
|
85
|
+
repository cannot be switched off (`repos.sous.enabled: false` is an error); to stop using
|
|
86
|
+
`core`, write `subscriptions: { core: { enabled: false } }`. An entry holding only
|
|
87
|
+
`enabled: false` needs no `url`.
|
|
81
88
|
- A target in `compilation.targets` wins over a plugin's or a recipe's target that would write
|
|
82
89
|
the same file. A project that compiles its own memories file replaces the one the Claude Code
|
|
83
90
|
plugin builds (`.claude/rules/SOUS-MEMORIES.md`, from `.sous/MEMORIES.tpl.md`; the config
|
|
@@ -106,6 +113,6 @@ prefer the on-disk copies.
|
|
|
106
113
|
|
|
107
114
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
108
115
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
109
|
-
change it, propose the change to `sous-io/sous`, under
|
|
116
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
110
117
|
|
|
111
118
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -302,6 +302,6 @@ example, a partial holding
|
|
|
302
302
|
|
|
303
303
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
304
304
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
305
|
-
change it, propose the change to `sous-io/sous`, under
|
|
305
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
306
306
|
|
|
307
307
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -26,7 +26,7 @@ work on the repository itself (`sous repo release`, `sous repo submit`) run from
|
|
|
26
26
|
and find its root by walking up to the first directory holding a repo manifest, not through that
|
|
27
27
|
config.
|
|
28
28
|
|
|
29
|
-
Everything here holds for every recipe repository, the official `sous-io/
|
|
29
|
+
Everything here holds for every recipe repository, the official `sous-io/the-pantry` included.
|
|
30
30
|
For one recipe (its manifest, version, variables, contents and dependencies), YOU MUST load
|
|
31
31
|
`about-sous-recipes`.
|
|
32
32
|
|
|
@@ -244,10 +244,11 @@ yet, then unlinks with `--update`.
|
|
|
244
244
|
`sous repo init [dir]` writes a new recipe repository into the directory (the current one by
|
|
245
245
|
default): the repo manifest (no index; the first release records the published data in it), one
|
|
246
246
|
example recipe with its manifest and a placeholder skill, a README, `CONTRIBUTING.md` for agents,
|
|
247
|
-
the release workflow and a block in `.gitignore
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
`
|
|
247
|
+
the release workflow, and a block in `.gitignore` and in `.gitattributes` (`* text=auto eol=lf`:
|
|
248
|
+
sous hashes recipe files byte for byte, so a CRLF checkout would change every hash). It NEVER
|
|
249
|
+
replaces a file that exists: an existing file is left as it is and named in a note, and
|
|
250
|
+
`.gitignore` and `.gitattributes` gain a block between sous's marker comments. `--overwrite` replaces existing files; `--force` is `--yes`, not overwrite.
|
|
251
|
+
`sous-io/the-pantry` is the model a scaffold follows: a new repository is as complete as it, minus
|
|
251
252
|
its recipes. It does not run git: run `git init`, commit, and add a remote before the first release,
|
|
252
253
|
because `sous repo release` reads and writes tags. Every new recipe folder is then covered by
|
|
253
254
|
`recipes` in `sous.repo.yaml`, by its own path or by a glob pattern.
|
|
@@ -271,6 +272,6 @@ says so. `--in-sous-directory` writes the manifest into `.sous/`, where sous als
|
|
|
271
272
|
|
|
272
273
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
273
274
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
274
|
-
change it, propose the change to `sous-io/sous`, under
|
|
275
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
275
276
|
|
|
276
277
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -111,6 +111,6 @@ load `about-liquid-templates` if any file in your skill needs `.tpl.` processing
|
|
|
111
111
|
|
|
112
112
|
This skill comes from the `core/sous-skills` recipe, installed by sous from a recipe
|
|
113
113
|
repository. It was compiled from a template, so edit the source, never this output file. To
|
|
114
|
-
change it, propose the change to `sous-io/sous`, under
|
|
114
|
+
change it, propose the change to `sous-io/sous`, under `.sous/recipes/core/sous-skills/`.
|
|
115
115
|
|
|
116
116
|
- Source Path: {{ sousTemplatePath }}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# core/sous-skills
|
|
2
2
|
#
|
|
3
|
-
# SPECIAL: this recipe
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
# application version
|
|
3
|
+
# SPECIAL: this recipe is published from the sous repository itself (tags only),
|
|
4
|
+
# and a copy ships inside the sous npm package, where it seeds the machine-wide
|
|
5
|
+
# store on first run so a fresh, offline setup works. Its version is always the
|
|
6
|
+
# sous application version: `pnpm version:sync` writes it, and the release
|
|
7
|
+
# pipeline tags it.
|
|
7
8
|
#
|
|
8
9
|
# Because it is the offline seed, this recipe declares NO dependencies. Nothing
|
|
9
10
|
# it ships may point at a recipe that has to be fetched.
|
|
@@ -11,7 +12,7 @@ formatVersion: 1
|
|
|
11
12
|
|
|
12
13
|
namespace: core
|
|
13
14
|
name: sous-skills
|
|
14
|
-
version: 1.
|
|
15
|
+
version: 1.3.1
|
|
15
16
|
|
|
16
17
|
description: >-
|
|
17
18
|
The skills that teach an agent what sous is and how it works: which files sous
|
|
@@ -19,13 +20,6 @@ description: >-
|
|
|
19
20
|
debugged, the .tpl. template convention and LiquidJS syntax, what an agent
|
|
20
21
|
skill is and how to create one, and how a recipe repository and a recipe work.
|
|
21
22
|
|
|
22
|
-
# The copy in sous-io/sous-recipes is overwritten by every sous release, so a
|
|
23
|
-
# change proposed there would be lost, and a version it tagged would collide
|
|
24
|
-
# with the one the release publishes.
|
|
25
|
-
submissions:
|
|
26
|
-
allowed: false
|
|
27
|
-
instead: Propose changes in sous-io/sous, under recipes/core/sous-skills/.
|
|
28
|
-
|
|
29
23
|
contents:
|
|
30
24
|
- kind: skills
|
|
31
25
|
include:
|