housebroken-cli 0.6.6__tar.gz → 0.6.7__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. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/PKG-INFO +1 -1
  2. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/pyproject.toml +1 -1
  3. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/pr-sweep.sh +9 -0
  4. housebroken_cli-0.6.7/src/housebroken/__init__.py +1 -0
  5. housebroken_cli-0.6.6/src/housebroken/__init__.py +0 -1
  6. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/.gitignore +0 -0
  7. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/LICENSE +0 -0
  8. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/README.md +0 -0
  9. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/bin/housebroken +0 -0
  10. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/hatch_build.py +0 -0
  11. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/branch-check.sh +0 -0
  12. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/check-ai-policy.sh +0 -0
  13. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/claim-check.sh +0 -0
  14. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/comment-census.sh +0 -0
  15. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/comment-check.sh +0 -0
  16. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/diff-defaults.sh +0 -0
  17. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/distinct-outside.sh +0 -0
  18. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/file-issue.sh +0 -0
  19. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/file-pr.sh +0 -0
  20. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/fork-hygiene.sh +0 -0
  21. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/inbox.sh +0 -0
  22. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/notes.sh +0 -0
  23. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/prior-art.sh +0 -0
  24. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/review.sh +0 -0
  25. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/scripts/verify-filed-pr.sh +0 -0
  26. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/skills/housebroken/SKILL.md +0 -0
  27. {housebroken_cli-0.6.6 → housebroken_cli-0.6.7}/src/housebroken/cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: housebroken-cli
3
- Version: 0.6.6
3
+ Version: 0.6.7
4
4
  Summary: Agent-written pull requests that do not make a mess in someone else's house.
5
5
  Project-URL: Repository, https://github.com/lenamonj/housebroken
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "housebroken-cli"
7
- version = "0.6.6"
7
+ version = "0.6.7"
8
8
  description = "Agent-written pull requests that do not make a mess in someone else's house."
9
9
  dynamic = ["readme"]
10
10
  license = "MIT"
@@ -82,6 +82,15 @@ if [ -f "$STATE" ]; then
82
82
  echo "--- merged or closed since $last"
83
83
  tidy="$(jq -r '.tidy[]?' "$STATE" | tr -d '\r')"
84
84
  gone="$(comm -23 <(jq -r '.open[]?' "$STATE" | tr -d '\r' | sort) <(printf '%s\n' "$open_ids"))"
85
+ # A PR filed and merged between two runs was never in the stored open set.
86
+ if printf '%s' "$last" | grep -qE '^[0-9]{4}-[0-9]{2}-[0-9]{2}T'; then
87
+ if ! closed="$(gh search prs --author "$ME" --state closed --closed ">=$last" --limit 100 --json repository,number \
88
+ --jq '.[] | "\(.repository.nameWithOwner)#\(.number)"')"; then
89
+ echo "pr-sweep.sh: gh search prs failed for PRs of $ME closed since $last" >&2
90
+ exit 1
91
+ fi
92
+ gone="$(printf '%s\n%s\n' "$gone" "$closed" | tr -d '\r' | awk 'NF && !seen[$0]++')"
93
+ fi
85
94
  while read -r id; do
86
95
  [ -n "$id" ] || continue
87
96
  gone_repo="${id%#*}"; gone_num="${id##*#}"
@@ -0,0 +1 @@
1
+ __version__ = "0.6.7"
@@ -1 +0,0 @@
1
- __version__ = "0.6.6"
File without changes