Consolidate 1.7.1 records and clarify Chapter 3 rubric coverage
Assignment 5 manual PDF / manual (push) Successful in 1m0s

This commit is contained in:
Codex (authorized Assignment 5 implementation)
2026-10-07 19:09:56 +00:00
parent d812910ba8
commit 2b82307761
4 changed files with 46 additions and 16 deletions
+20 -7
View File
@@ -27,8 +27,9 @@ and disables persisted checkout credentials. Pushes use Git over HTTPS to
\texttt{myfileagent.tech:443}. Caddy 2.11.4 terminates TLS and forwards to Gitea
1.27.3 on private container port 3000. The host mapping remains
\texttt{127.0.0.1:3000}. No Gitea SSH port, runner submission listener or
compiler port was published. The existing grading apps on 5050/8080 and the
instructor-approved key-only SSH exception were preserved.
compiler port was published. The runner needs no public submission port because
source pushes terminate at Gitea, while the runner initiates outbound HTTPS
requests to Gitea to poll for and receive jobs.
\begin{figure}[htbp]
\centering
@@ -60,8 +61,12 @@ Runner ID 1, \texttt{assignment5-manual}, is registered only to
\path{sha256:b5c35d6bdbb9bb25e531230bfc7cc663cb751406cbec90a2a891b85fea54de86}.
The live files are under \path{/home/codex/myfileagent-gitea/runner};
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/manual-build}{versioned non-secret configuration}
records the deployment. The \texttt{manual-latex} label uses
\texttt{docker://} execution with the exact local compiler image ID below.
records the deployment. \textbf{Execution mode: Docker container execution
(\texttt{docker://}).} Each job runs in a temporary TeX container created by
the host Docker daemon, rather than directly in the runner environment.
The workflow's \texttt{runs-on: manual-latex} selects the runner label, which
maps to the exact local compiler image ID recorded below. The runner polls
Gitea over outbound HTTPS, and the job uses HTTPS for checkout and upload.
Capacity is one job. The runner has a 192 MiB hard memory limit and 128 MiB Go
memory target; jobs have a 256 MiB limit, no swap, 0.65 CPU and a 256-process
limit. The initial 96 MiB runner limit caused an out-of-memory restart while
@@ -108,7 +113,9 @@ references/citations or duplicate labels. Only success copies
\path{documentation/build/main.pdf} and \path{build-manifest.json} for upload.
The original manual was precompiled in a separate temporary container before
relying on Actions. The successful Actions records below are the authoritative
publication evidence. See the retained job logs and the
publication evidence. The \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/9}{successful run 9}
provides its compile-step log; the \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/9/jobs/9}{successful job log}
records checkout, latexmk passes, PDF validation and upload. See also the
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/documentation/ci/build_manual.py}{build helper}.
\section{PDF version traceability}
@@ -133,6 +140,7 @@ artifact, download its ZIP and extract \texttt{main.pdf}. Retention is
explicitly requested as 14 days, rather than relying on the server default;
expiration enforcement has not yet been observed. Keep the submitted PDF
outside this temporary retention window~\cite{GiteaActionsConfigManual}.
Artifacts are temporary build outputs, not permanent backups.
Checkout v4.2.2 is pinned to
\path{11bd71901bbe5b1630ceea73d27597364c9af683}; upload-artifact v3.2.2 to
@@ -161,7 +169,7 @@ Visible version: \path{1.7.1+build.4.2b8be11.attempt.1}; 72 pages. The \href{htt
\paragraph{Controlled failure.}
\EvidenceID{MAN-FAIL-01}: Expected: an invalid LaTeX command fails compilation and publishes no PDF. Actual: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/5}{run 5 failed} for commit \path{f0e7b74ee63b40811334ee9cd4aecf035f1b0864}, on \texttt{manual-build-validation}. The deliberate \texttt{\string\AssignmentFiveControlledFailure} command caused ``Undefined control sequence at chapter line 4; latexmk returned 12. The workflow skipped PDF upload and the expected named artifact returned HTTP 404. Main and the deployed services remained operational.
\EvidenceID{MAN-FAIL-01}: Expected: an invalid LaTeX command fails compilation and publishes no PDF. Actual: \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/5}{run 5 failed} for commit \path{f0e7b74ee63b40811334ee9cd4aecf035f1b0864}, on \texttt{manual-build-validation}. The deliberate \texttt{\string\AssignmentFiveControlledFailure} command caused ``Undefined control sequence'' at chapter line 4; latexmk returned 12. The workflow skipped PDF upload and the expected named artifact returned HTTP 404. Main and the deployed services remained operational.
\paragraph{Repair.}
@@ -184,7 +192,12 @@ The runner controls the host Docker socket and therefore has powerful host
access; containers are not a security boundary against a malicious trusted
workflow author or Docker administrator. Jobs receive no socket or runner-state
mount; \texttt{valid\_volumes: []}, \texttt{docker\_host: '-'}, nonprivileged
execution and the separate bridge reduce accidental exposure.
execution and the separate bridge reduce accidental exposure. These controls
are recorded in the non-secret
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/manual-build/runner-config.yaml}{runner configuration}
and \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/ops/manual-build/runner-compose.yaml}{runner Compose file};
the \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/branch/main/.gitea/workflows/manual-pdf.yml}{workflow}
records trusted push triggers and checkout permissions.
Registration state is stored outside Git in a mode-700 directory, with its
\texttt{.runner} file mode 600. Registration tokens were passed without logging