Add AI review logging and --skip-ai-review flag to fabric sync

- Add comprehensive logging to run_ai_scrutiny_review() function
  - Log tool path checks, warning counts, timing
  - Log timeout events, JSON parse errors, all exceptions
  - Previously failures were silently swallowed
- Add --skip-ai-review flag for large bulk imports
  - Prevents rate limiting during initial imports
  - Passes through daemon_loop, run_sync, sync_pattern, publish_to_registry

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
rob
2026-01-17 01:41:45 -04:00
co-authored by Claude Opus 4.5
parent adefe909c2
commit 66fd121ee4
2 changed files with 74 additions and 12 deletions
+10
View File
@@ -37,6 +37,16 @@ All notable changes to CmdForge will be documented in this file.
- Rejected version count display
- Cleanup result modal with detailed output
#### Fabric Sync Improvements
- **AI review logging**: Added comprehensive logging to `run_ai_scrutiny_review()` function
- Logs tool path checks, warning counts, timing, success/failure states
- Logs timeout events, JSON parse errors, and all exception types
- Previously failures were silently swallowed with `return None`
- **`--skip-ai-review` flag**: Skip AI secondary review for large bulk imports
- Prevents rate limiting and timeouts during initial large imports
- Usage: `python fabric_sync.py --sync --skip-ai-review`
- Logs when AI review is skipped with reason
### Fixed
- VERSION_EXISTS error showing after successful publish (made endpoint idempotent by checking config_hash)
- My Tools page listing every version separately (now consolidated by tool name)