Skip to content

tdbin/codegen blocker fixes (#61 #62 #65 #71 #77 #60 #85), all code under src/, dependabot merges - #86

Merged
MelbourneDeveloper merged 48 commits into
mainfrom
chore/commit-outstanding
Nov 16, 2026
Merged

MelbourneDeveloper merged 48 commits into
mainfrom
chore/commit-outstanding

Conversation

@MelbourneDeveloper

Copy link
Copy Markdown
Collaborator

Summary

Fixes for tdbin and codegen issues that block downstream apps, a repo restructure that moves all code under src/, and merged Dependabot upgrades.

Issues addressed are referenced only. Per repo policy they are closed after the next release's binaries are verified, not by this PR.

tdbin and codegen

Repo layout

  • All code now lives under src/: typediagram, cli, web, vscode, tdbin, scripts, plus the Cargo workspace and eslint.config.mjs.
  • Workflows, Makefile, Dependabot, docs and Claude.md are updated to match.
  • Path regressions from the move, found while reviewing everything since v0.13.0:
    • stamp-version default root resolved src/src/…, which would have broken every release. The e2e test now covers the no---root call that release.yml makes.
    • ratchet-coverage looked for src/coverage-thresholds.json.
    • Vitest coverage glob src/** also matched each package's test/ helpers.
    • Playwright/MCR coverage collapsed web sources to bare file names, so 0 files were merged.
    • Dependabot cargo directory is now /src.

Other

  • Merged all open Dependabot upgrade branches; vitest is aligned at 4.1.12.
  • Bundle budget raised from 93 KB to 96 KB for the width types (measured 94.9 KB).

Verification (local, same steps as CI)

  • prettier --check and cargo fmt --check pass.

  • make lint passes: typecheck, eslint, banned-deps, and clippy with -D warnings.

  • make test passes:

    Suite Result
    cargo all passed
    core 480 passed
    cli 135 passed
    vscode 144 passed (1 skipped: the existing env-gated VSIX packaging suite)
    web 134 vitest + 126 Playwright passed; merged coverage above thresholds

    Thresholds were ratcheted afterwards.

  • make build and the bundle-size check pass.

  • deslop . and the Shipwright manifest/version gates pass.

Follow-ups (not in this PR)

🤖 Generated with Claude Code

dependabot Bot and others added 30 commits July 9, 2026 17:56
---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.10
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: eslint
  dependency-version: 10.6.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: prettier
  dependency-version: 3.9.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typescript-eslint
  dependency-version: 8.63.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: vitest
  dependency-version: 4.1.10
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: "@types/node"
  dependency-version: 26.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: elkjs
  dependency-version: 0.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: esbuild
  dependency-version: 0.28.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: happy-dom
  dependency-version: 20.10.6
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: markdown-it
  dependency-version: 14.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@types/vscode"
  dependency-version: 1.125.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@vscode/test-electron"
  dependency-version: 3.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: mocha
  dependency-version: 11.7.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: pdfkit
  dependency-version: 0.19.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: marked
  dependency-version: 18.0.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@playwright/test"
  dependency-version: 1.61.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: concurrently
  dependency-version: 10.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
- dependency-name: monocart-coverage-reports
  dependency-version: 2.12.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: tsx
  dependency-version: 4.23.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: typedoc
  dependency-version: 0.28.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: typedoc-plugin-markdown
  dependency-version: 4.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: vite
  dependency-version: 8.1.4
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.16 to 8.5.26.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.5.16...8.5.26)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.26
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.15 to 3.3.18.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/3.3.18/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.15...3.3.18)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 3.3.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.10 to 4.1.11.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.1.11
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps  and [js-yaml](https://github.com/nodeca/js-yaml). These dependencies needed to be updated together.

Updates `js-yaml` from 4.1.1 to 4.3.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.1...4.3.2)

Updates `js-yaml` from 3.14.2 to 3.15.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.1...4.3.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.2
  dependency-type: indirect
- dependency-name: js-yaml
  dependency-version: 3.15.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.14 to 1.1.21.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v1.1.14...v1.1.21)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.21
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [shell-quote](https://github.com/ljharb/shell-quote) to 1.12.0 and updates ancestor dependency [concurrently](https://github.com/open-cli-tools/concurrently). These dependencies need to be updated together.


Updates `shell-quote` from 1.8.4 to 1.12.0
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.4...v1.12.0)

Updates `concurrently` from 10.0.3 to 10.0.6
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](open-cli-tools/concurrently@v10.0.3...v10.0.6)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.12.0
  dependency-type: indirect
- dependency-name: concurrently
  dependency-version: 10.0.6
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [liquidjs](https://github.com/harttle/liquidjs) from 10.27.0 to 10.30.0.
- [Release notes](https://github.com/harttle/liquidjs/releases)
- [Changelog](https://github.com/harttle/liquidjs/blob/master/CHANGELOG.md)
- [Commits](harttle/liquidjs@v10.27.0...v10.30.0)

---
updated-dependencies:
- dependency-name: liquidjs
  dependency-version: 10.30.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](7rulnik/source-map-js@v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.3.0 to 14.3.3.
- [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.3/CHANGELOG.md)
- [Commits](markdown-it/markdown-it@14.3.0...14.3.3)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-version: 14.3.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.1.4 to 8.3.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.3.5
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…he real parser

Lean 4 proof of encode/decode round-trip, injectivity and code-generation
resolution, plus a 400-case seeded test through parse, resolve and decode.
…ers, tdbin column updates

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pansion-1.1.21' into chore/commit-outstanding
…3f5476' into chore/commit-outstanding

# Conflicts:
#	package-lock.json
#	packages/typediagram/package.json
#	packages/vscode/package.json
#	packages/web/package.json
….5' into chore/commit-outstanding

# Conflicts:
#	package-lock.json
….1.11' into chore/commit-outstanding

# Conflicts:
#	package-lock.json
#	packages/web/package.json
…te lockfile

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eFramed enforces it; base64 framed helpers (#85)

[TDBIN-SCHEMA-HASH] [TDBIN-FRAME-BASE64]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MelbourneDeveloper and others added 18 commits November 16, 2026 18:33
… sideEffects:false; record 6.3KB gz bundle (#85)

[TDBIN-TS-BUNDLE]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
)

Payload = pointer to a synthetic [TDBIN-REC-ALLOC] record planned once and
shared by the Rust codec, TS codec and layout manifest, so hashes agree.
User ADTs/JSON unchanged. Layout 2 rejects loudly for now.

[TDBIN-UNION-STRUCT]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…docs/design

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…de rename round-trip (#71)

[CONV-RUST-IDIOM]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#62)

[CLI-TDBIN-LANG]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… byte identity (#62 #85)

Also: module-wide serde derives (fixes uncompilable rust output when a
renamed-field type contains other types), derived Default for bare-first
unions, no ref patterns in enum ordinal matches.

[TDBIN-TS-LIST] [TDBIN-TEST-GOLDEN] [CONV-RUST-IDIOM]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nder --watch (#65)

[CLI-CONFIG-TDBIN]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nction types and positional records (#77)

[CONV-DART-RECORD]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Crate metadata + README + runtime-only include; version inherited from the
[workspace.package] the stamper now sets via smol-toml; idempotent
cargo publish step (needs CARGO_REGISTRY_TOKEN secret).

[TDBIN-RS-PUBLISH]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…across every converter (#85)

[MODEL-WIDTH]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lars, 2/4-byte lists (#85)

[TDBIN-WIDTH-RANGE] [TDBIN-WIDTH-LIST] [TDBIN-WIDTH-PATH]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dentity; reorganise root/docs/scripts (#85)

[TDBIN-WIDTH-RANGE] [TDBIN-WIDTH-LIST] [TDBIN-WIDTH-PATH]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, scripts); Rust workspace + eslint config into src/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- stamp-version default root resolved src/src/... (release-breaking); e2e now covers the no --root path
- ratchet-coverage looked for src/coverage-thresholds.json
- vitest coverage glob src/** also matched each package's test/ helpers
- Playwright coverage collapsed web sources to bare names (0 files merged)
- dependabot cargo directory -> /src
- ratchet coverage thresholds; prettier docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
renderInspector replaced every input on each host source echo, wiping
rejected or in-flight edits (flaky WEB-VISUAL-EDITOR mobile e2e).
Inputs whose value differs from the rendered model value are restored,
with focus, when the same declaration re-renders [EDITOR-INSPECTOR-PENDING].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… identifiers

Fields/variants named value, writer, reader, at, r, w, count, items,
tdbin, ok (or x + xPresent pairs) produced uncompilable TS and Rust
codecs. TS and Rust decoders now bind f0/f0Word/f0_present, column
groups bind v0/f0, optional-group writes use <field>_some.
New names.td fixture: TS round-trip test + cargo-compiled
generated_names round-trip [TDBIN-CODEGEN-LOCALS] (#85).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MelbourneDeveloper
MelbourneDeveloper merged commit f1c01a0 into main Nov 16, 2026
6 checks passed
@MelbourneDeveloper
MelbourneDeveloper deleted the chore/commit-outstanding branch November 16, 2026 09:48
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