Document verified manual builds, controlled failure and repair
Assignment 5 manual PDF / manual (push) Successful in 48s

This commit is contained in:
Codex (authorized Assignment 5 implementation)
2026-10-07 01:33:23 +00:00
parent 2b8be117c7
commit db2a8be2ec
8 changed files with 132 additions and 53 deletions
+20 -25
View File
@@ -1,8 +1,12 @@
# Assignment 5 manual build infrastructure
Status on October 6, 2026: infrastructure preparation; the authoritative manual
has not been transferred. No manual PDF build or failure/repair exercise is
claimed. Assignment metadata must remain 1.7.1, October 6, 2026.
Status on October 6, 2026 (America/New_York): source transfer resolved. The
complete manual now resides in documentation/. Push-triggered manual runs 3
and 4 passed; controlled LaTeX failure run 5 published no PDF; repaired run 6
passed. All three successful artifacts were downloaded and checksum-verified.
See manual-build-evidence.json and documentation/devopsAutomatedManualBuild.tex.
Assignment metadata remains 1.7.1, October 6, 2026. Final PDF publication uses
its generated Build Identity; final download verification is retained separately.
## Deployment
@@ -36,8 +40,7 @@ workflow changes remains a procedural control, not an enforced approval gate.
Dockerfile pins Debian by digest and packages by the October 1, 2026 Debian
snapshot. It supplies TeX Live 2022, latexmk, minted/Pygments, Latin Modern,
recommended fonts, BibTeX, index/glossary tools, Node and pypdf. Full source
compatibility remains unverified until the real manual is available.
recommended fonts, BibTeX, index/glossary tools, Node and pypdf. Full source compatibility was verified by precompilation and successful Actions runs.
runner-preflight.yml is an isolated infrastructure test on branch
manual-runner-preflight. It is not one of the required manual source builds.
@@ -47,22 +50,17 @@ retention; the eventual PDF workflow must also record its actual retention.
Checkout is pinned to v4.2.2 commit 11bd71901bbe5b1630ceea73d27597364c9af683.
Upload is pinned to v3.2.2 commit c6a366c94c3e0affe28c06c8df20a878f24da3cf.
## Source transfer and remaining work
## Source and build
Transfer the actual C:\Users\gowri\SSW590\assignment5\documentation directory,
including main.tex, all chapters, cornell.cls, bibliography/style files,
ci/build_manual.py, hw4_images and other referenced assets, plus the instruction
PDF dosManual-V1.18.pdf. Preserve the archive as an input and inspect it before
extracting. Exclude credentials and stale build/cache outputs from commits.
Use existing authenticated SSH/SFTP/SCP to stage the source archive under
/home/codex/myfileagent-gitea/incoming; do not open a public upload port.
Then verify dependencies, add the push-triggered manual workflow, generate
uncommitted visible version/commit/run metadata, and require a nonempty PDF.
Perform two successful source-change builds, the controlled error and repair
on manual-build-validation, update all eight chapter sections and history,
prompt log, Hosts/Passwords (explicit changed/unchanged), glossary and index.
Download and visually inspect the final successful Actions PDF artifact.
The user supplied Assignment5-source-prepared.zip, SHA-256
ad93f9f2e71bc66a2b882b57510cbb7f51827637047073d6a6f78c0170e6205e.
The original archive and instruction PDF remain outside the public repository.
All actual manual dependencies, including twelve hw4_images files, are versioned.
The active workflow is .gitea/workflows/manual-pdf.yml, triggered by pushes to
main and manual-build-validation. Its helper runs from documentation/ci and
creates uncommitted build metadata in a fresh temporary workspace. Compiler
errors, missing/empty PDFs and failed identity/reference checks stop publication.
The requested artifact retention is 14 days. No generated PDF is auto-committed.
## Ownership, cost, cleanup and recovery
@@ -108,14 +106,11 @@ The pinned upload-artifact v3.2.2 action works with this server. Its legacy
artifact is downloadable from the run URL but absent from the newer REST
artifact listing. Use the run's named download link for this protocol. Retention
is requested as 14 days; expiry enforcement has not yet been observed.
The pending manual workflow is in manual-pdf.yml.example, not activated.
The active manual workflow is .gitea/workflows/manual-pdf.yml; manual-pdf.yml.example is the original preparation template.
The first preflight hit the runner's 96 MiB cap during action download. Its
orphaned container was stopped; the cap is now 192 MiB with GOMEMLIMIT=128MiB.
Run 2 then passed without another runner restart. This infrastructure repair
is NOT the required controlled LaTeX error and repair exercise.
No original manual chapter, history, glossary, Hosts or Passwords table was
modified on this host because its authoritative source is still missing.
Once transferred, incorporate these verified facts into the single complete
devopsAutomatedManualBuild.tex and preserve prior history.
The original manual is now imported. Its complete automated-build chapter, history, prompt log, introduction, references and Hosts/Passwords hints have been updated while preserving earlier evidence. The glossary and index link the build concepts; the final artifact requires visual review after download.
+4 -3
View File
@@ -12,8 +12,8 @@
"job_memory_mib": 256,
"runner_image": "gitea/act_runner@sha256:b5c35d6bdbb9bb25e531230bfc7cc663cb751406cbec90a2a891b85fea54de86",
"compiler_image_id": "sha256:579106aaffa81dc2436a72a5dbfc51d3590f1a97646321fd38c694aae6d7cba1",
"source_transfer": "pending; incoming directory empty",
"manual_builds_verified": 0,
"source_transfer": "resolved: user-provided archive imported into documentation",
"manual_builds_verified": 3,
"preflight_1": {
"commit": "194cce7c657ff1166c4cddb5dd6f47bfa9c97e93",
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/1",
@@ -47,5 +47,6 @@
"color-buttons-app on 8080"
],
"secret_boundary": "runner state and temporary repository write token outside Git, restricted storage; no credential values in evidence",
"hosts_passwords_manual_tables": "unchanged remotely; authoritative manual unavailable"
"hosts_passwords_manual_tables": "updated with runner and protected credential-storage hints",
"manual_evidence": "manual-build-evidence.json"
}
@@ -0,0 +1,60 @@
{
"observed_date": "2026-10-06 America/New_York",
"source_archive_sha256": "ad93f9f2e71bc66a2b882b57510cbb7f51827637047073d6a6f78c0170e6205e",
"successful_builds": [
{
"commit": "c74087a93bf53b44a75a25c3658fc178ff253225",
"run_number": "3",
"run_id": "3",
"attempt": "1",
"suffix": "+build.3.c74087a.attempt.1",
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3",
"document_version": "1.7.1",
"pdf_sha256": "ab99995751da7a67684d97e32344cfc8d7f3d0c6c26055bbd0670b3dc030d337",
"pages": 72,
"artifact_name": "assignment5-1.7.1-run-3-c74087a93bf53b44a75a25c3658fc178ff253225",
"artifact_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/3/artifacts/assignment5-1.7.1-run-3-c74087a93bf53b44a75a25c3658fc178ff253225",
"artifact_zip_sha256": "f4ebf6cf6e9278715dd8347a6e38a9034e62256ea5e619887109a6bddece6b2d",
"result": "success"
},
{
"commit": "2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a",
"run_number": "4",
"run_id": "4",
"attempt": "1",
"suffix": "+build.4.2b8be11.attempt.1",
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4",
"document_version": "1.7.1",
"pdf_sha256": "ba87740958bada14f31d2236638c9b175d8b24797f715252cdb0f0af6668be06",
"pages": 72,
"artifact_name": "assignment5-1.7.1-run-4-2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a",
"artifact_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/4/artifacts/assignment5-1.7.1-run-4-2b8be117c7c9b2a074cc7fbfcf152e34d0e65b2a",
"artifact_zip_sha256": "87d3ed75e74caf0eaf823a8b3dd7355fd090e7a13b28ae75ba82020ff2045bbc",
"result": "success"
},
{
"commit": "a4737f1a4eed5e1b786038bb917ca1ab9f1ed856",
"run_number": "6",
"run_id": "6",
"attempt": "1",
"suffix": "+build.6.a4737f1.attempt.1",
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/6",
"document_version": "1.7.1",
"pdf_sha256": "7591b1cd87f319dfc77eaa4ca9fd9727d1e7b97253a05d9a93e8624296bc736e",
"pages": 72,
"artifact_name": "assignment5-1.7.1-run-6-a4737f1a4eed5e1b786038bb917ca1ab9f1ed856",
"artifact_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/6/artifacts/assignment5-1.7.1-run-6-a4737f1a4eed5e1b786038bb917ca1ab9f1ed856",
"artifact_zip_sha256": "e7de44f82686fdb57b8c57480f4b0079dca1b27751a08b15b980adaaa10473d8",
"result": "success"
}
],
"controlled_failure": {
"run": 5,
"commit": "f0e7b74ee63b40811334ee9cd4aecf035f1b0864",
"run_url": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/5",
"error": "Undefined control sequence: AssignmentFiveControlledFailure",
"latexmk_exit": 12,
"artifact_download_status": 404
},
"final_publication": "Current PDF build identity and matching Actions artifact identify the final source; external verification follows download."
}