Saving notes
This commit is contained in:
15
.ae_brief
15
.ae_brief
@@ -1,15 +1,22 @@
|
|||||||
# Aether Project Brief: aether_api_fastapi
|
# Aether Project Brief: aether_api_fastapi
|
||||||
**Last Updated:** 2026-01-28 19:21:44
|
**Last Updated:** 2026-02-05 20:19:52
|
||||||
**Current Agent:** mcp_agent
|
**Current Agent:** mcp_agent
|
||||||
|
|
||||||
## 🛠️ What I Just Did
|
## 🛠️ What I Just Did
|
||||||
Implemented GET /v3/data_store/code/{code} with cascading lookup and limit override. Refactored Data_Store_Base for ID Vision standard. Created ARCH__V4_CORE_STANDARDS documentation. Updated and synced GUIDE__V3_FRONTEND_API. Fixed legacy data_store router crashes. Unified E2E testing for Data Store.
|
- Standardized Event and CMS (Post/Comment) models to 'ID Vision' (clean string IDs).
|
||||||
|
- Hardened model root_validators to support standardized creation/search workflows.
|
||||||
|
- Implemented 'physical', 'virtual', and 'external_person_id' in Event schema.
|
||||||
|
- Updated Post Comment views to join account context relationaly.
|
||||||
|
- Created 'tests/e2e/test_e2e_v3_cms_vision_parity.py' for long-term verification.
|
||||||
|
- Synced updated V3 Frontend Guide to 'agents_sync' mesh.
|
||||||
|
|
||||||
## 🚧 Current Blockers
|
## 🚧 Current Blockers
|
||||||
None. System is stable at release baseline v3.0.99.
|
None. (Lesson learned on DDL overreach).
|
||||||
|
|
||||||
## ➡️ Exact Next Steps
|
## ➡️ Exact Next Steps
|
||||||
1. Begin Aether API V4 lifecycle field migration (approved_on, enable_on, archive_on). 2. Standardize Search Optimization (default_qry_str) across all core objects. 3. Unify Websocket infrastructure.
|
- Audit 'hosted_file' and 'event_file' usage for regressions after recent refactors.
|
||||||
|
- Continue refactoring monolithic files (>800 lines): 'api_crud_v2.py' and 'person_methods.py'.
|
||||||
|
- Monitor frontend feedback on the standardized ID Vision documentation.
|
||||||
|
|
||||||
---
|
---
|
||||||
*Generated by ae_brief*
|
*Generated by ae_brief*
|
||||||
|
|||||||
21
GEMINI.md
21
GEMINI.md
@@ -48,6 +48,8 @@
|
|||||||
- **Vision ID Persistence**: Pydantic `Field(exclude=True)` strips fields from `.dict()` by default. In methods like `create_hosted_file_obj`, these must be explicitly re-included if they are internal DB fields (like `subdirectory_path`).
|
- **Vision ID Persistence**: Pydantic `Field(exclude=True)` strips fields from `.dict()` by default. In methods like `create_hosted_file_obj`, these must be explicitly re-included if they are internal DB fields (like `subdirectory_path`).
|
||||||
- **Universal ID Resolution**: `GET /v3/action/hosted_file/{id}/download` now intelligently resolves container IDs (`event_file`, `archive_content`) to physical binaries.
|
- **Universal ID Resolution**: `GET /v3/action/hosted_file/{id}/download` now intelligently resolves container IDs (`event_file`, `archive_content`) to physical binaries.
|
||||||
- **Temporary Access Patterns**: Implemented `?key=` and `?site_key=` (using `access_key`) for unauthenticated Read-Only file access to unblock frontend components like `<img>`.
|
- **Temporary Access Patterns**: Implemented `?key=` and `?site_key=` (using `access_key`) for unauthenticated Read-Only file access to unblock frontend components like `<img>`.
|
||||||
|
- **ID Vision Standardization**: Standardized Event and CMS models to clean string IDs. Learned that `root_validator(pre=True)` must be hardened during the "Create" phase to prevent deleting integer IDs resolved by `sanitize_payload`.
|
||||||
|
- **Relational View Joins**: Established that account context for child objects (like `post_comment`) should be inherited via SQL `INNER JOIN` in the view (`v_post_comment`) rather than duplicating columns in the physical table.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -61,10 +63,10 @@
|
|||||||
- **Active:** Zoom Events Integration for upcoming Lead Retrieval/Badge Printing demo.
|
- **Active:** Zoom Events Integration for upcoming Lead Retrieval/Badge Printing demo.
|
||||||
|
|
||||||
### 🚧 Active Workstreams
|
### 🚧 Active Workstreams
|
||||||
- **[Aether V4]:** Architecture standards formalized in `ARCH__V4_CORE_STANDARDS.md`. Ready for lifecycle field migration.
|
- **[Aether V4]:** Architecture standards formalized in `ARCH__V4_CORE_STANDARDS.md`. Ready for lifecycle field migration (post-V3).
|
||||||
- **[Zoom Events]:** initial integration complete (OAuth2, Sync logic, Ticket retrieval). Pending real credentials.
|
- **[Zoom Events]:** initial integration complete (OAuth2, Sync logic, Ticket retrieval). Pending real credentials.
|
||||||
- **[Refactor]:** Reduced monolithic files (>800 lines). `api_crud.py` and `hosted_file.py` COMPLETED. `api_crud_v2.py` and `person_methods.py` PENDING.
|
- **[Refactor]:** Reduced monolithic files (>800 lines). `api_crud.py` and `hosted_file.py` COMPLETED. `api_crud_v2.py` and `person_methods.py` PENDING.
|
||||||
- **[Test Suite]:** E2E suite consolidated into primary functional suites (Search, Auth, Lifecycle, Vision).
|
- **[ID Vision]:** Standardized Event and CMS (Post/Comment) models to clean string IDs.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -72,14 +74,15 @@
|
|||||||
|
|
||||||
*This section is the "Scratchpad" for the current interaction. It is cleared or summarized often.*
|
*This section is the "Scratchpad" for the current interaction. It is cleared or summarized often.*
|
||||||
|
|
||||||
- **Status:** Operational / Refactored
|
- **Status:** Operational / Standardized
|
||||||
- **Last Action:** Finalized monolithic refactor and initial Zoom Events integration.
|
- **Last Action:** Finalized ID Vision standardization for Event and CMS modules.
|
||||||
- **Achievements:**
|
- **Achievements:**
|
||||||
- Reduced `api_crud.py` (1843 -> 143 lines).
|
- Standardized Event models (Event_Base, Flat) to string IDs.
|
||||||
- Reduced `hosted_file.py` (1596 -> 361 lines).
|
- Fixed Post Comment validation bug (integer purge during POST).
|
||||||
- Implemented Zoom Events OAuth2 and Sync backend.
|
- Verified account context inheritance via view joins.
|
||||||
- Verified Full File Lifecycle (Upload -> Download -> Delete) via standardized E2E test.
|
- Created `test_e2e_v3_cms_vision_parity.py`.
|
||||||
- **Immediate Next Step:** Await further instructions.
|
- Updated V3 Frontend Guide and notified Frontend agent.
|
||||||
|
- **Immediate Next Step:** Audit `hosted_file` and `event_file` usage for regressions.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user