453 lines
29 KiB
TeX
453 lines
29 KiB
TeX
\chapter{AI Prompt Log}
|
|
\ChapterLabel{AIPromptLog}
|
|
\index{AI prompt log}
|
|
\section{How to Use This Appendix}
|
|
Use this log when AI assistance materially affects assignment wording,
|
|
automation, evidence interpretation, troubleshooting, or feedback. Record
|
|
enough context for an instructor or reviewer to understand the input, output,
|
|
assumptions, and human corrections. Do not record credentials or personal data.
|
|
|
|
\section{Example Record}
|
|
Date: \textit{[timestamp]}; Tool and model: \textit{[name]}; Task:
|
|
\textit{[requested outcome]}; Inputs: \textit{[sanitized constraints and
|
|
evidence]}; Output used: \textit{[summary]}; Human review and corrections:
|
|
\textit{[summary]}; Unresolved assumptions: \textit{[list or none]}.
|
|
|
|
\section{Assignment 2 Assistance Record}
|
|
Date: September 13, 2026; Tool and model: OpenAI Codex; Task: complete
|
|
Sections F and G of the Linux command problem set; Inputs: the instructor's
|
|
problem-set PDF, the group's LaTeX ZIP containing Sections A--E, and controlled
|
|
command output from a Linux environment; Output used: explanations and
|
|
verified terminal evidence for Questions 24--30, plus compilation and visual
|
|
review; Human review and corrections: pending group review before submission;
|
|
Unresolved assumptions: dynamic process IDs, process rankings, timestamps, and
|
|
archive sizes are execution-specific snapshots.
|
|
|
|
\section{Assignment 2 Assistance Record --- A, B, D, E}
|
|
Date: September 13--14, 2026; Tool and model: Anthropic Claude (Opus 4.5) via
|
|
claude.ai; Task: structure the Linux Commands chapter, produce the environment
|
|
setup printout figures, and explain and document Questions 1--12 and 17--23;
|
|
Inputs: the instructor's assignment brief and problem-set PDF, the group's
|
|
compiled assignment PDF and chapter source, and controlled command output
|
|
captured from a Linux environment on the author's machine; Output used:
|
|
LaTeX \texttt{verbatim} and figure scaffolding, per-question explanations and
|
|
rationale, and formatting corrections including \texttt{upquote} for straight
|
|
quotation marks in verbatim blocks and \texttt{float} for fixed figure
|
|
placement; Human review and corrections: every command was executed locally by
|
|
the author and all recorded output is from that session; the assistant
|
|
additionally executed the same commands in its own sandbox to predict expected
|
|
results, and those sandbox runs are not reproduced as evidence; Unresolved
|
|
assumptions: hostnames, timestamps, and inode-level details are
|
|
execution-specific snapshots; \texttt{du} block-size reporting and
|
|
\texttt{chattr} attribute support depend on the underlying filesystem.
|
|
|
|
\section{Assignment 2 Assistance Record --- C}
|
|
Date: September 13, 2026; Tool and model: OpenAI Codex; Task: complete
|
|
Section C, Questions 13--16, while preserving Sections A and B and the original
|
|
project filenames; Inputs: the instructor's problem-set PDF, the group's LaTeX
|
|
ZIP, and controlled command output from a Linux environment; Output used:
|
|
explanations and verified terminal evidence for the text-processing questions,
|
|
plus Windows MiKTeX compilation and visual review; Human review and corrections:
|
|
the student designated the newest group ZIP as authoritative and required that
|
|
the template filenames remain unchanged; Unresolved assumptions: usernames,
|
|
timestamps, and other live output values are execution-specific snapshots.
|
|
|
|
\section{Assignment 2 Assistance Record --- H--J}
|
|
Date: September 14, 2026; Tool and model: OpenAI Codex; Task: complete
|
|
Sections H--J, Questions 31--40, and update the AI prompt log while preserving
|
|
all existing group work and filenames; Inputs: the instructor's problem-set
|
|
PDF, the current group LaTeX project, and controlled command output from an
|
|
Linux environment; Output used: explanations and verified evidence for the
|
|
networking, system, package, service, loop, CSV, and environment-variable
|
|
questions, plus Windows compilation and visual review; Human review and
|
|
corrections: pending group review before submission; Unresolved assumptions:
|
|
Question 38 is interpreted as filename followed by line count because its PDF
|
|
placeholders are absent, Question 31 reflects unprivileged process visibility,
|
|
and Question 34 uses the systemd journal because \texttt{last} is unavailable.
|
|
|
|
\section{Group 1 Repository Setup Record}
|
|
Date: September 19, 2026; Tool and model: OpenAI Codex; Task: create the Group 1
|
|
repository structure and AI requirements; Inputs: reviewed group sources and
|
|
the instructor template; Output used: separate active and reference trees,
|
|
agent-routing files, ignore policy, and requirements appendix; Human review and
|
|
corrections: population occurred only after cloning, with no commit or push;
|
|
Unresolved assumptions: access is private and licensing awaits rights-holder
|
|
approval.
|
|
|
|
\section{Local LaTeX Toolchain Record}
|
|
Date: September 19, 2026; Tool and model: OpenAI Codex; Task: make complete
|
|
local LaTeX compilation reusable across Codex sessions and available to Group
|
|
1 members; Inputs: the available local LaTeX toolchains, the repository build
|
|
script, and official installation guidance; Output used: relocated shared
|
|
TinyTeX, persistent Codex tool-selection rules, teammate installation steps,
|
|
and a complete TinyTeX build script; Human review and corrections: after
|
|
successful full-document tests, the student selected TinyTeX as the primary
|
|
compiler and removed Tectonic because it did not generate the required
|
|
glossary, acronym, and index outputs;
|
|
Unresolved assumptions: each teammate must choose and authorize installation
|
|
of a local TeX distribution on their own device.
|
|
|
|
\section{Local Toolchain Access Clarification}
|
|
Date: September 20, 2026; Tool and model: OpenAI Codex; Task: clarify whether
|
|
Windows compiler location and MiKTeX Console determine AI-agent access; Inputs:
|
|
successful execution of MiKTeX \texttt{pdflatex --version} in the student's
|
|
PowerShell session, the agent's restricted-session access failure, and the
|
|
successful shared TinyTeX build path; Output used: optional workspace-layout
|
|
guidance, explicit sandbox-versus-user permission guidance, the
|
|
\texttt{DEVOPS\_LATEX\_BIN} override, and a temporary drive-mapping workaround;
|
|
Human review and corrections: the student chose to keep
|
|
\texttt{Documents\textbackslash Projects} optional after confirming that
|
|
sandbox permissions and path handling, rather than MiKTeX Console state,
|
|
explained the differing results; Unresolved assumptions: each teammate's
|
|
sandbox policy, filesystem redirection, and approved installation directories
|
|
remain device-specific.
|
|
|
|
\section{Assignment 3 Assistance Record --- Tasks 1--3}
|
|
Date: September 19, 2026; Tool and model: Anthropic Claude (Opus 5) via
|
|
claude.ai; Task: guide the Digital Ocean droplet setup and Docker deployment
|
|
of the Color Buttons app, refactor the two-button JavaScript into a
|
|
class-based design, and write the Digital Ocean Docker Deployment chapter
|
|
with minted code blocks and a UML class diagram; Inputs: the instructor's
|
|
assignment brief, the group's existing \texttt{index.html} and
|
|
\texttt{Dockerfile}, sanitized terminal output (SSH verbose logs, directory
|
|
listings, and the droplet's \texttt{history}), the empty chapter template,
|
|
and screenshots of the deployed site and terminal; Output used: step-by-step
|
|
deployment commands, diagnosis of the SSH \texttt{Permission denied
|
|
(publickey)} error (the key had a non-default name, was stored outside the
|
|
\texttt{.ssh} folder, and had not been installed on the droplet), the
|
|
refactored \texttt{ColorButton} and \texttt{ColorButtonApp} classes, the TikZ
|
|
UML diagram, the chapter's LaTeX text and figure placement, and formatting
|
|
corrections splitting long commands with shell line-continuation characters
|
|
and enabling \texttt{breaklines} in minted; Human review and corrections: the
|
|
author created the droplet, ran every command on their own machine and the
|
|
droplet, verified the class-based code in the running container with
|
|
\texttt{grep} and \texttt{docker exec}, captured all screenshots, and reviewed
|
|
the compiled PDF, requesting the fix for commands running off the page; all
|
|
recorded output and screenshots are from the author's session, and the
|
|
assistant only test-compiled the LaTeX in its own sandbox; pending group
|
|
review before submission; Unresolved assumptions: the droplet IP address,
|
|
container IDs, and timestamps are deployment-specific snapshots; the UML
|
|
diagram marks all members public because JavaScript class fields are public
|
|
by default; Tasks 4--7 are not covered by this record.
|
|
|
|
\section{Assignment 3 Repository Merge Record}
|
|
Date: September 24, 2026; Tool and model: Anthropic Claude (Opus 5.5) via
|
|
Claude Code; Task: compare a locally exported copy of the document with the
|
|
repository and merge the Assignment 3 work without losing newer repository
|
|
content; Inputs: the exported source archive and the repository
|
|
\texttt{latex/} tree; Output used: the Assignment 3 chapter, screenshots,
|
|
prompt-log record, and Assignment 2 \texttt{Verbatim} formatting copied
|
|
unchanged from the archive, the archive's title-page values and packages merged
|
|
into \texttt{devopsAssignment.tex}, \texttt{-shell-escape} added to the build
|
|
script for \texttt{minted}, and the package list updated in
|
|
\ChapterRef{AIAgentGuide}; the repository's newer AI guidance, document guide,
|
|
history, and prompt-log records were retained; Human review and corrections:
|
|
the student approved the merge plan; the title typo ``Ocearn'' was corrected
|
|
and the Document Guide was kept included because other chapters cross-reference
|
|
it; with the student's approval the agent installed TinyTeX, built the complete
|
|
document, and corrected the package list (\texttt{lmodern} is distributed as
|
|
\texttt{lm}; \texttt{makeindex} is not in the base TinyTeX bundle);
|
|
the student confirmed the title-page names are the document's authors (the
|
|
instructor is credited for the template under Template Attribution), so the
|
|
\texttt{\textbackslash Instructor} macro was renamed \texttt{\textbackslash
|
|
Authors} and its placeholder brackets removed; Unresolved assumptions: the
|
|
archive's abbreviated tool names in Document History (\texttt{CDX},
|
|
\texttt{CLD}) were not adopted. At the student's direction, the
|
|
Example Assignment chapter (activity brief, workflow, evidence, retrospective,
|
|
and submission sources) was commented out, and the version 1.0 and 1.1 history
|
|
rows now read ``Omitted chapter(s)'' in place of broken links to the excluded
|
|
Introduction and Example Assignment chapters, with their attribution and
|
|
wording otherwise unchanged; the bibliography was commented out because its
|
|
only citation was in the excluded Retrospective, and the build script now
|
|
skips \texttt{bibtex} when the document has no bibliography. At the student's
|
|
request, the build script now moves the finished PDF to the repository root
|
|
as \texttt{2026F-SSW-590-DevOps-Group-1.pdf}, and the AI guide and README
|
|
describe that location.
|
|
|
|
\section{Assignment 3 Assistance Record --- Task 4 LaTeX Docker}
|
|
Date: September 24, 2026; Tool and model: Anthropic Claude (Opus 5.5) via
|
|
Claude Code; Task: write a Docker container that compiles a simple LaTeX
|
|
document with TeX Live and document it in a LaTeX Docker chapter with minted;
|
|
Inputs: the instructor's Task 4 wording and the student's decision to run the
|
|
container locally rather than on the droplet; Output used: the
|
|
\texttt{latex-docker/Dockerfile} and \texttt{sample.tex}, the chapter text,
|
|
and the rendered figure of the compiled PDF; the agent started Docker Desktop
|
|
and first built and ran the container on the student's machine; Human review
|
|
and corrections: the student chose local execution after confirming the task
|
|
does not require the droplet, then re-ran the build (with
|
|
\texttt{-{}-no-cache}), the container, and the folder listing in their own
|
|
PowerShell session and supplied screenshots; the chapter's output blocks were
|
|
replaced with verbatim excerpts of the student's runs (omissions marked), the
|
|
image ID was re-read after that rebuild, and the agent only cropped the long
|
|
run screenshot, labeling the omitted lines; at the student's request, every
|
|
minted block is now boxed through environment hooks so it never splits across
|
|
pages, because minted ignored the existing \texttt{samepage} setting, and
|
|
minted text was reduced to \texttt{\textbackslash footnotesize} to limit the
|
|
blank space that boxing leaves; the
|
|
title-page placeholder brackets were removed and the due date corrected to
|
|
Thursday to match the assignment page; Unresolved assumptions: the Debian
|
|
base image was the agent's recommended default because the student did not
|
|
select one, and the instructor has not confirmed that local execution is
|
|
acceptable for Task 4.
|
|
|
|
\section{Assignment 3 Review Record --- Tasks 1--7}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: review
|
|
the pulled Group 1 repository and compiled PDF against the instructor's seven
|
|
Assignment 3 requirements and rubric; Inputs: the instructor's assignment
|
|
text supplied by the student, the active LaTeX sources, the versioned
|
|
\texttt{latex-docker/} files, repository history, the compiled PDF, and a
|
|
read-only request to the public website; Output used: review findings returned
|
|
to the student. The website responded with HTTP 200 and served the documented
|
|
\texttt{ColorButton} and \texttt{ColorButtonApp} class definitions at review
|
|
time. The repository contains the deployment, class diagram, and LaTeX Docker
|
|
chapters, but no Project Proposal chapter or versioned Color Buttons
|
|
application source. Document History contains entries for Tasks 1--4.
|
|
Human review and corrections: pending; Unresolved issues: Tasks 5--6 require
|
|
group decisions on a project idea, tools, comparisons, dashboard, and SWOT
|
|
charts; the group should confirm the public website's continued availability
|
|
and the instructor's acceptance of local execution for Task 4 before submission.
|
|
|
|
\section{Assignment 3 Project Proposal Draft}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: draft
|
|
the Project Proposal chapter for Assignment 3; Inputs: the instructor's
|
|
Tasks 5--6 and rubric supplied by the student, the group's discussion of a
|
|
personal VPN and DNS gateway, Claude's proposal note supplied as background,
|
|
the student's report of a 512\,MB, 10\,GB, one-vCPU droplet with roughly 52\%
|
|
current memory use, and official tool documentation; Output used: a proposed
|
|
working application, versioned DevSecOps workflow, separate WireGuard/OpenVPN
|
|
and AdGuard Home/Pi-hole comparisons, sample tests, an off-droplet dashboard,
|
|
security and cleanup plan, and provisional SWOT charts for four tools. Human
|
|
review and corrections: the student clarified that the chapter is a proposal
|
|
and that DNS-blocker feasibility has not yet been demonstrated; this draft
|
|
labels plans and estimates accordingly. Unresolved decisions: group approval
|
|
of the final tool combination, dashboard host, resource thresholds, testing
|
|
duration, and any paid infrastructure change. No VPN deployment, performance
|
|
result, or DNS-blocker fit is claimed by this draft.
|
|
|
|
\section{Assignment 3 LaTeX Docker Second-Device Evidence}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: add
|
|
the student's second-device Docker evidence to the LaTeX Docker chapter;
|
|
Inputs: the student's request, three screenshots placed in
|
|
\texttt{latex/images/}, the chapter's existing commands and figures, and the
|
|
PowerShell helper that was run successfully on the student's device;
|
|
Output used: a versioned copy of the helper script, a chapter subsection
|
|
explaining its one-go build and compile sequence, and figures for the
|
|
terminal summary, generated-file listing, and opened PDF. Human review and
|
|
corrections: the student requested that the script-driven run be identified
|
|
explicitly; the screenshots and runtime values are attributed to the
|
|
second-device execution rather than Billy's earlier run. Unresolved issue:
|
|
the instructor has not confirmed that local execution meets Task 4.
|
|
|
|
\section{Assignment 3 Dashboard Mockup}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: build a
|
|
TikZ dashboard design for the Project Proposal; Inputs: the student's concern
|
|
that a prose-only dashboard description may be insufficient for the rubric,
|
|
the proposal's resource and monitoring plan, and the instructor's requirement
|
|
to construct a dashboard reflecting operational aspects; Output used: a
|
|
versioned TikZ figure in the proposal with host, VPN, DNS, exposure, and
|
|
comparison panels. Human review and corrections: pending. Unresolved issue:
|
|
the figure is a static proposal mockup and does not demonstrate an operating
|
|
dashboard or actual service measurements; that work remains for the project.
|
|
|
|
\section{Assignment 3 Dashboard Scope Correction}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: simplify
|
|
the Project Proposal dashboard plan for a same-day proposal submission;
|
|
Inputs: the student's observation that DigitalOcean already graphs Droplet
|
|
CPU and RAM, the group's plan to test unexpected VPN drops under heavier use
|
|
and ad blocking, the
|
|
512\,MB droplet constraint, and DigitalOcean's official Insights documentation;
|
|
Output used: a revised proposal using Insights for host resources and planned
|
|
VPN stability under bounded load and DNS allowed/blocked-domain checks for service
|
|
results, plus an updated TikZ layout. Human review and corrections: the
|
|
student asked that implementation details remain proposals for later work;
|
|
Prometheus and Grafana were removed from the proposed near-term stack.
|
|
Unresolved issue: the instructor has not stated whether the existing Insights
|
|
view plus group-authored service checks meets the final dashboard rubric.
|
|
|
|
\section{Assignment 3 Dashboard Figure Removal}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: remove
|
|
the TikZ dashboard mockup from the proposal and state that the dashboard plan
|
|
may change; Inputs: the student's direction to wait for a discussion with
|
|
Billy and the professor, the current proposal chapter, and its versioned
|
|
TikZ source; Output used: the figure and source were removed, and a clear
|
|
provisional-status note was added while preserving the proposed VPN, DNS,
|
|
and resource checks. Human review and corrections: the student requested
|
|
removal of the figure for now. Unresolved decision: the final dashboard
|
|
design and interpretation of the rubric await instructor feedback.
|
|
|
|
\section{Assignment 3 DNS Deployment Clarification}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: correct
|
|
the proposal's assumption that a DNS filter must run through Docker Compose;
|
|
Inputs: the student's question, the Working Application and Environment
|
|
subsection, and official AdGuard Home and Pi-hole installation documentation;
|
|
Output used: the proposal now allows direct Ubuntu installation or a
|
|
container for each DNS candidate, with Docker Compose optional and the
|
|
deployment workflow and SWOT wording aligned. Human review and corrections:
|
|
the student pointed out that installing the DNS filters directly is a valid
|
|
test approach. Unresolved decision: the group will choose a deployment method
|
|
after assessing resources, port conflicts, and repeatability.
|
|
|
|
\section{Assignment 3 SWOT Layout Correction}
|
|
Date: September 24, 2026; Tool and model: OpenAI Codex (GPT-6); Task: fix
|
|
the placement of the Project Proposal SWOT tables; Inputs: the student's
|
|
screenshot showing headings separated from their tables, the active proposal
|
|
source, and rendered PDF pages; Output used: the four tables were fixed in
|
|
place with their headings and the forced break before Pi-hole was removed.
|
|
Human review and corrections: the student identified the misplaced charts;
|
|
the revised pages were visually checked after a complete build. Unresolved
|
|
issues: none for table placement.
|
|
|
|
\section{Assignment 4 Assistance Record --- Gitea Foundation}
|
|
Date: September 25--28, 2026; Tool and model: Anthropic Claude (Opus 5.5) via
|
|
Claude Code; Task: plan and guide the instructor manual's Chapter 2 work
|
|
(Student Pack domain, pinned Gitea deployment, HTTPS, firewall, team
|
|
workflow) and write \ChapterRef{GiteaFoundation} and
|
|
\ChapterRef{HostsPasswords}; Inputs: the instructor's assignment manual
|
|
(version 1.12), terminal output and screenshots pasted by the student (with
|
|
personal data redacted by the student), and public read-only checks; Output
|
|
used: the pinned Compose file, Caddyfile, and runbook (repository
|
|
\texttt{gitea/}, later merged into the product repository's
|
|
\texttt{deploy/}); step-by-step droplet, firewall, and Gitea instructions;
|
|
diagnosis of the unregistered-looking domain, the missing \texttt{git} record,
|
|
the branch-protection rule whose name did not match \texttt{main}, and the
|
|
administrator override; the chapter text, tables, network diagram, and these
|
|
tables. Claude itself ran only read-only checks from the student's laptop
|
|
(DNS lookups, \texttt{openssl} certificate reads, \texttt{Test-NetConnection},
|
|
and Gitea public API queries); those are labelled as laptop checks in the
|
|
chapter. All droplet, DigitalOcean, Namecheap, and Gitea actions were
|
|
performed by the students. Human review and corrections: the student ran every
|
|
droplet command, supplied all screenshots, changed the rule and settings in
|
|
Gitea, and reported that the first persistence screenshot was taken after the
|
|
replacement; pending group review of the compiled chapter. Unresolved
|
|
assumptions: the Passwords table hints (for example, that each member holds
|
|
their own DigitalOcean login) summarize the student's statement that
|
|
credentials live in both members' password managers and some local copies;
|
|
multi-factor status, the IPv6 exposure test, and the reduction of
|
|
\texttt{vsun1} to Write permission remain open.
|
|
|
|
\section{Assignment 4 Addendum --- Color Buttons Site}
|
|
Date: September 29, 2026; Tool and model: Anthropic Claude (Opus 5.5) via
|
|
Claude Code; Task: restore the Assignment 3 site beside Gitea without
|
|
interrupting it; Inputs: the student's request and droplet output. Human
|
|
review and corrections: the student required read-only checks of the image,
|
|
the Docker network name, and available memory before any change; the plan was
|
|
revised to run those checks first and to cap the container's memory. Output
|
|
used: the \texttt{colors.yebilly.me} Caddy block, the private
|
|
\texttt{docker run} command, the reload procedure, the updated deployment
|
|
README, and the chapter and Hosts table updates. The student ran all droplet
|
|
and Namecheap steps; Claude ran laptop-side HTTP, certificate, and port checks
|
|
and prepared the Gitea branch \texttt{colors-site}; the student pushed it and
|
|
opened pull request \#11, which \texttt{vsun1} approved and merged, closing
|
|
issue \#10. Unresolved: none for this change.
|
|
|
|
\section{Assignment 5 Preparation --- Local Runner}
|
|
Date: October 7, 2026; Tool: OpenAI Codex; Task: explain the Chapter 3
|
|
Gitea Actions assignment, test compiler feasibility, and prepare a local
|
|
runner with screenshot reminders. Inputs: instructor manual version 1.18,
|
|
the student's choice of a local runner, existing Docker images, and official
|
|
Gitea runner documentation. Output used: the compiler test under
|
|
\texttt{latex-docker/manual-build-test/} and token-free runner configuration
|
|
and PowerShell helper under \texttt{gitea/local-runner/}. The compiler test
|
|
generated the full report with a measured 84.67\,MiB container memory peak;
|
|
this excludes runner and Actions runtime overhead. The official runner image
|
|
was downloaded, pinned by digest, and verified as version 2.3.0. Local
|
|
Compose and HTTPS checks passed; the daemon correctly refused to start
|
|
without registration. Human review and corrections: the student requested
|
|
step-by-step guidance and reminders to capture evidence. Unresolved work:
|
|
the student must privately register the runner and demonstrate online status;
|
|
the final Actions compiler image, workflow, traceable artifacts, failure/repair
|
|
exercise, and Automated Manual Build chapter remain pending. No registration
|
|
token was supplied to the agent, and no runner or droplet service was started.
|
|
|
|
Registration correction: the student saved \texttt{gitea-runner-check.png}
|
|
and supplied a sanitized screenshot of a rejected registration. Inspection
|
|
of the official runner 2.3.0 source showed that token-file bytes are not
|
|
trimmed. A local fake HTTP endpoint demonstrated that PowerShell's pipeline
|
|
added a line ending; the corrected stdin wrapper sent the exact fake token
|
|
without CR/LF. The helper now normalizes token input and takes labels only
|
|
from its configuration. These tests used a fake token and no published port;
|
|
they did not register a real runner. Successful registration and online
|
|
status remain pending the student's private retry.
|
|
|
|
\section{Assignment 5 Compiler and Workflow}
|
|
Date: October 7, 2026; Tool: OpenAI Codex; Task: prepare the main automated
|
|
manual build after the student registered the local runner. Inputs: the
|
|
student's saved runner screenshots, manual version 1.18, existing manual
|
|
sources, and official runner and Actions documentation. Output used: the
|
|
\texttt{ci/manual/} compiler Dockerfile, build script and instructions;
|
|
the push workflow under \texttt{.gitea/workflows/}; optional CI title-page
|
|
version metadata; and a separate preparation checkout of the existing Gitea
|
|
product repository. The student privately registered the runner; its daemon
|
|
declared version 2.3.0 and label \texttt{latex-local} successfully. No
|
|
registration credential was read by the agent.
|
|
|
|
The new compiler image includes Node.js 22.23.3, Git 2.39.5, TeX Live
|
|
2022/Debian, and latexmk 4.79; its tested image ID and resolved packages are
|
|
recorded with the build configuration. The complete document compiled in a
|
|
local container with a 512\,MiB memory limit, one CPU, and no network.
|
|
A local intentional LaTeX error returned failure and removed the prior PDF
|
|
deliverable and checksum; repair compiled successfully. A mismatched
|
|
triggering SHA was rejected, and runner 2.3.0 parsed the workflow. These are
|
|
local checks, not evidence of a Gitea Actions run. Failed preparation attempts
|
|
included an underscore in a generalized filename and minted's inability to
|
|
find temporary files when using a separate output directory; the export was
|
|
restored to the original sources and compilation now uses a disposable working
|
|
copy under the build directory.
|
|
|
|
Human review and corrections: the student first chose a sanitized public
|
|
copy, then withdrew sanitization and will discuss Gitea repository visibility
|
|
with the partner. The prepared document sources and screenshot bytes now
|
|
match their originals. Manual versions 1.12 and 1.18 contain no explicit
|
|
private-Gitea-repository directive, although their common rules say to retain
|
|
LaTeX source within the team; the explicit private policy came from the local
|
|
README. No commit or push was performed. Unresolved work: group visibility
|
|
decision, authorized publication, real checkout and artifact compatibility,
|
|
two traceable source-change runs, the Gitea failure/repair exercise, and the
|
|
Automated Manual Build chapter with current Hosts/Passwords records.
|
|
|
|
Verification correction: the Windows build initially generated glossary and
|
|
index entries before the document layout settled, leaving stale page numbers.
|
|
The local build helper now regenerates those entries after the cross-reference
|
|
passes and runs two final PDF passes. The full CI build uses latexmk's dependency
|
|
rules for the corresponding regeneration.
|
|
|
|
Transfer follow-up: the student cloned the Gitea product repository into the
|
|
Windows Documents Projects folder and requested transfer of the prepared work.
|
|
The agent verified a clean checkout at the same base commit, created
|
|
\texttt{codex/assignment5-manual-build}, and copied 70 prepared files with
|
|
matching hashes. Existing deployment files were preserved. The registered
|
|
runner now mounts configuration from the permanent Gitea clone and declared
|
|
successfully again; its registration volume and compiler image were reused.
|
|
The older preparation checkout is retained until the work is safely committed.
|
|
No commit, push, or real Actions run was performed during this transfer.
|
|
|
|
\section{Assignment 5 Title and First Run}
|
|
Date: October 7, 2026; Tool: OpenAI Codex; Task: correct the assignment title
|
|
following the first successful Gitea build. Inputs: the student's title
|
|
``LaTeX Auto-Compilation with Gitea -- Group (2)'', the explanation that
|
|
``(2)'' identifies a corrected group-assignment listing, the saved workflow
|
|
screenshot, and downloaded run-1 artifacts. Output used: Assignment 5 title
|
|
without the duplicate-listing suffix, document version 3.2, current document
|
|
date, and this history record. The document remains a draft while the new
|
|
assignment chapter and remaining verification exercises are pending.
|
|
|
|
The student committed and pushed \texttt{828f6c5}, referencing issue \#12;
|
|
Gitea run 1 completed checkout, compilation, PDF upload, and diagnostics
|
|
upload successfully. The agent verified that the downloaded PDF matches
|
|
both its artifact ZIP and recorded SHA-256, and that its title reads
|
|
\texttt{Version 3.1+build.1.828f6c5}. That first PDF still displays the
|
|
Assignment 4 title and is retained unchanged as initial-run evidence.
|
|
Human review and corrections: the student asked to capture the initial PDF
|
|
before correcting the title and supplied the exact Assignment 5 name.
|
|
The next source-change run, controlled failure/repair, final assignment
|
|
chapter, and final workflow-generated submission remain pending. No commit
|
|
or push of this title correction was performed by the agent.
|
|
Evidence follow-up: the student saved
|
|
\texttt{gitea-runner-pdf-first-run.png} and asked to include it. Codex added
|
|
that original screenshot and \texttt{gitea-actions-workflow-verification.png}
|
|
to the draft Automated Manual Build chapter, organized under the eight
|
|
rubric sections. The chapter records verified runner configuration, run-1
|
|
metadata and artifact checks, and pending second-run, controlled workflow
|
|
failure/repair, runner Hosts/Passwords records, and final submission work.
|
|
Historical evidence was preserved; no commit or push was performed.
|