Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
@@ -0,0 +1,320 @@
|
||||
# TikZRefinery current handoff
|
||||
|
||||
Updated November 16, 2026. This is a current checkpoint, not a second design or
|
||||
requirements register. Verify it against the current files before continuing.
|
||||
|
||||
## Start here
|
||||
|
||||
Read `README.md`, the AI Agent Requirements, AI Agent Usage Guide, and Report
|
||||
Roadmap under `documents/latex/`, then inspect `git status`. Use TeX for report
|
||||
information and PDFs for visual checks. Preserve all uncommitted changes.
|
||||
Vincent explicitly authorized local checkpoints for the transaction-contract
|
||||
report update on October 22 (`fead040`) and the prototype canvas and package
|
||||
workflow on November 6 (`0aeef51`). On November 11 he authorized a local
|
||||
checkpoint for the reviewed report changes through 1.10.0, then asked to keep
|
||||
the presentations local. He also authorized removing submission archives from
|
||||
the unpushed checkpoint and ignoring the local coursework and review files.
|
||||
Submission archives, presentation files and demo fixtures, local VS Code
|
||||
configuration, and files under `work/` are excluded from this checkpoint and
|
||||
remain on disk. The repository's `.gitignore` records those exclusions.
|
||||
Future commits still need authorization. Do not push.
|
||||
|
||||
Vincent's October 21 workflow preference: continue successive increments in the
|
||||
same chat. A new chat is optional when useful or requested, not a requirement at
|
||||
each outcome boundary. For visible application increments, refresh and launch
|
||||
the existing Windows package for his inspection. Use the procedure in
|
||||
`code/README.md` and preserve edits to demos and packaged examples.
|
||||
|
||||
VS Code opens the repository root and uses the local `qt-mingw-debug` preset
|
||||
in `code/CMakeUserPresets.json`. CMake Tools configures on open and supplies
|
||||
IntelliSense. Ctrl+Shift+B builds, the `Test TikZRefinery` task runs CTest, and
|
||||
F5 launches the Debug build with GDB and the Qt DLL path. Configuration after
|
||||
reopening, the editor diagnostics, F5, and all four CTests were verified.
|
||||
|
||||
After the last Windows computer-use check, send the required completion summary,
|
||||
then reset the CUA session to release retained capture bindings. Vincent confirmed
|
||||
on November 12 that the session reset cleared the persistent yellow capture
|
||||
border. Do not start another capture just to check whether the border disappeared.
|
||||
|
||||
## Current report and Milestone 2 checkpoint
|
||||
|
||||
The current application and architecture share **Alpha 0.10.3**. Vincent approved
|
||||
major zero on November 16 while retaining weekly-report-based minor numbering;
|
||||
historical 1.x entries remain unchanged. CMake reads the version directly from
|
||||
the report source. Build metadata and Help > About show the actual source
|
||||
checkpoint and clean/modified/unavailable source state. This build is based on
|
||||
`5a776cb` with uncommitted demo-preparation changes. Both Debug and Release passed all
|
||||
five CTests. See `code/tests/evidence/alpha-version-2026-11-16/`.
|
||||
|
||||
The existing package is now `code/packages/TikZRefinery-windows-x64/`, moved
|
||||
without copying its runtime or changing either example file. It contains the
|
||||
refreshed Release executable and build identity. The reviewed deployment diagram
|
||||
is now in Software Architecture; its arrow labels are transparent and clear of
|
||||
box borders. The exact pre-fix TeX is preserved in
|
||||
`code/tests/fixtures/label-editing/deployment-before-label-fix.tex` for future
|
||||
label tests. The full diagram is not editable by the current parser. All five
|
||||
Release CTests passed for the 0.10.3 metadata refresh.
|
||||
Vincent clarified that the agreed `tkr` class and other identifier prefixes
|
||||
satisfy the instructor's use of namespace terminology. No extra naming change
|
||||
is needed. The November 16 review found the eight current class contracts and
|
||||
responsibilities consistent with their diagrams, including resize and canvas
|
||||
helpers. A ten-slide Alpha demo review draft, editable TikZ assets and speaking
|
||||
notes are under ignored `documents/slides/demo3/`; its README identifies the live
|
||||
deck. Rehearsal and a backup recording remain pending. Feature work waits until
|
||||
Vincent returns to his dorm after the five-hour usage reset. Do not automatically
|
||||
resume or consume another reset. No new commit or push is authorized.
|
||||
|
||||
Report 1.10.1 records the November 12 rectangle resize baseline. All five Debug
|
||||
and Release CTests passed. Selected rectangles have screen-sized corner handles;
|
||||
the opposite corner stays fixed, crossing flips the shape, and independent
|
||||
0.01 cm minimum dimensions allow thin fillers. Move and resize release now
|
||||
accept the furthest valid stroke-aware boundary position used by preview.
|
||||
The GUI-independent `tkrEditService` prepares geometry and coordinate edits;
|
||||
the document still applies guarded batches. Generic transactions/history,
|
||||
shape plugins, aspect-ratio locking, edge handles and integrated compilation
|
||||
remain unimplemented. See `code/tests/evidence/resize-2026-11-12/`.
|
||||
|
||||
The existing ignored 0.1.0 Release package was refreshed with the same Qt kit;
|
||||
its manifest records report 1.10.1 and the executable hash. A separate packaged
|
||||
`examples/resize-demo-2026-11-12.tex` includes a thin rectangle. Preserve its
|
||||
edits and the older examples. Native accessibility inspection showed edited
|
||||
source, but the capture tool returned the wrong window image; native user
|
||||
acceptance was not claimed by that inspection. Vincent subsequently confirmed
|
||||
that the shapes stop at the furthest valid values as intended. On November 16
|
||||
he authorized a local resize checkpoint, then requested a pause in implementation
|
||||
to discuss the upcoming demo. Plugin extraction has not started. Do not push.
|
||||
|
||||
Report 1.10.0 adds the November 6 weekly entry, the implemented TikZ
|
||||
drag sequence, and UC-002's fixed-boundary alternative. The entry links the
|
||||
canvas class and this week's requirement changes. The next-week plan is native
|
||||
drag review and a guarded rectangle resize before plugin extraction.
|
||||
The local PowerShell autobuild compiles both PDFs and packages the submission
|
||||
edition in a versioned ZIP under `documents/submissions/week-10-1.10.0/`.
|
||||
The weekly entry shows the first build's actual result in an offscreen log
|
||||
capture. Both the build script and the retained transcript are available
|
||||
for reruns and review. Canvas submission remains pending with Vincent.
|
||||
|
||||
The existing Windows x64 prototype package (0.1.0) was refreshed from the
|
||||
current working tree, including the fitted canvas and repaint fix. The Release
|
||||
build passed all four CTests. The packaged app opened the bundled example,
|
||||
closed normally, and reopened with a Windows-only PATH; five Qt/platform and
|
||||
compiler runtime modules loaded from the package. The second window was left
|
||||
open for review. See `code/tests/evidence/package-2026-11-05.md`.
|
||||
The canvas code, tests, and package workflow were committed locally in
|
||||
`0aeef51`. The November 6 Debug rerun passed all four CTests. The package
|
||||
binaries remain ignored. No push was made.
|
||||
|
||||
Report 1.9.5 adds REQ-DEV-005 for named numeric values in application logic.
|
||||
The coding guide uses the scene's numeric literals as review examples, and
|
||||
TC-066 and VER-079 define the planned source inspection. Both report editions
|
||||
built and were checked. This increment made no application source changes.
|
||||
|
||||
Report 1.9.4 registers canvas behavior as REQ-I-011 through REQ-I-014 and
|
||||
adds the linked canvas view class diagram. The repaint correction paints
|
||||
the fixed paper through the viewport clip and restores smoothing for items.
|
||||
The clipped raster probe found zero residual pixels at 100%, 125% and
|
||||
150% device scales; all four CTests passed. Native drag review remains pending.
|
||||
Windows denied relinking the original executable, so the separate review
|
||||
build `code/build/TikZRefinery-repaint.exe` was launched with
|
||||
`code/build/demo/canvas-repaint-demo.tex`. Preserve existing demo edits.
|
||||
|
||||
Report 1.9.3 records the fit-to-pane default and visible editing limits. The
|
||||
new tkrDiagramView fits the scene without changing source or scene units.
|
||||
For a fixed extent, the white sheet is the actual editing area; drag preview
|
||||
stays within it, and invalid release still rejects. The four CTests passed,
|
||||
including small/large viewport and boundary checks. See
|
||||
`code/tests/evidence/canvas-fit-2026-11-05/` and the separate
|
||||
`code/build/demo/canvas-fit-demo.tex` launched for review. Both reports built
|
||||
and the affected pages and links were checked. Individual box resizing and
|
||||
manual zoom/pan controls remain pending.
|
||||
|
||||
Report 1.9.2 records the implemented canvas contrast improvement and the
|
||||
approved corner-resize gesture. The window labels the Canvas and TikZ source
|
||||
panes; the canvas uses a bordered white surface and the rest uses the system
|
||||
theme. CTest passed all four existing tests. Offscreen light and dark
|
||||
screenshots and their limitations are under
|
||||
`code/tests/evidence/canvas-contrast-2026-11-05/`.
|
||||
The new editable demo is under the ignored build directory at
|
||||
`code/build/demo/canvas-theme-demo.tex`. Preserve the older demos and their edits.
|
||||
The native window was launched with that demo. Both TinyTeX builds and PDF
|
||||
link checks passed; the canvas evidence is on printed page 94.
|
||||
|
||||
Report 1.9.1 records the instructor's shape-plugin direction as reported by
|
||||
Vincent: resize the existing explicit-coordinate box, then extract the first
|
||||
rectangle plugin. The reviewed boundary is one shape API, with factories optional
|
||||
inside providers. Application code and product-test status are unchanged.
|
||||
The plan is on printed page 73. Both TinyTeX builds and internal link checks
|
||||
passed; affected pages were rendered and reviewed (165 submission pages,
|
||||
220 developer pages). Week 8 and Week 9 still occupy one page each.
|
||||
|
||||
Report 1.9.0 adds Week 9 (October 30), with links to the reporting period's
|
||||
updated sections, prior-plan outcomes, next steps, actions and risks. Vincent
|
||||
confirmed submitting Milestone 2 version 1.8.1.1 before this weekly update.
|
||||
Application package version remains 0.1.0. New requirements and
|
||||
planned tests capture reviewed collaborator ownership, atomic history, outcomes,
|
||||
red rejection feedback, label attachment/local edits, overlap point/area
|
||||
selection and provider boundaries. Requirements, use cases, checks, VER/VAL
|
||||
maps and planned diagrams are linked. Current six-class/source diagrams remain
|
||||
unchanged because no application implementation is part of this document task.
|
||||
|
||||
`documents/latex/tkrOpenDesignDecisions.tex` is a temporary chapter requested by
|
||||
Vincent. Registration, ambiguity, lifetime/compatibility, adapters, memory limits,
|
||||
detailed schemas and preview/text fidelity remain proposals there. Move resolved
|
||||
items into controlled artifacts and remove the chapter when empty. The
|
||||
corner resize gesture now has independent 0.01 cm minimum dimensions.
|
||||
|
||||
The second assignment audit corrected VAL-002 to cover zoom clarity and compiled-output agreement, and clarified full-story validation versus partial demonstrations. Version 1.8.1.1 is an explicit owner exception to the usual three-part convention. Milestone assignment was reread in Chrome; due October 30 at 11:59 p.m. Vincent later confirmed submitting the correction.
|
||||
The new weekly edition is prepared locally for Vincent. No Canvas upload/submission,
|
||||
commit or push is authorized. Preserve `.vscode/`, slides, fixtures, demo edits,
|
||||
local packages and other tasks' `work/` folders. Both editions completed the full
|
||||
TinyTeX build with clean final logs and valid internal links. Report 1.9.0:
|
||||
submission 161 pages; developer 217 pages. Week 9 occupies exactly printed page
|
||||
111 in both editions (physical page 128 submission / 131 developer); Week 8
|
||||
still occupies one page. Affected front matter, weekly entries, roadmap and
|
||||
internal records were rendered and visually inspected. See
|
||||
`documents/assets/weekly-report-9/` for QA. The Week 9 Chrome assignment requires
|
||||
links to changed sections in the weekly entry as well as Document History;
|
||||
RPT-054 records that obligation. The submitted Milestone 2 PDFs were copied
|
||||
unchanged to `documents/submissions/milestone-2-1.8.1.1/` before replacing the
|
||||
working PDFs. Its earlier QA remains under `documents/assets/milestone-2/`;
|
||||
older checkpoint evidence below is historical.
|
||||
|
||||
## Current checkpoint
|
||||
|
||||
- The six-class C++/Qt scaffold builds with Qt 6.12.0, MinGW/GCC 13.1.0,
|
||||
CMake 3.30.5, and Ninja 1.12.1, installed under `C:\Qt`.
|
||||
- The Debug build is in ignored `code/build/`; CTest passed all four registered
|
||||
tests, including `whole_element_drag` (4/4). Reproduction commands:
|
||||
`code/README.md`. Close any running application before rebuilding.
|
||||
- The initial display subset now includes explicit cm rectangles, straight `--`
|
||||
lines, and `->`, `<-`, `<->` arrows with PGF's default curved `to` tips.
|
||||
Vincent prioritized this display extension ahead of dragging. All eight
|
||||
corpus files load. The bounding path
|
||||
supplies a separate fixed extent and creates no item. Original bytes and
|
||||
numeric coordinate byte ranges are preserved. Whole-element selection/dragging
|
||||
is now implemented; endpoint gestures remain unsupported.
|
||||
- The initial boxes map to `(200,200,100,100)` and `(400,200,100,100)` scene
|
||||
rectangles. The expected touching-reference right box maps to `(300,200,100,100)`.
|
||||
Mapper defaults remain origin (200,300), 100 units/cm, inverted y.
|
||||
- Display evidence: `code/tests/evidence/segment-display-2026-10-21.md`, four
|
||||
subset comparison sheets/JSON and line/arrow window screenshots. All eight
|
||||
fixed-extent TinyTeX comparisons had zero unmatched dark edge pixels with a
|
||||
one-pixel allowance at 100 pixels/cm. This threshold is a prototype check.
|
||||
The untouched line/arrow files compile; the earlier failure was unsupported
|
||||
editor interpretation. No compiler/PDF integration is implemented.
|
||||
Historical rectangle and first-run evidence remains intact.
|
||||
- Latest edit evidence: `code/tests/evidence/whole-element-drag-2026-10-21.md`
|
||||
and the `drag-2026-10-21/` saved TeX sources, comparisons/JSON and window image.
|
||||
Qt viewport mouse events verify one commit on release, contact, line/arrow
|
||||
translation, Escape/focus cancellation, exact byte edits, save/reopen and
|
||||
external-change refusal. Three actual saved outputs compile and match the
|
||||
canvas within the prototype one-pixel allowance (zero unmatched pixels).
|
||||
- An optional source path on the executable command line opens that file at
|
||||
startup. The rebuilt native app was launched with a separate editable copy at
|
||||
`code/build/demo/boxes-drag-demo.tex`. Separate `line-drag-demo.tex` and
|
||||
`arrow-drag-demo.tex` copies are alongside it. Preserve these files and
|
||||
Vincent's edits.
|
||||
Offscreen startup-window checks pass for all six line/arrow fixtures; the
|
||||
rectangle Open-action check still passes. OS-level pointer injection and
|
||||
Vincent's acceptance remain unverified.
|
||||
- MVC, ownership, the class overview, and six class details are in
|
||||
`documents/latex/tkrSoftwareArchitecture.tex`. Activity diagrams remain in
|
||||
`tkrDesignDocuments.tex`. Editable TikZ fragments remain under
|
||||
`documents/assets/design-diagrams/`. Detailed diagram review is still pending.
|
||||
- Historical report v1.8.0 added Week 8 (October 23) using the Canvas assignment inspected
|
||||
in Chrome. The new weekly includes the actual package-directory screenshot;
|
||||
Vincent approved prototype version 0.1.0 pending instructor clarification.
|
||||
The entry must remain at most one page. No Canvas submission, commit or push.
|
||||
Both final editions built with clean TinyTeX bibliography/index logs and valid
|
||||
internal destinations; Week 8 occupies exactly printed page 72. The developer
|
||||
edition has 169 pages and submission edition has 119 pages. Rendered pages
|
||||
and the directory image were reviewed; a Week 8 preview is retained for Vincent.
|
||||
- The report uses weekly-report-based numbering, applied retroactively
|
||||
to Document History and roadmap references. Week-report inclusion starts
|
||||
revision zero; later updates increment the final component. The former
|
||||
v1.53 whole-element increment is now v1.7.5. The current report records whole-element editing and saved-output evidence;
|
||||
current architecture and activities distinguish body movement from future
|
||||
endpoint editing. Section `WholeElementDragCheck` in `tkrTests.tex`
|
||||
records the bounded evidence without completing product requirement statuses.
|
||||
Both editions completed the TinyTeX bibliography/index build sequence with
|
||||
clean final logs. Rendered pages were visually reviewed, including larger
|
||||
changed-page checks, and internal link destinations were validated. The final
|
||||
v1.7.8 developer edition has 166 pages; the submission edition has 115 pages.
|
||||
All four existing CTests passed again on October 22. The local Git checkpoint
|
||||
groups the accumulated prototype and report work; see Git history for its ID.
|
||||
The subsequent 1.7.8 document-only correction also completed both full builds
|
||||
with clean logs, validated internal destinations and reviewed rendered pages.
|
||||
- The October 22 transaction/history behavior is agreed and documented directly
|
||||
in the Functional, Data, Interface and Architectural registers in
|
||||
`documents/latex/tkrRequirements.tex`. The 1.7.8 correction adds specific rows
|
||||
for the formerly narrative rules and aligns UC-004 with the other TikZ
|
||||
diagrams' shared actor, boundary, notes and scaling. Proposed data records,
|
||||
collaborators and review evidence remain in `tkrTransactionDesign.tex`.
|
||||
Generic transactions/history/plugins remain unimplemented. Milestone 2 now has
|
||||
72 requirement rows and 59 planned test cases with reciprocal verification
|
||||
maps; all new scenarios are plans, not passing results.
|
||||
Plugin scope includes both element and syntax providers. Current six-class
|
||||
diagrams remain source-based; separate planned diagrams show edit service,
|
||||
history and file-store collaborators. Ownership, labels, selection and provider
|
||||
boundaries are now reviewed; unfinished choices are in Open Design Decisions.
|
||||
- A separate local Release package is retained at
|
||||
`code/packages/TikZRefinery-0.1.0-windows-x64/`, ignored by Git. It contains
|
||||
deployed Qt/MinGW dependencies, an example, README and version manifest.
|
||||
A three-second dedicated startup check with Windows-only PATH passed;
|
||||
see `code/tests/evidence/package-2026-10-23.md`. It is a prototype, not a
|
||||
controlled release or native acceptance result. The original Explorer capture
|
||||
remains in `documents/assets/weekly-report-8/` for review/grading.
|
||||
Preserve the unrelated `work/ide-par-draft/` and all existing local work.
|
||||
- Reproducible task scratch was removed after verification. The ignored
|
||||
`code/build/` remains for local execution and incremental development; final
|
||||
PDFs, sources and retained test evidence remain in their repository locations.
|
||||
|
||||
## Next proposed outcome
|
||||
|
||||
Review the implemented corner resize in the refreshed package, then extract the
|
||||
rectangle shape plugin against the same display/move/resize/save baseline.
|
||||
Keep the document's source/history acceptance boundary and controller coordination
|
||||
role. General provider registration/ambiguity, adapters, lifetime and TikZ-only
|
||||
shape import remain open. Aspect-ratio locking and edge-only handles are deferred.
|
||||
|
||||
Authoritative new decisions: requirement registers, UC-005/UC-006, planned
|
||||
TC-044--TC-059, transaction/element diagrams and the temporary open-decisions
|
||||
chapter. Current source diagrams also include the bounded edit service and
|
||||
rectangle resize. Continue in this chat when practical.
|
||||
|
||||
## Limits and later work
|
||||
|
||||
Parsing accepts the exact corpus wrapper, one unconfigured picture, or bare
|
||||
supported commands. Unknown syntax rejects the entire interpretation. Curves,
|
||||
polylines, custom arrow styles, transforms, macros and loops remain unsupported.
|
||||
Zero-length segments and arrows too short for their tip insets are refused.
|
||||
Move and resize gestures stop at the furthest valid position inside a fixed
|
||||
comparison extent, including stroke; release accepts that result. Endpoint edits,
|
||||
undo/redo, zoom/pan controls, broader syntax and integrated compilation/PDF
|
||||
display remain unfinished. A 2x scaled/panned gesture check passed, but there
|
||||
are no zoom/pan controls or approved range/timing targets. Native acceptance,
|
||||
product acceptance and developer review remain pending.
|
||||
|
||||
Keep the `tkr` class prefix, descriptive variable prefixes and private `m_`,
|
||||
separate class files, explicit ownership, and a maximum of three project-defined
|
||||
inheritance levels. Current classes are final; extra inheritance is unnecessary.
|
||||
Requirements and design details remain in the report and coding guide.
|
||||
|
||||
Reviewed label placement, attachments and overlap selection are now controlled
|
||||
requirements/design; their implementation and external stakeholder validation
|
||||
remain pending. Element insertion and UML creation remain later possibilities. Performance targets need prototype measurement;
|
||||
do not invent a millisecond threshold or claim these features are implemented.
|
||||
|
||||
## Starting prompt
|
||||
|
||||
> Continue TikZRefinery. Read README.md and HANDOFF.md, follow the referenced
|
||||
> repository/report instructions, and inspect Git status. Preserve existing
|
||||
> work. Do not commit or push without new authorization. Read the
|
||||
> reviewed transaction/label/selection/provider boundaries and the temporary
|
||||
> Open Design Decisions chapter and continue registration/overlap interpretation
|
||||
> review before implementation. Preserve demos and their saved edits; distinguish
|
||||
> planned design from implemented behavior.
|
||||
|
||||
Refresh this checkpoint at the next outcome boundary; preserve historical
|
||||
decisions and evidence in their authoritative records rather than growing this
|
||||
file into another transcript.
|
||||
Reference in New Issue
Block a user