Fix(Events): Isolate IDAA Search to V2 and Refine V3 Search Pattern
- IDAA Isolation: Created using legacy V2 endpoints and for Recovery Meetings stability. - V3 Refinement: Implemented 'Body + Header' injection in to fix 'Integer Trap' while maintaining Auth scope. - API Upgrade: Enhanced to support custom headers. - Docs: Updated migration guide and development history with final isolation strategy.
This commit is contained in:
10
GEMINI.md
10
GEMINI.md
@@ -61,6 +61,16 @@ This project is the frontend UI/UX for the Aether (AE) system, built with Svelte
|
||||
|
||||
## 📝 Development History (Consolidated)
|
||||
|
||||
### Hardening & V3 Stabilization (2026-01-20)
|
||||
- **IDAA Isolation:** Created specialized `qry_ae_obj_li__event_v2` for the IDAA Recovery Meetings module. It uses legacy V2 endpoints and implements search via the `default_qry_str` field to bypass current V3 stability issues.
|
||||
- **Fix(Events):** Restored general `qry_ae_obj_li__event` to V3 with a robust "Body + Header" injection pattern. It uses `account_id_random` in the body for filtering (bypassing the "Integer Trap") and `x-account-id` in the headers for Auth validation.
|
||||
- **Structured Error Handling:** Updated `api_get`, `api_post`, and `api_patch` helpers to extract rich metadata (`meta.details`) from V3 API 400/500 responses. Standard FastAPI `detail` fields are automatically wrapped for consistency.
|
||||
- **JWT Race Condition Fix:** Implemented "Early Injection" in `+layout.ts`. The JWT is now read directly from `localStorage` during bootstrap, ensuring the first requests of a page load are correctly authenticated.
|
||||
- **Archives Stability:** Resolved a critical async race condition in `load_ae_obj_li__archive` and hardened `_process_generic_props` to handle non-array API responses.
|
||||
- **Fail-Fast Hardening:** Added HTTP `400` and `422` to the Fail-Fast protocol to prevent unnecessary retries on invalid requests.
|
||||
- **V3 Hardening Tests:** Enhanced the `/testing` dashboard with "Live V3 Header Inspection" and automated audits for Permissive Mode and Structured Errors.
|
||||
- **Status:** Main AE Events module verified working with V3 Search; IDAA isolated to V2 for stability.
|
||||
|
||||
### Hardening & Svelte 5 Modernization (2026-01-16)
|
||||
- **Hardening:** Improved resilience for Journals and IDAA modules against API downtime and "ghost" account fallback.
|
||||
- **Commit:** Atomic refactor of 15 files focusing on type safety, Svelte 5 runes, and API robustness.
|
||||
|
||||
Reference in New Issue
Block a user