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
2 changes: 1 addition & 1 deletion .github/workflows/context7-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Context7 Sync

on:
push:
branches: [main]
branches: [latest]
workflow_dispatch:

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-release-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
release:
uses: udx/reusable-workflows/.github/workflows/npm-release-ops.yml@master
with:
release_branch: main
release_branch: latest
enable_gh_release: true
dist_dir: "."
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ dependencies:
npm install -g @udx/dev-kit

# or curl
curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/main/bin/scripts/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/udx/dev.kit/latest/bin/scripts/install.sh | bash
```

---
Expand Down
2 changes: 1 addition & 1 deletion bin/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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_REF="${DEV_KIT_INSTALL_REF:-main}"
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}}"
DEV_KIT_INSTALL_SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DEV_KIT_INSTALL_REPO_DIR="$(cd "${DEV_KIT_INSTALL_SCRIPT_DIR}/../.." 2>/dev/null && pwd || true)"
Expand Down
9 changes: 8 additions & 1 deletion changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changes

### 0.6.0

- Switch default branch from `main` to `latest` so `npm create` tags align with the branch name
- Update all workflow triggers, release config, install script, and raw GitHub URLs to reference `latest`
- Add `latest` to recognized base branch names in development-workflows config
- Bump fallback default branch from `main` to `latest` in dev_sync

### 0.5.1

- Fix absolute local paths leaking into context.yaml and AGENTS.md refs
Expand Down Expand Up @@ -52,7 +59,7 @@
### 0.2.0

- npm release workflow with OIDC provenance via `udx/reusable-workflows`
- GitHub releases created automatically on merge to main
- GitHub releases created automatically on merge to default branch
- `dev.kit --version` flag
- Copilot review feedback fixes (JSON escaping, cache multi-line values, fixture portability)

Expand Down
4 changes: 2 additions & 2 deletions lib/modules/config_catalog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ EOF
dev_kit_repo_kit_source_refs() {
local repo_dir="${1:-$(pwd)}"
local path=""
local _gh_raw="https://raw.githubusercontent.com/udx/dev.kit/main"
local _gh_tree="https://github.com/udx/dev.kit/tree/main"
local _gh_raw="https://raw.githubusercontent.com/udx/dev.kit/latest"
local _gh_tree="https://github.com/udx/dev.kit/tree/latest"

while IFS= read -r path; do
[ -n "$path" ] || continue
Expand Down
2 changes: 1 addition & 1 deletion lib/modules/dev_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ EOF
$(dev_kit_sync_base_branch_names)
EOF

printf "%s" "main"
printf "%s" "latest"
}

dev_kit_sync_upstream_branch() {
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": "@udx/dev-kit",
"version": "0.5.1",
"version": "0.6.0",
"description": "Context-driven engineering toolkit for AI agents and developers",
"license": "MIT",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions src/configs/development-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config:
base: base
feature: feature
base_branch_names:
- latest
- main
- master
- development
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/docker-repo/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Container image — a Dockerfile-based service built and published as a containe

## Workflow

- Read the highest-priority repo refs first: ./.rabbit/context.yaml, ./README.md, ./.rabbit, ./Makefile, ./Dockerfile, ./deploy.yml, ./lib, ./src, https://raw.githubusercontent.com/udx/dev.kit/main/.github/ISSUE_TEMPLATE, https://raw.githubusercontent.com/udx/dev.kit/main/.github/PULL_REQUEST_TEMPLATE.md, https://raw.githubusercontent.com/udx/dev.kit/main/src/configs/github-issues.yaml, https://raw.githubusercontent.com/udx/dev.kit/main/src/configs/github-prs.yaml
- Read the highest-priority repo refs first: ./.rabbit/context.yaml, ./README.md, ./.rabbit, ./Makefile, ./Dockerfile, ./deploy.yml, ./lib, ./src, https://raw.githubusercontent.com/udx/dev.kit/latest/.github/ISSUE_TEMPLATE, https://raw.githubusercontent.com/udx/dev.kit/latest/.github/PULL_REQUEST_TEMPLATE.md, https://raw.githubusercontent.com/udx/dev.kit/latest/src/configs/github-issues.yaml, https://raw.githubusercontent.com/udx/dev.kit/latest/src/configs/github-prs.yaml
- Run the canonical verification command: `make test`
- Run the canonical build command when needed: `make build`
- Use the canonical runtime command instead of ad hoc startup paths: `make run`
Expand Down
8 changes: 4 additions & 4 deletions tests/fixtures/documented-shell-repo/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ These files plus config manifests define the complete allowed surface. Do not ex
- ./src
- ./scripts
- ./tests
- https://raw.githubusercontent.com/udx/dev.kit/main/src/configs/github-issues.yaml
- https://raw.githubusercontent.com/udx/dev.kit/main/src/configs/github-prs.yaml
- https://raw.githubusercontent.com/udx/dev.kit/main/.github/ISSUE_TEMPLATE
- https://raw.githubusercontent.com/udx/dev.kit/main/.github/PULL_REQUEST_TEMPLATE.md
- https://raw.githubusercontent.com/udx/dev.kit/latest/src/configs/github-issues.yaml
- https://raw.githubusercontent.com/udx/dev.kit/latest/src/configs/github-prs.yaml
- https://raw.githubusercontent.com/udx/dev.kit/latest/.github/ISSUE_TEMPLATE
- https://raw.githubusercontent.com/udx/dev.kit/latest/.github/PULL_REQUEST_TEMPLATE.md

### GitHub context

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/wordpress-repo/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WordPress website — application code, theme, and plugin assets deployed to a W

## Workflow

- Read the highest-priority repo refs first: ./.rabbit/context.yaml, ./README.md, ./.rabbit/infra_configs, ./.rabbit, ./.github/workflows, ./package.json, ./wp-config.php, https://raw.githubusercontent.com/udx/dev.kit/main/.github/ISSUE_TEMPLATE, https://raw.githubusercontent.com/udx/dev.kit/main/.github/PULL_REQUEST_TEMPLATE.md, https://raw.githubusercontent.com/udx/dev.kit/main/src/configs/github-issues.yaml, https://raw.githubusercontent.com/udx/dev.kit/main/src/configs/github-prs.yaml
- Read the highest-priority repo refs first: ./.rabbit/context.yaml, ./README.md, ./.rabbit/infra_configs, ./.rabbit, ./.github/workflows, ./package.json, ./wp-config.php, https://raw.githubusercontent.com/udx/dev.kit/latest/.github/ISSUE_TEMPLATE, https://raw.githubusercontent.com/udx/dev.kit/latest/.github/PULL_REQUEST_TEMPLATE.md, https://raw.githubusercontent.com/udx/dev.kit/latest/src/configs/github-issues.yaml, https://raw.githubusercontent.com/udx/dev.kit/latest/src/configs/github-prs.yaml
- Run the canonical verification command: `npm test`
- Review lessons-learned and follow-up outputs after changes stabilize: `dev.kit learn`

Loading