Answer principles round 1: 0 🔴, 6 🟡; read the plan from the fetched default branch for routing and the preflight alike and drop the fast-forward, name no item where the release after the last tag has none, tell an empty items table from none, time out the fetch, return run_python's errors as exit codes, test the error paths and the gh rows, assert facts in place of sentences, keep the open-PR sentence in every fresh prompt, name the item branch in CLAUDE.md, and measure item 175 against five chunks with counter-signals
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from git_repo import commits_since, file_at, full_history, git, newest_release_tag
|
||||
from failure import Failure
|
||||
from git_repo import file_at, full_history, git, newest_release_tag
|
||||
from comprehension_history import HISTORY, HistoryChange
|
||||
|
||||
|
||||
@@ -27,5 +27,5 @@ def landed_since_release(default: str) -> bool | Failure:
|
||||
newest = newest_release_tag(default)
|
||||
if isinstance(newest, Failure):
|
||||
return newest
|
||||
count = git("rev-list", "--count", f"{newest}..{default}" if newest else default)
|
||||
return count if isinstance(count, Failure) else int(count) > 0
|
||||
count = commits_since(newest, default)
|
||||
return count if isinstance(count, Failure) else count > 0
|
||||
|
||||
Reference in New Issue
Block a user