Skip to content

[MAINTENANCE] Consolidate duplicated OS-scheduled bridging pipeline prompts #628

Description

@xnne-bot

Context

The OS-scheduled bridging guides for Claude Code, Cursor, and Hermes each carry a full copy of the prepare → self-evolve → commit pipeline prompt. The Python builder at src/memu/hosts/scheduling/prompt.py is also a canonical copy; current tests deliberately assert that the guide snippets match it.

This duplication is expected today and is not a reported correctness bug. The existing equality tests make drift visible, but maintaining multiple copies remains a long-term cost.

Discussion target

Decide whether a future change should make one source generate or parameterize the host-specific prompt artifacts while preserving:

  • host-specific binary/base-dir/session-dir substitutions;
  • agent-readable Unix setup instructions;
  • packaged-guide, remote-guide, and cached-guide behavior; and
  • tests that fail on actual prompt drift.

Out of scope

Done when

There is an agreed implementation direction and migration/test plan. Implementation can follow in a separate PR.

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