Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions resources/channel-gated-skills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ channel-gated-skills/
```

> **Stable-ready skills** do not belong here. Place them in the always-bundled
> `resources/skills/` directory instead. The build script will error if a
> `resources/bundled/skills/` directory instead. The build script will error if a
> `stable/` directory exists under `channel-gated-skills/`.

## Progressive gating
Expand All @@ -31,7 +31,7 @@ Gating is **progressive**: earlier gates include all skills from later gates.
| `local` | `dogfood` | `dogfood/` + `preview/` |
| `dev` | `dogfood` | `dogfood/` + `preview/` |
| `preview` | `preview` | `preview/` |
| `stable` | — | *(none — use resources/skills/)* |
| `stable` | — | *(none — use resources/bundled/skills/)* |

A skill placed in `preview/` is bundled on **all** non-stable builds
(dogfood, preview). A skill placed in `dogfood/` is bundled on dogfood
Expand Down
6 changes: 3 additions & 3 deletions script/copy_conditional_skills
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Gating is progressive: earlier gates include all skills from later gates.
# For example, a dogfood build includes skills from both dogfood/ and
# preview/. The stable channel has no gate — stable-ready skills belong
# in resources/skills/ (the always-bundled directory).
# in resources/bundled/skills/ (the always-bundled directory).

set -e

Expand All @@ -35,10 +35,10 @@ if [ ! -d "$GATED_SKILLS_SRC" ]; then
fi

# Error out if a stable/ gate directory exists — stable skills should live
# in the always-bundled resources/skills/ directory instead.
# in the always-bundled resources/bundled/skills/ directory instead.
if [ -d "$GATED_SKILLS_SRC/stable" ]; then
echo "Error: found a 'stable/' directory in $GATED_SKILLS_SRC." >&2
echo "The stable channel does not use gated skills. Move stable-ready skills to resources/skills/ (the always-bundled directory) instead." >&2
echo "The stable channel does not use gated skills. Move stable-ready skills to resources/bundled/skills/ (the always-bundled directory) instead." >&2
exit 1
fi

Expand Down
Loading