Overview

State the subject, why it is useful, and the boundary of the retained context.

Facts And Semantics

Define terms and record durable facts, ownership, relationships, and evidence interpretation. Distinguish confirmed facts from mutable interpretation. Link to a runbook for ordered execution and to backlog items for work state.

Decisions And Interpretation

Record current interpretation and its practical consequences. Route accepted architecture or governance rationale to an ADR, material planning choices to a decisions reference, and implementation authority to the backlog.

Preserved source content

Purpose

Provide a canonical map for where CJ prompt text is assembled and which files own the system prompt and per-event overrides, so prompt edits remain intentional and auditable.

This is a reference document. The canonical behavior is defined by code and shared contracts in libs/common_core/.

Canonical Rule Surface

Prompt Sections (CJ Assessment Service)

The CJ Assessment service builds the final user prompt from multiple sources. This section is a pointer map to the authoritative composition points.

System Prompt Hierarchy

System prompt selection is intended to be predictable and layered:

  1. Event-level override (highest priority)
  1. CJ Assessment default (middle priority)
  1. LLM Provider fallback (lowest priority)

ENG5 Runner Override Behavior (CJ comparative judgement experiments)

The ENG5 runner can override the CJ system prompt and other LLM settings.

Operational execution guidance for ENG5 belongs in:

Examples

Typical prompt-change workflow:

  1. Identify which layer you are changing (event override vs CJ default vs runner prompt).
  2. Confirm the structured output requirements in _build_comparison_prompt() still match downstream provider enforcement.
  3. Update any task/ADR that governs the prompt change (psychometric validity concerns).