Skip to content

Commit 9f9768a

Browse files
committed
chore(hooks): revert continue-flag and consolidate after-agent hooks
1 parent 29c021b commit 9f9768a

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.gemini/hooks/journal.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ def main():
114114
f"New changes detected: {', '.join(new_significant_changes[:3])}{'...' if len(new_significant_changes) > 3 else ''}.\n"
115115
f"Please add or update a one-line entry to {journal_file} "
116116
"describing the work you just did. Do not stop until this file is updated."
117-
),
118-
continue_flag=False
117+
)
119118
)
120119

121120
except Exception as e:

.gemini/hooks/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def main():
117117
"```\n" + error_message.strip() + "\n```\n"
118118
"Fix these issues and ensure 'make' passes before continuing."
119119
)
120-
utils.send_hook_decision("deny", reason=fail_reason, continue_flag=False)
120+
utils.send_hook_decision("deny", reason=fail_reason)
121121
else:
122122
# make passed
123123
update_last_run_timestamp()

.gemini/settings.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@
7676
"name": "update-journal-and-changelog",
7777
"type": "command",
7878
"command": "python3 .gemini/hooks/journal.py"
79-
}
80-
]
81-
},
82-
{
83-
"matcher": "*",
84-
"hooks": [
79+
},
8580
{
8681
"name": "notify-user",
8782
"type": "command",

0 commit comments

Comments
 (0)