Skip to content

v0.8.67 Docs: center /constitution and user-global constitution in the docs map #3811

Description

@Hmbown

Problem

The v0.8.67 product direction is that /constitution is the main user-facing constitution surface, and the normal personal constitution path is a structured user-global constitution rendered into model-facing prose. Current docs still lean heavily toward repo-local .codewhale/constitution.json and the expert full prompt override.

That can make users think the only constitution choices are repo law or raw prompts/constitution.md, which is not the intended setup experience.

Surfaces to audit and update

  • README.md and localized READMEs: the law/constitution section should explain the bundled global floor, user-global /constitution, repo-local .codewhale/constitution.json, AGENTS.md, and memory order.
  • docs/CONFIGURATION.md: keep $CODEWHALE_HOME/prompts/constitution.md documented as an expert full-base-prompt override, but not as the normal guided creator output.
  • docs/CONFIGURATION.md: document the user-global structured constitution file path chosen by implementation and how it is rendered into prose.
  • web/app/[locale]/docs/constitution/page.tsx: update from mostly repo-local constitution framing to the /constitution + user-global setup model.
  • Any setup docs: explain that runtime security controls remain separate from constitution text. Constitution may express preference, but must not silently mutate approval mode, sandbox, network, or trust.
  • WHALE.md references: remove from active docs or keep only a finite migration note pointing to AGENTS.md and .codewhale/constitution.json.

Authority model docs should say

  • Bundled global Constitution: compiled Markdown floor, same for everyone.
  • User-global constitution: guided setup output, structured data, rendered to prose, applies everywhere.
  • Repo-local constitution: optional .codewhale/constitution.json, project authority policy, subordinate to higher law and current user request.
  • AGENTS.md: ordinary project working instructions.
  • Memory/handoff: recalled state, lower authority than constitutions and instructions.
  • Full prompt override: expert escape hatch only, gated separately.

Acceptance criteria

  • /constitution is documented as the primary constitution management command.
  • User-global constitution is documented as the normal guided setup output.
  • Repo-local constitution is documented as optional project policy, not the whole constitution story.
  • Full base-prompt Markdown override is clearly marked expert-only.
  • WHALE.md does not appear as an active setup recommendation.
  • At least one web docs page and one CLI/TUI docs page reflect the same model.
  • Localized copy has either coverage or an intentional fallback note.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    contextContext management / contextdocumentationImprovements or additions to documentationenhancementNew feature or requestlocalizationLocalization, i18n, and non-English language supportsecuritySecurity, isolation, permissions, or trust-boundary worktuiTerminal UI behavior, rendering, or interactionuxUser experience, interaction, or presentation polishv0.8.67Targeting v0.8.67

    Projects

    Status
    Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions