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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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 []
|
|
||||||
|
|||||||
Reference in New Issue
Block a user