Skip to content

Bring the documentation in line with the code, and fix what it found (B506-B519) - #28

Merged
mdempse1 merged 4 commits into
mainfrom
docs-consistency-pass
Oct 27, 2026
Merged

mdempse1 merged 4 commits into
mainfrom
docs-consistency-pass

Conversation

@mdempse1

Copy link
Copy Markdown
Owner

A whole-repository documentation pass, with the code taken as correct, and fixes for what it found in the code.

Documentation (0ad7f74)

  • User pages (Documentation/):
    • Settings labels, defaults and dialog sections now match the code, including the Undeclared rule's tool checkboxes and the package.order switch under their rules.
    • CLI options, exit codes and JSON fields match MLQT.Cli.
    • Every MCP tool argument is documented.
    • Toolbar and dialog labels match the UI, and features no page covered now have one.
  • Contributor docs and skills:
    • Paths, types, scripts, CI jobs and package lists that had drifted from the code are corrected.
    • Example names that were real commercial products are replaced with invented ones.
  • Screenshots:
    • Regenerated from the current UI.
    • New settings-reference-8 shows the Undeclared rule with its tool checkboxes.
    • dependency-analysis-3 now clicks the node; a hover never highlighted it.

Code (B506–B519, 40ba6e9)

Item Change
B506 MCP: a load that changes which libraries are loaded marks dependency/resource analysis as not run, so a replaced or added library no longer leaves stale edges
B507 -h/--help after any mlqt command prints the usage and exits 0
B508 hook resolves a relative --dependency against the current directory, as check and baseline do
B509 --help text: real --config default; --allow-version-mismatch listed for baseline
B510 Removed the unreachable Add to Dictionary button from the Finding Details dialog
B511 ModelAnalyzer derives from ExternalResourceExtractor instead of copying its rules; a parity test runs every extractor case through both
B512 DiagramNode default colours are theme variables Cytoscape can paint
B513 mlqt_session status reports each library's origin
B514 mlqt_edit_class description names every field it accepts
B515 Vendor licence attribution kept, by decision
B516 Stale DymolaInterface test overview retired in favour of the README
B517 ModelicaGraph no longer references RevisionControl, which it never used
B518 Dymola eval scenario file renamed generically
B519 run-all-tests.ps1 comment: CI runs nine suites

Public API:

  • ModelicaParser adds ExternalResourceExtractor.IsLoadResourceCall.
  • ModelAnalyzer.Resources and VisitComposition are now inherited from the extractor; source that uses them still compiles.
  • Consumers building ModelicaGraph from source no longer get RevisionControl through it. A consumer that relied on that needs its own reference.

Verification

  • build/run-all-tests.ps1 -CoreOnly: all 9 suites pass (9,568 tests).
  • CI=true dotnet build MLQT.slnx -c Release: 0 warnings.
  • build/check-coverage.ps1: gate passed.

🤖 Generated with Claude Code

mdempse1 and others added 4 commits October 25, 2026 17:08
A whole-repository pass over Documentation/, the READMEs, BUILDING.md,
RELEASING.md, the project CLAUDE.md files and the skills, with the code
taken as correct.

- User pages: settings labels, defaults and dialog sections (the
  Undeclared rule's tool checkboxes and the package.order switch under
  their rules), CLI options, exit codes and JSON fields, MCP tool
  arguments, toolbar and dialog labels, and the gaps where a visible
  feature had no page
- Contributor docs and skills: paths, types, scripts, CI jobs and
  package lists that had drifted, and example names that were real
  commercial products
- Screenshots regenerated; a new settings-reference-8 shows the
  Undeclared rule with its tool checkboxes; dependency-analysis-3 now
  clicks the node Cytoscape reports, since a hover never highlighted it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pass corrected the docs to say what the code does; these are the
places where the code may be what is wrong, or a decision is needed.
Each is a row under Known open issues with its fix, and the next id
moves to B520.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- B506: a load that changes which libraries are loaded marks the MCP
  session's dependency and resource analysis as not run, so a replaced
  copy or a library added later no longer leaves stale edges
- B507: -h/--help after any mlqt command prints the usage and exits 0
- B508: hook resolves a relative --dependency against the current
  directory, as check and baseline do
- B509: the --help text gives the real --config default and lists
  --allow-version-mismatch for baseline
- B510: the unreachable Add to Dictionary button is gone from the
  Finding Details dialog; the right-click menu is the spelling workflow
- B511: ModelAnalyzer derives from ExternalResourceExtractor instead of
  carrying a copy of its rules, held by a parity test over every
  extractor case
- B512: DiagramNode's default colours are theme variables Cytoscape can
  paint
- B513: mlqt_session status reports each library's origin
- B514: mlqt_edit_class's description names every field it accepts
- B515: the vendor licence attribution stays, by decision
- B516: the stale DymolaInterface test overview is retired for the README
- B517: ModelicaGraph no longer references RevisionControl, which it
  never used
- B518: the Dymola eval scenario file has a generic name
- B519: run-all-tests.ps1 says CI runs nine suites

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sistency-pass

# Conflicts:
#	ModelicaParser/PublicAPI.Unshipped.txt
@mdempse1
mdempse1 merged commit fa5a4b8 into main Oct 27, 2026
14 checks passed
@mdempse1
mdempse1 deleted the docs-consistency-pass branch October 27, 2026 11:13
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.

1 participant