CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

exposed main prompt for broader use cases

Open DracheTek opened this issue 5 months ago • 2 comments

Problem

我正在考虑将codewhale tui的使用例拓展至更多目的:文学创作,背景围读等类,为这些目的使用软件工程所用的提示词是不合用的。在修改AGENTS.md的基础上可能还需要修改personality乃至constiute的一部分。

Proposed solution

将hard load的文本文件改为指向config目录的同样文本文件的链接。考虑两种做法:不留hard load释放二进制大小或保留hard load作为删去了/未配置config时的fallback

Use case

见上

Alternatives considered

目前的主要workaround是直接修改AGENTS.md 但是缺乏某种意义上的可扩展性和自由度。

Impact

本人经常在网页版deepseek进行上述创作目的的调用,但是网页版如今缺乏最强思考/工具调用/多轮思考等增强手段,质量一般。

Additional context

DracheTek avatar Jun 26 '26 05:06 DracheTek

Thanks @DracheTek for the report.

This issue is staying open for maintainer triage. CodeWhale gets better because people bring us real edge cases from real machines, providers, regions, and workflows.

If you can add a reproduction, logs, version output, screenshots, or the provider/model involved, that makes it much easier for us to verify and harvest the fix. Maintainers may comment /lgtmi to mark recurring issue reporters as approved so this intake note is skipped next time.

github-actions[bot] avatar Jun 26 '26 05:06 github-actions[bot]

Implemented by #3696 (674c8768): CodeWhale now supports an explicit config-directory base prompt override at ~/.codewhale/prompts/constitution.md / $CODEWHALE_HOME/prompts/constitution.md, gated by CODEWHALE_ALLOW_BASE_PROMPT_OVERRIDE=1 so a stray file cannot silently replace the bundled Constitution. Missing or empty files still fall back to the shipped prompt.

Thanks @DracheTek for the broader-use-case request around writing/review workflows, and thank you @findshan for the careful implementation and docs. One caveat: we are still working toward a more first-class customizable prompt/config story, so this escape hatch may be renamed, moved, or replaced later; for now it gives advanced users a deliberate opt-in path without removing the runtime-owned safety layers.

Hmbown avatar Jun 27 '26 19:06 Hmbown