[eric] release: one changelog source feeds the Help agent, the GitHub body, and the in-app card

This commit is contained in:
ciregenz
2026-08-07 00:45:06 -07:00
parent 3ba65bedb7
commit 9d8fe2e545
3 changed files with 141 additions and 0 deletions
+8
View File
@@ -136,6 +136,9 @@ def p_issues_block() -> str:
@typechecked
from backend.apps.help.changelog import help_context_block
def build_system_prompt(shortcuts: List[HelpShortcut], app_version: str) -> str:
shortcut_lines = "\n".join(f"- {s.keys}: {s.action}" for s in shortcuts)
os_name = "macOS" if IS_MAC else platform.system()
@@ -158,6 +161,11 @@ def build_system_prompt(shortcuts: List[HelpShortcut], app_version: str) -> str:
shortcut_lines,
"</shortcuts>",
"",
"<whats_new>",
"What actually changed in this build. Answer \"what's new\" from THIS, never from memory.",
help_context_block(app_version),
"</whats_new>",
"",
"<known_issues>",
"The complete list of issues shipped with this build. You cannot see live bug reports.",
p_issues_block(),