Skip to content

DHCross/WovenWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,619 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WovenWebApp - Raven Calder Astrological Analysis System

Status: Production-ready
Last Updated: October 12, 2025 (v5.0 Post-Refactor)
Deployment: Netlify (Next.js 14)


🎯 What is Raven Calder?

Raven Calder is an astrological analysis system that translates mathematical precision into human-readable symbolic weather reports. It follows the FIELD β†’ MAP β†’ VOICE protocol to provide:

  • Mirror Reports - Self-recognition through symbolic reflection
  • Balance Meter - Quantitative pressure diagnostics (Magnitude + Directional Bias)
  • Poetic Codex - Archetypal pattern recognition cards
  • Dream Analysis - Symbolic interpretation framework

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • RapidAPI key for AstroAPI v3
  • (Optional) GeoNames username for city lookups

Installation

# Clone repository
git clone <repository-url>
cd WovenWebApp

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Add your RAPIDAPI_KEY to .env (SRP is enabled by default; set ENABLE_SRP=false to opt-out)

# Run development server
npm run dev

Visit http://localhost:3000


πŸ“š Documentation Navigation

πŸ†• New Developers - START HERE

  1. Developers Notes/Core/Four Report Types_Integrated 10.1.25.md ⭐ PRIMARY REFERENCE
  2. Developers Notes/Lessons Learned/Lessons Learned for Developer.md - Essential context
  3. Developers Notes/README.md - Complete developer index

πŸ› οΈ Implementation Guides

🎨 Voice & Content

πŸ”§ Maintenance & Troubleshooting

πŸ“Š Testing


πŸ—οΈ Architecture

System Philosophy: FIELD β†’ MAP β†’ VOICE

All Raven Calder output follows this translation protocol:

  1. FIELD - Energetic climate (raw symbolic data)
  2. MAP - Archetypal patterns (geometric interpretation)
  3. VOICE - Lived mirror (plain language output)

Frontstage vs. Backstage

Frontstage (user-facing):

  • ❌ No planet names, signs, houses, aspects, degrees
  • βœ… Plain, conversational language
  • βœ… Possibility language ("often," "tends to")

Backstage (operator-only):

  • βœ… All technical terms allowed
  • βœ… Geometric calculations visible
  • βœ… Diagnostic notes

πŸ“¦ Project Structure

WovenWebApp/
β”œβ”€β”€ app/                    # Next.js 14 App Router
β”‚   β”œβ”€β”€ math-brain/        # Main calculation interface
β”‚   └── api/               # API routes
β”œβ”€β”€ components/            # React components
β”‚   β”œβ”€β”€ mathbrain/         # Balance Meter components
β”‚   └── ...
β”œβ”€β”€ lib/                   # Core business logic
β”‚   β”œβ”€β”€ server/            # Server-side calculations
β”‚   └── balance/           # Balance Meter v5.0
β”œβ”€β”€ src/                   # Legacy support files
β”‚   β”œβ”€β”€ seismograph.js     # Balance Meter calculations
β”‚   └── reporters/         # Report generation
β”œβ”€β”€ docs/                  # User-facing documentation
β”œβ”€β”€ Developers Notes/      # Complete developer documentation
β”œβ”€β”€ e2e/                   # Playwright E2E tests
└── __tests__/             # Jest unit tests

πŸ”‘ Key Features

Balance Meter v5.0 (October 2025)

  • Two-axis system: Magnitude (0-5) + Directional Bias (-5 to +5)
  • Retired metrics: Coherence and SFD removed
  • Unified natal architecture: Single fetchNatalChartComplete() function
  • Fixed bugs: Person B aspects now populated, orb filtering corrected

Recent Fixes (Oct 12, 2025)

  • βœ… Person B natal aspects bug (SYNASTRY mode)
  • βœ… Orb filtering using Math.abs(orb) for applying aspects
  • βœ… Unified natal chart fetching (replaced 14 fragmented paths)
  • βœ… Balance Meter showing zeros (orb dropout fix)

πŸ§ͺ Testing

Run Tests

# Unit tests
npm test

# E2E tests (Playwright)
npx playwright test

# Specific test suite
npx jest __tests__/api-natal-aspects-refactor.test.js

Verify Fixes

# Test API directly
npx jest __tests__/api-natal-aspects-refactor.test.js

# Expected output:
# βœ… Person A has 76 natal aspects
# βœ… Person B has 67 natal aspects
# βœ… Both have 12 house cusps

🚨 Known Issues

Status Issue Reference
⏳ Pending Balance Meter values may show zeros in some exports Issue Tracker
⏳ Pending Composite transits temporarily disabled Awaiting upstream API stability
βœ… Fixed Person B aspects missing Oct 12 2025 - Unified natal fetch
βœ… Fixed Orb filtering bug Oct 12 2025 - Math.abs(orb)

🀝 Contributing

Before Making Changes

  1. Read Core/Four Report Types_Integrated 10.1.25.md (PRIMARY REFERENCE)
  2. Check Developers Notes/README.md for relevant implementation guide
  3. Review MAINTENANCE_GUIDE.md
  4. Run smoke tests before committing

Documentation Updates

When code changes affect documentation:

  1. Update relevant files in Developers Notes/
  2. Update CHANGELOG.md
  3. Update this README if architecture changes
  4. Cross-reference related docs

πŸ“ž Support

Project Owner: Jules (Dan Cross / DHCross)
Repository: WovenWebApp
Deployment: Netlify

For Questions About:


πŸ“œ License

See LICENSE file for details.


πŸ”— Quick Links


Last Updated: October 12, 2025
Version: 5.0 (Post-Refactor)
Status: Production-ready with ongoing QA

About

WovenMap Web App with API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors