Skip to content

Add structured JSONHTML layouts and bounded native previews - #30

Merged
ThorFuchs merged 73 commits into
mainfrom
codex/jsonhtml-structured-previews
Oct 15, 2026
Merged

ThorFuchs merged 73 commits into
mainfrom
codex/jsonhtml-structured-previews

Conversation

@ThorFuchs

@ThorFuchs ThorFuchs commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

JSONHTML now renders ordered objects as structured forms and complex arrays as indexed cards, with explicit syntax layout and independent static/interactive presentation. Bounded string prefixes, sRGB swatches, declared PNG/JPEG, a small native inline dialect and atomic MathML previews preserve full exact JSON/source/copy/download access. Complete exports, print and guarded PDF use immutable prepared renderer policy; the HTML-only CLI switches share that renderer.

The reviewed head bc05d79 preserves current main's six libraries plus swift-json, empty root dependencies and private runtimes. Final review corrected an integration regression by restoring the existing five-command export lane and event I/O/error/console diagnostics. Exact test discovery, named parameter inventories and all 49 cap meanings remain enforced. Library/CLI/tests/assets/fixtures are unchanged from the previously qualified 80b5ea7 implementation.

All seven fresh hosted checks passed: Native behavior/safety/docs and Linux behavior/safety on x86_64 and arm64. Native debug/release and ASan ran 419 functions/325 parameter cases, with 15 shared TSan functions; Linux ran 403/325 and 14 TSan functions. Six DocC catalogues and 946 authored public declarations passed. Both Linux clean builds tested the same reproducible source archive. The restored local export lane passed 40 focused functions per configuration, 65 public consumer cases, eight artifacts, three Apple SDK declaration probes and two mobile SDK consumer builds. Two explicit fault-injection rejections verified missing/malformed-event diagnostics.

The 73-probe WASI result retains its actual 80b5ea7 source identity and is reused through exact implementation/fixture/WASI-harness equality, rather than claimed as a newly executed bc05d79 lane. The unchanged renderer retains its scoped browser/device/VoiceOver evidence and attributed manual observations. Logical retention, RSS, caller work and owned quotas remain distinct; the reviewed approximately 11% streaming disposition and unchanged 10% trigger remain in force. These consumer results do not establish MCP server/conformance gates.

Review is complete, with no remaining blocking finding or unresolved thread. The maintainer authorized readiness and merge after checks/reviews pass. Release placement, tagging and GitHub release publication remain separate.

Base automatically changed from codex/1.4-json-cli-integration to main October 15, 2026 08:59
@ThorFuchs
ThorFuchs marked this pull request as ready for review October 15, 2026 10:09
@ThorFuchs
ThorFuchs merged commit 507dbf9 into main Oct 15, 2026
8 checks passed
@ThorFuchs
ThorFuchs deleted the codex/jsonhtml-structured-previews branch October 15, 2026 10:26
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