memory-contract

Enforce unified memory contract for Flowbaby integration across sessions.

16|4|Updated Feb 10, 2024
One-click install
npx skills add https://github.com/LetPeopleWork/Lighthouse --skill memory-contract-letpeoplework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-contract
Source: https://github.com/LetPeopleWork/Lighthouse/tree/main/.github/.github/agents/skills/memory-contract
Command: npx skills add https://github.com/LetPeopleWork/Lighthouse --skill memory-contract-letpeoplework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unified memory contract enforcement for Flowbaby integrations to ensure reliable retrieval and persistent storage of context across sessions and reasoning steps.

Core Features & Use Cases

  • Mandatory memory operations: Requires using flowbabyRetrieveMemory at decision points and flowbabyStoreSummary to preserve context.
  • Context integrity across sessions: Maintains continuity of reasoning when tasks span multiple interactions.
  • Use Case: In a long-running task, retrieve prior decisions before planning and store rationale after each step to enable auditability.

Quick Start

Load the memory-contract policy, then invoke Flowbaby memory tools at appropriate points in your task flow to maintain continuity.

Frequently Asked Questions about memory-contract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain context continuity for an agent across multiple sessions?

To maintain agent context across sessions, use a unified memory contract that mandates explicit context retrieval at decision points and persistent storage of reasoning rationale. This approach ensures continuity and auditability for long-running tasks.

What is the best way to ensure reliable context retrieval before agent reasoning?

The best way to ensure reliable context retrieval is to apply a memory policy that mandates explicit memory retrieval before reasoning begins. This enforces context integrity by making the retrieval operation a mandatory step in the agent's task flow.

How do I store context and summaries at value boundaries during a task?

You can store context at value boundaries by invoking a memory storage tool to preserve summaries after each reasoning step. This captures the rationale at critical points in the task flow, enabling later auditability.

What happens to agent reasoning if memory tools fail during a session?

If memory tools fail during a session, a properly configured memory contract ensures graceful fallback. This allows the agent's reasoning process to continue operating reliably without crashing when storage or retrieval operations encounter errors.

Do I need a specific framework to enforce memory policies for context storage?

You need a framework that supports explicit memory retrieval and storage operations, such as Flowbaby integration. The memory contract applies across decision points and session boundaries to guide when to retrieve and store memories.

When should I retrieve prior decisions to maintain reasoning continuity?

You should retrieve prior decisions before planning the next step of a long-running task. Retrieving context at these decision points maintains reasoning continuity and ensures the agent has the necessary history to proceed accurately.