Files
Lore Engine Dev fe82f89972 slice 7.2: system prompt + version registry
Per docs/plan/exec/07-harness.md sub-slice 7.2:

  - lore_engine_poc/prompts/system_prompt.md — the
    canonical system prompt. 5 question types with
    canonical tool sequences, the citation rule
    ("cite every claim"), the time-window rule
    (default at_time, explicit time in answer), the
    contradiction rule (surface, don't resolve), the
    6 failure modes the LLM must avoid. v1.2-aware:
    mentions the slice 5T TypeTemplate tools and the
    slice 6 Setting/Plane setting= filter.
  - lore_engine_poc/prompts/registry.json — the
    version registry. Pins the system prompt to v1.2
    with model_target=minimax-m3:cloud. Old runs stay
    comparable when the prompt iterates (D3).
  - lore_engine_poc/prompts/loader.py — the loader.
    list_registered_prompts() and load_current_system_prompt()
    are the canonical entry points; the harness
    runner uses them to fetch the prompt + stamp
    results with the version.
  - tests/harness/test_system_prompt.py — 9 tests:
    registry well-formed, system_prompt registered,
    path resolves, loader returns (text, version),
    prompt has 5 question types, citation rule
    present, time-window rule present, mentions
    template tools, mentions setting filter.

Track A only (no API key). Track B uses the loader
when executing the harness.

Suite: 767 → 776 (+9).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-19 20:57:49 -04:00
..