kaizen-loop 0.2.1__tar.gz → 0.2.2__tar.gz

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.
Files changed (27) hide show
  1. kaizen_loop-0.2.2/.opencode/commands/release.md +18 -0
  2. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/PKG-INFO +1 -1
  3. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/pyproject.toml +1 -1
  4. kaizen_loop-0.2.2/src/kaizen/__init__.py +1 -0
  5. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/loop.py +1 -1
  6. kaizen_loop-0.2.1/src/kaizen/__init__.py +0 -1
  7. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/.github/workflows/ci.yml +0 -0
  8. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/.github/workflows/release.yml +0 -0
  9. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/.gitignore +0 -0
  10. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/LICENSE +0 -0
  11. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/README.md +0 -0
  12. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/justfile +0 -0
  13. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/__main__.py +0 -0
  14. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/agent.py +0 -0
  15. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/cli.py +0 -0
  16. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/config.py +0 -0
  17. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/findings.py +0 -0
  18. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/git.py +0 -0
  19. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/orchestrator.py +0 -0
  20. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/review_prompt.py +0 -0
  21. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/run.py +0 -0
  22. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/steps/__init__.py +0 -0
  23. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/steps/pr.py +0 -0
  24. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/steps/push.py +0 -0
  25. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/steps/review.py +0 -0
  26. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/src/kaizen/work_prompt.py +0 -0
  27. {kaizen_loop-0.2.1 → kaizen_loop-0.2.2}/tests/test_import.py +0 -0
@@ -0,0 +1,18 @@
1
+ ---
2
+ description: Bump version, tag, push, and publish a new release via CI
3
+ ---
4
+
5
+ Cut a new release of this package.
6
+
7
+ Steps:
8
+ 1. Read the current version from `pyproject.toml` and `src/kaizen/__init__.py` — they must match
9
+ 2. Determine the next version bump (patch, minor, or major) based on the changes since the last tag. Use `git log LAST_TAG..HEAD --oneline` to review changes
10
+ 3. Update the version in both `pyproject.toml` and `src/kaizen/__init__.py`
11
+ 4. Commit with message `release: vX.Y.Z`
12
+ 5. Create a git tag `vX.Y.Z`
13
+ 6. Push the commit and tag to origin
14
+ 7. Monitor the GitHub Actions release workflow until it completes (success or failure)
15
+ 8. If successful, reinstall locally with `uv tool install kaizen-loop --reinstall --force` and verify with `kaizen --version`
16
+ 9. If failed, diagnose the failure from the workflow logs and report back
17
+
18
+ Do NOT skip any of these steps. Always verify both version files are in sync before committing.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kaizen-loop
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Continuous code improvement: autonomous work → review → fix → ship
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "kaizen-loop"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Continuous code improvement: autonomous work → review → fix → ship"
9
9
  requires-python = ">=3.10"
10
10
  license = "MIT"
@@ -0,0 +1 @@
1
+ __version__ = "0.2.2"
@@ -54,7 +54,7 @@ def _setup_work_context(
54
54
  root_gitignore = os.path.join(cwd, ".gitignore")
55
55
  if os.path.exists(root_gitignore):
56
56
  content = Path(root_gitignore).read_text()
57
- if ".kaizen" not in content.splitlines():
57
+ if not any(".kaizen" in line for line in content.splitlines()):
58
58
  Path(root_gitignore).write_text(content.rstrip() + "\n.kaizen/\n")
59
59
  else:
60
60
  Path(root_gitignore).write_text(".kaizen/\n")
@@ -1 +0,0 @@
1
- __version__ = "0.2.1"
File without changes
File without changes
File without changes
File without changes