markitect-main/markitect
tegwick 5c0106014d fix: Improve AST display content visibility for Issue #15
Enhanced content preview length in AST display formats to ensure
important formatting markers and content are visible in CLI output.

## Changes Made

### AST Service Improvements
- Increased tree format content preview from 30 to 60 characters
- Increased compact format content preview from 20 to 40 characters
- Ensures bold/italic formatting markers are visible in output

### Problem Solved
Fixed failing test that expected "bold" and "italic" text to be visible
in AST display output. The previous 30-character truncation was cutting
off content like "This is a paragraph with **bold** and *italic* text."
at "This is a paragraph with **bol...", hiding important formatting.

### Test Results
 All 22 tests now passing (previously 21/22)
 ast-show provides readable output with full formatting visibility
 ast-query and ast-stats commands working perfectly
 Cache integration validated and performing optimally

## Validation
- `markitect ast-show file.md` now shows formatting markers clearly
- `markitect ast-query file.md '$[*].type'` returns comprehensive results
- `markitect ast-stats file.md` provides detailed content analysis
- All commands leverage cached ASTs for optimal performance

Issue #15 "AST Query and Analysis CLI" is now complete with full
functionality for markdown AST introspection and analysis.

Resolves #15

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 09:31:47 +02:00
..
__init__.py chore: gitignore and repo cleanup 2025-09-16 03:04:18 +02:00
ast_cache.py feat: Strategic pivot to CLI implementation with comprehensive foundation 2025-09-24 01:14:27 +02:00
ast_service.py fix: Improve AST display content visibility for Issue #15 2025-09-27 09:31:47 +02:00
cache_service.py feat: Complete logging standardization with context-aware system 2025-09-27 08:28:10 +02:00
cli.py feat: Add Kaizen Optimizer and Optimized Refactoring Assistant agents 2025-09-26 02:02:00 +02:00
database.py feat: Complete Issue #14 - Database Query CLI Interface MAJOR MILESTONE 2025-09-25 03:30:10 +02:00
document_manager.py feat: Strategic pivot to CLI implementation with comprehensive foundation 2025-09-24 01:14:27 +02:00
exceptions.py refactor: Standardize error handling patterns across codebase 2025-09-26 16:35:13 +02:00
frontmatter.py feat: Implement Issue #1 - Database initialization and front matter parsing 2025-09-23 04:28:29 +02:00
parser.py chore: gitignore and repo cleanup 2025-09-16 03:04:18 +02:00
serializer.py feat: Complete Issue #2 - Fast Document Loading & CLI Manipulation MAJOR MILESTONE 2025-09-25 03:01:40 +02:00