diff --git a/.rabbit/context.yaml b/.rabbit/context.yaml index 0e7b86d..5e115c3 100644 --- a/.rabbit/context.yaml +++ b/.rabbit/context.yaml @@ -4,14 +4,14 @@ kind: repoContext version: udx.dev/dev.kit/v1 generator: tool: dev.kit - repo: https://github.com/udx/dev.kit - version: 0.20.1 - generated_at: 2026-07-10T09:48:47Z + repo: https://github.com/udx/rabbit-repo + version: 0.20.2 + generated_at: 2026-07-28T16:16:21Z sources: homepage: https://udx.dev/kit - repository: https://github.com/udx/dev.kit + repository: https://github.com/udx/rabbit-repo package: https://www.npmjs.com/package/@udx/dev-kit - installation: https://github.com/udx/dev.kit/blob/latest/docs/installation.md + installation: https://github.com/udx/rabbit-repo/blob/latest/docs/installation.md repo: name: dev.kit diff --git a/README.md b/README.md index 116cc0e..c77e8d3 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ npm install -g @udx/dev-kit ``` ```bash -curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/udx/rabbit-repo/latest/bin/scripts/install.sh | bash ``` ## Quick start diff --git a/bin/scripts/install.sh b/bin/scripts/install.sh index fbf2376..c9b92a7 100755 --- a/bin/scripts/install.sh +++ b/bin/scripts/install.sh @@ -3,7 +3,7 @@ set -euo pipefail DEV_KIT_BIN_DIR="${DEV_KIT_BIN_DIR:-$HOME/.local/bin}" DEV_KIT_HOME="${DEV_KIT_HOME:-$HOME/.udx/dev.kit}" -DEV_KIT_INSTALL_REPO="${DEV_KIT_INSTALL_REPO:-udx/dev.kit}" +DEV_KIT_INSTALL_REPO="${DEV_KIT_INSTALL_REPO:-udx/rabbit-repo}" DEV_KIT_INSTALL_REF="${DEV_KIT_INSTALL_REF:-latest}" DEV_KIT_INSTALL_ARCHIVE_URL="${DEV_KIT_INSTALL_ARCHIVE_URL:-https://codeload.github.com/${DEV_KIT_INSTALL_REPO}/tar.gz/refs/heads/${DEV_KIT_INSTALL_REF}}" diff --git a/changes.md b/changes.md index 6c824ca..d9ec751 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,9 @@ # Changes +### 0.20.2 + +- Rename the public source repository from `udx/dev.kit` to `udx/rabbit-repo`, reflecting Rabbit CI's repository-enablement role through `.rabbit/` and generated context while keeping the `dev.kit` CLI/package surfaces stable. + ### 0.20.1 - Keep declared root YAML contract discovery aligned with repo file filtering so gitignored local/private YAML is not promoted into generated context. diff --git a/docs/installation.md b/docs/installation.md index d36b68c..27dd7ca 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -3,7 +3,7 @@ `dev.kit` supports two install paths: - `npm install -g @udx/dev-kit` -- `curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash` +- `curl -fsSL https://raw.githubusercontent.com/udx/rabbit-repo/latest/bin/scripts/install.sh | bash` Whichever path you use last becomes the active install. The installer cleans up the other path first so one install owns `dev.kit` at a time. @@ -24,7 +24,7 @@ Refresh `dev.kit` with the same install path you use already: npm install -g @udx/dev-kit # curl-managed install -curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/udx/rabbit-repo/latest/bin/scripts/install.sh | bash ``` The generated `.rabbit/context.yaml` contract assumes a current `dev.kit` install before you regenerate repo context. @@ -44,7 +44,7 @@ This is the default path. Use curl when npm is not available or not desired: ```bash -curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash +curl -fsSL https://raw.githubusercontent.com/udx/rabbit-repo/latest/bin/scripts/install.sh | bash ``` The curl installer creates: diff --git a/lib/modules/repo_factors.sh b/lib/modules/repo_factors.sh index 0b642d7..e78085f 100644 --- a/lib/modules/repo_factors.sh +++ b/lib/modules/repo_factors.sh @@ -737,7 +737,7 @@ dev_kit_repo_prefers_internal_references() { repo_slug="$(dev_kit_repo_current_slug "$repo_dir" "$repo_name" 2>/dev/null || true)" real_repo_dir="$(cd "$repo_dir" 2>/dev/null && pwd || true)" - [ "$real_repo_dir" = "$REPO_DIR" ] || { [ "$repo_slug" = "udx/dev.kit" ] && [ "$repo_name" = "dev.kit" ]; } + [ "$real_repo_dir" = "$REPO_DIR" ] || { [ "$repo_slug" = "udx/rabbit-repo" ] && [ "$repo_name" = "dev.kit" ]; } } dev_kit_repo_reference_doc_default() { diff --git a/lib/modules/repo_scaffold.sh b/lib/modules/repo_scaffold.sh index b2f50ab..bcced8c 100644 --- a/lib/modules/repo_scaffold.sh +++ b/lib/modules/repo_scaffold.sh @@ -805,14 +805,14 @@ dev_kit_context_yaml_write() { printf 'version: %s\n' "$(dev_kit_version_uri)" printf 'generator:\n' printf ' tool: dev.kit\n' - printf ' repo: https://github.com/udx/dev.kit\n' + printf ' repo: https://github.com/udx/rabbit-repo\n' printf ' version: %s\n' "$(dev_kit_tool_version)" printf ' generated_at: %s\n' "$(date -u +"%Y-%m-%dT%H:%M:%SZ")" printf ' sources:\n' printf ' homepage: https://udx.dev/kit\n' - printf ' repository: https://github.com/udx/dev.kit\n' + printf ' repository: https://github.com/udx/rabbit-repo\n' printf ' package: https://www.npmjs.com/package/@udx/dev-kit\n' - printf ' installation: https://github.com/udx/dev.kit/blob/latest/docs/installation.md\n\n' + printf ' installation: https://github.com/udx/rabbit-repo/blob/latest/docs/installation.md\n\n' printf 'repo:\n' printf ' name: %s\n' "$_repo" diff --git a/package-lock.json b/package-lock.json index 7e95bda..072d867 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@udx/dev-kit", - "version": "0.20.1", + "version": "0.20.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@udx/dev-kit", - "version": "0.20.1", + "version": "0.20.2", "license": "MIT", "bin": { "dev-kit": "bin/dev-kit", diff --git a/package.json b/package.json index 49af2ed..370d8f0 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "@udx/dev-kit", - "version": "0.20.1", + "version": "0.20.2", "description": "Context-driven engineering toolkit for AI agents and developers", "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/udx/dev.kit.git" + "url": "https://github.com/udx/rabbit-repo.git" }, - "homepage": "https://github.com/udx/dev.kit", - "bugs": "https://github.com/udx/dev.kit/issues", + "homepage": "https://github.com/udx/rabbit-repo", + "bugs": "https://github.com/udx/rabbit-repo/issues", "scripts": { "postinstall": "if [ \"$npm_config_global\" = \"true\" ]; then bash bin/scripts/npm-postinstall.sh || true; fi" }, diff --git a/src/configs/repo-validation.yaml b/src/configs/repo-validation.yaml index b7dcc53..ca3d81c 100644 --- a/src/configs/repo-validation.yaml +++ b/src/configs/repo-validation.yaml @@ -25,5 +25,5 @@ config: repo: udx/github-rabbit-action purpose: action, docs, and workflow context mix dev_kit: - repo: udx/dev.kit + repo: udx/rabbit-repo purpose: self-hosting sanity check diff --git a/tests/suite.sh b/tests/suite.sh index 666e675..ece346d 100644 --- a/tests/suite.sh +++ b/tests/suite.sh @@ -215,8 +215,8 @@ if should_run_explicit "repo-contract"; then ' "$REPO_DIR/.rabbit/context.yaml" )" - assert_not_contains "$self_repo_json" "\"repo\": \"udx/dev.kit\"" "repo contract: omits self dependency contracts" - assert_not_contains "$self_context_yaml" "source_repo: udx/dev.kit" "repo contract: omits self source repo provenance" + assert_not_contains "$self_repo_json" "\"repo\": \"udx/rabbit-repo\"" "repo contract: omits self dependency contracts" + assert_not_contains "$self_context_yaml" "source_repo: udx/rabbit-repo" "repo contract: omits self source repo provenance" assert_not_contains "$repo_validation_manifest" "source_repo: udx/worker" "repo contract: does not treat probe repo values as manifest source repo" assert_not_contains "$self_context_yaml" ".rabbit/dev.kit/" "repo contract: excludes generated rabbit evidence" assert_not_contains "$self_context_yaml" ".rabbit/context.yaml.tmp." "repo contract: excludes context temp files from evidence" @@ -440,8 +440,8 @@ if should_run "core"; then flag { print } ' "$REPO_DIR/.rabbit/context.yaml" )" - assert_not_contains "$self_repo_json" "\"repo\": \"udx/dev.kit\"" "repo: omits self dependency contracts" - assert_not_contains "$self_context_yaml" "source_repo: udx/dev.kit" "repo: omits self source repo provenance" + assert_not_contains "$self_repo_json" "\"repo\": \"udx/rabbit-repo\"" "repo: omits self dependency contracts" + assert_not_contains "$self_context_yaml" "source_repo: udx/rabbit-repo" "repo: omits self source repo provenance" assert_not_contains "$repo_validation_manifest" "source_repo: udx/worker" "repo: does not treat probe repo values as manifest source repo" assert_not_contains "$self_context_yaml" ".rabbit/dev.kit/" "repo: excludes generated rabbit evidence" assert_not_contains "$self_context_yaml" ".rabbit/context.yaml.tmp." "repo: excludes context temp files from evidence" @@ -460,11 +460,11 @@ if should_run "core"; then assert_contains "$(cat "$context_yaml")" "kind: repoContext" "repo: context.yaml has kind header" assert_contains "$(cat "$context_yaml")" "generator:" "repo: context.yaml has generator metadata" assert_contains "$(cat "$context_yaml")" "tool: dev.kit" "repo: context.yaml records generator tool" - assert_contains "$(cat "$context_yaml")" "repo: https://github.com/udx/dev.kit" "repo: context.yaml records generator repo" + assert_contains "$(cat "$context_yaml")" "repo: https://github.com/udx/rabbit-repo" "repo: context.yaml records generator repo" assert_contains "$(cat "$context_yaml")" "sources:" "repo: context.yaml records generator source refs" assert_contains "$(cat "$context_yaml")" "homepage: https://udx.dev/kit" "repo: context.yaml records dev.kit homepage" assert_contains "$(cat "$context_yaml")" "package: https://www.npmjs.com/package/@udx/dev-kit" "repo: context.yaml records package source" - assert_contains "$(cat "$context_yaml")" "installation: https://github.com/udx/dev.kit/blob/latest/docs/installation.md" "repo: context.yaml records installation guide" + assert_contains "$(cat "$context_yaml")" "installation: https://github.com/udx/rabbit-repo/blob/latest/docs/installation.md" "repo: context.yaml records installation guide" assert_contains "$(cat "$context_yaml")" "generated_at:" "repo: context.yaml records generated timestamp" assert_not_contains "$(cat "$context_yaml")" "/Users/" "repo: context.yaml has no absolute paths" assert_not_contains "$(cat "$context_yaml")" "/private/" "repo: context.yaml has no private temp paths"