Repository navigation
Description
Bot review comment tidy up
Full linear audit of bot review comments across ALL closed PRs (reverse order of the default listing = oldest-first, #2 -> #177), one PR at a time, one comment at a time.
Audit metadata
- Audit date: 2026-11-21
- origin/main HEAD audited against: 2e5cf37
- Method: for every closed PR, fetched reviews, review comments and issue comments; bot authors (copilot, github-actions, cursor, '[bot]' suffix, dependabot, chatgpt-codex-connector, gemini-code-assist, openhands-ai) plus owner simbo1905's own never-actioned change requests. Each flagged code site was checked against origin/main HEAD with rename/move tracking (git log --follow) and repo-wide search. Motivated by issue check all the bot PR comments #171 (a Copilot comment that was never fixed).
- Classification: RESOLVED-IN-CODE / OUTDATED / STILL-VALID / NIT-OPINION. Findings below are the STILL-VALID and NIT-OPINION items.
Tally
- Closed PRs scanned: 78 (range Add documentation and tests for typed/untyped conversion utilities #2 - Issue #104 drop AJV provenance from documentation tests #177); fully processed: 78; unprocessable: 0
- Bot/owner comments examined: 327
- RESOLVED-IN-CODE: 44
- OUTDATED (code refactored away / never merged / moot): 76
- STILL-VALID: 29 comment-level findings, consolidated to 26 distinct findings (3 duplicate-site merges) - itemized below
- NIT-OPINION: 16 comments, 14 distinct items - itemized below
- Informational / no code flag: 162
Sub-issues
One sub-issue per STILL-VALID finding (numbered to match the list below).
STILL-VALID findings
(source line = file:line as flagged on the PR; current line = origin/main HEAD 2e5cf37)
-
PR Fix discriminator validation for simple type mappings #95 — Ungated discriminator-only special-case bypasses required-property validation.
Author: chatgpt-codex-connector[bot], 2025-09-28. Comment: Fix discriminator validation for simple type mappings #95 (comment)
Source: json-java21-jtd/src/main/java/json/java21/jtd/JtdSchema.java:566. Current: json-java21-jtd/src/main/java/json/java21/jtd/JtdSchema.java:482-488 (DiscriminatorSchema.validate special-case; no rename, line drift only).
Flagged: "shortcut returns success whenever a discriminator object contains only the discriminator key, regardless of what schema the key maps to... skips validation for all mappings, weakening schema enforcement and violating RFC 8927 semantics for object variants". Suggested: gate to simple-type variants.
Still applies: current code still doesif (obj.asMap().size() == 1 && obj.asMap().containsKey(disc)) return Result.success()unconditionally, so{"kind":"circle"}is accepted even when the mapping variant declares requiredproperties. TestRfc8927 only exercises the shortcut with a variant that has no required properties. -
PR tidy up #101 — Interpreter/recursive validator paths disagree on discriminator variants.
Author: chatgpt-codex-connector[bot], 2025-09-28. Comment: tidy up #101 (comment)
Source: json-java21-jtd/src/main/java/json/java21/jtd/Jtd.java#L230-L239. Current: json-java21-jtd/src/main/java/json/java21/jtd/Jtd.java:259-272 (frame path always pushes variant Frame); counterpart special-case only in JtdSchema.java:482-488.
Flagged: "restore the guard before enqueuing the variant frame or remove the special-case in DiscriminatorSchema.validate so both paths agree".
Still applies: Jtd.validate() (main API) uses the stack path and always pushes the variant frame (tag-only objects fail for simple-type mappings), while the recursive JtdSchema.validate path short-circuits to success (tag-only objects pass) — the two shipped validation paths still disagree. -
PR Issue #109 Auto-create issues for API drift with fingerprint deduplication #113 — Drift fingerprint omits non-method diff details (owner acknowledged, deferred).
Author: chatgpt-codex-connector[bot], 2026-01-25. Comment: Issue #109 Auto-create issues for API drift with fingerprint deduplication #113 (comment)
Source: json-java21-api-tracker/src/main/java/io/github/simbo1905/tracker/ApiTracker.java:983. Current: json-java21-api-tracker/src/main/java/io/github/simbo1905/tracker/ApiTracker.java:974-977 (stableLines.add(className + ":" + type + ":" + method), method = "" for non-method diffs).
Flagged: fingerprint only hashes className:type:method, so fieldsChanged/constructorsChanged/inheritanceChanged/attributeChanged/modifiersChanged diffs with different details hash identically and a new drift can be suppressed as a duplicate issue.
Still applies: unchanged code; owner's reply 2725557661 acknowledges and defers ("deferring to a follow-up if needed"). -
PR JsonPath AST and matching #124 — matchesFilter returns true for ANY LiteralValue (e.g. [?(false)] matches everything).
Author: gemini-code-assist[bot], 2026-02-01. Comment: JsonPath AST and matching #124 (comment)
Source: json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPath.java:307. Current: json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPath.java:342 (case JsonPathAst.LiteralValue ignored -> true;).
Flagged: "a filter expression like [?(false)] or [?(0)] would incorrectly match all elements". Suggested: yield the boolean only for Boolean literals, false otherwise.
Still applies: current parser (JsonPathParser.parseFilterAtom, lines 289-320) now CAN produce a standalone literal as the whole filter, so the case is reachable and still returns true for false/0/'' — e.g. [?(false)] matches every element. -
PR JsonPath AST implementation #123 — Quoted-string parsing does not implement JSON escape sequences.
Author: gemini-code-assist[bot], 2026-02-01. Comment: JsonPath AST implementation #123 (comment)
Source: json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPathParser.java:179. Current: json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPathParser.java:359-368 (parseLiteralString) and 490-510 (member-name scan); both only skip the character after a backslash and keep the raw escape text in the value.
Flagged: "only escapes the character that follows a backslash, which is incorrect for standard JSON string escapes like \n, \t, or \uXXXX... can lead to incorrect parsing of property names that contain special characters".
Still applies: escapes are never translated (no case for 'n'/'t'/'u'), so a filter literal 'a\tb' or a quoted member name with an escaped character matches a different string than the JSON-equivalent one. -
PR JsonPath AST and matching #124 — Recursive descent silently ignores bracket targets (unions/filters/slices/scripts).
Authors: chatgpt-codex-connector[bot] 2026-02-01 (JsonPath AST and matching #124#discussion_r2751802264), gemini-code-assist[bot] 2026-02-01 (JsonPath AST and matching #124#discussion_r2751802336). Same site was also flagged for PR JsonPath AST implementation #123/JsonPath runtime compilation #133. Consolidated: two comments, one defect.
Source: json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPath.java:267-298. Current: json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPath.java:299-300 (default -> "Unsupported target in recursive descent"log-only) with JsonPathParser.java:117-121 still wrapping ALL bracket notations into RecursiveDescent.
Flagged:$..['author','title'],$..[?(@.price<10)],$..[0:2],$..[(...)]parse but yield no matches silently. Suggested: either reject those forms in the parser or support them in evaluateTargetSegment.
Still applies: parser still accepts..[for any bracket form; evaluator still silently drops all but PropertyAccess/Wildcard/ArrayIndex. -
PR JTD bytecode codegen via ClassFile API + RFC 8927 conformance #139 — Generated int validators lack a Long-range guard before asLong.
Author: chatgpt-codex-connector[bot], 2026-02-08. Comment: JTD bytecode codegen via ClassFile API + RFC 8927 conformance #139 (comment)
Source: json-java21-jtd-codegen/src/main/java/json/java21/jtd/codegen/EmitType.java:256. Current: json-java21-jtd-codegen/src/main/java/json/java21/jtd/codegen/EmitType.java:218-263 (emitIntCore).
Flagged: "When the instance is a large integer (e.g. 1e20), toLong() can throw JsonAssertionException, which aborts validation instead of returning a schema error. The interpreter explicitly rejects values outside Long range first...". Suggested: mirror the interpreter's guard before the asLong call.
Still applies: emitIntCore does floor() check then calls JsonNumber.asLong() directly; JsonNumberImpl.asLong() throws JsonValueException for out-of-long values (JsonNumberImpl.java:64-66), so generated int8..uint32 validators throw on 1e20 instead of emitting a schema error. -
PR JTD bytecode codegen via ClassFile API + RFC 8927 conformance #139 — Generated timestamp validator can throw DateTimeParseException instead of a schema error.
Author: chatgpt-codex-connector[bot], 2026-02-08. Comment: JTD bytecode codegen via ClassFile API + RFC 8927 conformance #139 (comment)
Source: json-java21-jtd-codegen/src/main/java/json/java21/jtd/codegen/EmitType.java:302. Current: json-java21-jtd-codegen/src/main/java/json/java21/jtd/codegen/EmitType.java:266-308 (emitTimestampCore: regex match then OffsetDateTime.parse with no exception handling; no try/catch anywhere in EmitType/EmitScaffold).
Flagged: "The regex accepts values like month/day 00, so parse can throw DateTimeParseException, which will bubble out of validation and crash instead of producing a schema error. The interpreter explicitly catches exceptions...".
Still applies: unchanged generated-code shape (EmitType.java:292-297 emits an unguarded OffsetDateTime.parse after the leaky\d{4}-\d{2}-\d{2}regex). -
PR Add offline jdt2jar CLI and distroless packaging #148 — jtd2jar/.dockerignore is never applied by CI Docker builds.
Author: chatgpt-codex-connector[bot], 2026-05-20. Comment: Add offline jdt2jar CLI and distroless packaging #148 (comment)
Source: jdt2jar/.dockerignore:1. Current: jtd2jar/.dockerignore (file renamed jdt2jar -> jtd2jar by PR Rename jdt2jar to jtd2jar #164; .github/workflows/ci.yml:70, maven.yml:78, release-on-tag.yml:159 still usecontext: .+file: jtd2jar/Dockerfile; no root .dockerignore or Dockerfile.dockerignore exists).
Flagged: "Docker only reads .dockerignore from the context root... large/sensitive files (for example .git/, .env, and local artifacts) are still sent in build context despite being listed here".
Still applies: all three workflows still build with repository-root context; jtd2jar/.dockerignore is inert. -
PR Add offline jdt2jar CLI and distroless packaging #148 — --include-sources derives the companion source filename from the JAR name.
Author: chatgpt-codex-connector[bot], 2026-05-20. Comment: Add offline jdt2jar CLI and distroless packaging #148 (comment)
Source: jdt2jar/src/main/java/json/java21/jdt2jar/Jdt2Jar.java:232. Current: jtd2jar/src/main/java/json/java21/jtd2jar/Jtd2Jar.java:230-235 (sourcePathFor still uses output.getFileName() + ".java").
Flagged: "the emitted source is not directly compilable: javac fails with 'public class ... should be declared in a file named ...' whenever --class differs from the output JAR basename".
Still applies: sourcePathFor still names the file after the JAR/module output name, not the generated public class. -
PR Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 — scripts/jtd2jar.sh staging filter can omit the requested schema file.
Author: chatgpt-codex-connector[bot], 2026-08-28. Comment: Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 (comment)
Source: scripts/jdt2jar.sh:19. Current: scripts/jtd2jar.sh:19 (rsync -a --filter=':- .gitignore' --exclude='.git/' . "$WORK_DIR/"; original schema path passed unchanged todocker run ... "$@").
Flagged: "When the requested schema is under any ignored path, this filter omits it from the staging directory while line 22 passes the original path unchanged to the container, so compilation fails with 'Schema file not found'. This affects the script's own .tmp/test.jtd.json example because .gitignore excludes .tmp".
Still applies: the script (renamed jdt2jar.sh -> jtd2jar.sh by PR Rename jdt2jar to jtd2jar #164) still prepends the .gitignore filter without forcing the explicitly requested schema into the staging copy. -
PR Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 — scripts/jtd2jar.sh output sync misses JARs/sources in nested directories.
Author: chatgpt-codex-connector[bot], 2026-08-28. Comment: Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 (comment)
Source: scripts/jdt2jar.sh:25. Current: scripts/jtd2jar.sh:25 (rsync -a --include='*.jar' --include='*.java' --exclude='*' "$WORK_DIR/" ./).
Flagged: "When --output names a nested path such as .tmp/test.jar, the parent .tmp/ directory still matches the final --exclude='*', so rsync never descends to the included files".
Still applies: unchanged filter set; artifacts written to nested paths (the script's own documented example) are not copied back. -
PR Track the upstream move to the jdk.incubator.json module #152 + PR chore: merge release release/2026.08.30 to main #162 — Landing page pairs jdk.incubator import with a pre-rename dependency version.
Authors: chatgpt-codex-connector[bot], 2026-08-30 (twice). Comments: Track the upstream move to the jdk.incubator.json module #152 (comment) and chore: merge release release/2026.08.30 to main #162 (comment)
Source: index.html:182 (and 174-178). Current: index.html:177 (<version>2026.01.26</version>) directly above index.html:182 (import jdk.incubator.java.util.json.*;).
Flagged: "users who copy this newly changed jdk.incubator.java.util.json import with dependency 2026.01.26 will get package-not-found compilation errors. Update the dependency version to the release containing this rename (2026.08.30)".
Still applies: index.html Quick Start still advertises 2026.01.26 with the incubator import; current published releases are 2026.08.31+. -
PR Treat upstream fetch failure as drift and refresh sync tooling #155 — json-java21/AGENTS.md still points upstream-sync tooling at retired paths.
Author: chatgpt-codex-connector[bot], 2026-08-30. Comment: Treat upstream fetch failure as drift and refresh sync tooling #155 (comment)
Source: json-java21/AGENTS.md (paths section). Current: json-java21/AGENTS.md:9-11 ("Base path: src/java.base/share/classes/", "Public API: java/util/json/.java", "Internal implementation: jdk/internal/util/json/.java") and :26.
Flagged: "json-java21/AGENTS.md still directs them to the retired src/java.base/share/classes paths and the old java.util.json/jdk.internal.util.json packages... Update those agent instructions to the incubator module layout".
Still applies: upstream moved to the jdk.incubator.json module (PR Track the upstream move to the jdk.incubator.json module #152), but the module AGENTS.md sync instructions were never updated. -
PR Treat upstream fetch failure as drift and refresh sync tooling #155 — ApiTrackerTest does not extend a logging-config helper (repo test convention).
Author: chatgpt-codex-connector[bot], 2026-08-30. Comment: Treat upstream fetch failure as drift and refresh sync tooling #155 (comment)
Source: json-java21-api-tracker/src/test/java/io/github/simbo1905/tracker/ApiTrackerTest.java:242 (new test container). Current: json-java21-api-tracker/src/test/java/io/github/simbo1905/tracker/ApiTrackerTest.java:20 (public class ApiTrackerTest {— no extends; ad-hoc JUL setup still inlined; a LoggingControl helper exists unused by it).
Flagged: "Put the group under a shared logging-config base so Maven-selected JUL levels remain centralized and consistent with the repository's non-negotiable test harness convention (AGENTS.md: new tests MUST extend a helper such as JsonSchemaLoggingConfig)".
Still applies: the class still configures JUL ad hoc instead of extending the helper convention. -
PR Make release Central deploy idempotent for already-published versions #161 — Release idempotency guard accepts a force-moved tag without artifact verification.
Author: chatgpt-codex-connector[bot], 2026-08-30. Comment: Make release Central deploy idempotent for already-published versions #161 (comment)
Source: .github/workflows/release-on-tag.yml:88. Current: .github/workflows/release-on-tag.yml:88-99 (guard still only HTTP-200-checks parent and java.util.json POMs and treats that as success; no checksum comparison with locally built artifacts).
Flagged: "When a release tag is force-moved after fixes, the original version's POMs can still return HTTP 200 even though the new tag builds different artifacts... allowing the Docker job to publish the new commit under the same version while Maven Central continues serving the old code. Compare the locally built artifacts with the published checksums, or reject a moved tag".
Still applies: the merged idempotency guard implements exactly the POM-200 shortcut the comment warns about. -
PR Rename jdt2jar to jtd2jar #164 — README pinned-example tag was never published under the new image path.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Rename jdt2jar to jtd2jar #164 (comment)
Source: jtd2jar/README.md:39. Current: jtd2jar/README.md:39 (docker pull ghcr.io/simbo1905/java.util.json.java21/jtd2jar:2026.05.20) with the note at :42 confirming releases through 2026.08.30 were published only under thejdt2jarname.
Flagged: "A user copying this pinned-version example will therefore request a tag that was never published; retain the old repository path for this example or show a tag actually published under the new name".
Still applies: the note was added but the misleading pinned example was kept. -
PR Release all reactor libraries from the tag-driven release #166 — Idempotency retry guard only verifies parent and java.util.json artifacts.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Release all reactor libraries from the tag-driven release #166 (comment)
Source: .github/workflows/release-on-tag.yml:33 (fallback guard). Current: .github/workflows/release-on-tag.yml:91-97 (still checks onlyparent-${V}.pomandjava.util.json-${V}.pom).
Flagged: "any failure from the newly activated codegen or jtd2jar modules reaches the existing fallback, which checks only parent and java.util.json and then reports success. The job can therefore complete while the two modules this change intends to publish remain absent; extend the idempotency check to cover every newly activated module".
Still applies: the guard's artifact list was never extended to the other reactor modules. -
PR Release all reactor libraries from the tag-driven release #166 — GitHub Release (claiming all modules published) is created before Central deploy can fail.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Release all reactor libraries from the tag-driven release #166 (comment)
Source: .github/workflows/release-on-tag.yml:59. Current: .github/workflows/release-on-tag.yml:51-52 ("Create GitHub Release with notes" step) preceding the "Build and Deploy to Central" step (~line 85).
Flagged: "If the later Build and Deploy to Central step fails for a fresh version, this earlier step has already created a public GitHub Release whose body says every reactor module is published... create or update these notes only after the deployment succeeds".
Still applies: step order unchanged; release notes are still published before the deploy step runs. -
PR Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 + PR Release all reactor libraries from the tag-driven release #166 — JDK requirement documentation inconsistent with build release levels.
Authors: chatgpt-codex-connector[bot], 2026-08-28 and 2026-08-31. Comments: Issue 148 forward fixes JDK 25 build stage distroless WORKDIR and jdt2jar helper #151 (comment) and Release all reactor libraries from the tag-driven release #166 (comment)
Source: jtd2jar/README.md:10 / README.md:22. Current: jtd2jar/README.md:3/10-11/46/85 (claims JDK 25+ build and codegen runtime, jtd2jar artifact "runs on JDK 21+") vs jtd2jar/pom.xml:21 (maven.compiler.release24) and json-java21-jtd-codegen/pom.xml:30 (maven.compiler.release24).
Flagged: "keep the minimum JDK requirement aligned with the build" and "this artifact runtime entry should say JDK 24+ rather than JDK 21+" — jtd2jar CLI itself is compiled at release 24, so JDK 21 users get UnsupportedClassVersionError, while docs simultaneously claim 21+, 24+ and 25+ in different places.
Still applies: poms still compile release 24; READMEs still mix 21+/24+/25+ claims. (No change since the PRs merged.) -
PR Port jtd-esm-codegen onto the incubator main #169 — Schema ID newlines are written unescaped into generated JS comments (JS injection).
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Port jtd-esm-codegen onto the incubator main #169 (comment)
Source: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/EsmRenderer.java:31. Current: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/EsmRenderer.java:30-31 (rawschema.id()inside// ...header comments).
Flagged: 'an ID containing "safe\nglobalThis.compromised=true;//" causes that assignment to run when the generated validator is imported, so generating code from an untrusted schema permits JavaScript injection; encode newlines/control characters or omit the ID from comments'.
Still applies: header comments still interpolate schema.id() verbatim; jsString() is only applied to SCHEMA_ID assignment, not the comments. -
PR Port jtd-esm-codegen onto the incubator main #169 — CLI can write generated validators outside the requested output directory.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Port jtd-esm-codegen onto the incubator main #169 (comment)
Source: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/JtdToEsmCli.java:50. Current: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/JtdToEsmCli.java:49-51 (outDir.resolve(schema.id() + "-" + shaPrefix8 + ".js")then Files.writeString, no sanitization or containment check).
Flagged: "When metadata.id begins with / or contains ../, outDir.resolve(fileName) can resolve outside the requested output directory, and the subsequent Files.writeString truncates an existing file at that location... restrict the ID to a safe filename component and verify the normalized result remains under outDir".
Still applies: unchanged; untrusted schema IDs can overwrite arbitrary process-writable files. -
PR Port jtd-esm-codegen onto the incubator main #169 — Definition identifiers can collide in generated ES modules.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Port jtd-esm-codegen onto the incubator main #169 (comment)
Source: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/EsmRenderer.java:102. Current: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/EsmRenderer.java:102 + 442-443 (toSafeName = replaceAll("[^a-zA-Z0-9_]", "_") only).
Flagged: "When two valid definition names sanitize to the same value, such as a-b and a_b, both are emitted as validate_a_b. This produces duplicate top-level declarations... assign unique generated identifiers rather than relying only on character replacement".
Still applies: toSafeName is still a pure char replacement with no uniqueness pass, soa-b/a_bdefinitions still emit the same function name. -
PR Port jtd-esm-codegen onto the incubator main #169 — ESM parser silently picks the first form of a multi-form schema instead of rejecting it.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Port jtd-esm-codegen onto the incubator main #169 (comment)
Source: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/JtdParser.java:125. Current: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/JtdParser.java:125-152 (if/else-if chain on type/enum/elements/values/discriminator; no count of present form selectors).
Flagged: "When a schema contains multiple form keywords, such as {"type":"string","enum":["x"]}, this if/else if chain silently chooses the first form and generates a validator instead of rejecting the invalid JTD schema... count the present form selectors before dispatching".
Still applies: unchanged; the Java-side JtdSchema compiler rejects multi-form schemas, the ESM generator accepts them — inconsistent and non-conforming. -
PR Port jtd-esm-codegen onto the incubator main #169 — Runtime map keys are not JSON-Pointer escaped in generated error paths.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Port jtd-esm-codegen onto the incubator main #169 (comment)
Source: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/EsmRenderer.java:275. Current: jtd-esm-codegen/src/main/java/io/github/simbo1905/json/jtd/codegen/EsmRenderer.java:255-256 and 276 (pathExpr + " + \"/\" + k"for values loop and additional-properties keys — runtime key appended verbatim; jsonPointerEscape() exists but is only applied to compile-time keys).
Flagged: "When a values object has a key containing / or ~ and its value fails validation, the generated error path appends the key verbatim, so key a/b is reported as /a/b rather than /a~1b... emit a runtime JSON Pointer token escape here and in the analogous additional-properties path".
Still applies: runtime keys still interpolated without a runtime~0/~1escape in the values and additionalProperties error paths. -
PR Port jtd-esm-codegen onto the incubator main #169 — README still documents an obsolete flat-schema-only feature set.
Author: chatgpt-codex-connector[bot], 2026-08-31. Comment: Port jtd-esm-codegen onto the incubator main #169 (comment)
Source: README.md:429. Current: README.md:429-434 ("Unsupported JTD feature: . This experimental tool only supports flat schemas with properties, optionalProperties, type, and enum.").
Flagged: "the added parser, renderer, specification, and conformance tests explicitly implement all forms (elements, values, discriminators, refs, nested properties) and no stated 'Unsupported JTD feature' exception exists. Users therefore cannot rely on the documented interface or error behavior; update this section".
Still applies: the root README jtd-esm-codegen section still claims the flat-schema subset and a nonexistent error message.
NIT-OPINION findings (style/robustness suggestions, recorded separately, low priority)
N1. PR #8 (simbo1905, 2025-07-26, #discussion_r2232698782): "extract to a constant at the top of the compile unit" for the compiler options in ApiTracker.java — options are still built inline (json-java21-api-tracker/.../ApiTracker.java:337-345); no constants block exists. Owner preference; never applied.
N2. PR #103 (Copilot, 2025-09-28, #discussion_r2386328293): fully-qualified java.util.HashSet / java.util.stream.Collectors inline in Jtd.java — still present at json-java21-jtd/.../Jtd.java:539,542.
N3. PR #103 (Copilot, 2025-09-28, #discussion_r2386374111): use d % 1 != 0 instead of d != Math.floor(d) in JtdSchema integer validation — Math.floor form still used (JtdSchema.java:168 region, and mirrored in EmitType.java:247-252).
N4. PR #103 (Copilot, 2025-09-28, #discussion_r2386374115): single-pass duplicate check for enum values in Jtd.java — still builds HashSet of full list then streams (Jtd.java:539-542).
N5. PR #123/#124 (gemini-code-assist[bot], 2026-02-01, #discussion_r2751705369 and #discussion_r2751802340): artifactId java.util.json.jsonpath vs directory json-java21-jsonpath — still java.util.json.jsonpath (json-java21-jsonpath/pom.xml:14). Same nit also offered for jtd-codegen (N6).
N6. PR #139 (gemini-code-assist[bot], 2026-02-08, #discussion_r2779833431): artifactId java.util.json.jtd.codegen vs directory json-java21-jtd-codegen — still java.util.json.jtd.codegen (json-java21-jtd-codegen/pom.xml:14).
N7. PR #139 (gemini-code-assist[bot], 2026-02-08, #discussion_r2779833428): generated timestamp validators call Pattern.compile on every validation call; suggest a static Pattern — still emitted inline per call (EmitType.java:292-294).
N8. PR #139 (gemini-code-assist[bot], 2026-02-08, #discussion_r2779833438): make JtdSchema.TypeSchema.RFC3339 public so codegen can reuse it — still package-private while EmitType.java:287 duplicates the regex string.
N9. PR #139 (gemini-code-assist[bot], 2026-02-08, #discussion_r2779833436): add an explicit comment about RefSchema recursion causing StackOverflowError in the generator — no such comment exists yet (EmitNode.java emit()).
N10. PR #140 (gemini-code-assist[bot], 2026-02-08, #discussion_r2779847475): JtdTestDataExtractor duplicated across json-java21-jtd and json-java21-jtd-codegen — both copies still exist.
N11. PR #140 (gemini-code-assist[bot], 2026-02-08, #discussion_r2779847476 / #discussion_r2779847477): hardcoded json-typedef-spec-2025-09-27 directory in JtdTestDataExtractor (both copies) — still hardcoded (JtdTestDataExtractor.java:21/20).
N12. PR #140 (chatgpt-codex-connector[bot], 2026-02-08, #discussion_r2779851268): codegen test suite hard-depends on sibling module's test ZIP (../json-java21-jtd/src/test/resources/jtd-test-suite.zip) — still the case (json-java21-jtd-codegen/.../JtdTestDataExtractor.java:19).
N13. PR #137 (gemini-code-assist[bot], 2026-02-05, #discussion_r2769497200): hexPrefix8 duplicates the hex() loop in jtd-esm-codegen Sha256.java — still duplicated (Sha256.java:31-48).
N14. PR #137 (gemini-code-assist[bot], 2026-02-05, #discussion_r2769497213): redundant toUpperCase retry around Level.parse (case-insensitive) — still present (JtdEsmCodegenLoggingConfig.java:21-29).
Activity