DiagramPilot v0.2.5
DiagramPilot v0.2.5
Issue: Repo Workflow Configuration foundation
Issue Version: 0.2.5
Tag: v0.2.5
npm: https://www.npmjs.com/package/diagrampilot/v/0.2.5
Public Website: https://diagrampilot.com
Summary
Add optional Repo Workflow Configuration with diagrampilot.config.yaml.
Zero-config behavior must remain intact, but configured repos should be able to
validate configuration before source processing, discover config upward from the
command scope, apply source ignore patterns, and constrain configured paths to
the config directory tree.
diagrampilot init should not create config by default. diagrampilot init --config should create a minimal config and fail with a repairable message if
one already exists, unless a future --force is added.
Implementation Notes
- Added optional Repo Workflow Configuration loading for
diagrampilot.config.yamlwith top-levelversion: 1and a closed
foundation schema forsources.ignore. - Added upward config discovery from the command scope, stopping at the first
config found or at the Git root/filesystem root boundary. - Validated config before source discovery and source loading in
checkDiagramPilotRepoWorkflow; invalid config returns repairable
diagnostics naming the config path and invalid field. - Threaded config-root-relative
sources.ignorepatterns into source
discovery only. Absolute patterns and..traversal are invalid config, and
zero-config next-to-source SVG behavior is unchanged. - Kept
checkread-only and addedconfig.pathto structured--jsonoutput
when config is used, displayed relative to the current working directory when
possible. - Added
diagrampilot init --configto create minimalversion: 1config;
normaldiagrampilot initstill writes no config, and existing config fails
with repair guidance. - Updated public/current-state docs, bumped Issue Version metadata to
0.2.5,
and refreshed checkout demo SVG provenance.
Validation Results
node scripts/bump-release-version.mjs 0.2.5passed.npm run build && cd demo-projects/checkout && node ../../packages/cli/dist/index.js render docs/architecture.dp.yaml --out docs/architecture.svg
passed.cd demo-projects/checkout && node ../../packages/cli/dist/index.js check
passed: 1 DiagramPilot Source File fresh.cd demo-projects/checkout && node ../../packages/cli/dist/index.js check --json
passed withdiagramPilotVersion0.2.5.npm testpassed: 191 tests.node scripts/check-release-version.mjspassed at0.2.5.node packages/cli/dist/index.js check demo-projects/checkout --json
passed with 1 fresh source.git diff --checkpassed.npm run check:package-readinesspassed for 7 public packages.node scripts/generate-release-notes.mjs --version 0.2.5 --tag v0.2.5
passed.
User-Facing Docs Links
- https://diagrampilot.com/docs/agents/quickstart.md
- https://diagrampilot.com/docs/agents/installation.md
- https://diagrampilot.com/llms.txt
Known Limitations
- Configured artifact mappings, source globs, output templates, and configured
artifact freshness remain scoped to issue 69.