Skip to content

feat: add editable scientific diagrams with native exports - #1

Merged
QinXi-ai merged 2 commits into
mainfrom
codex/fastwrite-diagrams-main-20260906
Sep 6, 2026
Merged

QinXi-ai merged 2 commits into
mainfrom
codex/fastwrite-diagrams-main-20260906

Conversation

@QinXi-ai

@QinXi-ai QinXi-ai commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Adds a /diagrams workspace where users can generate scientific diagrams from requirements and optional SVG, edit labels or positions, save versions, and export editable draw.io and PowerPoint files plus SVG previews. PowerPoint uses native shapes and connected DrawingML connectors rather than embedded images.

The integration is based on current main ff66f61 and preserves the Harness refactor. Diagram generation uses schema-validated gpt-6-astra output through a dedicated Responses API configuration or the local Codex CLI. Persisted jobs survive page navigation; interrupted jobs are marked failed on server restart. Source packaging excludes local data and credentials. Harness tests now accept genuine runtime availability states and use the current adapter kinds.

The first CI run also exposed insufficient Harness-status text contrast and a keyboard-inaccessible shortcut scroll region in the current workspace UI. Preserve text contrast and make the shortcut group focusable; retain the existing accessibility gates.

Validation: both final branch CI runs pass with Bun 1.4.0, including frozen-lockfile install, workspace typechecks, 156 tests, 12 writing-evaluation cases, production build, and complete browser smoke/release checks. The candidate also passed real model generation, Playwright Edge editing/persistence/downloads, draw.io editor roundtrip, and native PPTX structure validation. A local Windows test run encountered temporary-directory Git timeouts and EBUSY; the Linux CI results above are independently verified. Native PowerPoint GUI and live dedicated API-key generation remain untested.

@QinXi-ai
QinXi-ai marked this pull request as ready for review September 6, 2026 13:58
@QinXi-ai
QinXi-ai merged commit d83efd6 into main Sep 6, 2026
2 checks passed
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