Skip to content

One-click modeling pipeline, layered repo, minimal chat UI - #1

Merged
Escap1ng merged 5 commits into
mainfrom
qoder/simplify-core
Nov 25, 2026
Merged

Escap1ng merged 5 commits into
mainfrom
qoder/simplify-core

Conversation

@Escap1ng

Copy link
Copy Markdown
Owner

Summary

  • Collapse the old seven-phase workbench into a one-click five-stage pipeline: split the problem, auto-pick the recommended method, generate and run solution.py (<=3 repair rounds), then write and typeset the paper (<=3 repair rounds). No HITL cards, scoring, radar or session resume.
  • Split the repo into modeling/ (domain + skill packs), gateway/ (loopback channel + OpenAI-compatible client) and desktop/ (Electron). Root is an npm workspace that only forwards scripts; gateway has no modeling imports (runner injected).
  • Rebuild the frontend as a minimal chat UI: a workspace tree with conversations nested under each workspace, a first-open welcome with a four-step modeling guide, and a conversation thread that carries one full run (phases, log, figure, PDF/Word). Multi-workspace / multi-conversation state persists locally.
  • Restore the seven skill packs under modeling/skills/ as domain assets; they are not wired into the pipeline yet.

Verification

  • npm run typecheck, npm run build, python -m compileall modeling gateway.
  • Window smoke 12/12; offline CLI and GUI full chain (R2=0.997, PDF/DOCX).
  • Real DeepSeek end-to-end: 228s, model-generated 435-line solver and 424-line paper, real figure/PDF/DOCX artifacts.

Not done / known gaps

  • Installer not rebuilt after the restructure; packaged resources/ paths statically checked only.
  • Skill packs are present but unwired (deferred by request); the core pipeline is intentionally unchanged.
  • CI only runs on main/PR; this PR triggers it for the new layout.

- Replace the seven-phase HITL workflow with a non-interactive pipeline: split the problem, auto-pick the recommended method, generate solution.py, run with <=3 repair rounds, then write and typeset the paper with <=3 repair rounds

- Rebuild the renderer as a three-panel run console (problem / progress / result) plus a settings dialog; drop katex, pdfjs and markdown dependencies

- Delete skills, gates, scoring, radar, session store, workbench and selfchecks; move the paper skeleton and writing rules into the runtime; trim Python deps to numpy and matplotlib

- Keep the loopback channel with token and Host/Origin checks and safeStorage keys; rewrite CI to typecheck, build and run the window smoke

- Verified: typecheck/build, window smoke 12/12, offline CLI and GUI full chain (R2=0.997, PDF/DOCX, 8.1s)
- Move the Python engine to core/: cli, pipeline, server, paper generation, templates and requirements

- Move the Electron app, build assets, smoke test and vendor tooling to desktop/; root package.json becomes an npm workspace that forwards scripts

- Update the runtime spawn path, dev APP_ROOT, packaging resources, CI and README paths

- Verified: typecheck/build, window smoke 12/12, core CLI offline chain 7.4s with PDF/DOCX; installer not rebuilt
- Move the domain pipeline, baseline, paper generation and templates to modeling/; move provider, llm, server and provider presets to gateway/

- Inject the pipeline runner into the server so gateway has no modeling imports; modeling/cli.py wires both packages

- Update the desktop spawn path, packaging resources, CI, README and changelog

- Verified: compileall, offline CLI chain 6.0s with PDF/DOCX, typecheck/build, window smoke 12/12; installer not rebuilt
- Bring back the seven packs (core, methods, figure, diagram, paper, deai, score) from the pre-simplification tree

- Keep the one-click pipeline unchanged; the packs are domain assets and are not wired yet

- Update the README tree and changelog to show the restored location
- Sidebar is a single workspace tree with conversations nested under each workspace; multi-workspace and multi-conversation state persists locally

- First open shows a welcome hero with a four-step modeling guide and quick start; a conversation thread carries one full pipeline run (phases, log, figure, PDF/Word)

- Add run:summary IPC so reopened conversations restore past results; core modeling/gateway unchanged

- Verified: typecheck/build, window smoke 12/12, offline conversation flow end to end
@Escap1ng
Escap1ng merged commit a48e6c8 into main Nov 25, 2026
2 of 3 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