Skip to content

Docs churn: one home for the provenance table's size, and MCP descriptions that do not enumerate readers #1375

Closed

Description

@DrunkOnJava

Every value-source PR on 2026-11-04 (#1364, #1370, #1373) needed an extra commit and a full CI round for two reasons. Both are churn rather than content.

  1. Size figures in seven places. The provenance table's measured size (compact and pretty, office and Core Interior, ratio to the diagnostics) is copied into docs/export-diagnostics.md (two places), docs/mcp.md, docs/python.md, docs/schemas/export-diagnostics.schema.json, the module docs of src/ifc/element_provenance.rs, export_pipeline.rs and mod.rs, and changelog fragments. Each change of the table needs a second commit after its Measure run.
  2. Reader lists in the MCP schema. The ValueSourceOut doc comments in rvt-mcp/src/schema.rs list the reader names, and those comments are the MCP tool contract's descriptions. Every new reader therefore drifts docs/mcp-tools.json, and the PR then waits for a contract-sync commit and another CI run.

Change

  • Keep the size figures in one table in docs/export-diagnostics.md, with the run that measured them. Every other place links to it and states no number.
  • In the MCP schema, describe the field and link to docs/export-diagnostics.md for the list of readers and rules. Do not enumerate them.

Done when

  • A PR that adds a reader changes neither docs/mcp-tools.json nor more than one size figure.
  • The existing figures stay where they are measured.
  • tool_contract_is_committed and render-mcp-tools.py --check pass.
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

    area:docspriority:P2type:docs

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions