Files
markitect-main/.gitignore
tegwick fecc2fd4fa feat(llm): add LLM integration module with OpenRouter and Claude Code adapters
Implements markitect/llm/ package with concrete LLMAdapter implementations:
- OpenRouterAdapter: HTTP via urllib with retry/backoff on 429/5xx
- ClaudeCodeAdapter: subprocess-based Claude CLI with stdin piping
- Factory pattern: create_adapter("openrouter") or create_adapter("claude-code")
- API key resolution chain: constructor > env var > project-root key file
- 42 unit tests, 2 integration tests (gated on API key / CLI availability)

Also adds the infospace-with-history example with Wealth of Nations VSM
analysis pipeline, templates, schemas, source chapters, and processed
output for chapters 1-2. process_chapters.py now supports --provider
and --model flags for automatic LLM-driven processing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 01:17:58 +01:00

105 lines
1.3 KiB
Plaintext

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Virtual environments
venv/
.env/
.venv/
env/
ENV/
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
*.manifest
*.spec
# Unit test / coverage reports
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
*.hypothesis/
.pytest_cache/
# Jupyter Notebook
.ipynb_checkpoints
# PEP 582 (used by eg. pipx)
__pypackages__/
# PyCharm / VS Code settings
.idea/
.vscode/
# Local config
*.env
*.ini
*.toml
*.cfg
# Logs
*.log
# Mac/Linux/Windows system files
.DS_Store
Thumbs.db
# MarkiTect-specific ignores
# AST Cache directory (regenerable performance optimization)
.ast_cache/
# MarkiTect database files (local development)
markitect.db
assets/assets.db
**/assets.db
.markitect/
# Issue workspace (temporary development files)
.markitect_workspace/
# Debug and temporary files (exclude debug_paths.py which is a legitimate tool)
debug_*.py
# Claude Code local settings (user-specific permissions)
.claude/settings.local.json
.aider*
# API key files
apikey-*.txt
# TDDAI-specific ignores
ISSUES.index
# Test artifacts and temporary files
tmp/
markitect/_version.py