agentsclimarketplace

Memory

Skill brycewang-stanford/Auto-Empirical-Research-Skills/skills/25-HosungYou-Diverga/skills/memory

๐Ÿ”ฌ A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | ็ฒพ้€‰ 23,000+ AI Agent ๆŠ€่ƒฝๅบ“๏ผŒ่ฆ†็›–8ๅคง็คพไผš็ง‘ๅญฆๅญฆ็ง‘็š„ๅฎž่ฏ็ ”็ฉถใ€‚CoPaper.AI 20ๅˆ†้’ŸๅฎŒๆˆไธ€็ฏ‡ๅฏๅค็Žฐ็š„่ง„่Œƒๅฎž่ฏ่ฎบๆ–‡๏ผŒๅนถๆ”ฏๆŒ็”จๆˆทไธŠไผ  Skillsใ€‚-- Maintained by CoPaper.AI from Stanford REAP.

Install
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill memory

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

Diverga Memory System v7.0 - Context-persistent research support with checkpoint auto-trigger and cross-session continuity. Triggers: memory, remember, context, recall, checkpoint, decision, persist, ๊ธฐ์–ต, ๋งฅ๋ฝ, ์„ธ์…˜, ์ฒดํฌํฌ์ธํŠธ

SKILL.md

22.7 KB, as published. Nobody here has run it

Diverga Memory System v7.0

Overview

Human-centered research context persistence with:

  • 3-Layer Context System
  • Checkpoint Auto-Trigger
  • Cross-Session Continuity
  • Decision Audit Trail
  • Research Documentation Automation

Quick Reference

Context Loading Keywords

English: "my research", "research status", "where was I", "continue research", "what stage"

Korean: "๋‚ด ์—ฐ๊ตฌ", "์—ฐ๊ตฌ ์ง„ํ–‰", "์—ฐ๊ตฌ ์ƒํƒœ", "์–ด๋””๊นŒ์ง€", "์ง€๊ธˆ ๋‹จ๊ณ„"

Commands

CommandDescription
/diverga:memory statusShow project status
/diverga:memory contextDisplay full context
/diverga:memory initInitialize project
/diverga:memory decision listList decisions
/diverga:memory archive [STAGE]Archive stage
/diverga:memory migrateRun migration

Priority Context (v8.2 โ€” Compression Resilience)

MCP Tools for Priority Context

CommandMCP ToolDescription
Read prioritydiverga_priority_read()Read 500-char context summary
Write prioritydiverga_priority_write(context)Update context summary
Full statusdiverga_project_status()Project state + checkpoints + decisions
Check prereqsdiverga_check_prerequisites(agent_id)Verify agent can proceed
Record decisiondiverga_mark_checkpoint(cp_id, decision, rationale)Record and auto-update priority

Auto-Update Behavior

Priority context is automatically updated when:

  • A checkpoint is marked via diverga_mark_checkpoint()
  • Format: Project: {name} | Paradigm: {paradigm} | RQ: {question} | โœ…/โŒ checkpoints | Last: {decision}
  • Maximum 500 characters, stored at .research/priority-context.md

Compression Recovery

When context window is compressed:

  1. Call diverga_priority_read() to recover essential project context
  2. Call diverga_checkpoint_status() to see checkpoint state
  3. Call diverga_project_status() for full project details

3-Layer Context System

Layer 1: Keyword-Triggered (์ž์—ฐ์–ด ๊ฐ์ง€)

When researcher asks "๋‚ด ์—ฐ๊ตฌ ์ง„ํ–‰ ์ƒํ™ฉ์€?" or "What's my research status?", automatically load and display context.

Auto-Detection Keywords:

  • "my research", "์—ฐ๊ตฌ", "research", "progress", "์ง„ํ–‰"
  • "where was I", "continue", "๋‹ค์‹œ", "์–ด๋””๊นŒ์ง€"
  • "what stage", "ํ˜„์žฌ ๋‹จ๊ณ„", "stage", "์ง€๊ธˆ"

Response Pattern:

  1. Detect keyword match
  2. Load .research/project-state.yaml
  3. Display current stage and progress
  4. Show pending checkpoints
  5. List available next actions

Layer 2: Task Interceptor (์—์ด์ „ํŠธ ํ˜ธ์ถœ)

When Task(subagent_type="diverga:*") is called, automatically inject full research context and checkpoint instructions.

Injection Process:

  1. Detect diverga: prefix in subagent_type
  2. Read .research/project-state.yaml
  3. Read .research/checkpoints.yaml
  4. Inject context into agent prompt
  5. Add checkpoint validation wrapper
  6. Execute with full research awareness

Context Injected:

# Automatically included in agent prompt
research_context:
  project_name: "[from project-state.yaml]"
  current_stage: "[from checkpoints.yaml]"
  research_question: "[from project-state.yaml]"
  methodology: "[from project-state.yaml]"
  decisions: "[from decision-log.yaml, last 10]"
  pending_checkpoints: "[from checkpoints.yaml]"

Layer 3: CLI (๋ช…์‹œ์  ์š”์ฒญ)

Run /diverga:memory context --verbose for full detailed state.

Available Flags:

  • --verbose - Show full decision audit trail
  • --archive - Include archived stages
  • --decisions - Show decision log only
  • --checkpoints - Show checkpoint status only
  • --format json|yaml|text - Output format

Checkpoint System

Checkpoint Levels

LevelIconBehaviorExample
REQUIRED๐Ÿ”ดMust complete before proceedingCP_RESEARCH_DIRECTION
RECOMMENDED๐ŸŸ Strongly suggestedCP_PARADIGM_SELECTION
OPTIONAL๐ŸŸกCan skip with defaultsCP_METHODOLOGY_APPROVAL

Standard Checkpoints (Research Workflow)

Foundation Stage (0-2 hours)

  • CP_RESEARCH_DIRECTION ๐Ÿ”ด - Research question finalized and validated
  • CP_PARADIGM_SELECTION ๐ŸŸ  - Quantitative/qualitative/mixed selected with rationale
  • CP_SCOPE_DEFINITION ๐Ÿ”ด - Scope constraints documented (years, populations, outcomes)

Design Stage (2-4 hours)

  • CP_THEORY_SELECTION ๐ŸŸ  - Theoretical framework chosen and justified
  • CP_VARIABLE_DEFINITION ๐Ÿ”ด - All variables operationalized (IV, DV, mediators, moderators)
  • CP_METHODOLOGY_APPROVAL ๐ŸŸ  - Research design validated (RCT, meta-analysis, qualitative, etc.)

Planning Stage (4-6 hours)

  • CP_DATABASE_SELECTION ๐Ÿ”ด - Data sources identified with inclusion/exclusion criteria
  • CP_SEARCH_STRATEGY ๐Ÿ”ด - Search terms, filters, and retrieval approach documented
  • CP_SAMPLE_PLANNING ๐ŸŸ  - Sample size, power analysis (if quantitative), or saturation plan (if qualitative)

Execution Stage (6+ hours)

  • CP_SCREENING_CRITERIA ๐Ÿ”ด - Inclusion/exclusion criteria operationalized for systematic review
  • CP_RAG_READINESS ๐ŸŸ  - Vector database and retrieval system configured
  • CP_DATA_EXTRACTION ๐ŸŸ  - Data extraction protocol finalized and tested
  • CP_ANALYSIS_PLAN ๐Ÿ”ด - Analysis approach documented with reproducible steps

Validation Stage (Final)

  • CP_QUALITY_GATES ๐Ÿ”ด - PRISMA/CONSORT compliance verified
  • CP_PEER_REVIEW ๐ŸŸ  - Methodology reviewed by co-investigators
  • CP_PUBLICATION_READY ๐Ÿ”ด - Manuscript format and ethics approved

Checkpoint Enforcement Rules

REQUIRED (๐Ÿ”ด) Checkpoints:

  • Cannot skip
  • Must have evidence of completion
  • Blocks advancement to next stage
  • Tracked in decision-log.yaml with timestamp

RECOMMENDED (๐ŸŸ ) Checkpoints:

  • Can skip with documented rationale
  • Requires explicit user acknowledgment
  • Added to issues.log if skipped
  • Tracked as amendment to decision-log

OPTIONAL (๐ŸŸก) Checkpoints:

  • Can skip without confirmation
  • Tracked for audit trail only
  • May be auto-populated with defaults

Checkpoint Validation

When checkpoint is reached:

# In checkpoints.yaml
- checkpoint_id: CP_RESEARCH_DIRECTION
  level: REQUIRED
  status: pending
  triggered_at: 2025-02-03T10:30:00Z
  stage: foundation

# User completes checkpoint
- checkpoint_id: CP_RESEARCH_DIRECTION
  level: REQUIRED
  status: completed
  completed_at: 2025-02-03T10:45:00Z
  completed_by: researcher
  decision_id: DEV_001
  evidence: "Research question: How does AI improve learning outcomes?"

# Moving to next stage
- checkpoint_id: CP_PARADIGM_SELECTION
  level: RECOMMENDED
  status: pending
  triggered_at: 2025-02-03T10:46:00Z

Decision Audit Trail

All decisions are:

  • Immutable: Never modified after creation
  • Versioned: Amendments create new entries with amends reference
  • Contextual: Capture research question and prior decisions
  • Timestamped: ISO 8601 format with timezone

Decision Structure

decisions:
  - decision_id: DEV_001
    checkpoint_id: CP_RESEARCH_DIRECTION
    timestamp: 2025-02-03T10:30:00Z
    researcher_name: "Dr. Park"

    # What was decided
    decision_type: "research_question"
    selected: "How does AI-assisted instruction affect student engagement in STEM?"
    alternatives_considered:
      - "How does AI personalization improve learning outcomes?"
      - "What are barriers to AI adoption in classrooms?"

    # Why this decision
    rationale: |
      Engagement is measurable and significant to existing literature.
      Aligns with team expertise in behavioral psychology.
      Scope is feasible within 6-month timeline.

    # Context at time of decision
    prior_decisions: []
    research_constraints:
      - timeline: "6 months"
      - budget: "$50,000"
      - team_size: 3

    # Amendment tracking
    amends: null  # Only non-null for amendments
    version: 1

  - decision_id: DEV_002
    checkpoint_id: CP_PARADIGM_SELECTION
    timestamp: 2025-02-03T10:45:00Z
    researcher_name: "Dr. Park"
    decision_type: "paradigm"
    selected: "Quantitative: Meta-analysis"
    rationale: "Sufficient RCTs exist. Need synthesis of effect sizes."
    prior_decisions: ["DEV_001"]
    version: 1

  # Amendment example
  - decision_id: DEV_002_A1
    checkpoint_id: CP_PARADIGM_SELECTION
    timestamp: 2025-02-03T14:30:00Z
    researcher_name: "Dr. Park"
    decision_type: "paradigm_amendment"
    selected: "Mixed-methods: Meta-analysis + qualitative synthesis"
    rationale: "Expanded to include implementation barriers (qualitative)"
    amends: "DEV_002"
    version: 2

Decision Amendment Process

When researcher changes mind or refines decision:

  1. View current decision: /diverga:memory decision show DEV_002
  2. Amend decision: /diverga:memory decision amend DEV_002 --reason "New data suggests..."
  3. System action:
    • Creates new entry: DEV_002_A1 with amends: DEV_002
    • Links to previous decision
    • Records amendment rationale
    • Updates version: 2
    • Marks original as "amended" (not deleted)

Directory Structure

.research/
โ”œโ”€โ”€ baselines/
โ”‚   โ”œโ”€โ”€ literature/
โ”‚   โ”‚   โ””โ”€โ”€ key_studies.yaml
โ”‚   โ”œโ”€โ”€ methodology/
โ”‚   โ”‚   โ””โ”€โ”€ frameworks.yaml
โ”‚   โ””โ”€โ”€ framework/
โ”‚       โ””โ”€โ”€ theories.yaml
โ”‚
โ”œโ”€โ”€ changes/
โ”‚   โ”œโ”€โ”€ current/
โ”‚   โ”‚   โ”œโ”€โ”€ research_question.md
โ”‚   โ”‚   โ”œโ”€โ”€ methodology_plan.md
โ”‚   โ”‚   โ””โ”€โ”€ data_extraction.yaml
โ”‚   โ””โ”€โ”€ archive/
โ”‚       โ”œโ”€โ”€ foundation_20250203.yaml
โ”‚       โ”œโ”€โ”€ design_20250210.yaml
โ”‚       โ””โ”€โ”€ planning_20250217.yaml
โ”‚
โ”œโ”€โ”€ sessions/
โ”‚   โ”œโ”€โ”€ 2025_02_03_session_001.yaml
โ”‚   โ”œโ”€โ”€ 2025_02_03_session_002.yaml
โ”‚   โ””โ”€โ”€ 2025_02_10_session_001.yaml
โ”‚
โ”œโ”€โ”€ project-state.yaml
โ”œโ”€โ”€ decision-log.yaml
โ”œโ”€โ”€ checkpoints.yaml
โ”œโ”€โ”€ issues.log
โ””โ”€โ”€ README.md

File Specifications

project-state.yaml

project:
  name: "AI in STEM Education"
  description: "Meta-analysis of AI-assisted instruction effects"
  created_at: 2025-02-03T10:00:00Z
  updated_at: 2025-02-03T14:30:00Z

research:
  question: "How does AI-assisted instruction affect student engagement in STEM?"
  paradigm: "Quantitative"
  methodology: "Meta-analysis"
  timeline:
    start_date: 2025-02-03
    estimated_completion: 2025-08-03
    current_stage: "foundation"
    stage_progress: "50%"  # % of expected work for this stage

team:
    lead: "Dr. Park"
    members: ["Dr. Park", "Ms. Kim", "Mr. Lee"]

constraints:
  budget: 50000
  budget_used: 5000
  team_capacity_hours_per_week: 40
  database_access: ["Semantic Scholar", "OpenAlex", "arXiv"]

last_session:
  session_id: "2025_02_03_session_002"
  duration_minutes: 45
  checkpoint_reached: "CP_PARADIGM_SELECTION"

decision-log.yaml

See Decision Audit Trail section above.

checkpoints.yaml

checkpoints:
  foundation:
    - checkpoint_id: CP_RESEARCH_DIRECTION
      level: REQUIRED
      status: completed
      completed_at: 2025-02-03T10:30:00Z
      decision_id: DEV_001

    - checkpoint_id: CP_PARADIGM_SELECTION
      level: RECOMMENDED
      status: completed
      completed_at: 2025-02-03T10:45:00Z
      decision_id: DEV_002_A1

    - checkpoint_id: CP_SCOPE_DEFINITION
      level: REQUIRED
      status: pending
      triggered_at: 2025-02-03T10:46:00Z

  design:
    - checkpoint_id: CP_THEORY_SELECTION
      level: RECOMMENDED
      status: pending
      expected_completion: 2025-02-10T12:00:00Z

current_stage: "foundation"
completed_stages: []

issues.log

issues:
  - issue_id: ISS_001
    date: 2025-02-03T11:00:00Z
    severity: medium
    category: "checkpoint_skipped"
    checkpoint_id: "CP_SCOPE_DEFINITION"
    message: "User requested to skip scope definition checkpoint"
    resolution: "Documented in decision-log as DEV_003"

  - issue_id: ISS_002
    date: 2025-02-03T13:15:00Z
    severity: low
    category: "api_access_warning"
    message: "OpenAlex API rate limit approaching (890/1000 requests)"
    resolution: "Will reduce request frequency next session"

Usage Examples

Initialize Project

# Interactive initialization
/diverga:memory init

# Or with CLI arguments
/diverga:memory init \
  --name "AI in STEM Education" \
  --question "How does AI-assisted instruction affect student engagement?" \
  --paradigm quantitative \
  --methodology "meta-analysis" \
  --timeline 6 \
  --team-lead "Dr. Park"

Output:

โœ“ Project initialized: AI in STEM Education
โœ“ Created .research/ directory structure
โœ“ Set checkpoint: CP_RESEARCH_DIRECTION (REQUIRED)
โœ“ Next action: Define research scope

Start with: /diverga:memory status

Record Decision

# At checkpoint completion
/diverga:memory decision add \
  --checkpoint CP_RESEARCH_DIRECTION \
  --selected "How does AI-assisted instruction affect student engagement in STEM?" \
  --rationale "Engagement is measurable and aligns with team expertise"

Output:

โœ“ Decision recorded: DEV_001
โœ“ Checkpoint CP_RESEARCH_DIRECTION marked COMPLETED
โœ“ Next checkpoint: CP_PARADIGM_SELECTION (RECOMMENDED)
โœ“ Session time: 15 minutes

Next: /diverga:memory checkpoint next

View Project Status

/diverga:memory status

Output:

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘      AI in STEM Education              โ•‘
โ•‘      Meta-Analysis Research Project    โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿ“Š PROGRESS
โ”œโ”€ Current Stage: Foundation [50% complete]
โ”œโ”€ Sessions: 2 (90 minutes total)
โ”œโ”€ Decisions: 2 completed
โ””โ”€ Next Milestone: CP_SCOPE_DEFINITION (REQUIRED)

๐ŸŽฏ RESEARCH QUESTION
   "How does AI-assisted instruction affect student engagement in STEM?"

๐Ÿ“‹ PARADIGM & METHODOLOGY
   Quantitative | Meta-Analysis

โฑ๏ธ TIMELINE
   Started: Feb 3, 2025
   Target: Aug 3, 2025
   Elapsed: 45 minutes
   Est. Remaining: 24+ hours

๐Ÿ‘ฅ TEAM
   Lead: Dr. Park
   Members: 3

โœ… COMPLETED CHECKPOINTS
   โœ“ CP_RESEARCH_DIRECTION (Feb 3, 10:30)
   โœ“ CP_PARADIGM_SELECTION (Feb 3, 10:45)

โณ PENDING CHECKPOINTS
   ๐Ÿ”ด CP_SCOPE_DEFINITION (REQUIRED)
   ๐ŸŸ  CP_THEORY_SELECTION (RECOMMENDED)

๐Ÿ”— LAST SESSION
   Duration: 45 minutes
   Ended: Feb 3, 14:30
   Next: CP_SCOPE_DEFINITION discussion

Archive Completed Stage

# Archive foundation stage after completing all checkpoints
/diverga:memory archive foundation \
  --summary "Research direction and paradigm finalized" \
  --learnings "Team consensus on meta-analysis approach strengthens methodology"

Creates:

.research/changes/archive/foundation_20250203.yaml

foundation_archive:
  archived_at: 2025-02-03T15:00:00Z
  stage_name: "Foundation"
  duration_hours: 2.5

  checkpoints_completed: 2
  checkpoints_skipped: 0
  decisions_made: 2

  summary: "Research direction and paradigm finalized"
  learnings: |
    Team consensus on meta-analysis approach strengthens methodology.
    Early consideration of scope constraints prevented later conflicts.

  next_stage: "Design"
  notes: "Team ready to proceed to theory selection"

List Decisions

# Show all decisions
/diverga:memory decision list

# Filter by checkpoint
/diverga:memory decision list --checkpoint CP_PARADIGM_SELECTION

# Show with full rationale
/diverga:memory decision list --verbose

Output:

DECISION AUDIT TRAIL
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

DEV_001 | CP_RESEARCH_DIRECTION | โœ“ ACTIVE
  Date: Feb 3, 2025 10:30
  Decision: How does AI-assisted instruction affect student engagement in STEM?
  Rationale: Engagement is measurable and significant to existing literature.
  Version: 1

DEV_002_A1 | CP_PARADIGM_SELECTION | โœ“ ACTIVE (amended)
  Date: Feb 3, 2025 10:45 [amended 14:30]
  Original (DEV_002): Quantitative: Meta-analysis
  Amendment: Mixed-methods: Meta-analysis + qualitative synthesis
  Amendment Rationale: Expanded to include implementation barriers
  Version: 2

Total Decisions: 2
Total Amendments: 1

Show Full Context

/diverga:memory context --verbose --format yaml

Output (excerpt):

research_context:
  project_name: "AI in STEM Education"
  current_stage: "foundation"
  research_question: "How does AI-assisted instruction affect student engagement in STEM?"
  paradigm: "Quantitative"
  methodology: "Meta-analysis"

  decisions:
    - DEV_001: "Research question finalized"
    - DEV_002_A1: "Mixed-methods approach approved"

  completed_checkpoints:
    - CP_RESEARCH_DIRECTION (Feb 3 10:30)
    - CP_PARADIGM_SELECTION (Feb 3 10:45)

  pending_checkpoints:
    - CP_SCOPE_DEFINITION (REQUIRED)
    - CP_THEORY_SELECTION (RECOMMENDED)

session_history:
  - session_001: 45 minutes (Feb 3 10:00-10:45)
  - session_002: 45 minutes (Feb 3 13:45-14:30)

issues:
  - ISS_001: Checkpoint skipped (documented)

Migration from v6.8

Automatic Migration Detection

When accessing v6.8 project with v7.0 system:

/diverga:memory migrate --dry-run

Output:

MIGRATION CHECK: v6.8 โ†’ v7.0
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

Found v6.8 project structure detected:
โ”œโ”€ old_decisions.log (47 entries)
โ”œโ”€ old_checkpoints.txt (basic format)
โ””โ”€ old_sessions/ (8 files)

MIGRATION PLAN
โ”œโ”€ โœ“ Convert decisions to YAML format
โ”œโ”€ โœ“ Upgrade checkpoint structure (add levels)
โ”œโ”€ โœ“ Import session history
โ”œโ”€ โœ“ Create missing metadata fields
โ””โ”€ โœ“ Generate amendment chain analysis

Ready to migrate. Use: /diverga:memory migrate

Execute Migration

/diverga:memory migrate

Output:

MIGRATION IN PROGRESS
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โœ“ Imported 47 decisions
โœ“ Upgraded checkpoint structure
โœ“ Analyzed amendment history
โœ“ Imported 8 session records
โœ“ Generated project-state.yaml
โœ“ Validated checkpoint linkage
โœ“ Created archive/baseline/ structure
โœ“ Backed up original files to .backup/

MIGRATION COMPLETE
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Project upgraded to v7.0
Old files backed up in: .research/.backup/v6.8/
Ready to continue research workflow.

Backward Compatibility

v7.0 maintains read-only compatibility with v6.8 files:

  • Can read old decision logs
  • Can display old checkpoint format
  • Cannot write to old format
  • Must run migration for full functionality

Integration with Research Coordinator

Memory system integrates with all Diverga agents (A1-H2) to provide:

Auto-Context Injection for Agents

When delegating to research agents:

# Without explicit context injection (system does it automatically)
Task(
    subagent_type="diverga:A2-HypothesisArchitect",
    prompt="Help me develop hypotheses for my research"
)

# Memory system automatically:
# 1. Loads .research/project-state.yaml
# 2. Loads .research/decision-log.yaml
# 3. Injects into agent system prompt:
#    - Current research question
#    - Methodology selection
#    - Prior decisions made
#    - Pending checkpoints
# 4. Executes with full context

Checkpoint Enforcement in Agent Execution

Agents automatically:

  • Check pending REQUIRED checkpoints before starting
  • Validate checkpoint prerequisites
  • Record new checkpoints when appropriate
  • Update session context
  • Log decisions with audit trail

Session Continuity

When researcher returns later:

User: "Let's continue my research on AI in education"

Memory System:
1. Detects keyword trigger
2. Loads last_session from project-state.yaml
3. Displays: "Welcome back! Last session: Feb 3, 14:30"
4. Shows: "Next checkpoint: CP_SCOPE_DEFINITION"
5. Suggests: "Continue with scope definition discussion?"

Advanced Features

Dependency Chain Tracking

Memory system automatically detects and validates checkpoint dependencies:

dependencies:
  CP_PARADIGM_SELECTION:
    requires:
      - CP_RESEARCH_DIRECTION  # Must be completed first
    unlocks:
      - CP_THEORY_SELECTION
      - CP_VARIABLE_DEFINITION
      - CP_METHODOLOGY_APPROVAL

  CP_DATABASE_SELECTION:
    requires:
      - CP_METHODOLOGY_APPROVAL
    unlocks:
      - CP_SEARCH_STRATEGY
      - CP_SCREENING_CRITERIA

Baseline Preservation

Research baselines (literature reviews, theoretical frameworks) are immutable:

.research/baselines/
โ”œโ”€โ”€ literature/
โ”‚   โ””โ”€โ”€ key_studies.yaml        # Immutable snapshot
โ”œโ”€โ”€ methodology/
โ”‚   โ””โ”€โ”€ frameworks.yaml         # Immutable reference
โ””โ”€โ”€ framework/
    โ””โ”€โ”€ theories.yaml           # Immutable collection

Changes are tracked in changes/current/ while baselines remain stable.

Cross-Project Learning

After project completion, memory system extracts learnings:

/diverga:memory extract-learnings

Creates shareable artifact for future projects:

  • Common decision patterns
  • Checkpoint shortcut sequences
  • Timeline estimates
  • Lessons learned

Performance and Limits

MetricLimitNotes
Max decisions per project1000Archive older decisions if needed
Max sessions per project500Session history available via archive
Context injection latency<100msCached for performance
Maximum project lifespan10 yearsCan archive and restore old projects

Privacy and Security

  • All project data stored locally in .research/
  • No cloud sync unless explicitly configured
  • Decision audit trail is non-repudiation certified
  • Checkpoint timestamps are tamper-evident
  • All modifications tracked in git history (if repo enabled)

Summary

Diverga Memory System v7.0 enables researchers to:

โœ“ Persist research context across sessions without manual setup โœ“ Track all decisions with immutable audit trail and amendment support โœ“ Enforce research rigor through checkpoint system with dependency validation โœ“ Integrate with agents automatically for context-aware research support โœ“ Maintain research quality through baseline preservation and change tracking โœ“ Scale research projects from single-investigator to multi-year team efforts


Version 7.0.0 | Global Deployment Ready | Last Updated: 2025-02-03

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.