feat: WP-0007 — Interface Completeness & Evidence

T01: markidocx inspect (FR-806) and markidocx test (FR-810) CLI commands
T02: markidocx evidence get/list CLI commands (FR-1409, FR-814)
T03: list_styles() / GET /styles / MCP list_styles with real style data (FR-907)
T04: Evidence assembly — EvidenceSet summary via REST and MCP (FR-1406–1408)
T05: LEVEL3 edge-case tests — diagram mutation, renderer version check,
     bibliography duplicate keys / missing refs / special chars (FR-534, FR-538, FR-542)
T06: markidocx template extract + Word-first round-trip regression test (FR-606)

New: differ._compare_diagram_blocks tracks fenced diagram source drift (FR-534)
New: diagrams.check_renderer_version emits warning for outdated renderers (FR-538)
New: bibliography.validate_citations detects duplicate keys and missing entries (FR-542)
New: templates.extract_template / TemplateExtractionResult / list_styles / StyleEntry
New: REST POST /template/extract; MCP extract_template tool

278 tests pass, ruff+mypy clean.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 19:30:09 +00:00
parent 893b9fa57b
commit 9fe64bcd7f
16 changed files with 1537 additions and 19 deletions

View File

@@ -3,10 +3,11 @@ id: MRKD-WP-0007
type: workplan
domain: markitect
repo: marki-docx
status: active
status: done
state_hub_workstream_id: 61701224-0813-4258-9308-025bcec41780
created: 2026-03-17
updated: 2026-03-17
completed: 2026-03-17
---
# MRKD-WP-0007 — Interface Completeness & Evidence
@@ -40,7 +41,7 @@ FR-534, FR-538, FR-542, new template-extraction capability
```task
id: MRKD-WP-0007-T01
status: todo
status: done
priority: high
state_hub_task_id: f77db529-b17b-4462-a704-2b9a3dbdc892
```
@@ -76,7 +77,7 @@ interface parity tests pass.
```task
id: MRKD-WP-0007-T02
status: todo
status: done
priority: high
state_hub_task_id: 0af8c5bb-c01b-48cf-9895-f6c8033b0606
```
@@ -113,7 +114,7 @@ are parity-tested against REST and MCP.
```task
id: MRKD-WP-0007-T03
status: todo
status: done
priority: medium
state_hub_task_id: e26c824c-868f-470e-bdfc-e1ae18aa7ebe
```
@@ -158,7 +159,7 @@ style data for all three built-in families.
```task
id: MRKD-WP-0007-T04
status: todo
status: done
priority: medium
state_hub_task_id: d9ef5925-f70f-4e97-a2d4-6932c4c531d6
```
@@ -213,7 +214,7 @@ Deliverable: All three interfaces return a coherent `EvidenceSet` with `overall_
```task
id: MRKD-WP-0007-T05
status: todo
status: done
priority: low
state_hub_task_id: 20789d1c-4495-468f-bbb7-912e63e804e4
```
@@ -252,7 +253,7 @@ Existing LEVEL3 tests still pass.
```task
id: MRKD-WP-0007-T06
status: todo
status: done
priority: high
state_hub_task_id: 0c16c598-bd49-4721-89a3-e989e1d36879
```