Files
Scrap-Web/manual/devopsAIPromptLog.tex
T
samahk13 5c0ed9fbcd
Scrap-Web/pipeline/pr-main This commit looks good
Scrap-Web/pipeline/head This commit looks good
Update manual to v1.6 and merge SRE chapter into one file
2026-11-13 14:09:15 -05:00

117 lines
6.8 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{Log Entries}
\begin{itemize}
\item \textbf{Project selection.} Date: September 24, 2026. Tool and
model: Claude, model claude-sonnet-5. Task: choose a semester project
satisfying the "master a DevOps technology" option. Inputs: assignment
prompt, rubric, team constraints. Output used: recommendation to master
GitHub Actions, compared against GitLab CI/CD to satisfy the
two-comparable-tools rubric criterion. Human review and corrections:
team selected the direction. Unresolved assumptions: none.
\item \textbf{Project scoping.} Date: September 24, 2026. Tool and model:
Claude, model claude-sonnet-5. Task: apply the DevOps project to the
team's Senior Design project (Scrap) without altering Scrap itself, and
draft the Project Proposal chapter. Inputs: Scrap's Milestone 1 report
and development plan; Project Proposal instructions and rubric. Output
used: recommendation to target Scrap's decoupled companion website only;
full Project Proposal chapter. Human review and corrections: team
confirmed the scoping and confirmed DigitalOcean as the deployment
environment after free alternatives (Google Cloud Run, Oracle Cloud) were
researched and compared. Unresolved assumptions: course team membership
(two-person vs.\ Scrap's three-person team) not explicitly confirmed.
\item \textbf{LaTeX Docker chapter.} Date: September 24, 2026. Tool and
model: Claude, model claude-sonnet-5. Task: build and document a Docker
container that compiles a LaTeX document with TeX Live, using
\texttt{minted}. Inputs: assignment instructions for this chapter.
Output used: \texttt{Dockerfile}, sample \texttt{hello.tex}, and chapter
text. Human review and corrections: LaTeX/Dockerfile logic verified by
direct \texttt{pdflatex} compilation (no Docker available in the
assistant's sandbox); the student ran the actual container and reported
a bug (an empty mounted folder hid the built-in \texttt{hello.tex}),
which was diagnosed and fixed by mounting the project directory instead.
Unresolved assumptions: none.
\item \textbf{Document History update.} Date: September 24, 2026. Tool
and model: Claude, model claude-sonnet-5. Task: update the Document
History table to reflect this assignment's completed chapters. Inputs:
assignment instructions; chapters completed. Output used: consolidated
Document History entry. Human review and corrections: student requested
a single consolidated version entry rather than one per chapter, and
later supplied the report's authoritative Document History text
directly. Unresolved assumptions: chapter labels for the Digital Ocean
Docker Deployment and class-based JavaScript refactor chapters not
confirmed, as the assistant did not create those two chapters.
\item \textbf{Automated manual build.} Date: October 8--9, 2026. Tool and
model: Claude, model claude-opus-5-5. Task: plan the team work split, create
the reproducible build configuration (\texttt{.latexmkrc}), the Gitea
Actions workflow, the job-image Dockerfile, and draft the Automated Manual
Build chapter. Inputs: assignment instructions; the manual's LaTeX source.
Output used: build configuration, workflow, Dockerfile, chapter text for
sections 1, 3 and 5. Human review and corrections: the build command and
workflow shell steps were tested by compiling the manual in the assistant's
sandbox; the student moved the manual from issue~5 to a dedicated issue~8
branch. Unresolved assumptions: runner label \texttt{latex} and the TL2025
job image are pending the runner registration.
\item \textbf{Continuous integration with Jenkins.} Date: October 18--24,
2026. Tool and model: Claude, model claude-opus-5-5. Task: split the work,
guide the Gitea integration account, branch protection and pull-request
demonstration, write the pricing tests and \texttt{Jenkinsfile}, and draft
and edit the Continuous Integration chapter. Inputs: assignment
instructions; sanitized screenshots, console logs, and commit IDs. Output
used: \texttt{Jenkinsfile}, tests, chapter text, and edits merging both
partners' sections. Human review and corrections: the students ran every
step on the real services and supplied the evidence; the assistant's claims
were checked against the screenshots (for example, the token scopes).
Unresolved assumptions: none.
\item \textbf{SRE monitoring and reliability.} Date: October 25--29, 2026.
Tool and model: Claude, model claude-opus-5-5. Task: split the work, choose
pinned releases, write the monitoring Compose, Prometheus, Blackbox, Grafana
provisioning and dashboard files and the runbook, guide the alert set-up
and incident exercise, and draft sections of the SRE chapter. Inputs:
assignment instructions; baseline and \texttt{docker stats} output;
Prometheus API query output; Grafana and Discord screenshots. Output used:
configuration files, dashboard JSON, runbook, and chapter text. Human review
and corrections: the student deployed and ran everything on the Droplet;
the SMTP failure led to the Discord route; an incorrect alert condition and
summary found during testing were corrected; all timestamps come from the
recorded logs and screenshots. Unresolved assumptions: none.
\item \textbf{SRE chapter completion.} Date: October 30, 2026. Tool and
model: Claude (configured model claude-sonnet-5-5). Task: complete the
\texttt{HostDiskLow} alert subsection and its repeat test; merge the two
exported alert rules into one file; draft the capacity and retention
rationale, the deployment diagram, the SLI, SLO, and SLA definitions and
worked example, the metric inventory, and the access-control text; add the
Hosts and Passwords rows. Inputs: manual Chapter 5; the existing chapter
text and Compose file; Grafana, Discord, and terminal screenshots; the
exported alert-rule YAML. Output used: chapter text, a Graphviz diagram, and
\texttt{alert-rules.yaml}. Human review and corrections: the students ran
every test and supplied all evidence; a Grafana address in an early export
command was wrong and returned an empty file, which was caught from the
output and corrected. Unresolved assumptions: the probe route from Blackbox
Exporter to the public hostnames is inferred from the Compose networks, not
tested.
\end{itemize}