Skip to content

[MM-12] Migrate headless context assembly to ContextEngine #791

Closed

Description

@bug-superman

MM-12: Migrate headless context assembly to ContextEngine

Parent

#771

Checkpoint

MC-3 ContextEngine ownership

What to build

Route Harbor/headless model-visible context exclusively through ContextEngine while retaining strategy flags for A/B and rollback.

Acceptance criteria

  • Headless has one assembly owner.
  • Official verifier artifacts remain authoritative.
  • Runtime-policy A/B can select old-compatible and new strategies.
  • Tool protocol and cancellation behavior are unchanged.
  • Rollback flag restores compatibility adapter behavior.

Required tests

  • Headless integration
  • Harbor fixture
  • tool loop
  • cancel/timeout
  • strategy switch

Benchmark

PinchBench pilot and terminal-bench token sanity through both paths.

Blocked by

Rollout and rollback

Switch headless to CurrentMakaContextAdapter; do not bypass ContextEngine after contract.

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-12 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