@sassywares/skills 0.17.1 → 0.17.3

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 (36) hide show
  1. package/README.md +28 -6
  2. package/package.json +1 -1
  3. package/skills/sassy-babysit/SKILL.md +2 -2
  4. package/skills/sassy-dogfood/SKILL.md +11 -8
  5. package/skills/sassy-dogfood/references/check.md +5 -3
  6. package/skills/sassy-dogfood/references/discover.md +23 -12
  7. package/skills/sassy-dogfood/references/run.md +91 -17
  8. package/skills/sassy-setup/SKILL.md +5 -5
  9. package/skills/sassy-setup/assets/dogfood-recipe.md +19 -5
  10. package/skills/sassy-setup/references/anchors.md +1 -1
  11. package/skills/sassy-setup/references/branching.md +1 -1
  12. package/skills/sassy-setup/references/check.md +1 -1
  13. package/skills/sassy-setup/references/config.md +66 -14
  14. package/skills/sassy-setup/references/dogfood.md +181 -40
  15. package/skills/sassy-setup/references/harness.md +1 -1
  16. package/skills/sassy-setup/references/init.md +6 -4
  17. package/skills/sassy-setup/references/plan-resolution.md +1 -1
  18. package/skills/sassy-setup/references/scaffold-header.md +9 -2
  19. package/skills/sassy-setup/references/workspace.md +63 -1
  20. package/skills/sassy-setup/references/worktree.md +1 -1
  21. package/skills/sassy-setup/scripts/detect.sh +49 -1982
  22. package/skills/sassy-setup/scripts/hash-skill.mjs +1 -1
  23. package/skills/sassy-setup/scripts/lib/agents-md.sh +513 -0
  24. package/skills/sassy-setup/scripts/lib/branch.sh +200 -0
  25. package/skills/sassy-setup/scripts/lib/check.sh +940 -0
  26. package/skills/sassy-setup/scripts/lib/common.sh +128 -0
  27. package/skills/sassy-setup/scripts/lib/proposal.sh +248 -0
  28. package/skills/sassy-setup/scripts/lib/sync.sh +43 -0
  29. package/skills/sassy-setup/scripts/lib/worktree.sh +57 -0
  30. package/skills/sassy-setup/scripts/lib/yaml.sh +273 -0
  31. package/skills/sassy-setup/scripts/lockcheck.mjs +1 -1
  32. package/skills/sassy-setup/scripts/worktree-check.mjs +1 -1
  33. package/skills/sassy-ship/SKILL.md +4 -4
  34. package/skills/sassy-ship/references/brief.md +1 -1
  35. package/skills/sassy-ship/references/plan.md +1 -1
  36. package/skills/sassy-ship/references/slice.md +1 -1
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: reference
4
- generated_by: sassy-setup@0.17.0
4
+ generated_by: sassy-setup@0.17.3
5
5
  ---
6
6
 
7
7
  # Workspace install
@@ -67,6 +67,68 @@ and asked about. Where it goes is the one place a workspace differs:
67
67
  own file: setup leaves it uncommitted, says so in the report, and never sweeps it
68
68
  into a sync.
69
69
 
70
+ ## Dogfood: one recipe per repo
71
+
72
+ The dogfood block is a workspace's, like every other key: it lives in the one
73
+ `.sassywares/config.yaml` at the root. What changes is the recipe, because a
74
+ procedure is written against a product and a workspace holds several.
75
+
76
+ ```yaml
77
+ dogfood:
78
+ enabled: true
79
+ recipes:
80
+ web: docs/dogfood/web.md # the browser flow
81
+ api: docs/dogfood/api.md # the request flow
82
+ infra: false # deliberately not dogfooded
83
+ ```
84
+
85
+ - **One file per repo, at the root's `docs/dogfood/<repo>.md`.** Not inside the
86
+ repo: the root is where the config, the plans, and the glossary already are,
87
+ and a recipe per repo inside each repo is a second document set with its own
88
+ review story. The name is the repo folder, so `<repo>` is the key in `repos:`
89
+ and the map needs no second inventory.
90
+ - **Keyed by `repos:`.** `web` above is the folder, so a key naming no repo is a
91
+ hard error: it points at a procedure nothing can run. A repo with no entry is
92
+ one `--check` note naming it and the check still exits 0 — most repos in a
93
+ workspace are never dogfooded, and demanding a file per repo would make every
94
+ repo a chore.
95
+ - **`false` records the decision.** A repo that is deliberately off says so,
96
+ which is why it is not the same as an omission: deleting the entry erases the
97
+ only record that the question was asked. `false` prints
98
+ `dogfood.recipes.<repo>: false (deliberately not dogfooded)` and is never drift.
99
+ - **Never a `recipe:` alongside it.** One combined recipe is the shape this
100
+ replaces, and an agent dogfooding one repo must not read every other repo's
101
+ prerequisites. `--check` reports a workspace `recipe:` as drift while
102
+ `dogfood.enabled: true` — a note, exit 0, while it is `false` — naming each
103
+ repo's `docs/dogfood/<repo>.md`, the `recipes:` map to write, and the `recipe:`
104
+ line to replace. It prints no command: the suite never moves, copies, or
105
+ deletes the project's file, and the combined file stays until the reader says
106
+ every section is distributed.
107
+ - **A pre-P1 file gets the split too.** A workspace still holding
108
+ `.sassywares/dogfood/recipe.md` with no `recipe:` key is stopped the same way —
109
+ drift while `enabled` is `true`, a note while it is `false` — naming that file,
110
+ each repo's `docs/dogfood/<repo>.md`, and the `recipes:` map. The single-file
111
+ move a repo topology is told is wrong here: it would restore one combined
112
+ recipe. Once the `recipes:` map is written the leftover file is a **note, not a
113
+ stop**, whatever `enabled` says: the split is under way, so keep it until every
114
+ section is distributed and delete it yourself. The reader decides which
115
+ sections belong to which repo, and no command copies or deletes the old file.
116
+ - **Never a per-repo config.** A nested repo does not get its own
117
+ `.sassywares/config.yaml`; the root's map is the only place the dogfood keys
118
+ live, and the run passes the repo it is proving.
119
+
120
+ **What a run writes.** One directory per repo it ran, at
121
+ `reports/<repo>/<run-id>/` under `dogfood.reports` — never a workspace-level
122
+ report and never a merged summary, so which repo a run belonged to is readable
123
+ from the path. `dogfood.keep` caps each `reports/<repo>/` bucket by itself;
124
+ `--check` reports an over-quota bucket per repo and never a repo that is not
125
+ dogfooded. What a run covers, and the rollup it prints, are `sassy-dogfood`'s
126
+ `references/run.md` §1 and §7.
127
+
128
+ `--sync --write` keeps the map as written: every entry the check accepts is
129
+ carried through byte for byte, including `false`, so a valid map is never
130
+ replaced by the commented example the template carries.
131
+
70
132
  ## Script aliases (optional)
71
133
 
72
134
  The scripts are executable and tracked, so the whole contract is the path itself:
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  suite: sassy-skills
3
3
  artifact: reference
4
- generated_by: sassy-setup@0.17.0
4
+ generated_by: sassy-setup@0.17.3
5
5
  ---
6
6
 
7
7
  # Worktrees