Record verified live pipeline evidence for #24 [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex
2026-11-27 19:27:38 +00:00
parent c735c8c693
commit 0e2df635d1
18 changed files with 654 additions and 59 deletions
+3
View File
@@ -1,3 +1,6 @@
Historical Member 1 handoff as delivered. Current deployed integration and
verified live results are recorded in ci/HANDOFF.txt and ci/evidence/live-integration/.
SSW590 Group 7 — Member 1 handoff (2026-11-26 America/New_York)
Owner: Member 1; branch: feature/final-ai-review
BASE_SHA / demonstrated source_commit: 5373351a7e7ac2bc0f34bae19c25383de3843ca7
+70 -59
View File
@@ -1,65 +1,76 @@
Member 2 technical checkpoint — 2026-11-26
Owner: Gowri (Member 2), implementation assisted by Codex.
SSW590 technical integration checkpoint — 2026-11-27
User: Gowri, Member 2. Report writing remains deferred.
Workspace: /home/codex/ssw590-member2
Branch: feature/final-ci-demo
Base: 5373351a7e7ac2bc0f34bae19c25383de3843ca7
Verified implementation: 0ec7cee5b9923e484e78046ca9adcb848423cd3e
Verified implementation: c735c8c6934c3084944de3077dfba027bf423bef
Member 1 merged head: 1449a8bf68a5013433225f77f5286bf8d6fd9468
Shared base: 5373351a7e7ac2bc0f34bae19c25383de3843ca7
User scope: shared technical prerequisites and Member 2 implementation.
Report prose is deferred. Earlier draft remains on local branch
archive/final-project-documentation-draft. Automated PDF run data is technical
build output, not a completed final-report chapter.
Completed live technical path:
- Merged the real bounded reviewer, fixtures and tests. Adopted the optional
runtime/library/executable checksum hardening, with safe preparation support
for the older compiler Python. Fixed Member 1 smoke-error normalization.
- Issue #24 tracks the actual work. Commit c735c8c references it and changes
demo/demo.py to the controlled missing-parenthesis input. The model preserves
that committed source and writes the repaired output separately.
- Actions #43 SUCCESS: real SmolLM2 model returned corrected, 23 input and 5
output tokens, 3.0561 seconds. SHA, input hash, runtime lock, raw response,
runtime counters and resource measurements are retained with the review.
- Strict 250,000,000-byte requested cap, no swap. Kernel effective cap and
observed whole-job peak: 249,999,360 bytes. memory.events max=433, oom=0,
oom_kill=0. The job reached its cap; this does NOT prove natural peak below
the cap or spare memory. It includes preparation/cache and reviewer work.
- Jenkins final-project-live #1 SUCCESS, 39 tests (19 reviewer/application,
20 pipeline), exact reviewed-file smoke, 170-page PDF, live ZIP 1.0.4.
- Downloaded ZIP, companion SHA256, all four payload hashes, PDF source/model/
token/code identity and independently extracted Python execution passed.
- Jenkins live #2 expected FAILURE: invalid Actions run rejected before build,
metrics or release publication; no ZIP. Live #3 SUCCESS: exact byte-identical
1.0.4 retry, original published identity preserved.
- ZIP SHA256: 2eed54036744e4e0eaeb91f001a15be169a3d13bb28a213c900f097af1f664c5
- Real input/output/duration/memory/timestamp metrics verified in Prometheus.
Grafana resource storage confirms eight loaded panels. Fixed-window raw
series include shared-host CPU/memory, not per-model CPU or RSS.
Implemented and verified:
- Shared CLI/artifact contract: ci/contract.json; canonical broken/fixed fixtures.
- Independent fixture reviewer; Member 1's draft workspace remains intact.
- Gitea Actions exact-SHA review bundle; strict identity, hash and ZIP checks.
- Separate final-project-fixture Jenkins job, existing trusted agent and
gitea-jenkins-ci credential. Original required pricing job unchanged.
- Pinned isolated compiler; ordinary manual mode retained; generated review
source/diff and release identity inserted into final-mode PDF.
- Durable locked Major.Minor.Changelist allocation, immutable releases,
reviewed-code execution gate, hashed ZIP payloads and checksum companion.
- 19 pipeline tests including real TeX failure and stale-output removal,
plus 2 existing application tests: all passed in Jenkins #4.
- Monitoring textfile collector at /home/codex/ssw590-final-metrics, readonly
/textfiles mount; existing CPU/memory collectors preserved. Prometheus
target up, collector success 1, scrape error 0; connectivity probe passed
and was removed. No simulated counts were emitted as live measurements.
- Grafana dashboard uid ssw590-final-project: six panels verified in Grafana
resource storage; input/output count availability are separate series.
Important implementation details:
- Live Actions image is locked by immutable local image ID in ci/live-image.json;
ci/Dockerfile.live-actions builds it from Member 1's compatible pinned Python
base plus Git/Node. It is present on this Droplet. A new runner host needs that
image provisioned or a reviewed rebuild and updated image lock.
- Each Actions run downloads and checksum-verifies its runtime. Model resides
in private tmpfs. The shared runner's allowed-volume policy was not widened.
- Compiler remains the original pinned TeX image; model inference is separate.
- Live job: https://ci.myfileagent.tech/job/final-project-live/
Actions: https://myfileagent.tech/myfileagent/myfileagent-pipeline/actions/runs/43
Issue: https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/24
- Manual Jenkins trigger is supported: use the exact successful Actions run's
full source SHA, run ID, attempt 1 and MODE=live. Current pipeline requires
branch HEAD to match that source; evidence-only follow-up commits also move
HEAD, so use the corresponding successful run after any branch advance.
- Existing 1.0 release line and durable ssw590-final-project-state volume remain.
Prior fixture 1.0.1–1.0.3 and local Member 1 dry runs are distinct evidence.
- Existing protected-main checks, pricing, Zammad and monitoring collectors
remain intact. Temporary Jenkins API token revoked, rejection verified (401),
temporary credential file removed after testing.
Actual remote evidence:
- Actions #38 / source 0e7ade75... -> Jenkins #1 SUCCESS -> fixture 1.0.2.
- Jenkins #2: deliberate Actions/source mismatch rejected before compile,
tests or package; no release ZIP published (expected FAILURE).
- Jenkins #3: exact #1 retry SUCCESS; identical 1.0.2 ZIP SHA256:
64173b7bd460cf4ff392ec0cc051865220a242d12e779f929e63a57606013794.
- Actions #39 / verified implementation above -> Jenkins #4 SUCCESS,
fixture 1.0.3, all 21 tests passed. Downloaded actual archived ZIP and
independently checked every payload hash and fresh execution (hello).
- ci/evidence contains manifests, API results, compressed sanitized console
logs, actual Jenkins #1 host CPU/memory samples and monitoring checks.
- Local deliverable: /home/codex/outputs/member2-technical/ssw590-fixture-1.0.3.zip
- Temporary Jenkins API token revoked; rejection verified (401); secret file
removed. No temporary credential remains available for further API work.
Evidence and deliverables:
- ci/evidence/live-integration/summary.json indexes verified results.
- That directory retains Actions failures 41 (kernel rounding), 42 (runtime
libc incompatibility), success 43, Jenkins logs/results, issue data, real
review bundle, checksum results and Prometheus samples/window.
- Local ZIP and checksum:
/home/codex/outputs/final-project-live/ssw590-live-1.0.4.zip
/home/codex/outputs/final-project-live/ssw590-live-1.0.4.zip.sha256
- Member 1 source evidence and report draft remain under handoff/member1/.
Do not describe their synthetic local run IDs as deployed pipeline runs.
Remaining dependencies / work:
- Member 1 supplies pinned real model/runtime, reviewer CLI, actual reviewed
output, raw model response, token counts and measured memory evidence.
Current workflow and Jenkins job intentionally permit fixture mode only.
- Integrate that reviewed runtime, connect measured live metrics, then run
the real-model end-to-end demo; do not relabel fixture results as AI results.
- Team confirmation of 1.0 release baseline (currently provisional).
- Issue-tracker API returned 403 with the existing repository token; no new
final-project issue or comment was created in this session.
- Author final report, diagrams, SWOT text and history only when user resumes
documentation. Existing report content is not claimed as final rubric work.
Runtime persistence:
Docker volume ssw590-final-project-state holds versions and immutable ZIPs.
Do not delete it. Build containers clean themselves up after each Jenkins run.
Monitoring deployment source lives under
/home/codex/myfileagent-gitea/assignment7-monitoring/monitoring;
tracked matching changes live in this branch. Existing infrastructure services
and Member 1's /home/codex/ssw590-final-project edits were preserved.
Remaining user-facing project work:
- Final report/chapter, diagrams, SWOT integration, update history and final
presentation/demo preparation: deliberately deferred by user.
- Capture presentation screenshots from the actual Grafana/Jenkins UI. Raw
measurements and verified provisioned panels are saved; no screenshots have
been fabricated or claimed. Dashboard was opened on the actual run window.
- Issue completion comment is prepared in outputs/final-project-live/ and the
user was asked to post it because the repository API token lacks issue-write
permission. Check the public issue comments before assuming it was posted.
- Preserve the current release; do not delete the durable state volume.
@@ -0,0 +1,5 @@
{
"token_revoked": true,
"rejection_verified": true,
"temporary_credential_file_removed": true
}
@@ -0,0 +1,2 @@
069bcb417438b4961e3ae5e89b5d4fadcab71b6a2c1b630bd28a919ed3b1c905 review.json
b80792336156c7b0f7fe02eeef24610d2d52a10d1810397744471d1dc5738180 reviewed.py
@@ -0,0 +1 @@
{"attempt": "1", "mode": "live", "run_id": "43", "schema_version": 1, "source_commit": "c735c8c6934c3084944de3077dfba027bf423bef"}
@@ -0,0 +1,47 @@
{
"source_commit": "c735c8c6934c3084944de3077dfba027bf423bef",
"model_id": "HuggingFaceTB/SmolLM2-135M-Instruct",
"status": "corrected",
"summary": "Added the missing closing parenthesis",
"diff": "--- original.py\n+++ reviewed.py\n@@ -1 +1 @@\n-print(\"hello\"\n+print(\"hello\")\n",
"input_tokens": 23,
"output_tokens": 5,
"schema_version": 1,
"mode": "live",
"started_at": "2026-11-27T19:16:55.203351Z",
"finished_at": "2026-11-27T19:16:58.259482Z",
"elapsed_seconds": 3.0561,
"input_sha256": "9e600e31c44a6a8f4bec8948fb5d503a40472ed6632394fdda6f1814165f4909",
"model_revision": "12fd25f77366fa6b3b4b768ec3050bf629380bac",
"raw_response_file": "raw_response.txt",
"runtime_response_file": "runtime_response.json",
"resource_measurement": {
"scope": "job cgroup including preparation, reviewer and private tmpfs model",
"requested_memory_limit_bytes": 250000000,
"memory_limit_bytes": 249999360,
"memory_peak_bytes": 249999360,
"memory_events": {
"low": 0,
"high": 0,
"max": 433,
"oom": 0,
"oom_kill": 0,
"oom_group_kill": 0
},
"swap_limit_bytes": 0,
"reviewer_exit_code": 0
},
"model_lock_sha256": "ea56ca30322e2fd47236d9014dd86eb14e78a98a2e5b71e16b73f62ac8d6304b",
"raw_response": " print(\"hello\")\n\n\n",
"runtime_response": {
"prompt": "Input: print(\"hi\"\nOutput: print(\"hi\")\nInput: print(\"hello\"\nOutput:",
"raw_stdout": " print(\"hello\")\n\n\n",
"prompt_eval_tokens": 23,
"sampler_total_tokens": 28,
"output_tokens_method": "sampler_total_tokens - prompt_eval_tokens",
"runtime_log_counter_lines": [
"0.01.545.667 I common_perf_print: samplers time = 0.36 ms / 28 tokens",
"0.01.545.679 I common_perf_print: prompt eval time = 258.99 ms / 23 tokens ( 11.26 ms per token, 88.81 tokens per second)"
]
}
}
@@ -0,0 +1 @@
print("hello")
@@ -0,0 +1,52 @@
{
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
"artifacts": [
{
"fileName": "actions-run.json",
"relativePath": "out/actions-run.json"
},
{
"fileName": "release.json",
"relativePath": "out/collected/release/release.json"
},
{
"fileName": "ssw590-live-1.0.4.zip",
"relativePath": "out/collected/release/ssw590-live-1.0.4.zip"
},
{
"fileName": "ssw590-live-1.0.4.zip.sha256",
"relativePath": "out/collected/release/ssw590-live-1.0.4.zip.sha256"
},
{
"fileName": "test-result.json",
"relativePath": "out/collected/test-result.json"
},
{
"fileName": "verified.json",
"relativePath": "out/collected/verified/verified.json"
}
],
"building": false,
"duration": 187698,
"number": 1,
"result": "SUCCESS",
"timestamp": 1795807060620,
"manifest": {
"attempt": "1",
"jenkins_build": "1",
"mode": "live",
"payload_sha256": {
"README.txt": "b4c8df55e70139ab1f2c1b7b93c6e62b75de67abdfc37e9adb7187d272bad6b8",
"report-1.0.4.pdf": "7269861686dfb5d592a165e172ca9e3338b81f09e33b122bf4ff8ba459314c07",
"review.json": "069bcb417438b4961e3ae5e89b5d4fadcab71b6a2c1b630bd28a919ed3b1c905",
"reviewed.py": "b80792336156c7b0f7fe02eeef24610d2d52a10d1810397744471d1dc5738180"
},
"run_id": "43",
"schema_version": 1,
"source_commit": "c735c8c6934c3084944de3077dfba027bf423bef",
"version": "1.0.4"
},
"zip_sha256": "2eed54036744e4e0eaeb91f001a15be169a3d13bb28a213c900f097af1f664c5",
"independent_verification": "companion checksum, all payload hashes, exact live review and fresh execution passed",
"download_url": "https://ci.myfileagent.tech/job/final-project-live/1/artifact/out/collected/release/ssw590-live-1.0.4.zip"
}
@@ -0,0 +1,14 @@
{
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
"artifacts": [
{
"fileName": "actions-run.json",
"relativePath": "out/actions-run.json"
}
],
"building": false,
"duration": 25642,
"number": 2,
"result": "FAILURE",
"timestamp": 1795807248575
}
@@ -0,0 +1,36 @@
{
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
"artifacts": [
{
"fileName": "actions-run.json",
"relativePath": "out/actions-run.json"
},
{
"fileName": "release.json",
"relativePath": "out/collected/release/release.json"
},
{
"fileName": "ssw590-live-1.0.4.zip",
"relativePath": "out/collected/release/ssw590-live-1.0.4.zip"
},
{
"fileName": "ssw590-live-1.0.4.zip.sha256",
"relativePath": "out/collected/release/ssw590-live-1.0.4.zip.sha256"
},
{
"fileName": "test-result.json",
"relativePath": "out/collected/test-result.json"
},
{
"fileName": "verified.json",
"relativePath": "out/collected/verified/verified.json"
}
],
"building": false,
"duration": 156705,
"number": 3,
"result": "SUCCESS",
"timestamp": 1795807274328,
"zip_sha256": "2eed54036744e4e0eaeb91f001a15be169a3d13bb28a213c900f097af1f664c5",
"byte_identical_to_live1": true
}
@@ -0,0 +1,298 @@
{
"start_epoch": 1795806835.203351,
"end_epoch": 1795807308.318,
"step_seconds": 30,
"host_scope": "Shared Droplet, not model-only CPU/RSS",
"series": {
"input_tokens": [
{
"metric": {
"__name__": "review_input_tokens",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"values": [
[
1795807135.203,
"23"
],
[
1795807165.203,
"23"
],
[
1795807195.203,
"23"
],
[
1795807225.203,
"23"
],
[
1795807255.203,
"23"
],
[
1795807285.203,
"23"
]
]
}
],
"output_tokens": [
{
"metric": {
"__name__": "review_output_tokens",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"values": [
[
1795807135.203,
"5"
],
[
1795807165.203,
"5"
],
[
1795807195.203,
"5"
],
[
1795807225.203,
"5"
],
[
1795807255.203,
"5"
],
[
1795807285.203,
"5"
]
]
}
],
"review_duration": [
{
"metric": {
"__name__": "review_duration_seconds",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"values": [
[
1795807135.203,
"3.0561"
],
[
1795807165.203,
"3.0561"
],
[
1795807195.203,
"3.0561"
],
[
1795807225.203,
"3.0561"
],
[
1795807255.203,
"3.0561"
],
[
1795807285.203,
"3.0561"
]
]
}
],
"job_memory_peak": [
{
"metric": {
"__name__": "review_job_memory_peak_bytes",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"values": [
[
1795807135.203,
"249999360"
],
[
1795807165.203,
"249999360"
],
[
1795807195.203,
"249999360"
],
[
1795807225.203,
"249999360"
],
[
1795807255.203,
"249999360"
],
[
1795807285.203,
"249999360"
]
]
}
],
"host_cpu_percent": [
{
"metric": {},
"values": [
[
1795806835.203,
"63.311111111090426"
],
[
1795806865.203,
"77.03333333335145"
],
[
1795806895.203,
"90.91111111111887"
],
[
1795806925.203,
"89.1555555555452"
],
[
1795806955.203,
"78.0111111111344"
],
[
1795806985.203,
"73.61111111111111"
],
[
1795807015.203,
"83.96666666667443"
],
[
1795807045.203,
"92.47777777775708"
],
[
1795807075.203,
"95.3888888889277"
],
[
1795807105.203,
"95.37777777780624"
],
[
1795807135.203,
"97.23333333334368"
],
[
1795807165.203,
"97.73333333329194"
],
[
1795807195.203,
"96.33333333334627"
],
[
1795807225.203,
"96.41131048277165"
],
[
1795807255.203,
"95.85555555557626"
],
[
1795807285.203,
"96.19999999995343"
]
]
}
],
"host_available_memory": [
{
"metric": {
"__name__": "node_memory_MemAvailable_bytes",
"instance": "node-exporter:9100",
"job": "node"
},
"values": [
[
1795806835.203,
"445128704"
],
[
1795806865.203,
"527900672"
],
[
1795806895.203,
"559788032"
],
[
1795806925.203,
"540057600"
],
[
1795806955.203,
"533585920"
],
[
1795806985.203,
"496340992"
],
[
1795807015.203,
"522829824"
],
[
1795807045.203,
"557027328"
],
[
1795807075.203,
"558444544"
],
[
1795807105.203,
"538083328"
],
[
1795807135.203,
"489725952"
],
[
1795807165.203,
"488443904"
],
[
1795807195.203,
"473464832"
],
[
1795807225.203,
"406007808"
],
[
1795807255.203,
"530657280"
],
[
1795807285.203,
"494395392"
]
]
}
]
}
}
@@ -0,0 +1,71 @@
{
"review_input_tokens{mode=\"live\"}": [
{
"metric": {
"__name__": "review_input_tokens",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"value": [
1795807124.736,
"23"
]
}
],
"review_output_tokens{mode=\"live\"}": [
{
"metric": {
"__name__": "review_output_tokens",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"value": [
1795807124.753,
"5"
]
}
],
"review_duration_seconds{mode=\"live\"}": [
{
"metric": {
"__name__": "review_duration_seconds",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"value": [
1795807124.756,
"3.0561"
]
}
],
"review_job_memory_peak_bytes{mode=\"live\"}": [
{
"metric": {
"__name__": "review_job_memory_peak_bytes",
"instance": "node-exporter:9100",
"job": "node",
"mode": "live"
},
"value": [
1795807124.76,
"249999360"
]
}
],
"node_textfile_scrape_error": [
{
"metric": {
"__name__": "node_textfile_scrape_error",
"instance": "node-exporter:9100",
"job": "node"
},
"value": [
1795807124.763,
"0"
]
}
]
}
+54
View File
@@ -0,0 +1,54 @@
{
"verified_implementation": "c735c8c6934c3084944de3077dfba027bf423bef",
"member1_published_head": "1449a8bf68a5013433225f77f5286bf8d6fd9468",
"member1_optional_hardening": "reviewer implementation adopted and tested, plus Python 3.11 preparation compatibility",
"issue": 24,
"actions_run": 43,
"jenkins_live_runs": {
"1": "SUCCESS: actual live release",
"2": "Expected FAILURE: invalid Actions artifact, no ZIP",
"3": "SUCCESS: byte-identical immutable retry"
},
"tests": {
"reviewer_and_existing": 19,
"pipeline": 20,
"total": 39
},
"release_version": "1.0.4",
"zip_sha256": "2eed54036744e4e0eaeb91f001a15be169a3d13bb28a213c900f097af1f664c5",
"measured_review": {
"model_id": "HuggingFaceTB/SmolLM2-135M-Instruct",
"input_tokens": 23,
"output_tokens": 5,
"elapsed_seconds": 3.0561,
"started_at": "2026-11-27T19:16:55.203351Z",
"finished_at": "2026-11-27T19:16:58.259482Z",
"resource_measurement": {
"scope": "job cgroup including preparation, reviewer and private tmpfs model",
"requested_memory_limit_bytes": 250000000,
"memory_limit_bytes": 249999360,
"memory_peak_bytes": 249999360,
"memory_events": {
"low": 0,
"high": 0,
"max": 433,
"oom": 0,
"oom_kill": 0,
"oom_group_kill": 0
},
"swap_limit_bytes": 0,
"reviewer_exit_code": 0
}
},
"pdf": {
"pages": 170,
"source_model_tokens_code_verified": true
},
"monitoring": {
"actual_prometheus_samples_verified": true,
"grafana_panels_loaded": 8,
"screenshots_captured": false
},
"report_prose": "deferred by user",
"temporary_jenkins_access": "revoked and file removed"
}