v0.5.1
Release 0.5.1
Suggested tag: v0.5.1
リリースノート(日本語)
Nilo 0.5.1 は、アップグレード確認、AI 向け状態表示、status fast path、テスト実行の安定性を整える patch release です。リリース前検証で python -m unittest discover tests が editable install なしでも動くように、テストの import bootstrap も補強しました。
変更点
- upgrade / update check 周りの挙動を修正しました。
- AI context 出力を compact 化し、通常作業で必要な次 action と詳細コマンドを読み取りやすくしました。
- CLI テスト shard の構成を整理しました。
- status fast path を軽量化し、通常の状態確認の待ち時間を抑えました。
python -m unittest discover testsが repository checkout から直接実行できるよう、test_backupとtest_cliの import path 初期化を既存テストと揃えました。
検証
nilo check "python -m unittest discover tests" --project nilo --mode full --timeout 300(timed out)nilo check "python -m unittest discover tests" --project nilo --mode full --timeout 600(timed out)nilo check "sh -c 'PYTHONPATH=src python tests/run_shards.py --all --jobs auto'" --project nilo --mode full --timeout 900nilo recipe doctor --project nilonilo status --project nilo
python -m unittest discover tests was also run directly while diagnosing the initial import failure and completed with 289 tests, 2 import errors before the bootstrap fix. The Nilo-recorded unsharded full-suite attempts timed out at 300 and 600 seconds after the fix, so the parallel shard runner above is the successful recorded full-suite evidence for this release.
アップグレード / インストール
新規インストール:
git clone https://github.com/endow/nilo.git
cd nilo
python -m pip install -e .git checkout からインストール済みの場合は、作業ツリーが clean な状態で次を実行してください。
nilo upgradenilo upgrade は git pull --ff-only、editable reinstall、migration を実行します。既存 DB がある場合は migration 前に .nilo/backups/ へ before-upgrade バックアップを作成します。このリリースでは既存 DB を破壊する schema 変更はありません。
Release Notes (English)
Nilo 0.5.1 is a patch release that tightens upgrade and update checks, AI-facing status output, the status fast path, and test execution stability. The release preparation also strengthens test import bootstrapping so python -m unittest discover tests works directly from a repository checkout without requiring an editable install first.
Changes
- Fixed upgrade and update check behavior.
- Compact AI context output so normal work surfaces the next action and detail commands more clearly.
- Refactored CLI test shard organization.
- Made the status fast path lighter to reduce wait time during normal status checks.
- Aligned
test_backupandtest_cliimport path initialization with existing tests sopython -m unittest discover testscan run directly from the checkout.
Verification
nilo check "python -m unittest discover tests" --project nilo --mode full --timeout 300(timed out)nilo check "python -m unittest discover tests" --project nilo --mode full --timeout 600(timed out)nilo check "sh -c 'PYTHONPATH=src python tests/run_shards.py --all --jobs auto'" --project nilo --mode full --timeout 900nilo recipe doctor --project nilonilo status --project nilo
python -m unittest discover tests was also run directly while diagnosing the initial import failure and completed with 289 tests, 2 import errors before the bootstrap fix. The Nilo-recorded unsharded full-suite attempts timed out at 300 and 600 seconds after the fix, so the parallel shard runner above is the successful recorded full-suite evidence for this release.
Upgrade / Install
Fresh install:
git clone https://github.com/endow/nilo.git
cd nilo
python -m pip install -e .If Nilo was installed from a git checkout, update from a clean working tree with:
nilo upgradenilo upgrade runs git pull --ff-only, reinstalls the editable package, and runs migrations. If an existing DB is present, Nilo creates a before-upgrade backup under .nilo/backups/ before migration. This release does not include a destructive DB schema change.
GitHub release execution
After explicit approval, use Nilo's approval-gated execution path:
nilo recipe approve-public --project nilo --approval 'v0.5.1 を tag/push/release して' --executeEquivalent human-gated commands:
git tag v0.5.1
git push origin main
git push origin v0.5.1
gh release create v0.5.1 --title "v0.5.1" --notes-file docs/releases/0.5.1.md