Skip to content

docs(contracts): re-derive mermaid for diagram_dialect.system now that C4 is no longer marked experimental #12998

Description

@kyle-sexton

Problem

docs/contracts/authoring-formats/README.md ("Why mermaid is not offered for the system key", lines 77-94 on main) leaves mermaid out of the diagram_dialect.system values because mermaid documents its C4 diagram type as experimental. It quotes that banner verbatim, as of 2026-09-06.

The record's recheck trigger has fired. On 2026-11-03, https://mermaid.js.org/syntax/c4.html no longer contains the word "experimental" (a raw curl of the page matched 0 times). The record says that on firing we "re-derive whether mermaid becomes an allowed value for diagram_dialect.system and record the outcome".

Fix

  1. Re-read the mermaid C4 page and any linked C4 syntax pages, and record what they say now about stability and about the landscape view.
  2. Decide whether mermaid joins the allowed values of diagram_dialect.system, and whether the default for the landscape map changes. This is a contract design call.
  3. Update the record with a new claim, basis and as-of date, or replace it, and update every surface that cites it (plugins/architecture/reference/config.md now points at it).

Acceptance

  • The authoring-formats record no longer quotes a banner the upstream page dropped.
  • The decision on the system key's allowed values is recorded, with its basis.

Refs: #12697 (found while replacing restated upstream facts; that PR only dropped the stale word from architecture/reference/config.md).

Activity

  1. added
    needs-triage
    on Nov 4, 2026
  2. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Decision recorded. mermaid stays out of diagram_dialect.system on a new basis, and the landscape default and output shape stay as they are; every surface that gives "experimental" as the reason is corrected.
    Agent choice, not an owner answer.
    [quote truncated; the full decision is at the link]

    #12998 (comment)

    This decision settles the open questions. It covers the allowed values, the landscape default, the surfaces to update and the basis for the new claim. The remaining work is a docs update: re-derive the record with the 2026-11-04 as-of date, correct the other "experimental" mentions, and add the CHANGELOG entry and the architecture change fragment.

    Automated triage, applied by the lanes App.

  3. added
    needs-owner-decision
    on Nov 4, 2026
  4. melodic-automation-lanes commented on Nov 4, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  5. added and removed
    needs-triage
    on Nov 4, 2026
  6. melodic-automation-lanes commented on Nov 4, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: The record is re-derived with a fresh as-of date and no stale banner quote, and the owner's decision on whether mermaid joins diagram_dialect.system is recorded in the CHANGELOG.

    Related work

    Open questions

    1. Should mermaid join the allowed values of diagram_dialect.system (now likec4, c4-plantuml)? This is a contract design call the owner must make.
      RECOMMENDED: Yes, add mermaid as an opt-in value only if the re-read of the C4 page and its linked pages shows the C4Context, C4Container, C4Component and C4Deployment types are documented as stable. Keep the key unset by default. Basis: docs/contracts/authoring-formats/README.md:48
    2. Should the landscape default change? That covers landscape_dialect's mermaid default and whether /architecture:map-landscape keeps using a C4Context diagram with no focal system.
      RECOMMENDED: No. Dropping the banner does not show a dedicated landscape type, which is the record's second trigger. Basis: docs/contracts/authoring-formats/README.md:91-101
    3. Which surfaces must change if mermaid is allowed? The planning design skill table says 'never Mermaid's C4 diagrams' and carries a 2026-11-03 as-of date. The README table and defaults list name only likec4 and c4-plantuml.
      RECOMMENDED: Update the allowed-values table, the C4 dialect surfaces table, the SKILL.md row, plugins/architecture/reference/config.md, and the CHANGELOGs of the contract, planning and architecture. If the answer is no, update only the record's claim, basis and as-of date. Basis: plugins/planning/skills/design/SKILL.md:344
    4. Should the new basis be confirmed by a person? This run could not fetch https:/​/mermaid.js.org/syntax/c4.html, because the fetch was denied, so the issue's claim that 'experimental' is gone was not checked here.
      RECOMMENDED: Have the lane re-read the page with the upstream-drift fetch ladder and record the byte count and matched text before editing. Basis: judgment

    Sources read

    • docs/contracts/authoring-formats/README.md:47-48: allowed values table; system takes likec4 and c4-plantuml with no default
    • docs/contracts/authoring-formats/README.md:77-105: the record quotes the experimental banner as of 2026-09-06, sets two recheck triggers, and points the outcome to the CHANGELOGs
    • plugins/planning/skills/design/SKILL.md:344: the design skill says never Mermaid C4, as of 2026-11-03
    • https:/​/mermaid.js.org/syntax/c4.html: not read, the WebFetch was denied

    To answer, post a comment that starts with this line:

    **Decision recorded.** <answer>
    

    Automated refinement by the lanes App. Answer with a comment whose first line is **Decision recorded.**.

  7. kyle-sexton commented on Nov 4, 2026

    @kyle-sexton
    MemberAuthor

    Decision recorded. mermaid stays out of diagram_dialect.system on a new basis, and the landscape default and output shape stay as they are; every surface that gives "experimental" as the reason is corrected.
    Agent choice, not an owner answer.
    Written by the Issue Triage session. The record at docs/contracts/authoring-formats/README.md:76-101 leaves mermaid out because mermaid called its C4 type experimental; its recheck trigger (lines 91-95) fired, and this is the re-derivation it prescribes.

    Read 2026-11-04 by curl of https://mermaid.js.org/syntax/c4.html (whole page, 131,566 bytes; a second read the same day returned 131,636): the word "experimental" does not appear; the page says "5 types of C4 charts are supported" (C4Context, C4Container, C4Component, C4Dynamic, C4Deployment); it states nothing about the syntax being stable; no dedicated landscape type is documented.

    1. Allowed value: no change. The refinement made adding mermaid conditional on the page documenting the C4 types as stable, and it does not. Adding it is also not a doc edit: plugins/architecture/lib/resolve-diagram-dialect.sh:54 fixes the system set to likec4 c4-plantuml, and /planning:design and the four map-* views have no mermaid C4 renderer (the render scripts refuse --dialect mermaid), so the value would need a resolver change, five emitters and removal of those refusals, which no consumer has asked for.
    2. Landscape: no change. The landscape trigger (a dedicated landscape type) has not fired.
    3. Surfaces: the record, and every skill or reference that gives "experimental" as the reason, now state our decision in our own words and point at the record.
    4. Basis: the read above; the lane records it with this date and need not re-fetch.
    • "Why mermaid is not offered for the system key" in docs/contracts/authoring-formats/README.md no longer quotes the dropped banner: its claim and basis state the 2026-11-04 read above (no stability statement, five C4 types, no landscape type) and why mermaid stays out (no stability statement; no resolver or emitter support), with the as-of date 2026-11-04 and a recheck trigger for mermaid documenting its C4 syntax as stable, mermaid documenting a dedicated landscape type, or a consumer asking for mermaid C4 output; the same README's other "experimental" sentences (lines 103 and 129) are corrected.
    • Every skill body and reference that gives mermaid C4 being experimental as the reason (plugins/architecture/reference/config.md:112,115 and the map-components :237, map-containers :298, map-context :228 and map-landscape :240-241 skill bodies) states the decision in our own words and links the record, restating no upstream wording.
    • docs/contracts/authoring-formats/CHANGELOG.md records the system-key outcome, and a .changes/architecture/ fragment records the changed text and that the landscape default and output shape are unchanged; the record's own pointer to the architecture plugin's changelog names the fragment mechanism.
  8. added
    needs-triage
    and removed
    needs-owner-decision
    needs-triage
    on Nov 4, 2026
  9. added
    status: ready
    on Nov 4, 2026
  10. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Nov 4, 2026
  11. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
    No description provided.
  12. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
    No description provided.
  13. melodic-automation-lanes commented on Nov 4, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier refusal, not a new refusal. The lanes kill switch stopped run 41747751644, the work-resolve-issue run that agent-ready started, before it did any work; that run ended at 2026-11-04T00:56:05Z. work-unblock has now removed and added agent-ready back to start a fresh run. A kill-switch refusal is no fault in this issue or the lanes, so it never counts against later re-fires; after limits.limit-stops-per-issue of them since a person last added agent-ready or a run last reported, work-unblock waits longer before each one, up to 24 hours.

  14. added
    agent-ready
    and removed
    agent-ready
    on Nov 4, 2026
  15. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
    No description provided.
  16. github-actions commented on Nov 4, 2026

    @github-actions
    Contributor
    No description provided.
  17. removed
    status: ready
    agent-ready
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    agent-ready

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions