AI Memory
Nativeline’s AI remembers your project — what you’ve built, your preferences, and the patterns you use. This memory makes the AI smarter and more helpful over time.What the AI Remembers
Project Structure
The AI knows:- What files exist in your project
- How your app is organized
- What screens and features you have
- The relationships between components
Conversation History
The AI remembers:- What you’ve asked for
- Previous design decisions
- Problems you’ve encountered
- Solutions that worked
Code Patterns
The AI learns:- Your preferred coding style
- Design patterns you use
- Naming conventions
- How you structure features
Design Preferences
The AI notices:- Colors you like
- Spacing patterns
- Typography choices
- Layout preferences
How Memory Helps
Consistency
The AI maintains consistent style across your app:Context
The AI understands references to existing features:Continuity
Come back tomorrow, and the AI remembers where you left off:The .nativeline Folder
Your project contains a hidden.nativeline folder that stores AI memory and project configuration:
Building Memory Effectively
Be Consistent
Using consistent terminology helps the AI learn:- Always call it “the header” (not sometimes “top bar”)
- Use the same names for concepts
- Reference features by their names
Correct Early
If the AI gets something wrong, correct it:Establish Patterns
Set patterns explicitly:Memory and Plans
Plans are part of AI memory. When you:- Start a plan: AI remembers the goal and progress
- Continue a plan: AI picks up from last completed step
- Clear a plan (
/planclear): Plan cleared, but project memory remains
Resuming Work
- Is there an active plan? Continue that.
- What was being built? Resume that context.
- What patterns have been established? Apply them.
When Memory Causes Issues
Stuck Patterns
Sometimes the AI keeps trying the same approach: Solution: Be explicit about wanting something different:Wrong Assumptions
If the AI assumes something incorrect: Solution: Correct it directly:Conflicting Information
If you’ve given contradictory instructions over time: Solution: Clarify the current state:Resetting Memory
Clearing the Plan
To start fresh with a new approach:Clearing Conversation
Clear the conversation history in settings. This:- Removes chat history
- Keeps your code
- AI re-learns from existing code
Full Reset (Advanced)
To completely reset AI memory:- Close Nativeline
- Delete the
.nativelinefolder in your project - Reopen the project
Memory Across Sessions
What Persists
- Project structure knowledge
- Conversation history
- Active plans
- Learned patterns
What’s Recalculated
Each session, the AI:- Re-reads your current code
- Updates its understanding
- Incorporates any manual changes
Privacy and Data
Local Storage
Memory is stored locally on your Mac:- In your project’s
.nativelinefolder - Not uploaded to cloud
- Deleted when you delete the project
What’s Sent to AI
When you send a message:- Your current message
- Relevant context from memory
- Current code being modified
Tips for Working with Memory
Start sessions with context
Start sessions with context
Begin each session by reminding the AI what you’re working on:
“I’m continuing work on the checkout feature”
Name things consistently
Name things consistently
Use the same names for features and elements throughout your conversations.
Correct mistakes immediately
Correct mistakes immediately
When the AI gets something wrong, correct it right away so it learns.
Establish patterns early
Establish patterns early
Define your design patterns at the start: “All buttons should be…”
Use /planclear strategically
Use /planclear strategically
Clear plans when you want a fresh approach, but know your established patterns will persist.