An advanced markdown engine
Find a file
tegwick 35cbe715a5 feat: Implement Issue #1 - Database initialization and front matter parsing
Complete TDD implementation of core MarkiTect functionality:

**Database Module (markitect/database.py):**
- DatabaseManager class with SQLite database initialization
- markdown_files table with proper schema (id, filename, front_matter, content, created_at)
- Front matter storage as JSON with content separation
- File storage, retrieval, and listing methods
- Comprehensive error handling

**Front Matter Module (markitect/frontmatter.py):**
- FrontMatterParser class with YAML front matter parsing
- Clean separation of metadata from markdown content
- Graceful handling of invalid YAML and missing front matter
- Regex-based parsing with proper delimiter handling

**Dependencies:**
- Added PyYAML for front matter parsing
- Updated pyproject.toml with new dependency

**Test Coverage:**
- 9 comprehensive tests covering all functionality
- Database initialization and schema validation
- Front matter parsing with Issue #1 example content
- Integrated workflow testing (storage/retrieval)
- Error handling for edge cases

**TDD Process:**
- RED phase: 8 failing tests defining requirements
- GREEN phase: Minimal implementation making all tests pass
- Validation: Complete workflow verified with example content

This implementation provides the foundation for all subsequent MarkiTect
features, handling the exact example from Issue #1 specification.

Issue #1: Initialize Database and Store Example Markdown File
https://gitea.coulomb.social/coulomb/markitect_project/issues/1

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-23 04:28:29 +02:00
.claude agent: Needed to reinstall claude on Ubuntu 24.04 2025-09-23 01:21:34 +02:00
.venv chore: Updated to Ubuntu 24.04 and created new .venv 2025-09-23 01:19:57 +02:00
.venv_old chore: Keep old venv from ubuntu 18.04 for now just in case. 2025-09-23 01:16:12 +02:00
markitect feat: Implement Issue #1 - Database initialization and front matter parsing 2025-09-23 04:28:29 +02:00
tddai fix: Correct coverage calculation to return 0% for untested issues 2025-09-23 03:48:51 +02:00
tests test: Add comprehensive TDD workflow validation tests from Issue #11 2025-09-23 03:20:21 +02:00
wiki@32f20201ac Update wiki submodule to latest 2025-09-21 23:24:37 +02:00
.gitignore build: Add issue workspace system for structured TDD workflow 2025-09-22 01:28:55 +02:00
.gitmodules Add wiki as submodule tracking main 2025-09-16 23:28:11 +02:00
install-claude.sh agent: Finally found a way to install claude again 2025-09-23 02:24:09 +02:00
install-depends.sh build: Helpers to initially setup the dev env 2025-09-23 01:23:32 +02:00
install-nvm.sh build: Helpers to initially setup the dev env 2025-09-23 01:23:32 +02:00
install-pip.sh feat: Add Python dependency management and fix test environment 2025-09-23 02:41:32 +02:00
Makefile feat: Add comprehensive test coverage assessment system 2025-09-23 03:35:20 +02:00
NEXT.md chore: Change NEXT file to correct filetype 2025-09-22 21:11:38 +02:00
ProjectDiary.md docs: Add comprehensive digest for test coverage assessment system 2025-09-23 03:52:50 +02:00
ProjectStatusDigest.md docs: Add comprehensive digest for test coverage assessment system 2025-09-23 03:52:50 +02:00
pyproject.toml feat: Implement Issue #1 - Database initialization and front matter parsing 2025-09-23 04:28:29 +02:00
README.md chore: first commit 2025-09-16 02:56:34 +02:00
RelevantClaudeIssues.md docs: Document subagent infrastructure resolution and environment restoration 2025-09-23 02:58:36 +02:00
tddai_cli.py feat: Add comprehensive test coverage assessment system 2025-09-23 03:35:20 +02:00
test_status_report.md feat: Add make test-status for quick test overview without re-running 2025-09-23 03:16:50 +02:00

MarkiTect - Advanced Markdown Engine

Your Markdown, Redefined.

MarkiTect is an open-source tool designed to bring structural integrity and consistency to your Markdown files. It empowers you to stop treating your documentation as plain text and start managing it as structured data.

With MarkiTect, you can define a schema to enforce the exact structure of your documents—ensuring every file has the right sections, headings, and hierarchy. This makes it easier than ever to maintain, validate, and automate large-scale documentation projects. Build with confidence, not with manual checks.