AST Query and Analysis CLI #15

Closed
opened 2025-09-24 21:31:44 +00:00 by tegwick · 0 comments
Owner

UseCase: The user can introspect and query Markdown AST structures through CLI for content analysis.

Commands to implement:

  • markitect ast-show <file> - Display AST structure for file
  • markitect ast-query <file> <jsonpath> - Query AST using JSONPath
  • markitect ast-stats <file> - Show AST statistics (headings, links, etc.)

Technical Requirements:

  • Integrate with existing AST parsing and caching system
  • Support JSONPath querying for flexible AST navigation
  • Provide AST visualization and statistics
  • Leverage cached ASTs for performance

Acceptance Criteria:

  • AST display functionality with formatting options
  • JSONPath query support for AST navigation
  • AST statistics and content analysis
  • Integration with existing caching system
  • Comprehensive test coverage

Core USP: "Zero-Parsing Content Access" - Leverage cached ASTs
Dependencies: Issue #12 (CLI Entry Point)
Priority: High

UseCase: The user can introspect and query Markdown AST structures through CLI for content analysis. Commands to implement: - `markitect ast-show <file>` - Display AST structure for file - `markitect ast-query <file> <jsonpath>` - Query AST using JSONPath - `markitect ast-stats <file>` - Show AST statistics (headings, links, etc.) Technical Requirements: - Integrate with existing AST parsing and caching system - Support JSONPath querying for flexible AST navigation - Provide AST visualization and statistics - Leverage cached ASTs for performance Acceptance Criteria: - [ ] AST display functionality with formatting options - [ ] JSONPath query support for AST navigation - [ ] AST statistics and content analysis - [ ] Integration with existing caching system - [ ] Comprehensive test coverage Core USP: "Zero-Parsing Content Access" - Leverage cached ASTs Dependencies: Issue #12 (CLI Entry Point) Priority: High
tegwick added this to the CLI Implementation milestone 2025-09-24 21:47:12 +00:00
tegwick added this to the Getting started project 2025-09-24 22:00:19 +00:00
tegwick moved this to Todo in Getting started on 2025-09-24 22:02:26 +00:00
tegwick modified the milestone from CLI Implementation to Document Relationships 2025-09-25 11:37:27 +00:00
tegwick added the priority:critical label 2025-09-25 11:37:44 +00:00
tegwick modified the project from Getting started to (deleted) 2025-09-26 08:51:26 +00:00
tegwick modified the project from (deleted) to Getting started 2025-09-26 08:54:18 +00:00
tegwick moved this to Done in Getting started on 2025-09-30 01:01:00 +00:00
Sign in to join this conversation.