diff --git a/HANDOFF.txt b/HANDOFF.txt index 55ef949..2627aa4 100644 --- a/HANDOFF.txt +++ b/HANDOFF.txt @@ -61,7 +61,13 @@ Actual local results: the synthetic-run limitation are in handoff/member1/integration-check.md. A combined temporary checkout found one Member 2 smoke exception mismatch. A minimal return-code-to-ValueError fix in its owned ci/final_project.py made - all 19 local CI tests pass (5 image-dependent skips); see integration-check.md. + all 19 local CI tests pass. In Member 2 pinned image, both 19-test suites + passed, including the five image-dependent cases. See integration-check.md. + A real-model local combined dry run under the 250000000-byte cap passed at + 241446912 bytes; the isolated PDF/ZIP gates also passed. It used temporary + commit a40ffe1..., synthetic run ID 1 and isolated version 1.0.1; it is + neither a deployed Actions/Jenkins release nor scraped token metrics. + Evidence: handoff/member1/evidence/local-integration-dryrun/. Known failures and limits: Initial interactive CLI produced unrelated code. A server variant's private-model diff --git a/handoff/member1/evidence/local-integration-dryrun/container-inspect.txt b/handoff/member1/evidence/local-integration-dryrun/container-inspect.txt new file mode 100644 index 0000000..1ff5d9c --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/container-inspect.txt @@ -0,0 +1 @@ +exit=0 oom=false limit=250000000 swap=250000000 diff --git a/handoff/member1/evidence/local-integration-dryrun/local-review.prom b/handoff/member1/evidence/local-integration-dryrun/local-review.prom new file mode 100644 index 0000000..0c0c92b --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/local-review.prom @@ -0,0 +1,5 @@ +review_input_tokens_available{mode="live"} 1 +review_input_tokens{mode="live"} 23 +review_output_tokens_available{mode="live"} 1 +review_output_tokens{mode="live"} 5 +review_completed_timestamp_seconds{mode="live"} 1795749111 diff --git a/handoff/member1/evidence/local-integration-dryrun/raw_response.txt b/handoff/member1/evidence/local-integration-dryrun/raw_response.txt new file mode 100644 index 0000000..e2844a9 --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/raw_response.txt @@ -0,0 +1,3 @@ + print("hello") + + diff --git a/handoff/member1/evidence/local-integration-dryrun/release-manifest.json b/handoff/member1/evidence/local-integration-dryrun/release-manifest.json new file mode 100644 index 0000000..a25cf36 --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/release-manifest.json @@ -0,0 +1,15 @@ +{ + "attempt": "1", + "jenkins_build": "local", + "mode": "live", + "payload_sha256": { + "README.txt": "147f950ba0b4bff5177d637af9f5922e2c4fa98d677c703f8728307c85a6ef64", + "report-1.0.1.pdf": "befd6de9a1c70ec506c7eea2267f2d936fd498b5bd84711960709686fec005b0", + "review.json": "70a73a447cda74626729377cf71c13add1427f37bc1467a0cc214dc84bc97536", + "reviewed.py": "b80792336156c7b0f7fe02eeef24610d2d52a10d1810397744471d1dc5738180" + }, + "run_id": "1", + "schema_version": 1, + "source_commit": "a40ffe1982c162e5f7cfaa204bb6e0e20c37010e", + "version": "1.0.1" +} diff --git a/handoff/member1/evidence/local-integration-dryrun/resource.txt b/handoff/member1/evidence/local-integration-dryrun/resource.txt new file mode 100644 index 0000000..0ecd93f --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/resource.txt @@ -0,0 +1,8 @@ +review_exit=0 +241446912 +low 0 +high 0 +max 0 +oom 0 +oom_kill 0 +oom_group_kill 0 diff --git a/handoff/member1/evidence/local-integration-dryrun/review.json b/handoff/member1/evidence/local-integration-dryrun/review.json new file mode 100644 index 0000000..99c4dff --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/review.json @@ -0,0 +1,18 @@ +{ + "source_commit": "a40ffe1982c162e5f7cfaa204bb6e0e20c37010e", + "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-27T03:08:24.826807Z", + "finished_at": "2026-11-27T03:08:27.187495Z", + "elapsed_seconds": 2.360665, + "input_sha256": "9e600e31c44a6a8f4bec8948fb5d503a40472ed6632394fdda6f1814165f4909", + "model_revision": "12fd25f77366fa6b3b4b768ec3050bf629380bac", + "raw_response_file": "raw_response.txt", + "runtime_response_file": "runtime_response.json" +} diff --git a/handoff/member1/evidence/local-integration-dryrun/runtime_response.json b/handoff/member1/evidence/local-integration-dryrun/runtime_response.json new file mode 100644 index 0000000..1fa712d --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/runtime_response.json @@ -0,0 +1,11 @@ +{ + "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.607.636 I common_perf_print: samplers time = 1.02 ms / 28 tokens", + "0.01.607.649 I common_perf_print: prompt eval time = 511.47 ms / 23 tokens ( 22.24 ms per token, 44.97 tokens per second)" + ] +} diff --git a/handoff/member1/evidence/local-integration-dryrun/summary.json b/handoff/member1/evidence/local-integration-dryrun/summary.json new file mode 100644 index 0000000..28e2e02 --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/summary.json @@ -0,0 +1,27 @@ +{ + "kind": "local integration dry run; not Gitea Actions or Jenkins", + "integration_commit": "a40ffe1982c162e5f7cfaa204bb6e0e20c37010e", + "member1_commit": "edd87d6b7fef7509e155282ff29350881c0eb9ca", + "member2_commit": "4feb58810a90baf361bfd5be7fee376d22bfcd80", + "member2_temporary_fix": "Convert failing Member 1 smoke subprocess return code to ValueError in ci/final_project.py; not committed to Member 2 branch", + "run_id": "1 (synthetic local)", + "attempt": "1", + "version": "1.0.1 (isolated state)", + "review_status": "corrected", + "input_tokens": 23, + "output_tokens": 5, + "elapsed_seconds": 2.360665, + "memory_limit_bytes": 250000000, + "memory_peak_bytes": 241446912, + "oom_kill": 0, + "unit_tests": { + "member1": 19, + "member2": 19, + "image": "sha256:579106aaffa81dc2436a72a5dbfc51d3590f1a97646321fd38c694aae6d7cba1" + }, + "pdf_pages": 170, + "zip_sha256": "995ce3ee25bf8df9ce171efa2072af2f2836f4dfb938965f819e7bf6eaec9c0a", + "zip_payload_hashes_verified": 4, + "extracted_program_stdout": "hello\\n", + "metrics_note": "Formatted locally; not scraped by Prometheus or shown in Grafana" +} diff --git a/handoff/member1/evidence/local-integration-dryrun/test-result.json b/handoff/member1/evidence/local-integration-dryrun/test-result.json new file mode 100644 index 0000000..3b25850 --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/test-result.json @@ -0,0 +1,4 @@ +{ + "result": "passed", + "reviewed_sha256": "b80792336156c7b0f7fe02eeef24610d2d52a10d1810397744471d1dc5738180" +} diff --git a/handoff/member1/evidence/local-integration-dryrun/zip.sha256 b/handoff/member1/evidence/local-integration-dryrun/zip.sha256 new file mode 100644 index 0000000..0388a79 --- /dev/null +++ b/handoff/member1/evidence/local-integration-dryrun/zip.sha256 @@ -0,0 +1 @@ +995ce3ee25bf8df9ce171efa2072af2f2836f4dfb938965f819e7bf6eaec9c0a ssw590-live-1.0.1.zip diff --git a/handoff/member1/integration-check.md b/handoff/member1/integration-check.md index 9c24064..7b74af9 100644 --- a/handoff/member1/integration-check.md +++ b/handoff/member1/integration-check.md @@ -25,3 +25,11 @@ No shared contract change was needed. The reviewer emits the seven required fiel The Member 1 patch applied cleanly to a temporary checkout of Member 2's published branch. Member 1's 19 tests passed. Member 2's local suite initially had one error: its `test_review` invokes the now-present `tests/smoke_demo.py` with `check=True`; when that script rejects a deliberately bad reviewed file, Python raises `CalledProcessError`, while `ci/tests/test_pipeline.py::test_runtime_failure_reaches_smoke` expects `ValueError` containing `smoke`. This is an exception-type mismatch in Member 2's owned `ci/final_project.py`, not a release success. The failure still blocks publication as intended. A temporary proof changed the invocation in `test_review` to capture the return code and raise `ValueError('Member 1 smoke test failed')` on nonzero. With that change, all 19 Member 2 local tests passed, including the smoke-failure test; five TeX/image-dependent cases were skipped outside the pinned image. Member 2 should make and commit that minimal change in their owned file before the combined branch CI run. No shared reviewer schema or exit-code change is required. + +## Pinned-image real-model local dry run + +An exact temporary integration commit `a40ffe1982c162e5f7cfaa204bb6e0e20c37010e` combined Member 2's `4feb5881...`, Member 1's `edd87d6...`, and the temporary smoke exception fix described above. Both 19-test suites passed in Member 2's pinned TeX image (`sha256:579106aaffa81dc2436a72a5dbfc51d3590f1a97646321fd38c694aae6d7cba1`). The real reviewer ran in the pinned Python image under a 250,000,000-byte Docker hard cap: corrected, 23 input / 5 output tokens, 2.360665 seconds, 241,446,912-byte cgroup peak, no OOM. Its raw output and resource records are in `evidence/local-integration-dryrun/`. + +The unmodified Member 2 bundle, verify, PDF build, smoke, publish and metrics commands then passed locally from a self-contained exact-SHA clone. The PDF had 170 pages. An isolated `1.0.1` local ZIP had SHA-256 `995ce3ee25bf8df9ce171efa2072af2f2836f4dfb938965f819e7bf6eaec9c0a`; its companion checksum and four payload hashes verified, and extracted `reviewed.py` printed `hello`. The ZIP, full local logs and README are under the user-facing `outputs/local-real-integration-a40ffe1/` directory on this host. The first PDF attempt failed because a Git worktree pointer was outside the container; a self-contained clone fixed the test setup. + +This is a local dry run with synthetic Actions run ID `1`, `jenkins_build=local`, isolated version state, and local metric formatting. It is not a Gitea Actions/Jenkins run, deployed `1.0.1` release, or Prometheus/Grafana token evidence. Member 2's fixture `1.0.3` release remains the last reported deployed fixture result.