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
18 changes: 10 additions & 8 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,19 +214,21 @@ python3 scripts/install-global.py

## Troubleshooting

- **Upgrading from `0.2.3` or `0.2.4`:** rerun `init` with version `0.2.5` to
install the corrected Claude skill entry points. Upgrades from `0.2.3` also
install the build linkage guard and Grok adapter, and locally exclude
`.gsd/scheduled_tasks.lock`. Use `install` instead only when repository setup
is not wanted.
- **Upgrading from `0.2.2`:** rerun `init` or `install` with version `0.2.3` so
- **Upgrading from `0.2.5`:** rerun `init` or `install` with version `0.3.0` to
add the interactive discovery workflow and its deterministic map helpers.
- **Upgrading from `0.2.3` or `0.2.4`:** rerun `init` with version `0.3.0` to
install discovery and the corrected Claude skill entry points. Upgrades from
`0.2.3` also install the build linkage guard and Grok adapter, and locally
exclude `.gsd/scheduled_tasks.lock`. Use `install` instead only when
repository setup is not wanted.
- **Upgrading from `0.2.2`:** rerun `init` or `install` with version `0.3.0` so
review outcome synchronization recognizes the repository identity returned
by the `gh` CLI for linked issues.
- **Upgrading from `0.2.1`:** rerun `init` or `install` with version `0.2.3` to
- **Upgrading from `0.2.1`:** rerun `init` or `install` with version `0.3.0` to
add the native Cursor and Gemini adapters. Existing canonical and Claude
installs remain installer-owned and update safely.
- **Upgrading from `0.2.0`:** stop any old `npx ... run build|review`
processes. Version `0.2.3` ignores their `.git/gsd-loop` state; remove that
processes. Version `0.3.0` ignores their `.git/gsd-loop` state; remove that
directory only after confirming no old runner process is active.
- **A skill is not visible:** start a new agent session. Gemini can run
`/skills reload`; Grok can inspect `/skills`; Cursor users should open a new
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opengsd/gsd-loop",
"version": "0.2.5",
"version": "0.3.0",
"description": "Install the gsd-loop Agent Skills for Codex, Claude Code, Cursor, Gemini CLI, Grok Build, and Kimi Code.",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/bin/npm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ "${1:-}" = view ]; then
case "${MOCK_NPM_VIEW_RESULT:-missing}" in
exists)
printf '{"version":"%s","gitHead":"%s"}\n' \
"${MOCK_PACKAGE_VERSION:-0.2.5}" \
"${MOCK_PACKAGE_VERSION:-0.3.0}" \
"${MOCK_NPM_GIT_HEAD:-0123456789abcdef0123456789abcdef01234567}"
;;
missing)
Expand Down
5 changes: 4 additions & 1 deletion tests/npm_package_test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ try {
assert.ok(existsSync(packageRoot), "packed artifact must install as @opengsd/gsd-loop");
const cli = join(packageRoot, "bin", "gsd-loop.mjs");
const metadata = JSON.parse(readFileSync(join(packageRoot, "package.json"), "utf8"));
const lockfile = JSON.parse(readFileSync(join(repositoryRoot, "package-lock.json"), "utf8"));
assert.equal(metadata.name, "@opengsd/gsd-loop");
assert.equal(metadata.version, "0.2.5");
assert.equal(metadata.version, "0.3.0");
assert.equal(lockfile.version, metadata.version);
assert.equal(lockfile.packages[""].version, metadata.version);
const run = (args, options = {}) => command(process.execPath, [cli, ...args], options);

assert.equal(run(["--version"]).stdout.trim(), metadata.version);
Expand Down
10 changes: 5 additions & 5 deletions tests/publish_workflow_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,20 @@ test ! -e "$TEST_ROOT/published.log"

run_publish

EXPECTED_NPM=$(printf 'ci\nview @opengsd/gsd-loop@0.2.5 version gitHead --json\npublish')
EXPECTED_NPM=$(printf 'ci\nview @opengsd/gsd-loop@0.3.0 version gitHead --json\npublish')
test "$(cat "$TEST_ROOT/published.log")" = "$EXPECTED_NPM"
test "$(cat "$TEST_ROOT/release-state")" = v0.2.5
test "$(cat "$TEST_ROOT/release-state")" = v0.3.0
test "$(cat "$TEST_ROOT/release-commit-state")" = "$CURRENT_SHA"
grep -q "^release create v0.2.5 .*--target $CURRENT_SHA .*--generate-notes" "$TEST_ROOT/github.log"
grep -q "^release create v0.3.0 .*--target $CURRENT_SHA .*--generate-notes" "$TEST_ROOT/github.log"

: > "$TEST_ROOT/published.log"
: > "$TEST_ROOT/github.log"
rm "$TEST_ROOT/release-state"
rm "$TEST_ROOT/release-commit-state"
MOCK_NPM_VIEW_RESULT=exists MOCK_NPM_GIT_HEAD=$PUBLISHED_SHA run_publish
EXPECTED_RECOVERY=$(printf 'ci\nview @opengsd/gsd-loop@0.2.5 version gitHead --json')
EXPECTED_RECOVERY=$(printf 'ci\nview @opengsd/gsd-loop@0.3.0 version gitHead --json')
test "$(cat "$TEST_ROOT/published.log")" = "$EXPECTED_RECOVERY"
test "$(cat "$TEST_ROOT/release-state")" = v0.2.5
test "$(cat "$TEST_ROOT/release-state")" = v0.3.0
test "$(cat "$TEST_ROOT/release-commit-state")" = "$PUBLISHED_SHA"

: > "$TEST_ROOT/published.log"
Expand Down
Loading