Add frozen TikZRefinery demo baseline and build pipeline
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good

This commit is contained in:
2026-11-25 22:46:33 -05:00
parent 6064cce05e
commit 27b82c169e
456 changed files with 66509 additions and 0 deletions
@@ -0,0 +1,85 @@
\chapter{Team Declaration}\ChapterLabel{TeamDeclaration}
\section{Team Name and Membership}
\textbf{Team name:} TikZ Refinery.\\
\textbf{Team member:} Vincent Sun, independent developer.
Vincent is responsible for project planning, requirements, architecture,
interface design, implementation, testing, documentation, and review. The
project will continue as an individual desktop-software effort.
\section{Project Proposal}
TikZRefinery is a proposed desktop \gls{graphicaleditor} for creating and
refining diagrams expressed in \gls{tikz}. TikZ produces precise technical
graphics from text that works well with version control, but small visual
corrections often require users to find and edit coordinates, dimensions,
styles, and relationships indirectly in source code. This is especially
inconvenient when an \gls{ai}-generated diagram is useful but needs careful
human adjustment.
The application would combine direct manipulation with source-level control. A
user would enter TikZ code, compile and preview it through a local \gls{latex}
toolchain, and adjust supported objects graphically. TikZRefinery would reflect
supported edits in source that remains readable and usable outside the
application.
The initial \gls{minimumprototype} will emphasize a deliberately limited
\gls{tikzsubset}, compilation and preview, basic object manipulation, and
reliable \gls{roundtripediting} rather than attempting to interpret every TikZ
command.
The proposed product is a local desktop application rather than a hosted web
service. This supports private documents and integration with an installed
LaTeX environment. Vincent selected C++ with Qt 6 for implementation on
October 1, 2026, replacing the earlier PySide6 candidate. The initial class
design is recorded in \ChapterRef{DevelopmentPlan}; end-to-end feasibility
and product verification remain pending.
\section{Mission Statement}
TikZRefinery's mission is to reduce the effort required to turn rough or
AI-generated TikZ diagrams into precise, publication-ready, and still-editable
source. Its business intent is to improve the productivity and accessibility
of technical diagram authoring by joining graphical interaction with the
reproducibility, portability, and version-control advantages of text-based
LaTeX documents.
\section{Key Drivers}
The first driver is the gap between visual intent and source-level editing.
TikZ is precise, but users must translate visible spacing or alignment problems
into the responsible commands or coordinates. Direct manipulation could
shorten that feedback loop while preserving the source.
The second driver is increasing use of AI-generated starting material. It can
save time but often needs human judgment to correct layout, scale, labels, and
relationships. TikZRefinery lets AI accelerate a first draft while a person
retains precise, inspectable control instead of accepting an opaque image or
repeatedly rewriting prompts.
The third driver is reproducible local work. TikZ source fits established Git
and LaTeX workflows, while a desktop tool can process private documents without
a remote service. Editable source also prevents the application from becoming
the only place where a diagram can be maintained.
\section{Key Constraints}
The project is being completed by one developer within the senior-design
schedule, so scope must be controlled aggressively. The first release cannot
support all TikZ syntax, packages, and custom macros; it must prioritize a
testable subset and coherent workflow over many partially reliable features.
The central technical constraint is \gls{sourcesynchronization}. TikZ is a
programming language rather than a simple drawing-file format, so visually
moving an object can affect coordinates, relative positioning, styles, and
user-written expressions. The system must avoid silently damaging unsupported
source. Early designs will need explicit parsing boundaries, predictable edit
rules, and a preservation strategy for content the graphical layer cannot
safely understand.
Compilation depends on an external LaTeX toolchain whose installation,
packages, errors, and execution time vary between computers. The application
must detect missing tools, present actionable failures, avoid freezing during
compilation, and treat untrusted input cautiously. Preview and export must
remain consistent with the saved source.
Finally, usability and verification must fit the schedule. Interaction and
source feedback must remain clear. The previous group's public SDK has now
been inspected as a reference, without importing code or assuming it satisfies
this project's source-preservation contract; reuse decisions remain open.