Parse Markdown files into a structured Python object

This commit is contained in:
2026-05-03 21:37:00 +02:00
parent 2676994b11
commit 705f2c6178
15 changed files with 571 additions and 8 deletions

View File

@@ -0,0 +1,36 @@
# Packaging Decision
Date: 2026-05-03
## Decision
`markitect-tool` starts as a Python 3.12+ package with:
- Distribution name: `markitect-tool`
- Import package: `markitect_tool`
- CLI entry point: `mkt`
- Build backend: `setuptools`
- Test runner: `pytest`
- Source layout: `src/markitect_tool`
## Initial Dependencies
Core dependencies:
- `markdown-it-py`
- `PyYAML`
- `click>=8.0`
Optional extras:
- `query`: `jsonpath-ng`
- `tables`: `tabulate`
- `llm`: `llm-connect`
- `dev`: `pytest`
## Rationale
This follows the WP-0002 dependency classification and keeps the first
implementation focused on deterministic markdown parsing and CLI access. The
package name avoids legacy `markitect.*` imports while the `mkt` entry point
matches the PRD.

View File

@@ -32,8 +32,10 @@ workplans/
## Follow-Up
Once implementation dependencies exist, add an SBOM source and update State Hub
with the SBOM ingestion result. This seed repo currently has no package manifest.
SBOM source: `sbom-tools.yaml`.
Initial SBOM ingest succeeded on 2026-05-03 with seven declared entries for the
core and optional dependencies.
## Registered Extension Points