Skip to content

Instantly share code, notes, and snippets.

View technusm1's full-sized avatar

Maheep Kumar technusm1

View GitHub Profile
@technusm1
technusm1 / README.md
Created September 4, 2026 20:12
Reliable ask for Cursor Auto-review: hook dialog instead of permission: ask

Reliable "ask" for Cursor Auto-review

Cursor hooks can return permission: "ask", but that value is ignored in Auto-review / autorun. The command runs anyway. Staff confirmed it: Hook return value "ask" has no practical effect. No ETA.

This hook never returns ask. On a match it shows a local Allow / Deny dialog, then returns allow or deny. Auto-review still applies after an allow — the hook does not run the command.

Files

File Role
@technusm1
technusm1 / logger_to_md.py
Created March 22, 2024 05:43
Tinymesh stuff
import argparse
import readline
def main(log_file_path, markdown_file_path):
print("Enter a command (af <text>, as <text>, cc, cl) or press Ctrl + D to exit.")
while True:
try:
user_input = input("\n\033[94m> \033[0m")
except EOFError:
print("\033[91m\nExiting the application.\033[0m")