发布

  • feat(prompts): Constitution of CodeWhale — tiered prompt architecture

    frostbyte_neo 发布于 2026-05-24 17:07:30 +00:00

    • Replace flat base.md with Constitutional hierarchy: Preamble + 7 Articles
    • We begin with Brother Whale — founding intelligence, not personality
    • Dynamic model identity: {model_id} template injected at runtime
    • Article VII: Hierarchy of Law — 9-tier conflict resolution
    • Goal mode: remove read-only claim, add Goal Loop + Wakeup Check
    • Personality (calm.md): Tier 8 subordination, cannot override constitution
    • Memory: Tier 7 enforcement, imperatives treated as preferences
    • Handoff: Tier 9 staleability, subordinate to evidence and user
    • Approval prompts: Tier 2 Statute markers
    • Authority recap appended at end of system prompt
    • model_id threaded through PromptSessionContext → engine + UI
    • 9 new tests: constitutional order, model injection, goal correctness
    下载附件