Skip to content

[FEATURE] ERL system-prompt injection of top-k heuristics (Child C of #1303) #1361

Description

@Lexus2016

Parent: #1303

Slice C of the ERL-style cross-task heuristic extraction pipeline.

Scope (~80 lines)

Inject top-k heuristics into the system prompt at conversation start:

  • Read ranked heuristics from Slice B
  • Format as a concise "Learned Heuristics" block in the system prompt
  • Gate behind config (evolution.erl_prompt_injection: true)

Dependencies

  • Requires Slice B (#child-b) to be merged first

Acceptance Criteria

  • Heuristic block appears in system prompt when enabled
  • Block is cache-safe (stable for the conversation lifetime)
  • Tests verify prompt formatting and config gating

Merge cap

≤ 200 lines total.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthigh-priorityHigh prioritymemoryMemory subsystemresearch-drivenCreated by the evolution research cycle

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions