Files
myfileagent-pipeline/documentation/devopsAIPromptLog.tex
T
jenkins-ci 3cf24224f5
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/pr-main This commit looks good
Document secure delivery evidence and production monitoring
2026-11-08 11:13:54 -05:00

52 lines
10 KiB
TeX

\chapter{AI Prompt Log}
\ChapterLabel{AIPromptLog}
\markboth{AI Prompt Log}{AI Prompt Log}
\fancyhead[C]{\small AI Prompt Log}
\index{AI prompt log}
\section{Recorded Assistance}
\footnotesize
\begin{longtable}{L{2.8cm}L{5.0cm}L{7.0cm}}
\caption{AI assistance record}\label{Table:AIPromptLog}\\
\toprule
\textbf{Date / Version / Initials} & \textbf{Task} & \textbf{Human Review and Use} \\
\midrule
\endfirsthead
\toprule
\textbf{Date / Version / Initials} & \textbf{Task} & \textbf{Human Review and Use} \\
\midrule
\endhead
\bottomrule
\endlastfoot
\parbox[t]{2.7cm}{\raggedright November 8, 2026\\ 2.0.0\\ GDL, NK, CDX} & Continue Assignment 8 from the recorded handoff and document verified delivery and recovery. & Codex assisted with source and CI checks, release and recovery orchestration, monitoring and manual drafting. Gowri independently approved production promotions and rollback. Staging recovery was delayed overnight by a session interruption; the late production probe cannot prove historical availability. Team review and final PDF verification remain pending. \\
\parbox[t]{2.7cm}{\raggedright October 28, 2026\\ 1.9.2\\ GDL, NK, CDX} & Write the full SRE chapter through the Gitea-backed Droplet checkout; retain the team's screenshot choices, add Grafana host/vault hints, apply final editorial/layout corrections and compile through Gitea Actions. & Codex authored from recorded deployment, probes, alert tests, incident samples and persistence evidence; created source diagrams without changing original screenshots; recorded PR 14's human approval/merge and post-merge CI. The team supplied outside-Droplet port results and incognito/dashboard images, skipped the extra external HTTPS capture, and specified \texttt{bitwarden-grafana}. The team approved documentation PR 15 and Actions run 16 compiled the manual; version 1.9.2 applies the requested final wording and wrapping corrections. Next-day recovery-build timing remains accurately identified. \\
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ 1.9.1\\ GDL, NK, CDX} & Write only the SLI/SLO material into the manual source. & The user authorized this narrow source update. Codex used the recorded live baseline (20/20 successful probes for each service) and kept it separate from the instructor's hypothetical example. The draft explicitly leaves controlled-outage and full-day conclusions unclaimed. \\
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ 1.9.0\\ GDL, NK, CDX} & Clarify retired public ports and historical branch-protection wording on the Droplet. & AI reviewed the operational checkout and newer Assignment 6 publication source, marked earlier 5050/8080 public endpoints closed while preserving historical commands/evidence, and distinguished private Jenkins 8080. The earlier no-protection observation now points to the later enforced gate. \\
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.2\\ GDL, NK, CDX} & Configure Jenkins through its web interface: accounts, repository discovery, credentials, multibranch builds, required checks, peer review and plugin operations. & The team entered administrator and integration passwords/tokens privately. Codex assisted with Gitea discovery scope, the dedicated repository identity, job discovery and the Python checkout/syntax/test pipeline. It correlated issue 10 and PR 11 with automatic runs, made the isolated arithmetic defect and repair, and verified commit-specific failure and success. It corrected the required PR check context and configured branch protection. NK independently approved the final change; GDL performed the normal merge. The merged main commit passed Jenkins. The team selected Matrix-based security, supplied its permissions view and confirmed administrative access after saving. Codex explained the permission settings, checked plugin-update information and retained the controller-build warning. The CI token inventory showed one current entry; token values were neither read nor recorded. Post-save anonymous access and self-registration were not independently confirmed. \\
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.1\\ GDL, NK, CDX} & Configure DNS, HTTPS, reverse-proxy routing, private webhook delivery and network exposure; verify firewall attachment and IPv4-only operation. & Codex assisted with the CI A record, Caddy site and loopback-only Jenkins mapping. It diagnosed the failed tunnel's Docker-name resolution and used the host loopback endpoint instead. HTTPS verification recorded the certificate, login response, redirect and anonymous API denial. The private Gitea webhook used an exact-host destination allowance; Caddy blocked its public receiver. The installed handler did not validate HMAC, so no shared-secret authentication was claimed. A successful delivery was matched to its Jenkins run. The team chose public browser access and later removed retired 5050/8080 firewall allowances. It supplied the named firewall rules, attached Droplet view, external TCP results, disabled-IPv6 view, DNS AAAA result and UFW-inactive output. These human-performed checks retain that attribution; earlier TCP tests are not relabeled as post-cleanup tests. Instructor approval for the public-browser exception was not supplied. \\
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.0\\ GDL, NK, CDX} & Deploy official Jenkins LTS, preserve its home directory, record the toolchain and verify jobs survive restart on the existing Droplet. & The team selected the existing 1 GB host and the permitted Python application. Codex recorded capacity, deployed the official Jenkins image with a pinned digest and non-secret Compose configuration, and bounded its resource use. When the initial start stalled, it stopped only Jenkins, checked Gitea health and retried successfully; it did not assert an unproven cause for the startup exception. Plugin versions and the persistent home volume were recorded. Controller builds were selected for trusted source without a Docker socket; Python installation and replacement-container recovery were made reproducible. For the authorized restart, Codex saved file sizes and hashes, restarted the service without deleting its volume, and confirmed all 13 configuration/build records were unchanged. The saved main job passed afterward. The team reviewed the observed results. No Jenkins backup/restore test, new paid cloud host or capacity upgrade was performed. \\
\parbox[t]{2.7cm}{\raggedright October 6--7, 2026\\ 1.7.1\\ GDL, CDX, NK} & Implement approved Chapter 3; update the manual, verify Actions artifacts, and apply the requested concise history/log and rubric review. & The user approved remote implementation, supplied the original source/images, and selected version 1.7.1. AI configured the runner/toolchain, corrected its memory limit, executed builds 3--4 and failure/repair 5--6, and verified downloaded PDFs by identity, checksum, links and rendered pages. The team reviews the final Actions PDF before submission. \\
\parbox[t]{2.7cm}{\raggedright September 29, 2026\\ 1.6.1\\ NK, GDL, CDX} & Complete and review the public-domain, HTTPS, evidence, recovery, and reference material for Assignment 4. & The team supplied the domain and renewal facts, verified DNS, HTTPS, certificate automation and external ports, and approved the backup/restore exercise. AI assisted with diagnostics, isolated recovery evidence, requirement auditing, live links, security explanations, concise credential and reference updates, figure-flow improvements, compilation, and visual review. \\
\parbox[t]{2.7cm}{\raggedright September 26, 2026\\ 1.6.0\\ NK, GDL, CDX} & Implement and document the MyFileAgent Gitea startup foundation while preserving the earlier grading services. & The team selected the accounts, approved changes, completed the repository workflow, ran verification commands, and supplied evidence. With permission, AI assisted with pinned Gitea/SQLite, persistent volumes, key-only SSH, and the Cloud Firewall while preserving ports 5050 and 8080 at that historical stage (both are now closed publicly) and documenting the instructor-cleared SSH exception. \\
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.1\\ NK, GDL, CDX} & Develop and integrate Chapter 8, the Project Proposal, for the MyFileAgent one-click DevSecOps pipeline. & The team supplied the project direction and selected tools. AI assisted with organizing the proposal, defining a limited demonstration task, and presenting the planned installation, build, configuration, testing, deployment, security, and Grafana monitoring workflow. The team reviews and approves the final proposal. \\
\parbox[t]{2.7cm}{\raggedright September 18, 2026\\ 1.5.0\\ NK, GDL, CDX} & Document the DigitalOcean Droplet and Docker installation, website deployment, class-based JavaScript button design and UML diagram in Chapter 6, and the TeX Live Docker build, run, and verification workflow in Chapter 7. & The team supplied the requirements, deployment evidence, commands, and project files. AI assisted with LaTeX organization, code presentation, UML preparation, compilation, and layout review. The team reviews the material and verifies all commands and live deployment results. \\ \pagebreak
\parbox[t]{2.7cm}{\raggedright September 12, 2026\\ 1.4.1\\ NK, GDL, CDX} & Update Section 3.2 with the human-run command outputs, include Hosts and Passwords, reduce and link the glossary, and verify index links. & AI suggested Linux commands to run and assisted with document organization and LaTeX editing. The team verified the commands before running them, made changes as needed, ran the commands, and gathered the outputs. AI did not execute the commands or produce the recorded terminal outputs. \\
\parbox[t]{2.7cm}{\raggedright September 11, 2026\\ 1.4.0\\ NK, GDL, CDX} & Organize the Assignment 2 LaTeX report, integrate the supplied Linux-command chapter and problem-set chapter, and verify document layout and navigation. & The team supplied the assignment materials and terminal record, reviewed the generated text, and entered each problem set command into the terminal and manually verified the results. \\
\end{longtable}
\normalsize
\section{Evidence Boundary}
AI assistance was used for document organization, LaTeX authoring, code and
diagram presentation, proposal drafting, and layout review. Earlier Linux and website exercise outputs retain their original human-gathered
attribution. Later infrastructure assistance is identified in the dated entries
above. Assignment 5 remote execution is AI-assisted and recorded in the dated entries. The consolidated 1.7.1 entry summarizes the completed work and its user-authorized revisions.
\clearpage
\fancyhead[C]{\small\nouppercase{\leftmark}}