Skip to content

[codex] Preserve imported front matter titles#12

Merged
KSemenenko merged 1 commit intomainfrom
codex/fix-shell-import-title
Apr 9, 2026
Merged

[codex] Preserve imported front matter titles#12
KSemenenko merged 1 commit intomainfrom
codex/fix-shell-import-title

Conversation

@KSemenenko
Copy link
Copy Markdown
Member

Summary

  • preserve explicit front matter titles for text-based shell imports
  • keep file-stem title fallback for converted non-text imports
  • add a core regression test for markdown imports with front matter

Root Cause

The shell import flow built the correct descriptor first, then unconditionally overwrote the imported title with the picker/file-stem fallback.

Validation

  • dotnet test @./tests/dotnet-test-progress.rsp --project ./tests/PrompterOne.Core.Tests/PrompterOne.Core.Tests.csproj
  • dotnet test @./tests/dotnet-test-progress.rsp --project ./tests/PrompterOne.Web.UITests.Shell/PrompterOne.Web.UITests.Shell.csproj
  • dotnet format ./PrompterOne.slnx
  • dotnet build ./PrompterOne.slnx -warnaserror

@KSemenenko KSemenenko merged commit e0467fa into main Apr 9, 2026
6 of 7 checks passed
@KSemenenko KSemenenko deleted the codex/fix-shell-import-title branch April 9, 2026 10:25
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