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

@@ -58,7 +58,7 @@ migration assessment, and implementation.
```task
id: MKTT-WP-0001-T004
status: todo
status: done
priority: medium
state_hub_task_id: "c15f8492-93d0-43aa-ba12-0d4aaff97c03"
```
@@ -67,11 +67,13 @@ Choose package/module names, Python version target, dependency manager, and
test runner. Keep the decision lightweight and aligned with the future `mkt`
CLI entry point.
Output: `docs/packaging-decision.md`.
## P1.5 - Add SBOM source once manifests exist
```task
id: MKTT-WP-0001-T005
status: blocked
status: done
priority: medium
state_hub_task_id: "e77a5e46-aaa2-4717-922f-a871fa2fd1cc"
```
@@ -79,4 +81,4 @@ state_hub_task_id: "e77a5e46-aaa2-4717-922f-a871fa2fd1cc"
After packaging files are introduced, generate or identify the SBOM source and
update State Hub registration metadata.
Blocked because the repository has no implementation package manifest yet.
Output: `sbom-tools.yaml`; initial State Hub ingest succeeded on 2026-05-03.

View File

@@ -22,7 +22,7 @@ contract and the `mkt` CLI.
```task
id: MKTT-WP-0003-T001
status: todo
status: done
priority: high
state_hub_task_id: "9d9501fe-6809-4b4f-bda6-ec5e5952ddc7"
```
@@ -30,11 +30,13 @@ state_hub_task_id: "9d9501fe-6809-4b4f-bda6-ec5e5952ddc7"
Create project metadata, package layout, test structure, and a minimal CLI
entry point that can be installed or run locally.
Output: `pyproject.toml`, `src/markitect_tool/`, `tests/`.
## P3.2 - Implement structured markdown parse contract
```task
id: MKTT-WP-0003-T002
status: todo
status: done
priority: high
state_hub_task_id: "7dead033-e249-46b0-9eb3-908ae231a987"
```
@@ -43,6 +45,9 @@ Implement FR-001 and FR-002: parse markdown files, preserve headings,
frontmatter, sections, and content blocks, and expose structured output via
API and CLI.
Initial implementation complete for Markdown files, YAML frontmatter, headings,
sections, content blocks, parser tokens, API access, and `mkt parse`.
## P3.3 - Implement schema load and validation
```task
@@ -108,10 +113,12 @@ Implement FR-070 and FR-071 after the parse/schema contracts are stable.
```task
id: MKTT-WP-0003-T008
status: todo
status: done
priority: medium
state_hub_task_id: "94067c7e-e68b-45be-a1d6-90547eb15422"
```
Resolve `TD-MKTT-001` by adding the implementation scaffold: package metadata,
module layout, test runner, and `mkt` CLI entry point.
Resolved by the initial package scaffold.