mnmx

Compatibility slice

Generate portable goals and a submission manifest for a scoped reconstruction.

Usage

TypeScript
import { compatibilitySlice } from '@mnmx/engine/stdlib';

const bundle = compatibilitySlice({
  project: 'router',
  owner: 'team:routing',
  nextReview: { on: 'release' },
  scope: 'Match the documented URL patterns.',
  focus: 'Preserve optional parameters.',
  behaviors: {
    'optional-id': 'Match both /users and /users/42.',
  },
});

Supply the project scope, implementation focus, owner, review trigger, and required behaviors. Use a behaviors map to generate goal IDs or a goals array to keep existing IDs and group related entries.

Write bundle.goals to goals.json and bundle.submission to submission.json. The manifest places submissions under the implementation context while the charter protects all behavioral obligations.