Skip to content

Fix bundled agent migration for PDF profile imports - #8

Open
Dekode1859 wants to merge 3 commits into
masterfrom
feature/persona-0.1.6-agent-config
Open

Fix bundled agent migration for PDF profile imports#8
Dekode1859 wants to merge 3 commits into
masterfrom
feature/persona-0.1.6-agent-config

Conversation

@Dekode1859

@Dekode1859 Dekode1859 commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • migrate shipped Persona agent definitions into existing writable app data during bundled startup
  • fail frozen bundle verification when profile-pdf is absent
  • add top-right startup update notifications with available, downloading, ready, and installer states
  • add an isolated Persona Dev bundle with separate app metadata and workspace
  • add Windows and macOS development build/install scripts
  • validate both production and development Spiritus bundle specifications in CI
  • bump Persona to 0.1.6

Validation

  • 18 pytest tests pass
  • uv sync --locked and uv lock --check pass
  • Spiritus production and development configuration validation passes
  • Windows PersonaDev one-folder bundle builds and bundle verification passes
  • Persona-Dev-Setup-0.1.6-dev.exe builds successfully with Inno Setup
  • PersonaDev smoke check uses %LOCALAPPDATA%\\persona-dev and does not create production %LOCALAPPDATA%\\persona
  • Windows and macOS PR checks pass

Development build testing

On Windows:

.\\packaging\\build-dev-windows.ps1

This creates release-dev/Persona-Dev-Setup-<version>-dev.exe. Install it normally; it appears as Persona Dev, uses the persona-dev app-data directory, and can be installed alongside production Persona without sharing its workspace or configuration. The macOS equivalent is packaging/build-dev-macos.sh.

- Merge shipped Persona agent definitions into existing writable app data\n- Verify profile-pdf is present in frozen bundles\n- Add upgrade, bundle declaration, and release smoke regression coverage\n- Bump Persona to 0.1.6
@Dekode1859
Dekode1859 force-pushed the feature/persona-0.1.6-agent-config branch from ded4492 to 47d6d3c Compare August 15, 2026 19:24
- Check for updates when Persona finishes opening\n- Add top-right available, downloading, ready, and installer states\n- Persist verified downloads so later launches can offer them again\n- Add a development-only update simulation and lifecycle tests
- Build PersonaDev with a separate app id, title, bundle identifier, and workspace\n- Add Windows and macOS development installer scripts\n- Remove the development-only update simulation while retaining production update behavior\n- Validate production and development Spiritus bundle metadata in CI
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