Commands Guide

Overview

This guide provides a comprehensive reference for all available commands in the BIG BRAIN Memory Bank 2.0 system. Commands allow you to interact with the memory bank, manage workflows, perform system operations, and execute various tasks efficiently. This guide organizes commands by category and provides syntax, parameters, examples, and usage notes.

Command Syntax

BIG BRAIN commands follow this general syntax:

COMMAND_NAME [PARAMETER1] [PARAMETER2] [OPTIONS]

Initialization Commands

Commands used during system initialization and startup.

MEMORY BANK INITIALIZE

Initializes the memory bank system and loads core memory files.

Syntax:

MEMORY BANK INITIALIZE [--force] [--skip-verification]

Parameters:

Example:

MEMORY BANK INITIALIZE

Notes:

CONFIRM READINESS

Verifies system readiness for task execution.

Syntax:

CONFIRM READINESS [TASK_DESCRIPTION]

Parameters:

Example:

CONFIRM READINESS Implement validation system

Notes:

Workflow Commands

Commands for managing different operational workflows.

ENTER PLAN MODE

Switches to planning workflow for design and strategy tasks.

Syntax:

ENTER PLAN MODE [--complexity=LEVEL]

Parameters:

Example:

ENTER PLAN MODE --complexity=3

Notes:

ENTER ACT MODE

Switches to action workflow for implementation tasks.

Syntax:

ENTER ACT MODE [--complexity=LEVEL]

Parameters:

Example:

ENTER ACT MODE --complexity=2

Notes:

ENTER REVIEW MODE

Switches to review workflow for evaluation tasks.

Syntax:

ENTER REVIEW MODE [--depth=LEVEL]

Parameters:

Example:

ENTER REVIEW MODE --depth=4

Notes:

ENTER HYBRID MODE

Switches to hybrid workflow for mixed task types.

Syntax:

ENTER HYBRID MODE [--primary=MODE] [--complexity=LEVEL]

Parameters:

Example:

ENTER HYBRID MODE --primary=ACT --complexity=3

Notes:

RESUME

Resumes the previous workflow after interruption.

Syntax:

RESUME [WORKFLOW_TYPE]

Parameters:

Example:

RESUME ACT MODE

Notes:

Memory Operations Commands

Commands for interacting with and managing memory bank content.

UPDATE MEMORY BANK

Updates memory bank files with current state and progress information.

Syntax:

UPDATE MEMORY BANK [--files=FILE1,FILE2,...] [--comprehensive]

Parameters:

Example:

UPDATE MEMORY BANK --comprehensive

Notes:

MEMORY HEALTH CHECK

Performs diagnostics on memory bank files and system integrity.

Syntax:

MEMORY HEALTH CHECK [--repair] [--verbose]

Parameters:

Example:

MEMORY HEALTH CHECK --verbose

Notes:

CONTEXTUALIZE

Positions current task within project context and prepares resources.

Syntax:

CONTEXTUALIZE TASK_DESCRIPTION

Parameters:

Example:

CONTEXTUALIZE Implement error recovery for verification system

Notes:

SHOW ACTIVE CONTEXT

Displays current system status and operational context.

Syntax:

SHOW ACTIVE CONTEXT [--section=SECTION_NAME]

Parameters:

Example:

SHOW ACTIVE CONTEXT --section="Current Focus"

Notes:

Rule System Commands

Commands for managing and debugging the rule system.

SHOW ACTIVE RULES

Displays currently active rules in the system.

Syntax:

SHOW ACTIVE RULES [CATEGORY]

Parameters:

Example:

SHOW ACTIVE RULES VERIFICATION

Notes:

DEBUG RULES

Performs comprehensive diagnostics on the rule system.

Syntax:

DEBUG RULES [--detail=LEVEL]

Parameters:

Example:

DEBUG RULES --detail=2

Notes:

DEBUG RULE

Provides detailed analysis of a specific rule.

Syntax:

DEBUG RULE RULE_NAME

Parameters:

Example:

DEBUG RULE memory-file-verification

Notes:

Session Management Commands

Commands for managing session state and transitions.

BEDTIME PROTOCOL

Properly terminates a working session, preserving state.

Syntax:

BEDTIME PROTOCOL [--quick]

Parameters:

Example:

BEDTIME PROTOCOL

Notes:

PAUSE SESSION

Temporarily pauses the current session, preserving state for later resumption.

Syntax:

PAUSE SESSION [--memo="MEMO_TEXT"]

Parameters:

Example:

PAUSE SESSION --memo="Pausing to gather additional requirements"

Notes:

Utility Commands

Miscellaneous utility commands for various operations.

OPTIMIZE MEMORY BANK

Optimizes memory bank size and organization.

Syntax:

OPTIMIZE MEMORY BANK [--aggressive]

Parameters:

Example:

OPTIMIZE MEMORY BANK

Notes:

EXPORT MEMORY

Exports memory bank content for backup or transfer.

Syntax:

EXPORT MEMORY [--format=FORMAT] [--destination=PATH]

Parameters:

Example:

EXPORT MEMORY --format=PACKAGE --destination="./backups"

Notes:

Command Combinations

Effective workflows often combine multiple commands in sequence:

Example: Complete Session Workflow

MEMORY BANK INITIALIZE
SHOW ACTIVE CONTEXT
CONTEXTUALIZE Implement new verification component
ENTER ACT MODE --complexity=3
... (work execution) ...
UPDATE MEMORY BANK --comprehensive
BEDTIME PROTOCOL

Example: System Diagnostic Workflow

MEMORY BANK INITIALIZE
MEMORY HEALTH CHECK --verbose
DEBUG RULES
OPTIMIZE MEMORY BANK
UPDATE MEMORY BANK --comprehensive

Version Information