Prepare Assignment 8 secure delivery and rollback
Add the locked pricing service, trusted-agent pipeline, Ansible deployments, security gates, recovery runbooks, prerequisite evidence, and preparation manual. Prepared with Codex assistance. Vincent explicitly authorized this local commit and will handle the push. Assessed releases and recovery exercises remain pending.
This commit is contained in:
@@ -779,3 +779,58 @@ changed. The missed pre-deployment build observation remains a limitation;
|
||||
later results do not recreate it. Commits, pushes, peer approval, and submission
|
||||
remain with the group. This local revision is not described as an Actions
|
||||
artifact or as already approved in Gitea.
|
||||
|
||||
\section{Assignment 8 Secure Delivery Preparation and Agent Setup}
|
||||
Date: November 14, 2026; Tool: OpenAI Codex; Human: Vincent Sun.
|
||||
Inputs: Vincent's request to implement the next assignment today, instructor
|
||||
manual 1.43 Chapter 6 and Examples.zip, the Canvas assignment page, repository
|
||||
AI requirements/guide, earlier configuration, and live read-only service checks.
|
||||
Vincent retained commits/pushes and reported Billy unavailable until tonight.
|
||||
Codex read the assignment, preserved prior work, verified remote main
|
||||
\texttt{8beefde}, and created \texttt{codex/assignment8-secure-delivery}.
|
||||
It adapted the instructor's v1 and Ansible starters, locked dependencies and
|
||||
tool images, prepared a dedicated delivery pipeline, scan policy, immutable
|
||||
release validation, idempotence gate, failure modes, observer and runbooks.
|
||||
The original instructor authorship remains identified.
|
||||
|
||||
Human/AI corrections and execution: Vincent supplied his encrypted-key SSH
|
||||
command and enabled Windows ssh-agent, initially also unloading the key; Codex
|
||||
explained reloading it and keeping passphrases out of chat. Browser-console
|
||||
and network limitations were distinguished from successful access. Vincent
|
||||
resized The-Ocean to 2\,GiB while retaining disk size and applied host updates;
|
||||
Codex verified resource and existing-service status. With authorization to
|
||||
continue setup, Codex backed up Jenkins/Gitea, configured the restricted deploy
|
||||
key and root sudo, separate package-scoped tokens under vsun1, folder-scoped
|
||||
Jenkins credentials, exclusive laptop agent and disabled release job. Secret
|
||||
values were transferred only through protected runtime storage and were not
|
||||
printed or placed in Git. Agent prerequisite build 1 passed with real credential
|
||||
binding, strict SSH host-key checking and noninteractive sudo.
|
||||
|
||||
Checks/corrections: local v1 tests passed; a generated wrong-price test failed
|
||||
as intended; the scanner-supported synthetic fixture blocked delivery; the
|
||||
dependency audit and final runtime-image gate passed their configured policies.
|
||||
Earlier Debian and installer-containing Alpine scans failed and were retained;
|
||||
Codex selected the Alpine runtime and removed unused pip/ensurepip without
|
||||
adding scanner exceptions. The installed Jenkins parser rejected the initial
|
||||
timestamps option because its plugin is absent; Codex removed that option and
|
||||
retained explicit UTC evidence. Browser editor insertion briefly concatenated
|
||||
two validation snippets; the editor was cleared and the read-only validation
|
||||
repeated successfully. The host setup script compiled against installed plugin
|
||||
classes before application. Ansible syntax and agent Compose checks passed.
|
||||
|
||||
Outputs used: \ChapterRef{SecureDelivery}, version 6.0 preparation, the adapted
|
||||
application/toolchain, pipeline and control tests, bootstrap, runbooks, issue
|
||||
draft, planned proxy and production-monitoring additions, actual prerequisite
|
||||
inventory, Hosts/Passwords hints, history and this record. Existing Billy/Claude
|
||||
records are unchanged. Source/configuration release SHAs and registry digests
|
||||
have not been invented. The local preflight image explicitly identifies itself
|
||||
as uncommitted preparation, not a reviewed release.
|
||||
|
||||
Unresolved items: application DNS requires the domain owner's access; distinct
|
||||
names are explicitly required, so path-only routing was rejected as a substitute.
|
||||
Vincent/Billy must create the issue, commit/push and review/merge v1 and later
|
||||
changes. Real Jenkins blocked-gate runs, v1/v2 publication, interactive production
|
||||
approvals, idempotence, both recovery exercises, timing/monitoring correlation
|
||||
and final submission review remain pending. Proxy/monitoring additions are not
|
||||
deployed before DNS and healthy production. No commit, push, peer review,
|
||||
production approval or submission was performed by Codex.
|
||||
|
||||
Reference in New Issue
Block a user