Skip to content

Externalize AI system task prompts into versioned artifacts #1536

@chubes4

Description

@chubes4

Problem

AI-backed system tasks may embed prompt behavior in PHP classes or hardcoded defaults. That makes task quality hard to update safely across installs.

Desired shape

System tasks that use AI prompts should load prompts from a versioned prompt artifact registry.

Needed pieces:

  • system task prompt registry
  • default prompt artifact IDs
  • versioned prompt loading
  • site/local override support
  • installed/current hash tracking
  • upgrade planner integration

Acceptance criteria

  • AI system tasks can declare a default prompt artifact.
  • The default prompt can be updated by platform/plugin releases.
  • Untouched installed prompts auto-update.
  • Locally modified prompts stage a PendingAction instead of being overwritten.
  • Runtime execution can resolve the effective prompt deterministically.

Context

Examples include daily memory generation, wiki maintenance, meta description generation, alt text generation, summarization, and future graph extraction tasks.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Drafting the issue from product/design discussion; Chris remains responsible for prioritization and implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions