DiagramPilot v0.2.8
DiagramPilot v0.2.8
Issue: Generated Markdown embeds
Issue Version: 0.2.8
Tag: v0.2.8
npm: https://www.npmjs.com/package/diagrampilot/v/0.2.8
Public Website: https://diagrampilot.com
Summary
Add generated Markdown embeds as standalone generated files. DiagramPilot
should not edit arbitrary prose documents in place. Configured Markdown embeds
should depend on the freshness of referenced artifacts, so a clean embed cannot
hide a stale diagram image or export.
Implementation Notes
- Added configured
format: markdownsupport as standalone generated embed
files, written after referenced artifacts and included in generate write
results. - Markdown embeds render a generated header, source title, a primary SVG/PNG
image reference, and links to additional configured Mermaid, D2, DOT, or PNG
artifacts with paths relative to the embed file. checknow compares Markdown embed content and reports the embed stale when a
referenced configured artifact is missing, unreadable, unchecked, or stale.generatedoes not edit arbitrary prose documents in place; smoke coverage
verifies an existingdocs/guide.mdremains unchanged.- Updated public docs and installation cleanup guidance to describe standalone
Markdown embed artifacts. - Completed a Fallow cleanup pass around changed code: split configured artifact
path and Markdown freshness helpers out of the main checker, shared source
loading/path helpers between check and generate, reduced CLI parser/planner
duplication, and kept authored files under the 500 LOC maintainability gate. - Added issue-driven release version sync and validation tooling so closeout can
derive shared package metadata from the local issue'sIssue Version, refresh
version-sensitive generated artifacts, and fail CI when completed issue
version metadata drifts from package metadata. - Required Fallow gates pass with no introduced findings. A no-baseline snapshot
still shows inherited baseline debt, but this issue reduced it to 0 dead-code
issues, 80 health findings, and 115 duplicate groups.
Validation Results
npm testpassed: 218 tests.npm run audit:fallowpassed.npm run audit:fallow:changedpassed.npm run sync:issue-release-version -- --issue .scratch/v0-3-0-alpha-capability-release/issues/71-generated-markdown-embeds.md
passed and idempotently synced release metadata, built the workspace,
refreshed the checkout demo SVG, and checked the demo artifact.npm run check:release-version -- 0.2.8passed.npm run check:issue-release-version -- --issue .scratch/v0-3-0-alpha-capability-release/issues/71-generated-markdown-embeds.md
passed.npm run check:package-readinesspassed for 7 public packages.node scripts/generate-release-notes.mjs --version 0.2.8 --tag v0.2.8
generated a non-empty release draft body.- Release metadata was bumped to the assigned Issue Version
0.2.8, and the
checkout demo SVG provenance was refreshed at0.2.8. npm view diagrampilot@0.2.8 version dist-tags --json --registry=https://registry.npmjs.org/
returned npmE404, confirming0.2.8is not already published.git ls-remote --tags origin refs/tags/v0.2.8returned no tag.gh release view v0.2.8 --repo StiensWout/DiagramPilotreturned no release.node packages/cli/dist/index.js check demo-projects/checkout --jsonpassed
withok: true, 1 checked source, 1 fresh source, and 0 issues.git diff --checkpassed.