Skip to content

zwright8/OpenClaw-Code / skills/generated/0091-memory-policy-constraint-compiler

u0091-memory-policy-constraint-compiler

Unverified

Build and operate the "Memory Policy Constraint Compiler" capability for Memory and Knowledge Operations. Trigger when this exact capability is needed in mission execution.

Memory Policy Constraint Compiler

Why This Skill Exists

We need this skill because agents lose performance when lessons are not retained and reused. This specific skill turns governance language into enforceable runtime checks.

When To Use

Use this skill when the request explicitly needs "Memory Policy Constraint Compiler" outcomes in the Memory and Knowledge Operations domain.

Step-by-Step Implementation Guide

  1. Define the scope and success metrics for Memory Policy Constraint Compiler, including at least three measurable KPIs tied to repeated mistakes and context loss.
  2. Design and version the input/output contract for episodic logs, knowledge nodes, and retrieval metadata, then add schema validation and failure-mode handling.
  3. Implement the core capability using rule compilation, and produce executable policy bundles with deterministic scoring.
  4. Integrate the skill into swarm orchestration: task routing, approval gates, retry strategy, and rollback controls.
  5. Add unit, integration, and simulation tests that explicitly cover repeated mistakes and context loss, then run regression baselines.
  6. Deploy behind a feature flag, monitor telemetry/alerts for two release cycles, and iterate thresholds based on observed outcomes.

Required Deliverables

  • Capability contract: input schema, deterministic scoring, output schema, and failure modes.
  • Runtime profile: contract-compiler using rule compilation to produce executable policy bundles.
  • Orchestration integration: memory-and-knowledge-operations:contract-compiler routing, approval gates, retries, and rollback controls.
  • Validation evidence: unit, integration, simulation, regression-baseline suites and rollout telemetry.

Operational Runbook

Preflight

  • Confirm the Memory Policy Constraint Compiler request scope, source evidence, and measurable success criteria before execution.
  • Verify feature flag skill_0091_memory-policy-constraint-compile, approval gates, and rollback owner before autonomous use.

Execution

  • Execute rule compilation with deterministic scoring and reproducible trace capture.
  • Produce executable policy bundles plus scorecard, assumptions, and unresolved-risk notes.

Recovery

  • Fail closed when required signals, evidence, or approval gates are missing.
  • Rollback to the last stable baseline when posture is critical or validation fails.

Handoff

  • Publish executable policy bundles, validation evidence, and telemetry links to downstream owners.
  • Queue follow-up tasks for unresolved risks, threshold tuning, or approval review.

Guardrails

  • [quality] Require deterministic scoring and validation evidence before promotion.
  • [reliability] Preserve retries, rollback controls, and failure-mode evidence for every run.
  • [safety] Route critical posture or missing approval gates to human review before autonomous action.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 192kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 192kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 192kUpdated Claude CodeCodexVerifiedInstall