Skip to content

Keep version-calculation documentation aligned with the v7 algorithm #5300

Closed

Description

@arturcic

The version-calculation documentation needs to explain the current v7 algorithm and stay aligned as calculation rules change. A page with stale decision rules or broken Mermaid includes is difficult to use when diagnosing branch inheritance, competing versions, and counting-source behavior.

The original page rendered a diagram include as literal markup. Repairing it also exposed missing algorithm detail and poor arrow/message contrast in dark mode. Hand-maintained explanations alone provide no prompt to review the page when the implementation changes.

The documentation should:

  • Explain strategy discovery, inherited configuration, candidate increments, semantic/counting-source selection, Mainline traversal, and deployment modes with navigable decision diagrams.
  • Require an explicit review of affected sections when mapped calculation sources change, including new and renamed sources.
  • Generate representative worked histories from executable tests that assert both calculated versions and source metadata.
  • Render Mermaid includes correctly and keep arrows and labels readable in light and dark themes.
  • Document how contributors update explanations, review records, and generated examples.

The source-review guard should enforce review rather than claim to prove prose or flowchart semantics. Worked histories should be representative checkpoints, with broader algorithm tests remaining the executable catalogue.

Implementation: #5299.

Activity

  1. added this to the 7.0.x milestone on Oct 9, 2026
  2. modified the milestones: 7.0.x, 7.0.0 on Nov 15, 2026
  3. github-actions commented on Nov 17, 2026

    @github-actions

    🎉 This issue has been resolved in version 7.0.0 🎉
    The release is available on:

    Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions