Skip to content

Sync agents and template: LintMark, remove Node.js, CanvasNet 0.2.0-beta.11 shim - #50

Merged
Malcolmnixon merged 9 commits into
mainfrom
agents-template-sync-2026-11
Nov 17, 2026
Merged

Malcolmnixon merged 9 commits into
mainfrom
agents-template-sync-2026-11

Conversation

@Malcolmnixon

Copy link
Copy Markdown
Member

Brings AgentControl up to date with the shared agent files (Agents main) and the reference template (Agents template #45–#51).

Changes applied

  • Agents sync: .github/agents, .github/skills, .github/standards are byte-identical to Agents main (lint-fix agent, canvasnet skill, diagram/technical/design/verification/reviewmark/sysml2/csharp-testing standards). orchestrator.agent.md differed only by the upstream Sync agents and template: LintMark, remove Node.js, CanvasNet 0.2.0-beta.11 shim #50 "discuss decisions in conversation" bullet (no repo-specific content), so it was synced. AGENTS.md: markdownlint → LintMark wording and the package.json entry removed (Trim the README to a brief introduction with a concept diagram #48). AGENTS.md has no "Repository-Specific Standards Exceptions" section.
  • TextLint (Adopt sysml2tools 0.3.0-beta.3 standard view definitions for SoftwareStructureView #45): already on 0.1.0-beta.4; added the template's guidance header to .textlint.yaml (repo words/ignorePaths kept), dropped the package-lock.json ignore, added lintmark to the words. No stale cspell wording was present.
  • mermaid-filter removal (Retry the settings file replace when it is briefly locked #47): removed the --filter node_modules/.bin/mermaid-filter.cmd Pandoc arguments (9 documents), the npm install / PUPPETEER_SKIP_DOWNLOAD / Chrome PUPPETEER_EXECUTABLE_PATH CI steps and the PUPPETEER_SKIP_DOWNLOAD lines in lint.ps1/fix.ps1. No OTS docs described mermaid-filter. The one Mermaid diagram (flowchart in docs/design/agent-control.md) is rendered by the CanvasNet filter.
  • LintMark + Node.js removal (Trim the README to a brief introduction with a concept diagram #48/Bump the nuget-dependencies group with 15 updates #49): pinned demaconsulting.lintmark 0.1.0-beta.2; lint.ps1/fix.ps1 run dotnet lintmark / dotnet lintmark --fix; added the template's .lintmark.yaml plus the repo's **/AGENT_REPORT_*.md ignore from .markdownlint-cli2.yaml; deleted .markdownlint-cli2.yaml and package.json. Node was used for nothing else, so it is removed: both Setup Node.js CI steps, the node/npm VersionMark captures (.versionmark.yaml and build.yaml), the Node section of .gitignore. Added the lintmark capture to the quality job and .versionmark.yaml. VS Code "lint markdown" task and CONTRIBUTING.md now name LintMark. No markdownlint OTS item existed.
  • LintMark --fix: separate commit; formatting only (paragraph reflow to 120 columns, table delimiter rows, _x_ → *x* emphasis). Verified by rendering every changed file with Pandoc before and after: identical HTML except one table in git-tag-pattern.md, whose compact delimiter row now gives Pandoc equal column widths (LintMark's default tables: compact does not allow the old proportional dashes). No padded code spans or split compounds were affected.
  • .gitattributes (Bump the nuget-dependencies group with 15 updates #49): already identical to the template; git add --renormalize . changed no files, so there is no renormalization commit.
  • YAML re-indent (Bump the nuget-dependencies group with 15 updates #49): docs/*/definition.yaml sequences were already indented; nothing to change.
  • CanvasNet beta.11 + shim (Set up the Python venv with shell-neutral VS Code process tasks #51/Fix the AGENTS.md Template Offer link in the built user guide #52): pinned demaconsulting.canvasnet.tool 0.2.0-beta.11; docs/filters/canvasnet.lua replaced by the shim from dotnet canvasnet pandoc-filter --write-shim (identical to the template's).
  • PNGs: removed docs/images/architecture.png — nothing outside Pandoc uses it since the README trim (Trim the README to a brief introduction with a concept diagram #48); the design document and user guide already reference architecture.svg. Kept docs/images/agent-workflow.png (README via raw URL); re-rendered at its original 1800 px width with a transparent background it is visually identical (anti-aliasing differences only), so main's file is left untouched. Kept the 12 user-guide screenshots (raster sources, no other source exists; main-window-dark.png is also used by the README).

Not applied

Renormalized files

None.

Validation

  • ./lint.ps1: clean (yamllint, TextLint, LintMark, reqstream, versionmark, reviewmark, sysml2tools, dotnet format).
  • ./build.ps1: build succeeded with 1 warning, WiX HEAT5151 from harvesting the published exe (the installer project is unchanged). Unit tests 2487 passed (42 skipped: symlink privilege/case-sensitivity), Puppet tests 219 passed, UI tests 83/84 passed. The one failure (SelectPackageWindow_Opened_FocusStartsInsideTabCyclesAndEscapeCancels, focus) happened while other processes were running on the desktop; it passes when re-run on its own.
  • All nine documents built as build.yaml does (SysML2 views rendered first, Pandoc with the shim filter, WeasyPrint): no filter errors, no "Could not fetch", no "Failed to load image"; the Mermaid flowchart is rendered as an image. WeasyPrint reports No anchor #agentsmd-template-offer in the user guide. This was already there before this PR: Pandoc's ID for "AGENTS.md Template Offer" keeps the dot.

Malcolm Nixon and others added 5 commits November 16, 2026 22:58
Copy the latest shared agent files (including the orchestrator's narrative-decisions guidance from Agents #50) and apply the LintMark/Node.js AGENTS.md wording.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add demaconsulting.lintmark 0.1.0-beta.2; lint.ps1/fix.ps1 run dotnet lintmark; add .lintmark.yaml (carrying over the AGENT_REPORT_*.md ignore); remove .markdownlint-cli2.yaml and package.json
- Remove the mermaid-filter Pandoc arguments, Node.js/npm CI steps, Chrome/Puppeteer setup, node/npm VersionMark captures and the Node .gitignore section; capture lintmark
- Point the VS Code markdown lint task and CONTRIBUTING.md at LintMark
- Add the .textlint.yaml guidance header; drop the package-lock.json ignore
- Pin demaconsulting.canvasnet.tool 0.2.0-beta.11

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…re.png

- Replace docs/filters/canvasnet.lua with the shim written by 'dotnet canvasnet pandoc-filter --write-shim'
- Remove docs/images/architecture.png: nothing outside Pandoc uses it since the README trim (#48); the design document and user guide reference architecture.svg directly

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Formatting only: paragraph reflow to 120 columns, table padding and *emphasis* style; no content changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 17, 2026 04:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A critical active issue remains because the YAML lint task still invokes npx after the Node.js setup is removed, causing the lint workflow to fail before YAML linting runs.

1 open issue
What changed in this PR

This pull request synchronizes AgentControl with shared agent and template repositories, replaces the Node.js/markdownlint/mermaid-filter toolchain with LintMark and CanvasNet, and updates the related documentation and CI configuration.

Changes:

  • Added LintMark and upgraded CanvasNet to 0.2.0-beta.11 with a generated Pandoc shim.
  • Removed Node.js, npm, markdownlint, and mermaid-filter dependencies and integrations.
  • Applied documentation formatting and synchronized agent, skill, standards, design, verification, and contributor guidance.
File Description
tools/​DemaConsulting.AgentControl.Puppet/​README.md Reflowed Puppet documentation for LintMark formatting.
SECURITY.md Reformatted the supported-versions table.
package.json Removed obsolete npm dependencies.
lint.ps1 Replaced markdownlint and npm linting with LintMark.
fix.ps1 Replaced markdownlint auto-fixing with LintMark.
docs/​verification/​ots.md Reformatted the verification OTS inventory.
docs/​verification/​agent-control/​settings/​settings-store.md Reflowed settings-store verification documentation.
docs/​verification/​agent-control/​settings/​repo-group-name.md Reflowed repository group-name verification documentation.
docs/​verification/​agent-control/​launcher-ui/​source-editor-view-model.md Reflowed source-editor verification documentation.
docs/​verification/​agent-control/​launcher-ui/​repo-image-locator.md Reflowed repository image-locator verification documentation.
docs/​verification/​agent-control/​launcher-ui/​repo-group-header-view-model.md Reflowed repository group-header verification documentation.
docs/​verification/​agent-control/​launcher-ui/​repo-card-view-model.md Reflowed repository card verification documentation.
docs/​verification/​agent-control/​launcher-ui/​main-window-view-model.md Reflowed main-window verification documentation.
docs/​verification/​agent-control/​launcher-ui/​group-name-view-model.md Reflowed group-name verification documentation.
docs/​verification/​agent-control/​launcher-ui.md Reflowed launcher UI verification documentation.
docs/​verification/​agent-control/​git-integration/​git-client.md Reflowed Git client verification documentation.
docs/​verification/​agent-control/​agent-package-management/​package-version-cache.md Reflowed package-version cache verification documentation.
docs/​verification/​agent-control/​agent-package-management/​nuget-source-provider.md Reflowed NuGet source-provider verification documentation.
docs/​verification/​agent-control/​agent-package-management.md Reflowed package-management verification documentation.
docs/​verification/​agent-control.md Reflowed system verification documentation.
docs/​user_guide/​introduction.md Reflowed user-guide introduction documentation.
docs/​filters/​canvasnet.lua Replaced the custom filter implementation with the generated CanvasNet beta.11 shim.
docs/​design/​ots/​sysml2tools.md Reflowed SysML2Tools design documentation.
docs/​design/​ots/​nuget-caching.md Updated emphasis formatting and reflowed NuGet caching documentation.
docs/​design/​ots.md Reformatted the design OTS inventory.
docs/​design/​agent-control/​settings/​settings-store.md Reflowed settings-store design documentation.
docs/​design/​agent-control/​settings.md Reflowed settings subsystem design documentation.
docs/​design/​agent-control/​launcher-ui/​source-editor-view-model.md Reflowed source-editor design documentation.
docs/​design/​agent-control/​launcher-ui/​repo-image-locator.md Reflowed repository image-locator design documentation.
docs/​design/​agent-control/​launcher-ui/​repo-card-view-model.md Reflowed repository card design documentation.
docs/​design/​agent-control/​launcher-ui/​main-window-view-model.md Reflowed main-window design documentation.
docs/​design/​agent-control/​launcher-ui/​group-name-view-model.md Reflowed group-name design documentation.
docs/​design/​agent-control/​launcher-ui.md Reflowed launcher UI design documentation.
docs/​design/​agent-control/​agent-package-management/​signature-verification-support.md Reflowed signature-verification design documentation.
docs/​design/​agent-control/​agent-package-management/​package-version-cache.md Reflowed package-version cache design documentation.
docs/​design/​agent-control/​agent-package-management/​nuget-source-provider.md Reflowed NuGet source-provider design documentation.
docs/​design/​agent-control/​agent-package-management/​git-tag-pattern.md Updated the compact table delimiter formatting.
docs/​design/​agent-control/​agent-package-management/​git-source-provider.md Reflowed Git source-provider design documentation.
docs/​design/​agent-control.md Reflowed system design documentation.
CONTRIBUTING.md Renamed Markdown linting guidance to LintMark.
AGENTS.md Updated tool, formatting, and CI guidance for LintMark.
.vscode/​tasks.json Updated the Markdown lint task to invoke LintMark.
.versionmark.yaml Removed Node and npm captures and added a LintMark capture.
.textlint.yaml Added shared guidance and LintMark terminology while removing the obsolete package-lock ignore.
.markdownlint-cli2.yaml Removed the obsolete markdownlint configuration.
.lintmark.yaml Added LintMark configuration and repository-specific ignores.
.gitignore Removed obsolete Node.js ignore entries.
.github/​workflows/​build.yaml Removed Node, npm, and mermaid-filter setup and added LintMark version capture.
.github/​standards/​verification-documentation.md Reflowed and reformatted verification documentation standards.
.github/​standards/​technical-documentation.md Replaced markdownlint guidance with LintMark guidance.
.github/​standards/​sysml2-modeling.md Reflowed SysML2 modeling and CI guidance.
.github/​standards/​reviewmark-usage.md Reformatted ReviewMark tables and emphasis.
.github/​standards/​diagram-documentation.md Updated Mermaid and CanvasNet source and rendering guidance.
.github/​standards/​design-documentation.md Reflowed and reformatted design documentation standards.
.github/​standards/​csharp-testing.md Updated compact table delimiter formatting.
.github/​skills/​canvasnet/​SKILL.md Synchronized CanvasNet usage guidance for beta.11.
.github/​agents/​orchestrator.agent.md Added synchronized conversational decision guidance.
.github/​agents/​lint-fix.agent.md Updated the lint-fix workflow for LintMark and related tooling.
.config/​dotnet-tools.json Added LintMark and upgraded CanvasNet to 0.2.0-beta.11.

Review effort: Lite

Comment thread .vscode/tasks.json Resolved
Node.js is gone, so npx can no longer run it; yamllint comes from pip-requirements.txt as in lint.ps1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 17, 2026 05:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

An active moderate issue remains in docs/filters/canvasnet.lua because needs_tool incorrectly triggers CanvasNet for every fenced code class, causing unnecessary build overhead and failures when CanvasNet is unavailable.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Limit CanvasNet filter invocation to supported diagram classes

docs/​filters/​canvasnet.lua:38

needs_tool marks every fenced code block with any class as requiring CanvasNet, but the new filter contract only uses a mermaid class for diagram blocks. This makes every document containing ordinary text, pwsh, yaml, xml, etc. examples invoke dotnet canvasnet pandoc-filter unnecessarily, increasing build time and making otherwise non-diagram documents fail when CanvasNet is unavailable. Restrict this check to a mermaid class (or the other explicitly supported diagram classes) while leaving ordinary code blocks alone.

1 resolved since last review

Review effort: Lite

yamllint is installed into .venv from pip-requirements.txt by lint.ps1/fix.ps1, not globally, so call that copy (bin/ on Linux/macOS, Scripts\ on Windows).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 17, 2026 05:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Active moderate and critical findings remain: the YAML lint task fails in a clean checkout, and the CanvasNet filter incorrectly processes non-Mermaid fenced code blocks.

1 open issue
1 previously missed issue

In code that hasn't changed since last review

High severity Restrict CanvasNet detection to Mermaid code blocks

docs/​filters/​canvasnet.lua:38

This broad check marks every fenced code block with any class as CanvasNet content. The repository has text, xml, and other non-Mermaid blocks, so every such document now launches the CanvasNet Pandoc process and may be rejected or needlessly depend on CanvasNet. The documented integration only treats a fenced block with the mermaid class as a diagram; restrict this condition to that class.

Review effort: Lite

Comment thread .vscode/tasks.json Resolved
lint yaml now depends on a setup task that creates .venv and installs pip-requirements.txt, as lint.ps1 and fix.ps1 do, so it works on a fresh checkout.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings November 17, 2026 05:49
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because the change introduces a moderate hidden behavior issue that unnecessarily invokes the external filter for non-Mermaid code blocks.

No open issues 🎉

1 resolved since last review

Review effort: Lite

Copilot AI lite review requested due to automatic review settings November 17, 2026 05:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because the change contains multiple moderate hidden issues affecting error handling and triggering CanvasNet for unrelated code blocks.

No open issues 🎉

1 resolved since last review

Review effort: Lite

@Malcolmnixon
Malcolmnixon merged commit 50dae05 into main Nov 17, 2026
8 checks passed
@Malcolmnixon
Malcolmnixon deleted the agents-template-sync-2026-11 branch November 17, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants