In the Hopsule ecosystem, a memory is the fundamental unit of context. While decisions represent the "what"—the enforceable constraints your team agrees to follow—memories represent the "why." They are persistent, append-only entries that capture the reasoning, historical context, and technical trade-offs that lead to organizational judgment. This article provides a comprehensive guide on how to create, manage, and link your first memory to ensure your team's collective intelligence is preserved forever.
Preserving context is critical for engineering organizations to prevent the repetition of past mistakes and to onboard new members effectively. By creating memories, you ensure that the logic behind a decision remains accessible long after the original participants have moved on to other projects or organizations. Hopsule transforms these memories into a portable context layer that stays with your team, providing the necessary background for every architectural choice and process change.
Prerequisites
Before you begin creating your first memory, ensure you have completed the following:
An active Hopsule account with access to at least one organization.
Membership in a specific project within the Hopsule Dashboard.
(Optional but recommended) An existing Decision in any state (Draft, Pending, or Accepted) to which you can link your memory for full traceability.
If using the terminal, ensure the Hopsule CLI is installed and authenticated via a secure token.
Creating a Memory via the Hopsule Dashboard
The Hopsule Dashboard provides the most comprehensive interface for creating and managing memories. It allows you to visualize the relationships between your entries and ensure all metadata is correctly applied.
Log in to the Hopsule Dashboard and select the project where you wish to record the context.
Navigate to the Memories tab in the primary sidebar on the left side of the screen.
Click the Create Memory button located in the top-right corner of the interface.
In the Memory Title field, provide a concise but descriptive name for the entry. For example: "Evaluation of Event-Driven vs. Request-Response for Payment Processing."
In the Content area, detail the reasoning and history. This is where you capture the "why." Describe the specific problem, the alternatives considered, the trade-offs identified, and the eventual conclusion. Remember that Hopsule memories are append-only; focus on factual, high-signal information.
Use the Tags selector to categorize the memory. Tags help the Knowledge Graph (also known as the Brain) visualize how different pieces of context relate to one another. Common tags include "Architecture," "Security," "Performance," or "Legacy Migration."
Locate the Linked Decisions section. Click Add Link and search for the decision that this memory supports. Linking a memory to a decision creates a permanent bond of governance, allowing any developer viewing the decision in Hopsule for VS Code to see the underlying reasoning immediately.
Review the Visibility settings. By default, memories are visible to all project members. You can also mark a memory for inclusion in specific Context Packs (Capsules) for sharing across projects.
Click the Commit Memory button. Once committed, the memory is assigned a unique identifier and added to the append-only ledger. It can no longer be deleted or overwritten, ensuring the integrity of your organizational memory.
Creating a Memory via Hopper (AI Assistant)
Hopper, Hopsule's advisory AI assistant, can help you draft memories from natural language conversations or existing meeting transcripts. This is particularly useful for capturing context during the flow of work without leaving your current environment.
Open the Hopper interface within the Hopsule Dashboard or through the Hopsule IDE Extension.
Provide Hopper with the context you wish to preserve. You might say: "Hopper, record a memory about why we decided to use a relational database for the user profile service despite the initial push for a document store."
Hopper will analyze your input, reference existing decisions and memories via RAG-powered context, and suggest a draft memory entry.
Review the draft. Hopper may suggest linking the memory to specific existing decisions or suggest new tags based on the content.
If the draft is accurate, click Accept Suggestion. Hopper will then prompt you to finalize the entry.
Confirm the creation. Hopper will commit the memory to the system, ensuring it is indexed and searchable.
Creating a Memory via Hopsule CLI
For developers who prefer to stay within the terminal, the Hopsule CLI offers a streamlined way to preserve context during the development lifecycle.
Open your terminal and navigate to your project directory.
Run the command
hopsule memory create. This will open an interactive TUI (Terminal User Interface) dashboard.Enter the title and content of the memory when prompted. For longer entries, the CLI can open your system's default text editor.
To link the memory to a decision directly from the command line, use the
--linkflag followed by the Decision ID:hopsule memory create --title "CI/CD Bottleneck Analysis" --link DEC-123.Once you save and exit the editor, the CLI will display an ASCII art confirmation and sync the memory with the Hopsule API.
You can verify the creation by running
hopsule memory listto see the most recent entries in the project.
Linking Memories to Decisions
The true power of Hopsule lies in the relationship between memories and decisions. A decision without a memory is an arbitrary rule; a memory without a decision is a floating observation. Linking them creates a robust governance layer.
When you link a memory to a decision, you are providing future developers with the "authority" of the decision and the "preservation" of the memory. In Hopsule for VS Code, when a developer encounters a warning that their code contradicts an Accepted decision, they can click "View Context" to see all linked memories. This allows them to understand the organizational judgment that led to the constraint, making enforcement feel like remembrance rather than control.
To link an existing memory to an existing decision after the fact:
Open the specific Decision in the Hopsule Dashboard.
Scroll to the Supporting Context section.
Click Link Existing Memory.
Search for the memory by title or tag and select it.
The Knowledge Graph will update in real-time to show the new connection, strengthening the integrity of your project's context layer.
Tips and Best Practices
Adopt an Append-Only Mindset: Do not worry about making a memory "perfect." Because Hopsule memories are append-only and never deleted, it is better to record a raw observation now than to lose the context later. You can always add a follow-up memory that references the first one.
Be Specific with Reasoning: Instead of saying "We chose X because it was faster," say "We chose X because it reduced latency by 200ms in our specific use case of high-frequency trading updates, despite the higher cost of maintenance."
Use Tags Strategically: Tags are the connective tissue of your Brain (Knowledge Graph). Consistent tagging allows Hopper to provide better suggestions and helps the Hopsule MCP provide more relevant context to AI agents.
Link Early and Often: Every decision should have at least one linked memory. If a decision is being deprecated, create a memory explaining why the decision is no longer valid to prevent the organization from reverting to old, discarded patterns.
Leverage Capsules: If you are working on a microservices architecture, create Context Packs (Capsules) that bundle core architectural memories. These can then be shared across all service repositories, ensuring every team has the same context.
Solo Mode is First-Class: Even if you are a solo developer, use memories to document your own journey. Your future self will appreciate the remembrance of why you made a specific choice six months ago.
Troubleshooting
Issue | Cause | Solution |
|---|---|---|
Memory not appearing in Knowledge Graph | The memory lacks tags or links to other entities. | Add at least one tag or link the memory to an existing Decision to visualize its relationship in the Brain. |
Unable to edit a committed memory | Hopsule memories are append-only by design to ensure preservation. | Create a new memory that references the original entry to provide updated context or corrections. |
CLI returns "Authentication Required" | The session token has expired or the CLI is not logged in. | Run |
Hopper cannot find a specific memory | The memory may be in a different project or organization. | Ensure you are in the correct project context in the Hopsule Dashboard or check the visibility settings of the memory. |
IDE Extension not showing linked memories | Local sync has not completed or the decision is not in 'Accepted' state. | Ensure the decision is 'Accepted' and click the 'Sync' icon in the Hopsule for VS Code sidebar. |
Related Articles
Managing Your First Decision: Learn the lifecycle of decisions from Draft to Accepted and how they enforce governance.
Understanding Context Packs (Capsules): How to bundle memories and decisions for portability across your engineering organization.
Navigating the Knowledge Graph: A guide to visualizing your team's collective intelligence and decision relationships.
Using Hopsule MCP with AI Agents: How to give external AI tools read-only access to your preserved context and memories.
SHARE ON SOCIAL MEDIA

