fix(idaa): audit and harden IDAA module components and types

- Updated ae_types.ts with missing IDAA-specific fields for Archives and Events (topic_name, archive_on, contact_li_json, etc.) using snake_case.
- Refactored bulletin board post filter to safely handle null archive_on dates.
- Fixed missing 'data' prop assignment in bulletin board list component to resolve type error.
- Corrected core_func.download_export__obj_type method name in recovery meetings export.
- Hardened safety checks for contact_li_json in recovery meetings view logic to prevent null property access.
- Mapped Jitsi meeting event data to internal snake_case variables and fixed input type assignments.
- Updated project documentation (TODO, GEMINI.md, .ae_brief) to reflect IDAA hardening progress.
This commit is contained in:
Scott Idem
2026-01-26 17:50:27 -05:00
parent 0a390c9505
commit ac14721bd0
9 changed files with 91 additions and 79 deletions

58
TODO.md
View File

@@ -6,54 +6,42 @@ This is a list of tasks to be completed before the next event/show/conference.
## High Priority (Active Task)
1. **Aether Native V3 (Launcher):**
- [ ] Scaffold new Electron 33+ shell.
- [ ] Implement V3 "Zero-Config" bridge between shell and SvelteKit frontend.
- [ ] Reference `documentation/NATIVE_APP_V3_REWRITE_PLAN.md` for architectural constraints.
1. **IDAA Module Hardening:**
- [ ] Audit Jitsi meeting integration for connection stability.
- [ ] Investigate reported "issues with IDAA pages" (Current Focus).
- [ ] Verify V3 search logic for Recovery Meetings and Archives.
---
## Current Priorities (Jan 23, 2026)
## Current Priorities (Jan 26, 2026)
1. **Journal Module (Cleanup):**
- [x] **Entry Search Refactor:** Update `ae_comp__journal_entry_obj_qry.svelte` to use dynamic `$journals_loc` values. (Completed 2026-01-23)
- [x] **Verify Filters:** Search results correctly respect Enabled/Hidden toggle states. (Completed 2026-01-23)
- [x] **Config Sprint:** Added Query Limit configuration to settings modal. (Completed 2026-01-23)
2. **Hardening V3 Search (Continued):**
- [x] **Event Session Search:** Finalized and verified. (Completed 2026-01-21)
- [x] **IDAA Recovery Meetings Search:** Restored functionality. (Completed 2026-01-21)
1. **Hydration Performance (Completed Sprint):**
- [x] **Non-Blocking Layouts:** Refactored root, events, and journals layouts to fire refreshes in background.
- [x] **SWR Implementation:** Individual modules (Event, Session, Journal) now return cached data immediately.
- [x] **Service Worker:** Re-enabled and hardened with robust asset caching.
2. **Native Launcher Refinement (Phase 5):**
- [x] **Office Automation:** Implemented AppleScript handlers for PowerPoint/Keynote.
- [x] **Telemetry Dashboard:** Built visual CPU/RAM gauges in Launcher Config.
- [x] **Observability:** Heartbeat and Sync status moved to formal Config UI.
3. **Hardening V3 Search:**
- [ ] **Exhibit Search:** Restore missing search function and logic.
- [ ] **Global Rule:** Preserve `ft_qry`, `lk_qry`, and `and_qry` blocks as "sacred" business logic.
3. **Service Worker Reliability (Mitigated):**
- [x] **Disable Auto-Registration:** Temporarily disabled to stop `TypeError` loop.
- [ ] **Root Cause Investigation:** Re-enable SW registration and debug script evaluation failure.
4. **Jitsi Module Updates:** Prepare for upcoming demo. Audit `video_conferences/+page.svelte`.
---
## 🛠️ DX & Tooling (MCP)
- [x] **V3 API Parameter Hardening:** Updated `search_ae_obj_v3` for URL serialization. (Completed 2026-01-21)
- [ ] **Enhance `ae_obj_info`**: Include field types, constraints, and default values.
- [ ] **Payload Validation**: Create dry-run tool for Pydantic model checking.
- [x] **Error Transparency:** Return specific errors in `meta.details`. (Completed 2026-01-19)
- [x] **Fetch Noise Reduction:** Silenced AbortErrors in API helpers at log_lvl 0. (Completed 2026-01-26)
- [ ] **Payload Validation:** Create dry-run tool for Pydantic model checking.
---
## Frontier Journals Module (Vision 2026-01-08)
- [x] **Phase 1: Codebase Audit & Schema** (Completed 2026-01-23)
- [x] Refactor `ae_comp__journal_entry_obj_id_view.svelte`.
- [x] Fix type safety in `[journal_id]/+layout.svelte`.
- [x] Stabilize Query logic and UI search behavior in `+page.svelte`.
## Recent Accomplishments (Jan 23, 2026)
- [x] **Journal Stability:** Resolved display issues where entries failed to show on initial load.
- [x] **Filter Hardening:** Updated LiveQuery to handle NULL/undefined for Enabled/Hidden flags.
- [x] **Config Expansion:** Added dynamic Query Limits (10-1000) to Journal module settings.
## Recent Accomplishments (Jan 26, 2026)
- [x] **Performance:** Eliminated "white page" delay on refresh across all major modules.
- [x] **Native Bridge:** Completed specialized macOS handlers for remote presentation control.
- [x] **Stability:** Resolved duplicate export errors and script evaluation failures in Service Worker.
## Native App Development (2026-01-26)
- [x] Phase 2: Organized caching with 2-char subdirectories.
- [x] Phase 3: Standardize snake_case bridge and OS command set.
- [x] Phase 4: Implement device heartbeat and telemetry loop (Verified UTC timestamps).
- [ ] [IN PROGRESS] Move heartbeat/sync visibility from "Secret Monitor" to Launcher Config Drawer.
- [x] Phase 5: Implement specialized AppleScript handlers for Office/Keynote. (Completed 2026-01-26)
- [ ] [REFINEMENT] Build Telemetry Dashboard in Launcher Config.
- [x] Phase 4: Implement device heartbeat and telemetry loop.
- [x] Phase 5: Implement specialized AppleScript handlers for Office/Keynote.
- [x] Refinement: Built Telemetry Dashboard in Launcher Config.