Enhanced Standards for YAML, Prompts, and Specifications
Changes Made
Memory Documentation
- Added clear requirements for memory state tracking in session logs
- Implemented standardized format for memory section headers
- Created guidelines for memory context preservation
YAML Standards
- Developed consistent patterns for YAML tag syntax validation
- Established naming conventions for YAML properties
- Created documentation for common YAML structures
Session Log Structure
- Updated prompt templates to include dedicated memory sections
- Added clear delineation between different types of session content
- Improved formatting guidelines for better readability
Technical Details
Memory Documentation Format
markdown
# Current Memories in Context
1. Memory Title <----New Memory!
- Key points
- Integration details YAML Tag Validation Pattern
javascript
/(?:tags:\s*(?:\[.*?\]|.*?,.*?|['"].*?['"])|(?:^|\n)\s*-\s*\w+[^\S\n]+\w+)/ Detects and corrects:
- Array syntax:
tags: ["tag1", "tag2"] - Comma separation:
tags: tag1, tag2 - Quoted tags:
tags: 'tag1'or"tag2" - Space-separated words:
tags:\n- Tag With Spaces
Integration Points
- Memory documentation integrated with session logs
- YAML validation connected to build scripts
- Session logs linked to changelog entries
- Documentation standards applied across prompts directory
Documentation
- Updated Maintain-a-Session-Log.md with memory requirements
- Created Write-a-Changelog-Entry.md template
- Enhanced inline commenting for documentation clarity
- Removed duplicate content for single source of truth