# One Sky IT's Aether UI/UX Project TODO

This is a list of tasks to be completed before the next event/show/conference.

---

## Current Priorities (Jan 8, 2026)

1.  **V3 Interface Verification:** Audit remaining 7 active interfaces in `agents_sync/technical/aether_interfaces.ts`.
2.  **Journals Module Audit:** Begin Phase 1 (Codebase Audit & Tailwind compliance).
3.  **Core UI Polish:** Finalize Person and Address/Contact management forms.
4.  **Svelte 5 / Runes Migration:** Continuous refactoring.

---

## Frontier Journals Module (Vision 2026-01-08)
*Goal: Transform Journals into the platform flagship with premium UI/UX and robust security.*

- [ ] **Phase 1: Codebase Audit & Schema**
    - [ ] Audit `src/lib/ae_journals` and `src/routes/journals` for Tailwind compliance and code quality.
    - [ ] Verify `db_journals.ts` schema for metadata and encryption support.
    - [ ] Identify and replace non-standard CSS with Tailwind utility classes.
    - [x] Update `db_journals.ts` types using the new `agents_sync` exported interfaces.
- [ ] **Phase 2: UI/UX Excellence**
    - [ ] Implement "Quick Add" for high-velocity entry.
    - [ ] Add rapid append/prepend functionality to existing entries.
    - [ ] Ensure full cross-platform responsiveness (Mobile -> Workstation).
- [ ] **Phase 3: Content Portability**
    - [ ] Implement Structured Markdown import (with metadata).
    - [ ] Implement Bulk Export (Markdown, HTML) to file or clipboard.
    - [ ] Integrate Outbound Email sharing.
- [ ] **Phase 4: Security & Privacy**
    - [ ] Solidify E2EE passcode system for Journals and Entries.
    - [ ] Perform security audit on V3 Journal endpoints.

---

## Aether API CRUD V3 Integration

- [x] **Foundational Refinement:**
    - [x] Refactor core helpers and resolve Bootstrap Paradox.
- [x] **Core API Wrappers:** ... (Completed)
- [x] **Unified Type Migration:**
    - [x] Establish `src/lib/types/ae_types.ts`.
    - [x] Migrate Account, Site, SiteDomain, Person, and JournalEntry.
    - [x] Migrate Event and EventBadge modules.
    - [x] Migrate User, Address, Contact, and ActivityLog modules.
    - [x] Migrate EventLocation, EventSession, and EventPresenter modules.
    - [x] Migrate HostedFile, DataStore, Archive, and ArchiveContent modules.
    - [x] Migrate EventFile, EventDevice, EventAbstract, and Organization modules.
    - [x] Migrate Post, PostComment, and EventPresentation modules.
    - [x] Migrate Journal module.
    - [ ] Audit remaining 7 active interfaces (EventTrack, EventRegistration, Page, etc).
- [x] **Module Migration:** ... (Journals, Events, Core, IDAA mostly completed)

---

## Core Module Improvements

- [ ] **Person Management:**
    - [ ] Create dedicated page/form for creating/editing person records.
    - [ ] Finalize Person-User linking.
- [ ] **Address & Contact Management:**
    - [ ] Implement full V3 CRUD UI (currently placeholders).
    - [ ] Create dynamic detail routes.

---

## Development Workflow & Tools
- [ ] **Backend Integration Tools:**
    - [ ] Integrate `schema_sync(obj_type)` for automated TS interface generation.
    - [ ] Utilize `sql_query(query)` for DB state verification during debugging.
    - [ ] Use `docker_restart` / `docker_logs` for environment control.
- [ ] **Refactor `api.ts` God Object:**
    - [ ] Extract Lookup, Hosted File, Legacy CRUD, and Utility functions to dedicated modules.
    - [ ] Convert `api.ts` into a pure barrel file.

---

## Recent Accomplishments (Jan 8, 2026)

- [x] **Unified Type Migration (Phase 1-3):** Established `src/lib/types/ae_types.ts` and migrated Account, Site, SiteDomain, Person, JournalEntry, Event, EventBadge, User, Address, Contact, and ActivityLog.
- [x] **API Robustness:** Refactored all core helpers (`get`, `post`, `patch`, `delete`) for SvelteKit SSR parity and resolved the Bootstrap Paradox.
- [x] **System Testing Dashboard:** Upgraded `/testing` with deep verification logic and created a CLI test suite.
- [x] **Backend Consistency:** Confirmed 100% consistency between Pydantic models and V3 search whitelists for all primary AE objects.
- [x] **Tooling:** Integrated `ae_obj_info` into the Aether Ops extension for real-time field and whitelist lookups.
