Upgrade Raven Persona: Geometric Intelligence#9
Conversation
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ge clarity HIGH priority: - #6 symbolicWeather: soft-fail instead of re-throwing AuthorityViolationError - #7 TTS: add 10s AbortController timeout to ElevenLabs fetch (504 on timeout) - #9 injectProtocols: wrap in try/catch, continue without corpus on failure MEDIUM priority: - #2 LLM auth: normalize 401/403 to user-friendly message - #3 LLM timeout: add one retry in generateReplyWithRetry - #4 Empty LLM response: distinguish content_filter from true empty - #5 AuthorityViolation outer catch: hide internal module names LOW priority: - #1 Missing LLM key 503: clearer operator message - #8 useOracleChat: map 413 to user-friendly 'message too long' text - #10 Remove void-cast needsConcreteRetry/needsProtocolRepair calls
Task: Let users pick a different profile in the Structural Load Map without going back to the Vault (Task #9) Changes: - vessel/src/lib/vaultSync.ts — export `vaultProfileToBirthInput` wrapper - vessel/src/components/reports/StructuralLoadScatter.tsx — profile selector UI and state Implementation details: - Exported `vaultProfileToBirthInput(profile)` from vaultSync.ts as a thin wrapper around the existing private `profileToInput` function, preserving birthTimeRecord (reportedTime + precision) handling — no data-mapping drift - Component imports `listVaultProfiles`, `vaultProfileToBirthInput` from vaultSync - Added `allProfiles` state (populated via `listVaultProfiles()`) and `selectedProfileId` state (defaults to primaryProfileId from snapshot) - `selectedProfile` derived via useMemo: finds by id, falls back to isPrimary, then first profile in list - `fetchTelemetry` now accepts a VaultProfile argument, converts it via the shared `vaultProfileToBirthInput`, and passes profile's own currentLocation for relocation context - VAULT_SYNC_EVENT listener refreshes `allProfiles` so newly staged profiles appear immediately without a page reload - Added normalization effect: when allProfiles changes and selectedProfileId no longer exists, resets to primary/first so <select> always reflects active profile - UI: when 2+ profiles exist, a styled native <select> dropdown appears right-aligned next to time presets, listing all profiles with "(Primary)" tagged on the primary. ChevronDown icon overlaid. When only one profile exists, original name badge is shown instead. - TypeScript: zero errors (npx tsc --noEmit clean) Replit-Task-Id: 41006fe6-d17b-4440-b160-f2f33be8aa98
This change updates the
Ravenpersona invessel/src/lib/raven/persona-law.tsto implement the "Geometric Intelligence" philosophy.Key changes:
RAVEN_GEOMETRIC_INTELLIGENCEconstant, introducing the "Architect" stance, "Structural Objectivity", and the "Field -> Map -> Voice" loop.RAVEN_COHERENCE_ENGINEto integrate these concepts into the Primary Directive.RAVEN_SELF_DEFINITIONto reframe Raven as a "Diagnostic Mirror".buildRavenSystemPromptto include the new philosophy in the system prompt construction.This aligns the persona with the user's request for a clear-eyed, unsentimental, yet structurally empathetic diagnostic mirror.
PR created automatically by Jules for task 1643821209181721469 started by @DHCross