Skip to content

docs: bring README.md and RELEASE.md up to main, and render the measured table from the baseline - #376

Merged
DrunkOnJava merged 9 commits into
mainfrom
docs/readme-current
Oct 27, 2026
Merged

DrunkOnJava merged 9 commits into
mainfrom
docs/readme-current

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

Brings README.md and RELEASE.md up to main, and renders README's measured coverage table and STATUS.md's coverage line from tools/corpus/baseline.tsv with a new tools/maintainer/readme_status.py, so a stale table is caught by --check (and by audit.py) instead of by a reader.

Spec reference

Docs and tooling only; no decoder change. Numbers come from tools/corpus/baseline.tsv on main (03e9e71, unchanged by #368), which the Corpus (public DWG) job holds equal to its measurement (run 40471959010):

Before (README) main
Decoded 13,781 15,527
Skipped 1,985 547
Errored 308 0
Rate 85.7 % 96.6 %

Other facts were checked as follows:

Test plan

  • python3 -I tools/maintainer/readme_status.py --check fails on the old README (3 blocks disagree) and passes after --write --run 40471959010 --date 2026-10-27
  • audit.py's new check reports ok
  • python3 -I tools/ci/spec_coverage.py --check passes
  • Every file and example the README links to exists
  • No absolute home paths (PII guard)
  • No Rust code changed, so fmt/clippy/test/doc are unaffected; CI runs them.

Source-provenance declaration

By submitting this PR I certify that my contribution does not incorporate executable code from any source whose license is incompatible with Apache-2.0. Specifically:

  • No Autodesk DWG SDK source (RealDWG, ObjectARX, ObjectDBX) or NDA-protected Autodesk documentation was consulted or imported.
  • No Open Design Alliance Teigha / Drawings SDK source was consulted or imported. The ODA's public Open Design Specification for .dwg files PDF is explicitly allowed (see CLEANROOM.md).
  • No GPL-licensed DWG implementation source (LibreDWG, etc.) was consulted or imported. This matters because dwg-rs is Apache-2.0 and must remain compatible.

My contribution is based on:

  • The ODA's freely-redistributable Open Design Specification for .dwg files (v5.4.1);
  • Public reverse-engineering notes, research papers, or blog posts cited inline;
  • Reading algorithm-description comments (not executable code) in permissively-licensed projects (MIT / Apache / BSD) to resolve spec ambiguities — disclose any such reading in this PR body so it can be recorded in CLEANROOM.md.

See CLEANROOM.md for the full allowed/forbidden source list and the honest scope of what "clean-room" means for this project.

Developer Certificate of Origin

By submitting this PR, I certify that the contribution complies with the
Developer Certificate of Origin 1.1.
Specifically, I affirm that the contribution is my own work (or rightfully
licensed to me) and that it can be distributed under the project's Apache-2.0
license.

I will sign off commits with git commit -s when asked, which adds a
Signed-off-by trailer to the commit message asserting the DCO.

…red table from the baseline

README.md still showed the 2026-10-26 measurement: 13,781 decoded, 308
errored, 85.7 %, with the errors tracked in four issues that are now
closed. main measures 15,527 decoded, 547 skipped and 0 errored on the
52 pinned drawings (96.6 %). The README now says that, lists the 30
skipped types with the open PR for each, gives the DXF value oracle's
totals, and brings the capability matrix, the streaming section, the
CLI list and the "does not do" list up to what has landed.

The table and the totals are rendered from tools/corpus/baseline.tsv by
tools/maintainer/readme_status.py (--write, --check). audit.py runs
the check, and docs/maintaining.md adds housekeeping item 10: refresh
the README after any landing that moves the baseline or ships a
capability. STATUS.md's coverage line uses the same blocks.

RELEASE.md cited a "#418" and "Q-07" that do not exist, listed five CLI
tools where release.yml builds seven, and promised "4 binaries on 3
platforms" where it ships seven on five targets. It now names the
twelve required checks and the README refresh as release steps.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T14:39:16.526047Z 1424c26 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cf8519a028

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/maintainer/readme_status.py Resolved
….tsv too

The README's oracle line was typed by hand and went stale when #351 landed:
105,690 equal fields became 105,756. readme_status.py now renders it from
the oracle baseline that CI pins, and --check covers it.
A STATUS.md edit that dropped or damaged its corpus-summary markers made
--check pass with stale numbers, and --write left them untouched. Each
document now lists the blocks it must carry. --check reports a block that
is missing or doubled, and --write refuses to run until it is fixed.
#379 decoded the last two skipped types that had no decoder in progress,
so every skipped type now has one in review, and #351 changed the
oracle's totals. readme_status.py re-renders both, and the CHANGELOG gets
the three 2026-10-27 entries the catch-up (#378) predates.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adab6db538

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md Resolved
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 27, 2026 14:52
@DrunkOnJava
DrunkOnJava merged commit d8690f4 into main Oct 27, 2026
25 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/readme-current branch October 27, 2026 14:54
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.

Pre-R2007 strings are decoded as lossy UTF-8, not in the drawing's $DWGCODEPAGE

1 participant