← Về thư mục
Vedic Astro Guide - Feature & CRUD Matrix (BPM)
This document tracks all business processes, app features, and data manipulation capabilities (Create, Read, Update, Delete) within the application. It includes current active features, bugs being fixed, and UI restorations.
1. Data Capture & Parsing Layer
| ID |
Feature / Component |
Data Entity |
CRUD |
Status |
Module |
Description & Business Rules |
| F01.1 |
JHora Natal Import Input |
Natal Profile |
C, U, D |
✅ Stable |
Step0Input.tsx |
Create, Update, or Clear (Delete) Natal ASCII grids pasted from Jagannatha Hora. |
| F01.2 |
JHora Transit Import Input |
Transit Profile |
C, U, D |
✅ Stable |
Step0Input.tsx |
Create, Update, or Clear Transit ASCII grids independently of Natal data. |
| F01.3 |
ASCII Grid Parser |
Planet/House Data |
R |
✅ Stable |
asciiParser.ts |
Reads raw ASCII text and outputs structured JSON coordinates of 9 Planets & Ascendant. |
| F01.4 |
Premium Date Pickers |
Temporal Data (Date/Time) |
C, U |
🚧 Fixing/Polish |
VedicDateTimePicker, ScrollPicker |
Astro-Lyte inspired high-fidelity scrolling pickers to eliminate text-entry errors for chart creation. |
| F01.5 |
Nakshatra Dasha Input |
Dasha Timings |
C, U, D |
✅ Stable |
Screen5TimingInput.tsx |
Capture and format major planetary period sequences. |
2. Astrological Logic & Synthesis
| ID |
Feature / Component |
Data Entity |
CRUD |
Status |
Module |
Description & Business Rules |
| F02.1 |
BPHS Dignity Calculator |
Planetary Status |
R |
✅ Stable |
dignityRules.ts |
Reads Planet/Sign data to calculate Moolatrikona, Exaltation, and Permanent Friendships. |
| F02.2 |
Varga (Divisional) Engine |
Varga Charts |
R |
✅ Stable |
vargaMapping.ts |
Maps specific divisional chart coordinates (e.g., D9 Navamsha) based on core Natal Profile. |
| F02.3 |
Transit Synthesizer |
Transit-to-Natal Matrix |
R |
🚧 In-Progress |
transitLogic.ts |
Synthesizes current transit planet names against a custom-selected Natal base chart. |
| F02.4 |
Natal Chart Base Selector |
User Preference |
U |
🚧 In-Progress |
Step0Input.tsx |
Premium custom dropdown to allow user to Update which Natal chart (D1 default) the Transit synthesis targets. |
| F02.5 |
5-Column Transit Output |
Markdown Table |
C |
🚧 In-Progress |
transitLogic.ts |
Creates a strict 5-column Markdown grid for clipboard export (Natal Name, Transit Title, Transit Time). |
3. Presentation & User Experience (UX/UI)
| ID |
Feature / Component |
Data Entity |
CRUD |
Status |
Module |
Description & Business Rules |
| F03.1 |
Cosmic Aesthetic Theme |
UI State |
R |
🚧 Reverting / Fixing |
index.css, Tailwind |
Restoring UI aesthetic to the premium "Stone/Cormorant" dark-mode glassmorphism. |
| F03.2 |
Varga Explanatory Tooltips |
UI State |
R |
✅ Stable |
Screen3VargaSelection.tsx |
Reads educational context to provide rich hover tooltips on astrological meanings. |
| F03.3 |
Technical Audit Dashboard |
Presentation (Step 0.5) |
C, R |
✅ Stable |
TechnicalRoadmap.tsx |
Generates a 4-section visual read-out of all parsed logic before AI submission. |
4. AI & Engine Integration
| ID |
Feature / Component |
Data Entity |
CRUD |
Status |
Module |
Description & Business Rules |
| F04.1 |
Ollama / Local Fallback |
Inference Check |
R |
✅ Stable |
geminiService.ts |
Reads system state to route heavy logic calculations to local hardware, bypassing quotas. |
| F04.2 |
Gemini Cloud Bridge |
Synthesized Context |
C, R |
✅ Stable |
ModelSelector.tsx |
Creates payload and Reads response from Gemini API for high-level spiritual summaries. |
| F04.3 |
Global Flow / Grounding |
Prompts / Instructions |
C, U |
🚧 In-Progress |
astroWorkflow.ts |
Implements rule modifications to match the Official Gemini Grounding API knowledge base (NotebookLM protocol). |
| F04.4 |
Automated Checkpointing |
System State (Git) |
C |
✅ Stable |
.agents/rules.md |
Creates snapshot commits programmatically. |
Key Details on CRUD Mapping
- Create (C): Initial creation of state variables, inputs, and generation of API payloads/tables.
- Read (R): Presentation and visual rendering of previously parsed logic, state checks.
- Update (U): Real-time UI modifications, selecting dropdowns, scrolling pickers, or editing text.
- Delete (D): Clearing out text fields, reverting states, or flushing AI generation data.
Current Development Focus (🚧)
- UI Restoration: Ripping out recent experimental "Stitch" components and returning to the "Stone/Cormorant" theme.
- Transit Synthesis refinement (F02.3, F02.4, F02.5): Extracting exact title from ASCII, fixing the dropdown UI, formatting the strict 5-column transit return.
- Premium Date Pickers (F01.4): Integrating scrolling Astro-Lyte style pickers across the app.