Revert the deliberate break: notes skipped again, new_str read again, no platform read without the caller

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 07:12:42 -05:00
co-authored by Claude Opus 5.5
parent adc460b5ba
commit 3f1e9588ab
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
# often exactly the thing worth reusing. # often exactly the thing worth reusing.
grimoire_skip_path() { grimoire_skip_path() {
case "$1" in case "$1" in
*.mdx|*.txt|*.rst|*.json|*.lock|*.log|*.csv|*.tsv|*.svg|*.png|*.jpg|*.jpeg|*.gif|*.ico|*.pdf) *.md|*.mdx|*.txt|*.rst|*.json|*.lock|*.log|*.csv|*.tsv|*.svg|*.png|*.jpg|*.jpeg|*.gif|*.ico|*.pdf)
return 0 ;; return 0 ;;
esac esac
return 1 return 1
+1 -1
View File
@@ -60,7 +60,7 @@ event_cwd=$(grimoire_json_pick "$event_flat" '.cwd')
code=$(grimoire_json_pick "$event_flat" '.tool_input.content') code=$(grimoire_json_pick "$event_flat" '.tool_input.content')
[ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.file_content') [ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.file_content')
[ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.new_string') [ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.new_string')
# DELIBERATE BREAK (#8249): the legacy Edit field is no longer read [ -n "$code" ] || code=$(grimoire_json_pick "$event_flat" '.tool_input.new_str')
grimoire_skip_path "$file_path" && exit 0 grimoire_skip_path "$file_path" && exit 0
-4
View File
@@ -333,7 +333,3 @@ async def detect_for_project(project_id: int, paths: list[str]) -> list[int]:
logger.info("project %s: detected platform(s) %s", project_id, added) logger.info("project %s: detected platform(s) %s", project_id, added)
return added return added
async def list_mine(project_id: int): # DELIBERATE BREAK (#8249)
return []