kforge

📘 Project Memory (v1) — Keep the AI on track

Advanced feature · Optional · User-controlled

🧠 Project Memory (v1)

❌ What it is not

Nothing happens unless you ask for it.


🧭 When should I use it?

Use Project Memory when:

If an instruction is one-off, just write it in the prompt.
If you’ll need it again, pin it.


🧩 What it contains (v1)

Project Memory has three simple sections:

Section Purpose Typical use
Anchors Pin important context “Never change the layout grid.”
Decisions Approved rules “All docs filenames must be lowercase.”
Working Set Scope boundaries src/App.js, src/lib/fs.js

Each section is optional.
Use only what you need.


📌 Anchors (most common)

Anchors are short pieces of context that should always be remembered.

Good anchor examples

Tips

Less is more.
1–5 anchors is usually plenty.


🧱 Decisions (rules you approve)

Decisions represent explicit rules for the project.

Workflow:

  1. Propose a decision
  2. Review it
  3. Approve it (✅)

Only approved decisions are treated as constraints.

Example decisions

Use Decisions for rules you want to lock in.


🎯 Working Set (scope control)

The Working Set defines which files are in scope.

When a Working Set exists:

Example

src/App.js src/components/Explorer.jsx

This is extremely useful for:


🗂️ Project scope (important)

Project Memory is project-scoped, not file-scoped.

It applies to the folder you opened in KForge.

Example:

If you open a subfolder as a project, memory will belong to that subfolder instead.

Best practice: always open the project root.


💾 Where memory is stored on disk

Project Memory is saved inside your project folder:

.kforge/project-memory.json

Example:

D:\kforge.kforge\project-memory.json

Notes


👀 How do I know memory exists?

When Project Memory is closed, you may see a badge like:

Memory • 3

This number represents:

No transcript spam.
No hidden behavior.


🧪 Troubleshooting

“I don’t see any effect”

Check:

  1. You opened the project folder in KForge
  2. You added at least one anchor
  3. You sent a new prompt after adding it

“Why do I see multiple .kforge folders?”

A .kforge/ folder is created inside whichever folder you open.

If you open different folders as projects, each may have its own .kforge/.


Project Memory exists to reduce repetition, not add complexity.

You are always in control.