Skip to content

docs: the layer-5b guide and the viewer docs follow C6's test binary and rvt-wasm crate - #849

Merged
DrunkOnJava merged 11 commits into
mainfrom
docs/guides-follow-c6
Oct 20, 2026
Merged

DrunkOnJava merged 11 commits into
mainfrom
docs/guides-follow-c6

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Summary

Two contributor-facing docs described a layout that C6 (2026-10-05: #724 split the bindings into rvt-wasm, #732 merged every test file into one binary) replaced. docs/extending-layer-5b.md's Step 5 told a contributor to add a check that would never run, and the viewer docs named a bindings file that no longer exists.

Motivation

A scan of the docs for cited source paths that do not exist found these. The other misses it reported are dated notes about other repositories, historical reports, an ADR and a launch draft that says it was written for 0.1.2.

  • docs/extending-layer-5b.md, Step 5. It said to add a #[test] gated on a corpus feature to tests/elements.rs, opening _corpus/examples/Autodesk/... by a hard-coded path. There is no corpus feature and no tests/elements.rs. Since ci: every tests/*.rs file is a module of one test binary, integration (C6) #732 every tests/*.rs file is a module of the one integration binary, and CI runs only the files tools/ci/test-targets.txt classes. A test written to the guide is neither compiled nor run, and the repository's rule is to resolve the corpus through tests/common, never a path.
  • docs/viewer-build-pipeline.md and AGENTS.md. Both named src/wasm.rs behind a wasm feature. build: the wasm bindings are their own crate, rvt-wasm, and rvt builds as a plain rlib (C6) #724 moved the bindings to their own crate, rvt-wasm, and rvt builds as a plain rlib. The build commands both docs give were already the rvt-wasm ones.

Changes

  • docs/extending-layer-5b.md:
    • Step 3 registers the decoder and lists its class in elements::MVP_TYPED_CLASSES before the corpus check, since production uses a typed decoder only for those classes (skipping an instance it rejects). The same change adds the class's arm to typed_json::mvp_typed_view, or the CLI and Python give it typed: null, and to the list tests/python/test_decoded_api.py pins and the class list in docs/schemas/decoded-elements.schema.json. It drops the decoder_class_names_are_unique tripwire, which no longer exists (decoder_for_class takes the first match).
    • Step 5 says how a real-file check is added now: tests/<name>.rs, a line in tests/integration/main.rs, and the class real in the manifest, which fails CI for a file it does not class. The check uses the files whose oracle holds the class (the family corpus through tests/common, or project files through RVT_PROJECT_CORPUS_DIR), requires an instance only where the oracle has one, and fails on a missing file when RVT_REQUIRE_CORPUS is set, as tests/elem_table_corpus.rs does. Its example decodes through the production path (walker::iter_elements), keeps the schema rows (record_kind schema_instance, which typed and generic decodes share and partition records do not), asserts provenance.decoder == "MyClassDecoder" on each, and marks where each field is compared with the oracle by ElementId.
    • The file list, Step 6 and Step 7 no longer put tests in the decoder file or say "unit-tested with synthesized bytes", and the commit scope is elements.
  • docs/viewer-build-pipeline.md: its note on what the snippets predate gains the rvt-wasm move (C6, build: the wasm bindings are their own crate, rvt-wasm, and rvt builds as a plain rlib (C6) #724) and says ci: stop rebuilding the world per pull request, and unshare the Pages concurrency group #260's per-ref concurrency group happened (it said "is proposed", though ci: stop rebuilding the world per pull request, and unshare the Pages concurrency group #260 merged on 2026-09-19).
  • AGENTS.md: the WASM package is rebuilt when rvt-wasm/src/lib.rs or the library code it reaches changes.

Testing

N/A: docs only. The example uses RevitFile::schema, SchemaTable::classes, ClassEntry::{name, fields} and tests/common's ALL_YEARS and sample_for_year, as tests/samples.rs does.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md)

Breaking changes

None.


Note

Low Risk
Documentation-only updates with no runtime or CI behavior changes.

Overview
Updates contributor docs so they match C6: WASM bindings live in rvt-wasm, and corpus checks plug into the single integration test binary plus tools/ci/test-targets.txt.

docs/extending-layer-5b.md expands the “three-file” checklist to include typed_json, Python/schema class lists, and the corpus/CI wiring. Step 2’s example now fails closed in decode (not just decode_instance). Step 3 documents MVP_TYPED_CLASSES, production scoring/provenance, and where to register typed output. Step 5 replaces the obsolete tests/elements.rs / corpus-feature pattern with tests/<name>_corpus.rs, a module line in tests/integration/main.rs, and classing the file real in the CI manifest, including an oracle-driven iter_elements example.

AGENTS.md and docs/viewer-build-pipeline.md point rebuild notes at rvt-wasm/src/lib.rs and record the bindings split and merged per-ref deploy concurrency as shipped.

Reviewed by Cursor Bugbot for commit 3873423. Configure here.

@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 6aa4a314-8fcb-4790-9278-49808f7dd124)

@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: cebe38dc35

ℹ️ 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 docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 9500e374-ca2a-425b-a3a5-5f6e96f5c944)

@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: 2a8a165c24

ℹ️ 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 docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: a5220a49-f795-46a9-9d86-6e3dd05b9a91)

@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: 7436f2544b

ℹ️ 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 docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: dcab0d04-d367-4fc7-bb89-9afbb0a2c55d)

@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: bf20ef7005

ℹ️ 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 docs/extending-layer-5b.md Resolved
…inary, and the viewer docs name the rvt-wasm crate (C6)
…the typed decoder on real files, and the guide routes production through MVP_TYPED_CLASSES
… its JSON view, Python list and schema, and check only the schema rows of files whose oracle holds it
…de names every list of the typed classes and how to find them
@DrunkOnJava
DrunkOnJava force-pushed the docs/guides-follow-c6 branch from bf20ef7 to 7dcc8cf Compare October 19, 2026 20:39
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: fca3f723-6e8e-4319-87b8-ca9437dffc25)

@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: 7dcc8cfd3c

ℹ️ 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 docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
…racle, and names the score threshold that keeps an instance from the decoder
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: e98a59c6-8513-4ab3-9db7-b0638361bad1)

@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: 6a76b6891b

ℹ️ 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 docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
…fields it needs, and the corpus check requires schema rows
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: 5fd07a54-7276-4390-bcd6-4ba5ec9a58e8)

@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: 65cdbeffb9

ℹ️ 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 docs/extending-layer-5b.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: a6191c6c-612e-47a0-b5c5-ac2ce6ee4089)

@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: d2b4676139

ℹ️ 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 docs/extending-layer-5b.md Resolved
Comment thread docs/extending-layer-5b.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: f6135bd7-84ec-45cb-805b-1905f88a30c6)

@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: ad54881c7e

ℹ️ 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 docs/extending-layer-5b.md Resolved
@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: f00fd5b9-f0d9-4b7a-85e5-d0b71957aa81)

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 260b81e7e8

ℹ️ 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".

@cursor

cursor Bot commented Oct 19, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: dc0212cf-1a64-4548-85fd-55387f3540b8)

@DrunkOnJava
DrunkOnJava merged commit cc7ce69 into main Oct 20, 2026
26 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/guides-follow-c6 branch October 20, 2026 00:51
DrunkOnJava added a commit that referenced this pull request Oct 20, 2026
…x reviews it, without anything waiting for it (#859)

Follow-up to #856. Codex reviews stay on, because its findings were useful (#842, #849, #853, #854), and nothing waits for one.

- RELEASE.md hotfix step 5: besides reading the branch's whole diff against the tag, open the review-only pull request into `review/vX.Y.Z-base` again, so Codex reviews the text crates.io and PyPI then keep for good. Nothing waits for that review, but a finding that arrives before the tag is acted on. Step 6 closes it and deletes the branch after the tag.
- ADR-005's amendment: a merge waits only on `CI passed`. Codex still reviews; Bugbot does not. Its findings are acted on and resolved when they arrive.
- BACKLOG.md's state line follows.

Docs only.
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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