Skip to main content

memanto policy apply-preset

Adopt one of the shipped presets as the agent’s expiry policy. The preset is printed in full first, then you are asked to confirm — so the answer is an informed one rather than a blind yes.
Arguments:
  • NAME - Preset name: conservative, balanced, or aggressive (required)
Options:
  • -a, --agent TEXT - Agent identifier (defaults to active agent)
  • -y, --yes - Skip the confirmation prompt
Examples:
Output:
Adopting a preset replaces the entire policy, including any rules you wrote yourself. Declining the prompt writes nothing.
Notes:
  • Adopting a preset expires nothing on its own — run memanto policy apply afterwards, or let the nightly schedule job pick it up.
  • The resulting policy is written to ~/.memanto/policies/<agent-id>.yaml and can be edited by hand.
  • Preview a preset without adopting it via Get Policy Preset.
  • Backed by the Apply Policy Preset API endpoint.