π System Navigation:
llm_protocol:
context_management:
max_depth: 3
warmhole_links: true # Direct knowledge jumps
state_preservation: enabled
document_processing:
start_point: quick_links
parse_order:
- configuration
- examples
- implementation
attention_optimization:
priority_sections: ["config", "examples", "state"]
context_switches: minimal
reference_depth: 2
# State Management
- preserve: current_context
- reference: previous_outputs
- warmhole_enabled: true
- File Header
// filepath: /path/to/file.md
# Document Title
## Quick Links
π Related Docs:
- [Essential cross-references]
- Section Organization
## Major Section
One-line overview
### Subsection
- Key points
- Examples
- References
# Code Example
- language_tag: required
- filepath: required
- context: conditional
# Function: function_name
- description: "Function description"
- input: param_name: type
- output: param_name: type
- template: template_name
# Variable: variable_name
- type: variable_type
- default: default_value
# Template: template_name
- input_placeholder: "{{placeholder}}"
- transform: "Transformation description"
- output_format: "Output format description"
# Execute: Condition
- if: {{condition}}
- function: function_name
- else:
- function: alternative_function_name
# Function: process_text
- description: "Analyzes a text input for word count."
- input: text: string
- output: word_count: integer
- template: analyze_template
# Variable: current_user
- type: string
- default: "guest"
# Template: analyze_template
- input_placeholder: "{{text}}"
- transform: "Split {{text}} into words, then count"
- output_format: "Word count: {{word_count}}"
# Execute: Condition
- if: {{system_state}} == 'test'
- function: run_tests
- else:
- function: build_app
# Warmhole: warmhole_name
- description: "Warmhole description"
- state_transfer: ["state_variable1", "state_variable2"]
- condition: "{{condition}}"
# Warmhole: data_processing
- description: "Processes data and transfers state"
- state_transfer: ["data_path", "dataset_format"]
- condition: "{{system_state}} == 'processing'"
# Warmhole: warmhole_name
- description: "Warmhole description"
- state_transfer: ["state_variable1", "state_variable2"]
- condition: "{{condition}}"
- optimization: "LLM optimization description"
- semantic_link: "Semantic description of the warmhole link"
- auto_document: true
# Warmhole: data_processing
- description: "Processes data and transfers state"
- state_transfer: ["data_path", "dataset_format"]
- condition: "{{system_state}} == 'processing'"
- optimization: "Optimize data processing based on current system state"
- semantic_link: "Link to data analysis warmhole"
- auto_document: true
All function definitions, variable declarations, template definitions, and conditional logic must be enclosed in code blocks.
# Function: function_name
- description: "Function description"
- input: param_name: type
- output: param_name: type
- template: template_name
# Variable: variable_name
- type: variable_type
- default: default_value
# Template: template_name
- input_placeholder: "{{placeholder}}"
- transform: "Transformation description"
- output_format: "Output format description"
# Execute: Condition
- if: {{condition}}
- function: function_name
- else:
- function: alternative_function_name
# Reference Types
- direct: [Section](#section)
- contextual: [Doc](file.md#section)
- state: {{variable}}
context_rules:
evaluate:
- current_task
- available_docs
- state_requirements
optimize:
- token_usage
- attention_flow
- state_tracking
# Processing Steps
1. Check quick links
2. Assess task context
3. Navigate to relevant section
4. Execute specific task
5. Maintain state references
# State Guidelines
- track_changes: true
- preserve_context: true
- link_documents: enabled
- Follow Git integration
- Apply testing standards
- Use warmhole links for context jumps
- Maintain clear section hierarchy
- Start with quick links
- Use minimal context switches
- Follow reference chains
- Preserve state information
- Regular validation
- Context optimization
- Link verification
- State synchronization
For technical details:
π This document serves as the standard reference for READMEs system documentation.