Skip to content

[MM-14] Contract legacy provider-visible rewrite paths #793

Closed

Description

@bug-superman

MM-14: Contract legacy provider-visible rewrite paths

Parent

#771

Checkpoint

MC-3 ContextEngine ownership

What to build

Remove or seal legacy paths that can rewrite provider-visible messages outside ContextEngine and prevent double compaction.

Acceptance criteria

  • All supported surfaces invoke one assembly owner.
  • No model-visible rewrite occurs after ContextEngine validation.
  • Double compact is detected and rejected.
  • Static/runtime contract tests cover forbidden bypasses.
  • Compatibility strategy still exists inside ContextEngine.

Required tests

  • Call-site contract
  • double compact
  • provider validation
  • all surfaces
  • unknown legacy hook

Benchmark

Repeat MC-3 equivalence and general-task pilot after contract.

Blocked by

Rollout and rollback

Re-enable only the compatibility strategy, not external rewrite ownership.

Activity

  1. Astro-Han commented on Aug 2, 2026

    @Astro-Han
    Contributor

    Superseded by #1615 (automatic long-term memory lifecycle, SQLite-based; accepted by maintainers 2026-07-30, PR ① #1770 merged). This MM-14 work item never landed outside draft PR #820 and is replaced by the #1615 design and its LongMemEval/MSC evaluation plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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