gsxdsm
9c207fd286
FN-7180: add configurable PR metadata prompts
Add project-scoped guidance fields for AI-generated Create PR metadata.
- Store PR title and description prompt guidance as project settings only.
- Surface editable guidance textareas in Project Models settings.
- Append trimmed guidance to the PR metadata system prompt without changing defaults for blank values.
- Document the settings and add release notes/tests for persistence, UI, and prompt generation.
Files changed:
.changeset/fn-7180-pr-prompt-settings.md | 7 ++
docs/dashboard-guide.md | 1 +
docs/settings-reference.md | 2 +
.../core/src/__tests__/settings-defaults.test.ts | 11 ++-
packages/core/src/__tests__/store-settings.test.ts | 19 +++++
packages/core/src/settings-schema.ts | 2 +
packages/core/src/types.ts | 12 ++++
.../app/__tests__/settings-sections.test.tsx | 54 ++++++++++++++
.../dashboard/app/components/SettingsModal.tsx | 4 ++
.../settings/sections/ProjectModelsSection.tsx | 12 ++++
.../src/__tests__/pr-metadata-generator.test.ts | 84 ++++++++++++++++++++++
packages/dashboard/src/pr-metadata-generator.ts | 23 ++++--
12 files changed, 225 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-7180
Fusion-Task-Lineage: 9bdc42d5-ffd3-4208-b64a-96d142cc1dc8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-28 00:28:13 -07:00
..
2026-06-28 00:28:13 -07:00
2026-06-27 18:10:19 -07:00
2026-06-27 18:10:19 -07:00
2026-04-18 23:41:47 -07:00
2026-06-20 10:28:25 -07:00