Files
vpn-dns-gateway/demo/tikzrefinery/documents/latex/tkrDevelopmentPlan.tex
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

626 lines
35 KiB
TeX

\chapter{Development Plan}\ChapterLabel{DevelopmentPlan}
This chapter defines how TikZRefinery will be planned, developed, reviewed, and
tested as an individual senior-design project. It converts the mission and
constraints in \ChapterRef{TeamDeclaration} into a working process while
leaving unbaselined product requirements and implementation feasibility open
for review. C++ with Qt is the selected development direction. The plan will be revised when stakeholder feedback, feasibility
evidence, or the course schedule changes.
\section{Introduction}
TikZRefinery is intended to become a local desktop application for graphically
refining \gls{tikz} diagrams without giving up readable, editable source. The
initial development objective is a verifiable end-to-end workflow: accept a
supported TikZ document, compile and preview it through a local \gls{latex}
toolchain, expose supported objects for graphical manipulation, and reflect an
approved edit in source without damaging unsupported content.
This plan governs the work needed to reach that objective. It addresses
responsibility, method, workspace, communication, scheduling, testing, risks,
and assumptions. Product behavior is governed separately by
\ChapterRef{Requirements}; that chapter will contain the reviewed requirements
and mappings needed for later use cases and tests.
\clearpage
\section{Roles and Responsibilities}
TikZRefinery is currently an individual project. One person may perform
several roles, but the responsibilities remain distinct so that planning,
implementation, and review do not become indistinguishable.
\begin{tabularx}{\linewidth}{@{}L{3.2cm}L{3.3cm}Y@{}}
\caption{Development Roles and Responsibilities\label{Table:DevelopmentRoles}}\\
\toprule
\textbf{Participant or Role} & \textbf{Current Assignment} &
\textbf{Responsibilities}\\
\midrule
Project owner and developer & Vincent Sun & Own scope and priorities; elicit
and maintain requirements; design, implement, test, and document the product;
retain project records; and approve submitted work.\\
Course instructor and project originator & Professor Darian Muresan & Provide
the originating project intent, course expectations, early stakeholder
feedback, milestone review, and evaluation. Instructor input is evidence and
direction for review; implementation remains Vincent's responsibility.\\
AI-assisted tooling & OpenAI Codex, under Vincent's review & Assist with
research, drafting, coding, consistency checks, builds, and test preparation
within the controlled rules in \AppendixRef{AIAgentRequirements}. It does not
approve requirements, invent stakeholder evidence, or replace human review.\\
Candidate users and reviewers & TikZ and LaTeX users to be identified & Review
workflows, terminology, usability, and prototype behavior when access is
available. Until then, their presumed needs remain provisional.\\
\bottomrule
\end{tabularx}
Vincent is the final decision authority for project execution and academic
submissions. The instructor remains the authority for course requirements and
grading. If another student, advisor, or external reviewer formally joins the
project, this table and the communication plan will be revised before assigning
responsibility.
\subsection{Stakeholder List}
Professor Darian Muresan is the currently identified stakeholder beyond the
project team. He originated the project idea and has an interest in whether the
resulting editor supports the intended graphical TikZ workflow. As course
instructor, he also reviews the project's academic milestones. His Qt
recommendation is recorded in the method below; specific editing needs still
require his review and should not be inferred from that recommendation.
Vincent is the project owner and developer, as listed above. No additional
TikZ or LaTeX users have been confirmed as stakeholders. Their possible needs
are represented only by provisional user stories in \ChapterRef{UserStories}
until direct feedback is available.
\section{Method}
The project will use a lightweight iterative method rather than claim
conformance to a full named process. Weekly work will be selected from reviewed
course obligations, product risks, and the current requirements backlog. Early
iterations will emphasize feasibility and risk reduction; later iterations
will deliver narrow vertical slices that connect source input, compilation,
preview, interaction, source update, and verification.
Each iteration will follow the same working cycle:
\begin{enumerate}[leftmargin=*]
\item Select a small outcome supported by a reviewed requirement or explicit
feasibility question.
\item Define the acceptance evidence before implementation begins.
\item Design and implement the smallest coherent change.
\item Run relevant automated and manual tests, record failures, and retain
useful evidence.
\item Update requirements, risks, decisions, documentation, and the next
iteration plan.
\end{enumerate}
Feasibility prototypes answer technical questions but do not by themselves
establish completed requirements. Vincent selected C++ with Qt on October 1,
2026, following the instructor recommendations as he recalls them. This
replaces the earlier PySide6 candidate; no performance comparison was executed
to establish that one language is faster for this application. The scaffold
uses C++17, Qt 6 Core and Widgets, and CMake. A focused prototype must still
open a representative TikZ sample, select and move one supported element,
update its source, compile it with a local toolchain, and display the result.
Measure responsiveness, implementation complexity, source preservation, and
error recovery within the selected implementation. Two complete editor
implementations are not planned solely for language comparison.
\clearpage
\subsection{Selected Implementation Design}\label{Section:SelectedImplementationDesign}
Vincent agreed the following initial responsibilities and ownership during
the October 1--6 design discussion. This adapts the course pattern of recording
components and coding conventions to the current development plan; fuller
architectural views remain future work. Each primary class has matching
\texttt{.h} and \texttt{.cpp} files, grouped under \path{code/src/} by concern.
\small
\begin{tabularx}{\linewidth}{@{}L{4.6cm}L{2.4cm}Y@{}}
\caption{Initial Class Responsibilities\label{Table:InitialClassResponsibilities}}\\
\toprule
\textbf{Class} & \textbf{Folder} & \textbf{Responsibility}\\
\midrule\endfirsthead
\toprule\textbf{Class} & \textbf{Folder} & \textbf{Responsibility}\\
\midrule\endhead
\bottomrule\endfoot
\texttt{tkrTikzDocument} & \path{model/} & Preserve original source bytes,
document revisions, parsed records, and validated minimal edits.\\
\texttt{tkrTikzParserExplicit} & \path{parsing/} & Interpret the initial supported
syntax and identify editable coordinates and source ranges.\\
\texttt{tkrCoordinateMapper} & \path{geometry/} & Convert centimetre coordinates
to and from scene positions using documented origin, scale, and axis rules.\\
\texttt{tkrEditorController} & \path{controller/} & Coordinate the document,
scene, parser, mapper, file loading, and saving.\\
\texttt{tkrDiagramScene} & \path{ui/} & Own graphics items and report selection
and drag gestures.\\
\texttt{tkrMainWindow} & \path{ui/} & Own the application components and provide
window controls and unsaved-change handling.\\
\end{tabularx}
\normalsize
The current organization also includes \texttt{tkrDiagramView} (viewport fit and
paper rendering) and \texttt{tkrEditService} (geometry/replacement preparation).
The source-based host-class view is in Section~\ref{Section:CurrentClassDiagram};
the planned plugin boundary is in Section~\ref{Section:PluginContract}.
\noindent\textbf{Ownership.} The window owns the document, controller, and
scene. The controller has non-owning references to the document and scene,
and owns the parser, mapper and bounded edit service by value. The canvas view
is owned through the window's widget hierarchy. The scene owns its graphics items.
An accepted final-window close ends the event loop; window destruction then
releases its owned components. Save, Discard, or Cancel handles unsaved work.
\noindent\textbf{Conventions.} Project class names use a lowercase
\texttt{tkr} prefix, PascalCase main name, and optional specialization suffix;
methods use camelCase.
Variables combine type or category prefixes with descriptive meaning; private
members add \texttt{m\_}, meaning member. Allow at most three project-defined
levels (main/base, child, grandchild), excluding Qt's existing ancestry. The
current concrete classes remain \texttt{final}; the module realizes one provider interface
for the present prototype. Prefer
composition; document non-owning aggregation. Shared records are in
\path{model/EditorTypes.h}; details are in \path{code/CODING_GUIDE.md} and
Section~\ref{Section:DeveloperRequirements}. The naming and depth clarification
was recorded through Vincent's account of instructor feedback on October 15.
\clearpage
\noindent\textbf{Editing and evidence.} Preserve source as bytes with guarded
byte ranges. The whole-element workflow previews geometry during a drag, commits
source once on release, and restores unchanged source geometry on cancellation.
Saving uses \texttt{QSaveFile} with direct-write fallback disabled. The scaffold
built successfully on October 20 with Qt 6.12.0 and MinGW 13.1.0; the
foundation test passed. Vincent confirmed source display in the running window
(Section~\ref{Section:NativeScaffoldCheck}). Rectangle, line and arrow display have
bounded checks in Section~\ref{Section:SegmentDisplayCheck}. Whole-element editing
and saved-output checks follow in Section~\ref{Section:WholeElementDragCheck};
endpoint editing, broader parsing, compiler and PDF display components remain
unfinished. This supports \RequirementRef{REQ-A-004}--\RequirementRef{REQ-A-007}
and \RequirementRef{REQ-D-001} without marking them complete.
The MVC allocation in Section~\ref{Section:MVCAllocation} distinguishes the
document model, window/scene views, controller, and its parser/mapper services.
The responsibility overview in Figure~\ref{Figure:CurrentClasses} links each
class to its attributes and operations in
Section~\ref{Section:IndividualClassDiagrams} in
\ChapterRef{SoftwareArchitecture}. Opening, whole-element dragging, saving, and
closing activities remain in \AppendixRef{DesignDocuments}. Existing control flow and future interaction
are distinguished in each diagram.
\clearpage
\subsection{Review Gates and Change Control}
The near-term gates are problem and mission reviewed, development plan
reviewed, initial stakeholder stories reviewed, initial requirements and use
cases mapped, framework feasibility demonstrated, prototype scope baselined,
and end-to-end workflow verified. Passing a gate requires the relevant report
content and evidence; a successful demonstration without updated records is
not sufficient.
A material change to mission, scope, supported TikZ syntax, framework,
requirement wording, or milestone timing will be assessed for effects on
requirements, use cases, architecture, tests, risks, and schedule. Stable
identifiers will be preserved, superseded items will be marked Retired rather
than deleted, and approved report changes will be entered in Document History.
\subsection{Initial Work Breakdown}
This breakdown groups work by deliverable and review stage. It does not assume
that the current candidate requirements or the supported TikZ subset have been
approved. Vincent currently owns each work package; tasks can be refined after
stakeholder and feasibility review.
\small
\begin{tabularx}{\linewidth}{@{}L{1.6cm}L{3.2cm}Y L{2.0cm}@{}}
\caption{Provisional Phase-Level Work Breakdown\label{Table:DevelopmentWorkBreakdown}}\\
\toprule
\textbf{ID} & \textbf{Work package} & \textbf{Principal output} & \textbf{Depends on}\\
\midrule
WBS-01 & Needs and scope review & Reviewed stakeholder goals, reference
examples when available, candidate requirements, and initial editable boundary
& Current proposal\\
WBS-02 & Concept and feasibility & Compared approaches, a measured Qt and
source-editing prototype, and a recorded language and framework decision &
WBS-01\\
WBS-03 & Preliminary design & Architecture, source model, interaction flows,
compiler boundary, and test design for the selected concept & WBS-02\\
WBS-04 & Prototype and alpha evaluation & A working positional-editing path,
integrated components, and requirement-linked test evidence & WBS-03\\
WBS-05 & Beta refinement and final evaluation & Corrective changes, reviewed
evaluation evidence, and the final report and release decision & WBS-04\\
\bottomrule
\end{tabularx}
\normalsize
\section{Workspace}
The private Git repository has separate \path{documents/} and \path{code/}
folders. The report source is in \path{documents/latex/}, and the reviewed PDF
is in \path{documents/}. Course originals remain as references in
\path{documents/template/}. Application source, tests, and examples belong
under \path{code/}.
Development uses Windows, Git, and Visual Studio Code; the report uses the
shared TinyTeX installation. The application will invoke a local LaTeX
toolchain as an external process. Application development uses the selected
C++/Qt direction, with CMake 3.21 or later and a compiler compatible with the
installed Qt kit. Qt Core and Widgets are the current dependencies. The
October 20 first build used Qt 6.12.0, MinGW 13.1.0, CMake 3.30.5, and Ninja
1.12.1. The build and foundation test passed; initial source display was
observed. VS Code remains Vincent's preferred editor; Qt Creator is optional.
The feasibility gate will assess the workflow described in the Method and
Testing Plan.
The repository root will be the primary folder of a local project in the
ChatGPT desktop app so related tasks share files and project instructions.
Successive increments may continue in the same chat; a new chat is optional
when requested or useful, following Vincent's October 21 preference. The repository's
\path{HANDOFF.md} records the current checkpoint and next task; approved
requirements and design remain authoritative in this report.
\ifSubmissionBuild\else
The transition procedure is in Section~\ref{Section:AIChatHandoffs}.
\fi
Git will track authored source and controlled records, while reproducible
build artifacts remain ignored. Small edits use Git history for rollback;
temporary staging copies are reserved for risky restructuring.
\clearpage
\section{Communication Plan}
Because the project currently has one developer, communication emphasizes
traceable review rather than internal team meetings.
\small
\begin{tabularx}{\linewidth}{@{}L{3.4cm}L{3.0cm}Y@{}}
\caption{Project Communication Plan\label{Table:CommunicationPlan}}\\
\toprule
\textbf{Communication} & \textbf{Timing} & \textbf{Record or Outcome}\\
\midrule
Weekly status report & Each assigned reporting week & Completed work, next
work, action items, and current issues or risks.\\
Instructor discussion and feedback & Classes, milestone reviews, demos, and
questions as needed & Clarifications, stakeholder observations, corrections,
and decisions reflected in the appropriate controlled chapter.\\
Demonstration & At course demo dates & Concise presentation of the most
important plan and product evidence, followed by recorded feedback and action
items.\\
Repository and report review & Before each submission or controlled baseline &
Source changes, document version, build result, cross-reference review, and
Document History entry.\\
AI-assisted work review & Whenever assistance materially affects the project &
Prompt-log record, unresolved assumptions, and Vincent's review or correction.\\
\bottomrule
\end{tabularx}
\normalsize
Instructor feedback will be recorded with its source and date before it is
used to revise stories or requirements. Feedback from TikZ or LaTeX users
would improve validation if available; absent interviews will not be replaced
with invented statements. Initial stories remain open to later correction.
\clearpage
\section{Timeline and Milestones}
Work is organized around the milestone sequence shown in the available course
slides and the technical dependency from stakeholder intent to verified
implementation. The confirmed near-term date is Demo 1 on September 24, 2026.
Vincent supplied tentative targets for the later phases: concept development
in October--November 2026, preliminary design by November 2026,
implementation and alpha evaluation by January 2027, and beta refinement and
final evaluation in February--March 2027. These are planning targets, not
confirmed course deadlines; they may change with course announcements,
instructor feedback, or feasibility results. The chart below is a provisional
phase view. A controlled Gantt chart with confirmed dates, task dependencies,
critical path, and status will follow when the schedule is established, as
required by \ReportRequirementRef{RPT-025}.
\small
\begin{tabularx}{\linewidth}{@{}L{3.0cm}L{2.4cm}YL{2.3cm}@{}}
\caption{Development Phases and Milestones\label{Table:DevelopmentMilestones}}\\
\toprule
\textbf{Phase} & \textbf{Timing} & \textbf{Principal Outcome} &
\textbf{Current State}\\
\midrule
Project definition & Through September 18, 2026 & Team Declaration, mission,
drivers, constraints, and initial prototype boundary & Completed and subject
to continuing refinement\\
Development-plan and inception review & September 22--24, 2026 & Development
plan plus initial stakeholder stories, mapped requirements, mapped use cases,
glossary and index examples, and supporting citations for Demo 1 & In progress\\
Concept development and specification & October--November 2026 (tentative) & Reviewed user
needs, requirement baseline, use-case model, concept alternatives, supported
TikZ subset, and selected development approach & Planned\\
Preliminary design & By November 2026 (tentative) & Architecture, interaction design,
source model, compiler boundary, test design, and implementation plan & Planned\\
Implementation and alpha evaluation & By January 2027 (tentative) &
Working vertical slices, subsystem evidence, integrated alpha scope, and
updated cost and schedule data & Planned\\
Beta refinement and final evaluation & February--March 2027 (tentative) & Integrated desktop
application, performance and usability evidence, controlled release, and final
report & Planned\\
\bottomrule
\end{tabularx}
\normalsize
\clearpage
\subsection{Provisional Phase Gantt Chart}
The concept and beta phase ranges reflect Vincent's tentative months.
November for preliminary design and December--January for
implementation and alpha evaluation are illustrative planning windows inferred
from the phase sequence and target months; their start dates and any overlap
remain unconfirmed. All bars are provisional, and none indicates completed work.
\begin{figure}[h]
\centering
\begin{tikzpicture}[x=1.15cm,y=0.9cm,font=\small]
\node at (6.5,5.15) {2026};
\node at (9.5,5.15) {2027};
\foreach \month/\x in {Oct/5,Nov/6,Dec/7,Jan/8,Feb/9,Mar/10} {
\node at (\x+0.5,4.65) {\month};
}
\foreach \x in {5,6,7,8,9,10,11} {
\draw[tkrGray!35] (\x,0.55) -- (\x,4.42);
}
\foreach \y in {0.55,1.48,2.41,3.34,4.42} {
\draw[tkrGray!30] (5,\y) -- (11,\y);
}
\node[anchor=west,text width=4.7cm] at (0,3.87)
{Concept development and specification};
\node[anchor=west,text width=4.7cm] at (0,2.94)
{Preliminary design};
\node[anchor=west,text width=4.7cm] at (0,2.01)
{Implementation and alpha evaluation};
\node[anchor=west,text width=4.7cm] at (0,1.08)
{Beta refinement and final evaluation};
\fill[tkrBlue!75] (5.08,3.61) rectangle (6.92,4.13);
\fill[tkrBlue!30] (6.08,2.68) rectangle (6.92,3.20);
\fill[tkrBlue!30] (7.08,1.75) rectangle (8.92,2.27);
\fill[tkrBlue!75] (9.08,0.82) rectangle (10.92,1.34);
\end{tikzpicture}
\caption[Provisional development schedule]{Provisional broad-phase schedule. Dark bars use Vincent's stated
ranges; light bars show inferred working windows.\label{Figure:DevelopmentGantt}}
\end{figure}
The immediate critical path is to review stakeholder evidence, define a small
supported editing workflow, map initial stories to requirements and use cases,
and perform the framework feasibility work. A basic working application must
demonstrate that minimum workflow before development expands to broader
features.
\subsection{Possible Future UML Capability}
Vincent reports that he and Professor Muresan discussed creating UML diagrams
with the editor as a possible later capability. It is outside the minimum
positional-editing demonstration. Supported UML notation, generation behavior,
and source representation require separate review before becoming requirements.
\clearpage
\section{Testing Plan}
Testing will grow with reviewed requirements and implementation. Map each
approved product requirement to a use case and repeatable verification method.
Keep planned tests, executed tests, and passing evidence distinct.
\small
\begin{tabularx}{\linewidth}{@{}L{3.2cm}Y Y@{}}
\caption{Planned Test Levels\label{Table:PlannedTestLevels}}\\
\toprule
\textbf{Level} & \textbf{Purpose} & \textbf{Representative Evidence}\\
\midrule
Feasibility tests & Resolve architectural uncertainty before committing to a
framework or source-transformation approach & Small executable prototypes,
observations, limitations, and decision records\\
Unit tests & Verify parsing, model, coordinate, transformation, and
source-generation behavior in isolation & Automated inputs, expected outputs,
edge cases, and regression results\\
Integration tests & Verify interactions among source handling, the external
compiler, preview generation, graphical state, and saved output & Controlled
sample documents, subprocess results, generated previews, and source diffs\\
User-interface tests & Verify principal workflows, feedback, error handling,
keyboard or pointer interaction, and recovery & Repeatable procedures, screen
evidence when useful, and observed results\\
System verification & Demonstrate that the integrated prototype satisfies its
approved requirements under the stated environment & Requirement-linked test
records and pass/fail evidence\\
Stakeholder validation & Determine whether the resulting workflow addresses
the actual diagram-refinement problem & Instructor and available user review,
demonstration feedback, and resulting actions\\
\bottomrule
\end{tabularx}
\normalsize
The regression corpus will cover supported examples, malformed input,
unsupported constructs, compiler failures, and source preservation during
load/save. Maintain detailed cases and results in the testing, traceability,
verification, and validation chapters.
The first geometry checks will independently verify coordinate mapping and
move separated boxes into contact (\TestCaseRef{TC-028} and
\TestCaseRef{TC-029}). Comparing the editor with a PDF compiled from saved
source at a common origin, scale, and fixed extent will guide the conversion
design. Start with the explicit-coordinate subset and reference corpus in
\ChapterRef{Requirements} and \ChapterRef{Tests}; instructor examples will
inform later syntax coverage when available.
On a documented computer and toolchain, time opening and parsing, graphical
movement, source updates, compilation, and preview display separately. Use
representative diagrams, including a complex one when available, and record
memory use, pauses, failures, and implementation effort. Stakeholder feedback
will set quantitative response and preview targets. Investigate measured
bottlenecks in the selected C++/Qt implementation and record trade-offs;
language choice alone does not establish acceptable performance.
\clearpage
\section{Risks}
Likelihood and impact are preliminary qualitative assessments. Vincent owns
the current responses and will revise them when feasibility or stakeholder
evidence changes the assessment.
\small
\begin{tabularx}{\linewidth}{@{}L{1.4cm}Y L{2.2cm}L{1.4cm}Y@{}}
\caption{Initial Development Risk Register\label{Table:DevelopmentRisks}}\\
\toprule
\textbf{ID} & \textbf{Risk} & \textbf{Likelihood} & \textbf{Impact} &
\textbf{Response}\\
\midrule
\endfirsthead
\multicolumn{5}{l}{\small\itshape Initial Development Risk Register (continued)}\\
\toprule
\textbf{ID} & \textbf{Risk} & \textbf{Likelihood} & \textbf{Impact} &
\textbf{Response}\\
\midrule
\endhead
\midrule
\multicolumn{5}{r}{\small\itshape Continued on next page}\\
\endfoot
\bottomrule
\endlastfoot
RSK-001 & Arbitrary TikZ syntax exceeds the capacity of an individual project.
& High & High & Baseline a deliberately limited subset and prioritize one
verifiable end-to-end workflow.\\
RSK-002 & A graphical edit changes or damages source the application does not
fully understand. & High & High & Keep source authoritative, define explicit
editing boundaries, preserve unsupported content, show proposed changes, and
test round trips against a regression corpus.\\
RSK-003 & External LaTeX installations, packages, errors, or execution time
produce inconsistent behavior. & Medium & High & Detect tools and packages,
run compilation without blocking the interface, capture diagnostics, define a
reference environment, and test common failure paths.\\
RSK-004 & Untrusted TeX input causes unsafe external-process behavior. & Medium
& High & Treat documents as untrusted, use restrictive compilation settings,
avoid enabling shell escape by default, and document residual limits.\\
RSK-005 & Solo-developer capacity or schedule pressure prevents broad feature
coverage. & High & High & Rank work by priority and risk, keep increments
small, reserve schedule margin, and defer breadth before weakening the core
workflow.\\
RSK-006 & The preferred desktop framework or graphics model proves unsuitable.
& Medium & Medium & Complete a focused C++/Qt feasibility test before the
architecture is baselined, measure the core workflow, and preserve
platform-independent requirements.\\
RSK-007 & Limited access to additional users leaves usability assumptions
weakly validated. & Medium & Medium & Use the instructor as the initial
stakeholder, label provisional claims, seek feedback during demos, and add
broader user review when feasible.\\
RSK-008 & Differences from the previous project's graph/export approach may
hide relevant lessons or unsupported assumptions. & Medium & Medium & Its
public source and SDK were inspected; compare reusable concepts against our
source-preserving contract rather than assuming equivalent behavior.\\
\end{tabularx}
\normalsize
\clearpage
\section{Assumptions}
The following assumptions support planning but are not product requirements.
Each will be reviewed as evidence becomes available.
\begin{tabularx}{\linewidth}{@{}L{1.4cm}Y Y@{}}
\caption{Initial Planning Assumptions\label{Table:DevelopmentAssumptions}}\\
\toprule
\textbf{ID} & \textbf{Assumption} & \textbf{If the Assumption Is Invalid}\\
\midrule
\endfirsthead
\multicolumn{3}{l}{\small\itshape Initial Planning Assumptions (continued)}\\
\toprule
\textbf{ID} & \textbf{Assumption} & \textbf{If the Assumption Is Invalid}\\
\midrule
\endhead
\midrule
\multicolumn{3}{r}{\small\itshape Continued on next page}\\
\endfoot
\bottomrule
\endlastfoot
ASM-001 & Explicit-coordinate lines, arrows, and drawn rectangles are adequate
for initial feasibility tests. Vincent selected this starting boundary;
broader syntax coverage remains a product goal. & Expand the reference corpus
using instructor examples and revise the editing approach as needed.\\
ASM-002 & Users who need final TikZ output can provide or install a compatible
local LaTeX toolchain. & Define clearer setup support or reconsider how
compilation and preview are supplied.\\
ASM-003 & TikZ source remains the authoritative portable artifact, and the
graphical model may represent only supported portions. & Revisit the data model
and round-trip objective before implementation continues.\\
ASM-004 & Professor Muresan can provide the principal initial stakeholder
perspective and early feedback. & Treat the initial stories as incomplete and
seek another qualified TikZ or LaTeX user before baselining affected needs.\\
ASM-005 & The project will continue with one developer for the current planning
period. & Reassign responsibilities and revise communication, schedule, and
governance if membership changes.\\
ASM-006 & Work can proceed without the previous group's repository. & Continue
with independent evidence; if the material arrives, review it for constraints,
lessons, and reusable ideas before changing the plan.\\
ASM-007 & The Windows development environment can support the selected desktop
framework and local compiler integration. & Reassess the framework, supported
platform baseline, and schedule using feasibility evidence.\\
\end{tabularx}
These assumptions will be converted into requirements, dependencies, or risks
when review shows that they impose a binding obligation or measurable product
condition.
\clearpage
\section{Milestone 2 Constraints and Design Iterations}\label{Section:M2Iterations}
These constraints come from the project context and reviewed decisions, not
from assumed user-study results. Rechecks below are explicitly planned or
bounded historical observations.
\begingroup
\small
\begin{tabularx}{\linewidth}{@{}L{3.0cm}YY@{}}
\caption{Constraints, Alternatives and Consequences\label{Table:M2Constraints}}\\
\toprule
\textbf{Constraint / driver} & \textbf{Decision and alternative considered} & \textbf{Tradeoff / check}\\
\midrule\endfirsthead
\toprule
\textbf{Constraint / driver} & \textbf{Decision and alternative considered} & \textbf{Tradeoff / check}\\
\midrule\endhead\bottomrule\endfoot
Solo developer and course deadline & Use a conservative supported subset and focused vertical increments; defer universal syntax and broad refactoring. & Lower coverage in exchange for source safety and reviewable progress; retain corpus regressions and record unsupported forms.\\
Editable source must remain authoritative & Choose byte-bound source transactions over regenerating the entire diagram; \RequirementRef{REQ-D-001}, \RequirementRef{REQ-A-008}. & Requires bindings/context and conservative rejection; exact source diffs, shared-definition and history checks detect unintended effects.\\
External LaTeX dependencies and variable run time & Preview compilation is separate from live interaction; \RequirementRef{REQ-A-001}, \RequirementRef{REQ-P-001}. & Additional asynchronous state and diagnostics; test slow/failing/missing dependencies and stale preview handling before acceptance.\\
Local and offline workflow & Keep core local, subject to stakeholder validation; \RequirementRef{REQ-C-001}, \ValidationRef{VAL-006}. & Local installation/configuration burden; disconnected workflow and dependency diagnostics must be evaluated.\\
Overlapping labels and varied source forms & Separate geometry/bindings/capabilities and use explicit selection menus; \RequirementRef{REQ-D-009}, \RequirementRef{REQ-I-008}. & More data contracts and menu interaction; preserve attachments/shared definitions and validate selection with authors.\\
Exact undo within finite memory & Start with exact session snapshots; document owns history. & Simple exact restoration costs memory; measure before setting retention/optimization policy. No unreviewed eviction limit is imposed.\\
\end{tabularx}
\endgroup
\begingroup
\small
\begin{tabularx}{\linewidth}{@{}L{2.2cm}YYY@{}}
\caption{Documented Feedback-to-Design Iterations\label{Table:M2Iterations}}\\
\toprule
\textbf{Iteration / finding} & \textbf{Design change} & \textbf{Recheck and evidence} & \textbf{Disposition}\\
\midrule\endfirsthead
\toprule
\textbf{Iteration / finding} & \textbf{Design change} & \textbf{Recheck and evidence} & \textbf{Disposition}\\
\midrule\endhead\bottomrule\endfoot
ITR-001: October 21 display priority & Vincent reported that lines/arrows did not compile in the editor and prioritized display. Inspection distinguished unsupported editor interpretation from valid original TikZ; the subset was extended. & Eight fixed-extent independent TinyTeX comparisons and six startup fixtures checked display; retained evidence in Section~\ref{Section:SegmentDisplayCheck}. & Completed bounded recheck; broader syntax, native acceptance and integrated compilation remain pending.\\
ITR-002: October 27--30 ownership review & Concern about controller responsibility led to document-owned history and controller-owned edit/file services with atomic source/history publication; \RequirementRef{REQ-A-012}--\RequirementRef{REQ-A-014}. & \TestCaseRef{TC-042}, \TestCaseRef{TC-056}, \TestCaseRef{TC-057}; inspect ownership and inject publication/I/O failures. & Design reviewed with Vincent; implementation and rechecks planned.\\
ITR-003: October 29 label/selection review & Attached labels and obscured hosts exposed two-point record and hit-selection limits. Separate bindings, attachments and presentation and add point/area candidate menus; \RequirementRef{REQ-D-009}, \RequirementRef{REQ-I-008}--\RequirementRef{REQ-I-010}. & \TestCaseRef{TC-044}, \TestCaseRef{TC-047}, \TestCaseRef{TC-053}, \TestCaseRef{TC-054}, \TestCaseRef{TC-055} and \ValidationRef{VAL-009}, \ValidationRef{VAL-010}; measure observed user problems before adjusting the 6-pixel starting setting. & Owner interaction decisions recorded; code and participant rechecks planned.\\
\end{tabularx}
\endgroup
\subsection{Milestone 2 Submission Coverage}
Assignment inspected in Vincent's Chrome tab on October 30, 2026:
\href{https://sit.instructure.com/courses/188761/assignments/696092}{Milestone 2 -- Project Specification},
due October 30 at 11:59 p.m. The required single updated team report is the
submission edition; internal AI records remain in the developer edition.
\begingroup
\small
\begin{tabularx}{\linewidth}{@{}L{5.0cm}Y@{}}
\caption{Milestone 2 Assignment-to-Report Map\label{Table:M2Coverage}}\\
\toprule
\textbf{Assignment item} & \textbf{Report location / evidence boundary}\\
\midrule\endfirsthead
\toprule
\textbf{Assignment item} & \textbf{Report location / evidence boundary}\\
\midrule\endhead\bottomrule\endfoot
Bidirectional stories to validation with acceptance criteria & \ChapterRef{UserStories}, \ChapterRef{Validation}; full ten-story map with reciprocal links and planned participant evidence.\\
Bidirectional requirements to verification with criteria/method/evidence & \ChapterRef{Requirements}, \ChapterRef{Tests}, \ChapterRef{Verification}; all requirement/check rows are mapped; product acceptance remains pending.\\
Use cases, activities, proposed classes and interaction sequences & \ChapterRef{UseCases}, \ChapterRef{SoftwareArchitecture}, \AppendixRef{DesignDocuments}; current and planned diagrams are labelled separately.\\
Testing plan with levels, cases, data, outcomes and traceability & Section~\ref{Section:M2TestPlan}, full case register and \ChapterRef{Traceability}; historical results retain dates/limits.\\
Dedicated codes/standards applicability and design/check links & \ChapterRef{CodesStandards}; external specifications, adopted guidance and local conventions are distinguished.\\
Multiple constraints, tradeoffs and feedback-driven iteration & Tables~\ref{Table:M2Constraints} and \ref{Table:M2Iterations}; one bounded completed recheck plus planned design rechecks.\\
\end{tabularx}
\endgroup
\subsection{Course Pattern Adaptation}
Adopt stable VER/VAL identifiers and reciprocal maps from the course
verification and validation components; adapt their examples into planned local
TikZ tasks and measurable oracles, retaining no example Pass claims.
Adapt the codes/standards and constraints headings from the course Part II
into project-specific content; integrate constraints in this existing plan.
Use TikZ class/activity notation and a sequence where atomic interaction order
needs explanation. Defer broad 4+1/hardware views without evidence. The temporary
open-decisions chapter is explicitly requested by Vincent and will be removed
when its decisions have entered the controlled artifacts.