Skip to content

chore(store): WIP register flows into the store and move presentation out (P2) - #1271

Closed
gewenyu99 wants to merge 1 commit into
posthog/split-p1-contractfrom
posthog/split-p2-store
Closed

gewenyu99 wants to merge 1 commit into
posthog/split-p1-contractfrom
posthog/split-p2-store

Conversation

@gewenyu99

Copy link
Copy Markdown
Collaborator

P2 of the agent/store/tui split, stacked on the P1 PR: the store no longer imports the program registry or any rendering concept.

The store takes a Flow of steps with opaque screen keys, resolves the active screen itself (WizardRouter is gone), and keeps interrupts under the same names the overlays had. Presentation state moves to a UiStore that watches the store. InkUI becomes StoreUI, LoggingUI and HeadlessUI move under tui/console with bin.ts installing the default, and every program content deck moves to tui/programs behind PROGRAM_PRESENTATION. All 88 frame goldens, 16 keyboard pairs, 24 flow traces, and the analytics sequences are unchanged; seeded boundary violations drop to 22.


Created with PostHog Desktop

The store takes a Flow (steps with opaque screen keys) instead of importing
the program registry; flow resolution replaces WizardRouter and the overlay
stack becomes an interrupt stack with the same screen names. Presentation
state (status bar, learn card, token HUD, transition direction) moves to a
UiStore that watches the store. InkUI becomes StoreUI; console renderers live
under tui/console and the entry point installs LoggingUI. Program content
decks move to tui/programs behind PROGRAM_PRESENTATION. Every frame, flow
trace, keyboard, and analytics golden is unchanged.

Generated-By: PostHog Desktop
Task-Id: d14e92bb-6ee1-49b5-8502-39cb80079589
@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci ai-observability
  • /wizard-ci basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci replay-vision
  • /wizard-ci revenue
  • /wizard-ci self-driving
  • /wizard-ci warehouse
  • /wizard-ci warehouse-seeded

Test an individual app:

  • /wizard-ci ai-observability/anthropic
  • /wizard-ci ai-observability/google-adk
  • /wizard-ci ai-observability/groq
Show more apps
  • /wizard-ci ai-observability/manual-capture
  • /wizard-ci ai-observability/openai
  • /wizard-ci ai-observability/openai-agents
  • /wizard-ci ai-observability/opentelemetry
  • /wizard-ci ai-observability/vercel-ai
  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/flutter
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci replay-vision/javascript-node
  • /wizard-ci replay-vision/next-js
  • /wizard-ci replay-vision/react-vite
  • /wizard-ci revenue/stripe
  • /wizard-ci self-driving/astro
  • /wizard-ci self-driving/fastapi
  • /wizard-ci self-driving/nuxt
  • /wizard-ci self-driving/react-router
  • /wizard-ci self-driving/sveltekit
  • /wizard-ci warehouse/monorepo-env
  • /wizard-ci warehouse/multi-source-next
  • /wizard-ci warehouse/stripe-node
  • /wizard-ci warehouse/zero-source
  • /wizard-ci warehouse-seeded/next-stripe
  • /wizard-ci warehouse-seeded/next-stripe-declined

Test against a Context Mill branch:

  • /wizard-ci all context-mill:my-branch

Add context-mill:<branch> to any command above to pin the Context Mill branch. It defaults to main.

Results will be posted here when complete.

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