Files
phase-memory/docs/pmem-wp-0002-outline.md

1.3 KiB

Candidate PMEM-WP-0002 Outline

Superseded by workplans/PMEM-WP-0002-local-runtime-facade-and-cli.md.

Status: candidate outline

Title

Local Runtime Service And Markitect Package Bridge

Purpose

Turn the PMEM-WP-0001 planning foundation into a usable local runtime facade. The second slice should remain local-first, but it can expose a concrete API for importing profiles/graphs, planning lifecycle actions, and handing selected activations to Markitect.

Candidate Tasks

  1. Add a small application service that combines contract ingress, profile planning, lifecycle planning, activation planning, and local adapters.
  2. Add a CLI command for phase-memory profile plan <profile.json>.
  3. Add a CLI command for phase-memory graph activate <graph.json>.
  4. Add optional Markitect compiler integration behind a narrow port.
  5. Add JSONL file-backed store and event-log adapters.
  6. Add a compatibility fixture that mirrors the Infospace Bench agentic memory pilot in phase-memory terms.
  7. Define the first external adapter contract for Kontextual Engine delegation.

Guardrails

  • Keep durable writes review-gated.
  • Keep Markitect schema validation delegated or adapter-wrapped.
  • Keep service and CLI outputs deterministic.
  • Do not require live LLM, vector, graph database, or enterprise policy services in the default test suite.