@seanyao/roll 2026.420.3 → 2026.421.2
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/bin/roll +1 -1
- package/package.json +1 -1
- package/skills/roll-build/SKILL.md +16 -0
- package/skills/roll-release/SKILL.md +24 -9
package/bin/roll
CHANGED
|
@@ -4,7 +4,7 @@ set -euo pipefail
|
|
|
4
4
|
# Roll — AI Agent Convention Manager
|
|
5
5
|
# Single source of truth for how all AI coding agents behave.
|
|
6
6
|
|
|
7
|
-
VERSION="2026.
|
|
7
|
+
VERSION="2026.421.2"
|
|
8
8
|
ROLL_HOME="${ROLL_HOME:-${HOME}/.roll}"
|
|
9
9
|
ROLL_CONFIG="${ROLL_HOME}/config.yaml"
|
|
10
10
|
ROLL_GLOBAL="${ROLL_HOME}/conventions/global"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seanyao/roll",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.421.2",
|
|
4
4
|
"description": "Roll — Roll out features with AI agents",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "find tests/unit tests/integration -name '*.bats' | sort | xargs ./tests/helpers/bats-core/bin/bats"
|
|
@@ -132,6 +132,22 @@ Before any code, assess clarity:
|
|
|
132
132
|
- Follow with 3–5 targeted questions
|
|
133
133
|
- Stop and wait for user answers before proceeding
|
|
134
134
|
|
|
135
|
+
**Approach Confirmation (required for UX / format / automation decisions):**
|
|
136
|
+
|
|
137
|
+
If the request involves any of: output format, layout, automation level (manual vs automatic), or architecture structure — output a confirmation block **before writing any code**:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
📐 Approach Confirmation
|
|
141
|
+
|
|
142
|
+
1. What changes: {what will be built or modified}
|
|
143
|
+
2. The approach: {specific format / automation level / structure chosen}
|
|
144
|
+
3. Files touched: {list of files}
|
|
145
|
+
|
|
146
|
+
Proceeding unless you say otherwise.
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Wait for the user's response before editing files. If the user does not object within one exchange, proceed.
|
|
150
|
+
|
|
135
151
|
**Complexity Rules (AI coding time):**
|
|
136
152
|
|
|
137
153
|
| Level | Scope | Action |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: roll-release
|
|
3
|
-
description: Release skill for roll maintainers. Calculates next version (YYYY.MMDD.N format, auto-increments N from today's git tags), updates VERSION in bin/roll and package.json, commits, tags, and pushes to trigger npm auto-publish via GitHub Actions. Trigger:
|
|
3
|
+
description: "Release skill for roll maintainers. Calculates next version (YYYY.MMDD.N format, auto-increments N from today's git tags), updates VERSION in bin/roll and package.json, commits, tags, and pushes to trigger npm auto-publish via GitHub Actions. Trigger: release, publish, 发版, 发布新版本."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Release (roll-release)
|
|
@@ -9,17 +9,25 @@ One-command publish flow for roll maintainers.
|
|
|
9
9
|
|
|
10
10
|
## Version Format
|
|
11
11
|
|
|
12
|
-
`YYYY.MMDD.N` — e.g. `2026.
|
|
12
|
+
`YYYY.MMDD.N` — e.g. `2026.419.1`
|
|
13
13
|
|
|
14
|
-
- `YYYY.MMDD` = today's date
|
|
14
|
+
- `YYYY.MMDD` = today's date, month has **no leading zero** (e.g. `420` not `0420`)
|
|
15
15
|
- `N` = auto-incremented from existing git tags for today (starts at 1)
|
|
16
16
|
|
|
17
17
|
## Execution Steps
|
|
18
18
|
|
|
19
19
|
### Step 1: Calculate Version
|
|
20
20
|
|
|
21
|
+
First, inspect recent tags to confirm the actual format in use:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
git tag | sort -V | tail -5
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Then calculate:
|
|
28
|
+
|
|
21
29
|
```bash
|
|
22
|
-
today=$(date +%Y
|
|
30
|
+
today=$(date +%Y.%-m%d)
|
|
23
31
|
last_n=$(git tag | grep "^v${today}\." | sed "s/^v${today}\.//" | sort -n | tail -1)
|
|
24
32
|
n=$(( ${last_n:-0} + 1 ))
|
|
25
33
|
version="${today}.${n}"
|
|
@@ -27,7 +35,8 @@ version="${today}.${n}"
|
|
|
27
35
|
|
|
28
36
|
Show the proposed version to the user:
|
|
29
37
|
```
|
|
30
|
-
|
|
38
|
+
Recent tags: v2026.419.1 v2026.419.2 v2026.420.3
|
|
39
|
+
Proposed version: 2026.420.4
|
|
31
40
|
Proceed? [y/N]
|
|
32
41
|
```
|
|
33
42
|
|
|
@@ -61,15 +70,21 @@ git tag "v${version}"
|
|
|
61
70
|
git push && git push --tags
|
|
62
71
|
```
|
|
63
72
|
|
|
64
|
-
|
|
73
|
+
### Step 5: Publish to npm
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
npm publish --access public
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
This will open a browser for 2FA verification. Wait for it to complete before continuing.
|
|
65
80
|
|
|
66
|
-
### Step
|
|
81
|
+
### Step 6: Confirm
|
|
67
82
|
|
|
68
|
-
After
|
|
83
|
+
After publish, show:
|
|
69
84
|
```
|
|
70
85
|
✅ Released v{version}
|
|
71
86
|
🏷 Tag: v{version} pushed to origin
|
|
72
|
-
📦 npm
|
|
87
|
+
📦 npm published: @seanyao/roll@{version}
|
|
73
88
|
🔗 https://www.npmjs.com/package/@seanyao/roll
|
|
74
89
|
```
|
|
75
90
|
|