Introduction

In the high-stakes environment of modern engineering, the "why" behind a technical choice is often more valuable than the choice itself. Hopsule treats memories as the persistent, append-only context entries that form the bedrock of organizational judgment, ensuring that the reasoning, history, and hard-won lessons of your team are never lost to time or turnover. This article provides a comprehensive guide on how to capture these memories and link them to decisions, creating a robust decision and memory layer that transforms enforcement into an act of collective remembrance.

By effectively linking memories to decisions, engineering organizations can move beyond rigid policy enforcement and toward a model of context-aware governance. When a developer encounters a constraint in their IDE via Hopsule for VS Code, they are not just seeing a rule; they are accessing the shared memory of the organization. This traceability ensures that every decision is backed by authoritative context, allowing for informed departures or confident adherence as the project evolves.

Prerequisites

Before you begin creating memories and establishing links within the Hopsule ecosystem, ensure the following conditions are met:

  • You have an active account with access to the Hopsule Dashboard.

  • You are a member of a project or organization where you have the permissions to create and manage memories.

  • For terminal-based workflows, the Hopsule CLI must be installed and authenticated using a secure access token.

  • To utilize AI-assisted memory drafting, ensure Hopper is enabled for your project.

Creating Memories in the Hopsule Dashboard

The Hopsule Dashboard serves as the primary interface for managing the long-term memory of your engineering team. Creating a memory here is an intentional act of preservation, designed to capture context that might otherwise be buried in ephemeral chat logs or lost in verbal discussions.

  1. Log in to the Hopsule Dashboard and select the relevant project from the sidebar.

  2. Navigate to the Memories section using the main navigation menu.

  3. Click the Create Memory button located in the top-right corner of the interface.

  4. Title your memory: Provide a concise, descriptive title that summarizes the context. Avoid generic titles; instead, use specific identifiers like "Rationale for adopting Event-Driven Architecture over REST for Service X."

  5. Enter the content: In the primary text area, document the reasoning, history, and lessons learned. Focus on the "why." What were the alternatives? What constraints led to this specific path? What were the results of the initial spikes or prototypes?

  6. Apply Tags: Use the Tags field to categorize the memory. Tags are essential for the Knowledge Graph (also known as the Brain) to visualize relationships between disparate pieces of context.

  7. Select a Context Pack: Assign the memory to a specific Context Pack (Capsule) to ensure it is portable and shareable across relevant projects and AI sessions.

  8. Click Save Memory.

Because Hopsule follows an append-only philosophy, once a memory is saved, it becomes a permanent part of the project's history. While you can add new entries or link it to new decisions, the original context remains preserved to maintain full traceability and organizational integrity.

Linking Memories to Decisions

Linking is the process of connecting a memory (the "why") to a decision (the "what"). This connection is what makes Hopsule a decision-first system rather than a simple storage tool. Without a link, a memory is just isolated context; without a memory, a decision is an arbitrary rule.

Linking During Memory Creation

The most efficient way to establish a link is at the moment of creation. Within the Create Memory screen, you will find a section labeled Linked Decisions. This searchable dropdown allows you to select one or multiple existing decisions from your project's registry. By selecting a decision here, you are explicitly stating that this memory provides the necessary context for that specific commitment.

Linking via the Decision Detail View

Often, you may realize that an existing memory is relevant to a new decision being drafted. To link them:

  1. Navigate to the Decisions tab in the Hopsule Dashboard.

  2. Select the decision you wish to contextualize.

  3. In the Context & Memories pane, click the Add Link icon.

  4. Search for the memory by title or tag and select it to establish the link.

  5. The Knowledge Graph will automatically update to reflect this new relationship, showing a line of influence between the memory and the decision.

Creating Memories via the Hopsule CLI

For developers who prefer to remain in the terminal, the Hopsule CLI provides a powerful, interactive TUI for memory preservation. This is particularly useful for capturing context immediately after a successful deployment, a complex debugging session, or a local architectural spike.

To create a memory from the terminal, use the following command:

hopsule memory create
hopsule memory create
hopsule memory create

This command launches an interactive prompt where you can:

  • Define the memory title and body.

  • Select tags from a list of existing project tags.

  • Search for and link to existing decisions.

  • Assign the memory to a Context Pack.

If you prefer a non-interactive approach for automation or scripting, the Hopsule CLI supports flags:

hopsule memory create --title "Migration Lessons" --content "Detailed notes on the legacy data migration" --link-decision "DEC-101" --capsule "Core-Infrastructure"
hopsule memory create --title "Migration Lessons" --content "Detailed notes on the legacy data migration" --link-decision "DEC-101" --capsule "Core-Infrastructure"
hopsule memory create --title "Migration Lessons" --content "Detailed notes on the legacy data migration" --link-decision "DEC-101" --capsule "Core-Infrastructure"

This programmatic access ensures that context can be captured as part of a CI/CD pipeline or a post-commit hook, further embedding memory preservation into the engineering workflow.

Leveraging Hopper for Context Capture

Hopper, the Hopsule AI assistant, is designed to assist in the drafting process. Hopper can analyze existing project data, previous decisions, and even natural language inputs to suggest memory entries that are coherent and relevant. It is important to remember that Hopper is advisory only; it can draft memories, but a human must always review and accept them to ensure the preservation of true organizational judgment.

To use Hopper for memory creation:

  1. Open the Hopper chat interface in the Hopsule Dashboard or via the Hopsule for VS Code extension.

  2. Provide a prompt such as: "Hopper, draft a memory entry explaining the performance trade-offs we accepted during the last sprint's database optimization."

  3. Hopper will generate a draft based on the context it has access to via the Hopsule MCP and existing project data.

  4. Review the draft, make any necessary adjustments to the reasoning, and click Convert to Memory.

  5. Finalize the linking to relevant decisions and save the entry.

The Role of Memories in the Knowledge Graph

The Knowledge Graph (or Brain) is the visual manifestation of your team's decision and memory layer. When you link a memory to a decision, you are creating a node and an edge within this graph. This visualization allows engineering leaders to see the density of context around specific technical areas.

In the Knowledge Graph, memories are represented as distinct nodes that orbit the decisions they support. A decision with many linked memories indicates a well-documented, high-context area of the system. Conversely, a decision with no linked memories may represent a "blind spot" where the team is following a rule without remembering why it was established. Use the Knowledge Graph to identify these gaps and prioritize context preservation efforts.

Tips and Best Practices

  • Write for your future self: When creating a memory, imagine a new engineer joining the team three years from now. Does the memory provide enough context for them to understand the constraints and pressures of today?

  • Embrace the append-only nature: Do not worry about making a memory "perfect." Because Hopsule preserves everything, it is better to capture raw, honest context now than to wait for a polished version that might never be written.

  • Link early and often: A memory that isn't linked to a decision is harder to find when that decision is being challenged or reviewed. Linking is the glue of the system.

  • Use specific tags: Instead of broad tags like "backend," use specific ones like "concurrency-model" or "idempotency-logic." This makes the Knowledge Graph more granular and useful.

  • Distinguish between facts and judgment: Use memories to record the facts (benchmarks, error logs) and the organizational judgment (the decision to prioritize developer velocity over raw performance).

  • Leverage Context Packs: Group related memories and decisions into Context Packs (Capsules). This makes it easy to share the entire history of a specific module or service with another team.

Troubleshooting

If you encounter issues while creating or linking memories, refer to the table below for common causes and solutions.

Issue

Cause

Solution

Memory does not appear in the Hopsule for VS Code sidebar.

The memory is not part of an Active Context Pack.

Go to the Hopsule Dashboard and ensure the memory is assigned to a Capsule that is currently set to Active.

Unable to link a memory to a specific decision.

The decision may be in a Deprecated state.

Hopsule prevents linking new context to deprecated decisions to maintain focus. If the context is still relevant, consider linking it to the decision that superseded the deprecated one.

Hopsule CLI returns an "Authentication Required" error.

The local session token has expired or was never initialized.

Run hopsule login to re-authenticate or check your environment variables for the HOPSULE_TOKEN.

Hopper is unable to suggest a memory draft.

Insufficient context or the Hopsule MCP is disconnected.

Ensure Hopper has access to the project's decision history. Try providing more specific keywords or referencing existing decision IDs in your prompt.

The Knowledge Graph is not showing the link between a memory and a decision.

The link was created but not saved, or the graph view needs to be refreshed.

Verify the link in the Memory Detail View. If it exists, click the Refresh Graph button in the Brain interface.

Related Articles

  • Managing Decision Lifecycles: From Draft to Deprecated — Learn how decisions evolve and how their status affects the associated memories.

  • Portability and Preservation: Working with Context Packs — A deep dive into how to bundle memories and decisions for sharing across teams.

  • IDE Enforcement: Integrating Hopsule with VS Code and Cursor — Discover how linked memories provide the context for real-time decision enforcement in your editor.

SHARE ON SOCIAL MEDIA

Frequent questions

These questions are asked by many of our users

Customer Centric

Frequent questions

These questions are asked by many of our users

Frequent questions

These questions are asked by many of our users

How do I change my billing information?

You can update your billing details from your account settings. Just go to the “Billing” section, click “Edit” next to your payment method, and follow the prompts to update your information securely.

What happens after my free trial ends?

When your free trial ends, your account will automatically move to the free version (if available) or pause until you choose a paid plan. You’ll receive a reminder before the trial expires so you can decide what works best for you.

Do you offer refunds?

We generally don’t offer refunds once a payment has been processed. However, if you experience any billing issues or believe there’s been a mistake, reach out to our support team and we’ll be happy to review your case.

Can I switch plans later?

Absolutely. You can upgrade or downgrade your plan at any time from your account dashboard. Changes usually take effect immediately, and any price difference will be adjusted automatically.

Will I lose my data if I cancel my subscription?

No, your data will remain stored safely. You’ll retain access to your content, but some premium features may be locked after cancellation. You can always upgrade again to regain full access.

How do I upgrade or downgrade my plan?

Go to your account settings, then to the “Subscription” section. There, you can choose a different plan that better suits your needs. Changes are applied right away, and any billing adjustments are handled automatically.

Is there a free plan available?

Yes, we offer a free plan with limited features for users who want to try things out or don’t need the full suite of tools. You can stay on the free plan as long as you’d like.

What payment methods do you accept?

We accept major credit and debit cards, including Visa, Mastercard, American Express, and others. Depending on your location, additional payment options like PayPal may also be available.

How do I change my billing information?

You can update your billing details from your account settings. Just go to the “Billing” section, click “Edit” next to your payment method, and follow the prompts to update your information securely.

What happens after my free trial ends?

When your free trial ends, your account will automatically move to the free version (if available) or pause until you choose a paid plan. You’ll receive a reminder before the trial expires so you can decide what works best for you.

Do you offer refunds?

We generally don’t offer refunds once a payment has been processed. However, if you experience any billing issues or believe there’s been a mistake, reach out to our support team and we’ll be happy to review your case.

Can I switch plans later?

Absolutely. You can upgrade or downgrade your plan at any time from your account dashboard. Changes usually take effect immediately, and any price difference will be adjusted automatically.

Will I lose my data if I cancel my subscription?

No, your data will remain stored safely. You’ll retain access to your content, but some premium features may be locked after cancellation. You can always upgrade again to regain full access.

How do I upgrade or downgrade my plan?

Go to your account settings, then to the “Subscription” section. There, you can choose a different plan that better suits your needs. Changes are applied right away, and any billing adjustments are handled automatically.

Is there a free plan available?

Yes, we offer a free plan with limited features for users who want to try things out or don’t need the full suite of tools. You can stay on the free plan as long as you’d like.

What payment methods do you accept?

We accept major credit and debit cards, including Visa, Mastercard, American Express, and others. Depending on your location, additional payment options like PayPal may also be available.

How do I change my billing information?

You can update your billing details from your account settings. Just go to the “Billing” section, click “Edit” next to your payment method, and follow the prompts to update your information securely.

What happens after my free trial ends?

When your free trial ends, your account will automatically move to the free version (if available) or pause until you choose a paid plan. You’ll receive a reminder before the trial expires so you can decide what works best for you.

Do you offer refunds?

We generally don’t offer refunds once a payment has been processed. However, if you experience any billing issues or believe there’s been a mistake, reach out to our support team and we’ll be happy to review your case.

Can I switch plans later?

Absolutely. You can upgrade or downgrade your plan at any time from your account dashboard. Changes usually take effect immediately, and any price difference will be adjusted automatically.

Will I lose my data if I cancel my subscription?

No, your data will remain stored safely. You’ll retain access to your content, but some premium features may be locked after cancellation. You can always upgrade again to regain full access.

How do I upgrade or downgrade my plan?

Go to your account settings, then to the “Subscription” section. There, you can choose a different plan that better suits your needs. Changes are applied right away, and any billing adjustments are handled automatically.

Is there a free plan available?

Yes, we offer a free plan with limited features for users who want to try things out or don’t need the full suite of tools. You can stay on the free plan as long as you’d like.

What payment methods do you accept?

We accept major credit and debit cards, including Visa, Mastercard, American Express, and others. Depending on your location, additional payment options like PayPal may also be available.

Can't find an answer?

Trusted by creators and innovators alike, our tools power growth, streamline workflows, and drive real impact across every industry.

Man pointing finger top

Can't find an answer?

Trusted by creators and innovators alike, our tools power growth, streamline workflows, and drive real impact across every industry.

Man pointing finger top

Can't find an answer?

Trusted by creators and innovators alike, our tools power growth, streamline workflows, and drive real impact across every industry.

Man pointing finger top