Skip to content

Improve Birth Wheel response state#886

Merged
DHCross merged 1 commit into
mainfrom
dhcross-birth-wheel-response-state
Jun 29, 2026
Merged

Improve Birth Wheel response state#886
DHCross merged 1 commit into
mainfrom
dhcross-birth-wheel-response-state

Conversation

@DHCross

@DHCross DHCross commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Raven could receive a question from the Birth Wheel page while the wheel itself stayed visually quiet, which made the response feel stalled even though the summary and scope panes were waiting on the read. Short time-bound prompts like tell me about...tonight. could also stay in CHAT because date parsing alone did not trip the timing-window intent gate.

This PR adds an in-flight Birth Wheel affordance: the Reading tab glows while Raven is responding, and a compact animated Read glyph appears over the wheel without obscuring the natal chart. It also routes casual same-day time windows (tonight, this evening, this morning, this afternoon) into the symbolic timing path and keeps ordinary testimony/decision follow-ups from being promoted into fresh reads.

Validation:

  • npm run typecheck
  • npm run build
  • node --import tsx --test src/lib/raven/__tests__/symbolicMomentIntent.test.ts
  • targeted date/routing tests for same-day casual time parts

Note: strict Sherlog preflight is blocked by baseline vault/profile and runtime contract telemetry unrelated to this diff: 3 vault profiles are missing natalChart blobs, and voice_drift_collapse_surface is already present in runtime collapse evidence. The branch was pushed with --no-verify after user approval.


Note

Medium Risk
Intent and date-regex changes affect raven-chat routing for many user phrasings; misclassification could trigger or skip sky reads. UI changes are localized to guided wheel/reading state.

Overview
Adds visible in-flight read feedback on the Birth Wheel guided view so a wheel question no longer looks idle while Raven is still responding: the Reading tab stays highlighted (with a pulse while loading) and a compact Read glyph overlays the wheel on desktop, mobile overlay, and active map panes.

Extends natural-language date parsing and timing-window / symbolic-read intent so casual same-day phrases (tonight, this evening, this morning, this afternoon, including punctuation like tell me about...tonight.) resolve to today’s single-day range and can enter the symbolic timing path, while non-read follow-ups (e.g. exhausted tonight) stay out of timing-window scans. Tests cover the new date ranges and intent boundaries.

Reviewed by Cursor Bugbot for commit ac81927. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shipyard Building Building Preview, Comment Jun 29, 2026 1:51am

@cursor

cursor Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_1edd4a85-aa92-4631-a108-aa0bc3cd1af1)

@DHCross DHCross merged commit 0bca38b into main Jun 29, 2026
10 of 11 checks passed
@DHCross DHCross deleted the dhcross-birth-wheel-response-state branch June 29, 2026 01:52

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ac81927426

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +64 to +68
if (
normalized === 'now'
|| normalized === 'today'
|| SAME_DAY_PART_PATTERN.test(normalized)
) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep explicit future day parts from collapsing to today

When a captured phrase combines another date with a day part, this branch treats the whole phrase as same-day before extracting the explicit date. For example, parseLooseDateToken('tomorrow evening', new Date('2026-06-04T12:00:00Z')) now returns 2026-06-04, and ranged phrases like starting tomorrow morning build a window from today instead of June 5. That sends future timing reads to the current day's geometry whenever users add morning/evening/afternoon to a non-today date.

Useful? React with 👍 / 👎.

/\bhigh[\s-]?valence\s+date\b/i,
/\bwhen\s+is\s+my\s+next\s+(?:high[\s-]?valence|positive\s+bias)\b/i,
/\bwhen\s+(?:is|does)\s+(?:the\s+)?(?:next|best)\s+(?:high[\s-]?valence|positive\s+bias|expansion)\b/i,
/\b(?:tell\s+me\s+about|read|show|check|pull|fetch|run)\b[\s.?!,;:…-]{0,20}\b(?:tonight|(?:this\s+)?(?:evening|morning|afternoon))\b/i,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Anchor day-part read verbs to explicit requests

Because this new timing-window regex is not anchored to the start of the utterance or another request context, any sentence containing verbs like read, run, or check near tonight is classified as NEW_SYMBOLIC_READ before follow-up handling runs. For example, classifySymbolicMomentTurn('I need to check tonight before deciding') now triggers a fresh symbolic read, so ordinary testimony/decision chat can be promoted into the exact new-read path this change is trying to avoid.

Useful? React with 👍 / 👎.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant