Skip to content

Validate complete request accounting, compatibility and report resource limits #262

Done

Description

@toddysm

Deliverable

Validate the integrated #254 request-reporting capability against the locked specs/request-reporting.md contracts and existing transfer safety guarantees.

Acceptance criteria

  • Exercise the supported library/CLI operation matrix with synthetic registries, auth endpoints and redirect storage; compare expected physical dispatches with recorded rows and exact unique endpoint counts. (completion)
  • Use deterministic clocks to verify header/full-response, intermediate redirects, concurrent ranges, retries, operation/remote boundaries, failed/incomplete chains and cancellation after worker drainage. (completion)
  • Test Authentication repeat/GET-POST fallback and asset 401 attribution, nested indexes, shared objects/all ordinals, non-image content and unknown identity/provenance. (completion)
  • Verify text/JSON equivalence, result/error/warning/report order, stdout byte/schema isolation, noninteractive output, suppression, structured log mirroring and no-network reports. (completion)
  • Validate secret-before-retention redaction and safe terminal output, including signed query/path/user-info, cookies, headers, exception text and malformed redirect locations. (completion)
  • Test bounded spool/cache behavior and the 256 MiB boundary, disk-full/locked storage, cancellation and output failures; prove incomplete collection never silently claims exact unavailable counts or successful transfer. (completion)
  • Measure report-on versus report-off elapsed/RSS/spool use on bounded synthetic metadata loads; record actual evidence without fabricating an unapproved performance threshold or modifying owner-approved layout benchmark inputs. (completion)
  • Cover supported Requests/urllib3 and minimum Click paths, import isolation, credentials/redirect protection, bounded streaming, upload replay and publication uncertainty; wire checks into existing hosted CI. (completion)
  • Document new/changed test/helper Python contracts and preserve unrelated baseline tests/tooling. (completion)

Dependencies

Depends on #261. Parent #254; implementation and benchmark resource execution require their future authorization.

Validation

Extend existing test files where practical and add focused request-report integration tests. Run smallest relevant selectors first, then full hosted matrix for integration. No diagnostic-only live probes, new external service dependencies, or hollow heading-only tests.

Activity

  1. added
    agent-managed
    type:task
    blocked
    feature:transfer-endpoint-report
    on Dec 2, 2026
  2. toddysm commented on Dec 2, 2026

    @toddysm
    OwnerAuthor

    Issue: #262

    Feature: transfer-endpoint-report · Mode: issues-only · Updated: 2026-12-05
    Instance: 496e8a8f-b816-478c-a3ac-ac8ad4060c76
    Worktree: /Users/toddysm/Documents/Development/regshape-fe-496e8a8f
    Planning format: full
    Design source: Reviewed document via merged design PR #265
    Design revision: not-applicable for full
    Approved revision: owner authorized all review fixes and conditional design merge on 2026-12-02 UTC; fulfilled by merged PR #265 at f8f57a5
    Approved design SHA-256: not-applicable for full
    Approved scope: Owner confirmed #262 scope and hosted CI on 2026-12-05: isolated branch/worktree, tests and necessary fixes, bounded local benchmarks, tracking updates, one ready-for-review PR and review fixes with pushed fix-SHA replies before thread resolution. Owner additionally authorized all review fixes/replies/resolution and #277 merge once hosted CI is green on 2026-12-05 (local). Branch/worktree deletion remains unauthorized.
    Planning inventory PR: included-in-full-design-PR #265 (merged); In progress on main via #271.
    Start inventory PR: #271 merged; In progress verified on origin/main at 7393206.

    Item Type State Branch PR Owner Worktree
    #262 task done feature/transfer-endpoint-report/validation-496e8a8f #277 (merged at 91d8463) 496e8a8f-b816-478c-a3ac-ac8ad4060c76 /Users/toddysm/Documents/Development/regshape-fe-496e8a8f

    Immediate prerequisites: #261 completed; #276 merged into main at 7393206. Original blocked label was stale.
    Testing mode: hosted; normal GitHub Actions and hosted reviews authorized; benchmarks run locally on the Mac.
    Next: #262 complete through merged #277 at 91d8463; all nine original obligations have persisted completion evidence. Next authorize #263 final feature documentation. Keep #254/inventory In progress until all required children and inventory close-out finish; release performance/security acceptance remains separate. Preserve the clean owned branch/worktree/claim; deletion not authorized.
    Build authorization (#262): Owner confirmed #262 scope and hosted CI on 2026-12-05: isolated branch/worktree, tests and necessary fixes, bounded local benchmarks, tracking updates, one ready-for-review PR and review fixes with pushed fix-SHA replies before thread resolution. Owner additionally authorized all review fixes/replies/resolution and #277 merge once hosted CI is green on 2026-12-05 (local). Branch/worktree deletion remains unauthorized.

    Item Owner Testing mode Actions policy Validation commit Validation evidence
    #262 496e8a8f-b816-478c-a3ac-ac8ad4060c76 hosted normal-hosted 375c3fd validation-375c3fd
    {
      "evidence_id": "validation-375c3fd",
      "item": "https://github.com/toddysm/regshape/issues/262",
      "owner": "496e8a8f-b816-478c-a3ac-ac8ad4060c76",
      "commit": "375c3fd18a70462462eb791f5333b8260b1aa9f4",
      "actions_policy_id": "normal-hosted",
      "actions_policy": "Owner selected GitHub-hosted CI and authorized implementation, bounded local benchmarks, ready PR, all review fixes with pushed-SHA replies/resolution and #277 merge after green current-head CI and settled reviews. No suppression or branch/worktree deletion authorized.",
      "review": {
        "policy": "local-self-review-and-hosted-review",
        "commit": "375c3fd18a70462462eb791f5333b8260b1aa9f4",
        "scope": "Two new Python test/benchmark files, changed physical-ledger oracle, compatibility workflow selectors, related validation reference and generated raw evidence. Unrelated legacy source and approved layout benchmark inputs excluded.",
        "findings": [
          "Preserved existing raw-manifest redirect rejection rather than changing transfer policy to satisfy a fixture.",
          "Resolved benchmark native-parent symlink handling, scoped mypy result typing, and default-boundary assertions outside SQLite trace callbacks.",
          "Cancellation uses bounded sinks, preserving the existing unbounded-partial-file contract.",
          "CodeQL command-line taint fixed in 03d856d with fixed-literal argument construction; current-head CodeQL gate passes.",
          "Both Copilot findings fixed in 30ea16d: owned subprocess-group timeout/interruption cleanup and independent pre-transaction rollback reservation measurements.",
          "Manual driver-termination and hidden imported-interface findings fixed in 375c3fd. Real SIGTERM test verifies active worker reaping, private-file cleanup and no success evidence. Real-interface mypy now follows imports silently rather than skipping them."
        ],
        "disposition": "Focused self-review of the termination handler/subprocess cleanup, driver-owned temporary files, sink protocol, guards, real-process regression and related documentation: no outstanding findings. Source contracts and local links verified. All five review threads received separate pushed-fix-SHA replies before resolution. No local inline-comment attachment tool was available.",
        "hosted": "Copilot and Codex rereviews completed at 375c3fd with no open code findings. All five review threads have pushed-fix-SHA replies and are resolved. Owner performance/security release acceptance remains separate."
      },
      "commands": [
        {
          "command": "python3 -m pytest -q src/regshape/tests/test_request_report_integration.py src/regshape/tests/test_request_observation.py src/regshape/tests/test_request_report.py src/regshape/tests/test_request_report_cli.py src/regshape/tests/test_pull_request_report.py src/regshape/tests/test_push_request_report.py src/regshape/tests/test_download_workers.py src/regshape/tests/test_blob_ranges.py src/regshape/tests/test_stream_upload.py src/regshape/tests/test_telemetry_log_file.py src/regshape/tests/test_auth_challenge_origin.py src/regshape/tests/test_artifact_storage.py src/regshape/tests/test_artifact_push.py",
          "result": "1336 passed, 1 skipped in 62.31s",
          "exit_code": 0,
          "commit": "78e70d39bc7bb95540cdc8eaebcc0794ef4018e9",
          "provenance": "Existing transport/pull/push/library oracle files unchanged since this run. Subsequent changes strengthen the new integration test resource oracle and child cleanup, plus fixed-literal benchmark arguments; current-head hosted full matrix passes."
        },
        {
          "command": "python3 -m pytest -q src/regshape/tests/test_request_report_integration.py",
          "result": "15 passed in 7.90s",
          "exit_code": 0,
          "commit": "375c3fd18a70462462eb791f5333b8260b1aa9f4"
        },
        {
          "command": "python3 -m mypy --follow-imports=silent --ignore-missing-imports src/regshape/tests/benchmark_request_report.py src/regshape/tests/test_request_report_integration.py",
          "result": "Success: no issues found in 2 source files, with imported interfaces analyzed. Previous follow-imports=skip evidence hid three driver interface errors and is superseded.",
          "exit_code": 0
        },
        {
          "command": "python3 -m black --check src/regshape/tests/benchmark_request_report.py src/regshape/tests/test_request_report_integration.py",
          "result": "2 files would be left unchanged",
          "exit_code": 0
        },
        {
          "command": "git diff --check; native AST docstring placement, YAML selector and local documentation-link checks",
          "result": "Passed; no duplicate new selectors; every linked local target exists",
          "exit_code": 0
        }
      ],
      "benchmark": {
        "command": "PYTHONPATH=src python3 -m regshape.tests.benchmark_request_report --requests 1000 100000 --concurrency 4 --samples 3 --output request-report-benchmark-reviewed-head.json",
        "exit_code": 0,
        "driver_commit": "30ea16dea00686d7a9325d73bb0e620bf501be75",
        "provenance": "Historical pre-375c3fd measurements, not relabeled as current-driver performance evidence. The current lifecycle/interface fix is validated by the executable paired 1k integration case and real mid-100k driver termination case.",
        "driver_sha256": "f4b5eca72c787295c501ef6dacd0bc428047eb80f3dadd06001881b410e502e7",
        "evidence_url": "https://github.com/toddysm/regshape/issues/262#issuecomment-7444142295",
        "historical_evidence_path": "docs/library/request-report-validation-macos.json (explicitly measured at 78e70d3, retained unchanged)",
        "workload": "Synthetic empty-response metadata only; zero physical network dispatches/payload bytes; three paired fresh-process samples per envelope, concurrency 4",
        "results": {
          "1000": {
            "mean_elapsed_delta_s": 1.6491052502921473,
            "elapsed_delta_population_stdev_s": 0.018235847272201667,
            "operation_peak_rss_delta_mib": [
              4.0,
              4.203125
            ],
            "complete": true
          },
          "100000": {
            "mean_elapsed_delta_s": 131.57130881918906,
            "elapsed_delta_population_stdev_s": 4.158249977791242,
            "operation_peak_rss_delta_mib": [
              4.578125,
              5.015625
            ],
            "database_bytes": 134021120,
            "complete": false,
            "failure_code": "spool_limit",
            "attempted_counts": [
              100000,
              100000,
              100000
            ],
            "missing_counts": [
              22233,
              22514,
              22917
            ],
            "unique_endpoint_counts": [
              null,
              null,
              null
            ]
          }
        },
        "cleanup": "All owned sample spools cleaned; no concurrent session-launched validation workloads during the final measurement.",
        "performance_acceptance": "not-approved"
      },
      "hosted_validation": {
        "commit": "375c3fd18a70462462eb791f5333b8260b1aa9f4",
        "tests_run": "https://github.com/toddysm/regshape/actions/runs/47604742133",
        "codeql_run": "https://github.com/toddysm/regshape/actions/runs/47604739272",
        "result": "All 13 active current-head checks passed before merge; optional manual download-benchmarks skipped by its existing event policy. No protections bypassed.",
        "matrix": "Python 3.10/3.11/3.12, Requests 2.31.0/urllib3 1.26.20, Click 8.1.0 on all three Python versions, macOS/Windows filesystem guards, native Homebrew, CodeQL Python/actions and aggregate gate.",
        "python_310_main_suite": "6446 passed, 6 skipped; separate release suite 95 passed and build-backend suite 65 passed.",
        "review_threads": "5 total, 0 unresolved",
        "copilot": "Current-head review completed; no open issues. Release resource acceptance is not inferred from merging validation.",
        "codex": "Current-head code review completed; no unresolved findings.",
        "clean_and_pushed": true
      },
      "review_fix_benchmark": {
        "commit": "375c3fd18a70462462eb791f5333b8260b1aa9f4",
        "driver_sha256": "fbc52e2be0e1a7133229b719810370c0fea8c288337246764eb7554ebea876ed",
        "evidence_url": "https://github.com/toddysm/regshape/issues/262#issuecomment-7450969850",
        "workload": "Three paired fresh-process 1k metadata samples, concurrency four; zero network/payload, all complete and cleaned.",
        "mean_elapsed_delta_s": 1.9877301527497668,
        "elapsed_delta_population_stdev_s": 0.04119066197361163,
        "performance_acceptance": "not-approved"
      },
      "merge": {
        "pr": "https://github.com/toddysm/regshape/pull/277",
        "commit": "91d84636c3dd82fe36fe8a71a50dd92dc4395e7f",
        "merged_at": "2026-12-06T03:54:53Z",
        "tested_head": "375c3fd18a70462462eb791f5333b8260b1aa9f4",
        "verification": "Merged to main with protected normal merge; all source commits retained, merge signature verified, landed tree identical to tested head. #262 closed by merge; #254 and #263 remain open.",
        "completion": "All nine original #262 obligations verified and checked through the frozen-body completion guard: https://github.com/toddysm/regshape/issues/262#issuecomment-7451104327",
        "cleanup": "Owned clean branch/worktree/claim preserved; deletion not authorized."
      },
      "runtime": "Local: Python 3.12.4/macOS 27.2.1 ARM64; pytest 9.0.1, requests 2.31.0, urllib3 2.2.2, Click 8.3.1, Docker 7.1.0, jsonschema 4.23.0",
      "redactions": [
        "No real credentials, provider tokens, private keys or secret-bearing URLs present in retained evidence; planted test canaries and raw command logs not copied."
      ],
      "gaps": [
        "Local macOS performance evidence remains metadata-only; actual network/transfer overhead is not certified by these samples.",
        "Ruff, Bandit, pip-audit and a dedicated YAML/schema linter were unavailable; no new tooling installed.",
        "Performance budget and implemented-component security disposition require owner acceptance; no default-on/release approval inferred.",
        "Branch/worktree deletion remains unauthorized; clean owned checkout and claim preserved after the verified merge."
      ]
    }
  3. toddysm commented on Dec 5, 2026

    @toddysm
    OwnerAuthor

    #262 checkpoint (2026-12-05)

    Canonical state: #262 (comment)
    Instance: 496e8a8f-b816-478c-a3ac-ac8ad4060c76
    Worktree: /Users/toddysm/Documents/Development/regshape-fe-496e8a8f
    Branch: feature/transfer-endpoint-report/validation-496e8a8f
    Head: 7393206; ahead of origin/main: 0; tree: clean.
    Testing: hosted. State: in-progress. PR: none.
    Next: Map #262 integrated validation gaps, implement focused tests/resource harness and run authorized bounded local benchmarks; deliver one ready PR with hosted CI, retaining merge/performance approval gates.
    No merge/deletion authorized; preserve this worktree and claim.

  4. removed
    blocked
    on Dec 5, 2026
  5. toddysm commented on Dec 5, 2026

    @toddysm
    OwnerAuthor

    #262 checkpoint (2026-12-05)

    Canonical state: #262 (comment)
    Instance: 496e8a8f-b816-478c-a3ac-ac8ad4060c76
    Worktree: /Users/toddysm/Documents/Development/regshape-fe-496e8a8f
    Branch: feature/transfer-endpoint-report/validation-496e8a8f
    Head: 3ae8b96; ahead of origin/feature/transfer-endpoint-report/validation-496e8a8f: 0; tree: clean.
    Testing: hosted. State: in-review. PR: #277 (open).
    Next: Await actual hosted CI and settled Copilot/Codex review for #277; fix authorized feedback, then obtain owner performance/security acceptance and separate merge authorization. #263 and #254 close-out remain outside this item.
    No merge/deletion authorized; preserve this worktree and claim.

  6. toddysm commented on Dec 5, 2026

    @toddysm
    OwnerAuthor

    Current-head bounded metadata evidence

    Tested commit: 30ea16d. Three paired fresh-process samples per 1k/100k envelope, concurrency four; zero network dispatches/payload bytes. Raw results below are additional to the historical committed 78e70d3 dataset, not a relabeling of it. All samples cleaned their owned spools. 100k collection remains explicitly incomplete; exact attempts remain 100,000 and unavailable unique counts are null. No performance budget or default-on/release approval is inferred.

    Command: PYTHONPATH=src python3 -m regshape.tests.benchmark_request_report --requests 1000 100000 --concurrency 4 --samples 3 --output request-report-benchmark-reviewed-head.json

    {
      "schema_version": 1,
      "workload": "synthetic-empty-response-metadata",
      "driver_sha256": "f4b5eca72c787295c501ef6dacd0bc428047eb80f3dadd06001881b410e502e7",
      "network_dispatches": 0,
      "performance_acceptance": "not-approved",
      "machine": "macOS-27.2.1-arm64-arm-64bit",
      "python": "3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 10:07:17) [Clang 14.0.6 ]",
      "dependencies": {
        "requests": "2.31.0",
        "urllib3": "2.2.2",
        "click": "8.3.1"
      },
      "records": [
        {
          "sample": 1,
          "enabled": false,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.0005127501208335161,
          "operation_cpu_s": 0.0005599999999999772,
          "operation_peak_rss_bytes": 46743552,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 46743552,
          "cleanup_complete": true
        },
        {
          "sample": 1,
          "enabled": true,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 1.674841291969642,
          "operation_cpu_s": 1.671413,
          "operation_peak_rss_bytes": 50937856,
          "spool_bytes_at_operation_end": 1830912,
          "summary": {
            "operation_elapsed_s": 1.657854,
            "remote_elapsed_s": 1.65555,
            "logical_call_count": 1000,
            "request_attempt_count": 1000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": 1000,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": 0,
            "received_body_bytes": 0
          },
          "collection": {
            "complete": true,
            "missing_request_count": 0,
            "failure": null
          },
          "render": {
            "json": {
              "elapsed_s": 0.2924144589342177,
              "cpu_s": 0.2881649999999998,
              "characters": 896920
            },
            "text": {
              "elapsed_s": 0.2197016249410808,
              "cpu_s": 0.2185030000000001,
              "characters": 522043
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 51920896,
          "cleanup_complete": true
        },
        {
          "sample": 2,
          "enabled": false,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.0005457079969346523,
          "operation_cpu_s": 0.0006020000000000192,
          "operation_peak_rss_bytes": 46612480,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 46612480,
          "cleanup_complete": true
        },
        {
          "sample": 2,
          "enabled": true,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 1.641693166922778,
          "operation_cpu_s": 1.6264779999999999,
          "operation_peak_rss_bytes": 51019776,
          "spool_bytes_at_operation_end": 1818624,
          "summary": {
            "operation_elapsed_s": 1.631238,
            "remote_elapsed_s": 1.628483,
            "logical_call_count": 1000,
            "request_attempt_count": 1000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": 1000,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": 0,
            "received_body_bytes": 0
          },
          "collection": {
            "complete": true,
            "missing_request_count": 0,
            "failure": null
          },
          "render": {
            "json": {
              "elapsed_s": 0.28707312513142824,
              "cpu_s": 0.28599300000000016,
              "characters": 896844
            },
            "text": {
              "elapsed_s": 0.21785675012506545,
              "cpu_s": 0.21713100000000018,
              "characters": 522043
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 51855360,
          "cleanup_complete": true
        },
        {
          "sample": 3,
          "enabled": false,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.0005886249709874392,
          "operation_cpu_s": 0.0006599999999999939,
          "operation_peak_rss_bytes": 46891008,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 46891008,
          "cleanup_complete": true
        },
        {
          "sample": 3,
          "enabled": true,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 1.6324283750727773,
          "operation_cpu_s": 1.636041,
          "operation_peak_rss_bytes": 51281920,
          "spool_bytes_at_operation_end": 1818624,
          "summary": {
            "operation_elapsed_s": 1.625708,
            "remote_elapsed_s": 1.62331,
            "logical_call_count": 1000,
            "request_attempt_count": 1000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": 1000,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": 0,
            "received_body_bytes": 0
          },
          "collection": {
            "complete": true,
            "missing_request_count": 0,
            "failure": null
          },
          "render": {
            "json": {
              "elapsed_s": 0.288505916018039,
              "cpu_s": 0.28601900000000025,
              "characters": 896930
            },
            "text": {
              "elapsed_s": 0.22167391702532768,
              "cpu_s": 0.22035099999999996,
              "characters": 522043
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 52150272,
          "cleanup_complete": true
        },
        {
          "sample": 1,
          "enabled": false,
          "requests": 100000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.02380670909769833,
          "operation_cpu_s": 0.02376500000000001,
          "operation_peak_rss_bytes": 46759936,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 46759936,
          "cleanup_complete": true
        },
        {
          "sample": 1,
          "enabled": true,
          "requests": 100000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 129.21727804187685,
          "operation_cpu_s": 128.718434,
          "operation_peak_rss_bytes": 51871744,
          "spool_bytes_at_operation_end": 134021120,
          "summary": {
            "operation_elapsed_s": 129.192188,
            "remote_elapsed_s": 129.191125,
            "logical_call_count": 100000,
            "request_attempt_count": 100000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": null,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": null,
            "received_body_bytes": null
          },
          "collection": {
            "complete": false,
            "missing_request_count": 22233,
            "failure": {
              "code": "spool_limit",
              "stage": "collection",
              "publication_uncertain": false
            }
          },
          "render": {
            "json": {
              "elapsed_s": 22.491150416899472,
              "cpu_s": 22.287515000000013,
              "characters": 70216777
            },
            "text": {
              "elapsed_s": 18.465522709069774,
              "cpu_s": 17.164686999999986,
              "characters": 40864883
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 51871744,
          "cleanup_complete": true
        },
        {
          "sample": 2,
          "enabled": false,
          "requests": 100000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.02508729207329452,
          "operation_cpu_s": 0.02513599999999999,
          "operation_peak_rss_bytes": 46546944,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 46546944,
          "cleanup_complete": true
        },
        {
          "sample": 2,
          "enabled": true,
          "requests": 100000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 128.1274203748908,
          "operation_cpu_s": 127.625571,
          "operation_peak_rss_bytes": 51806208,
          "spool_bytes_at_operation_end": 134021120,
          "summary": {
            "operation_elapsed_s": 128.111701,
            "remote_elapsed_s": 128.110484,
            "logical_call_count": 100000,
            "request_attempt_count": 100000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": null,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": null,
            "received_body_bytes": null
          },
          "collection": {
            "complete": false,
            "missing_request_count": 22514,
            "failure": {
              "code": "spool_limit",
              "stage": "collection",
              "publication_uncertain": false
            }
          },
          "render": {
            "json": {
              "elapsed_s": 22.583120374940336,
              "cpu_s": 22.373633999999996,
              "characters": 69957637
            },
            "text": {
              "elapsed_s": 17.687619332922623,
              "cpu_s": 17.489847999999995,
              "characters": 40716378
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 51806208,
          "cleanup_complete": true
        },
        {
          "sample": 3,
          "enabled": false,
          "requests": 100000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.02351541700772941,
          "operation_cpu_s": 0.02349000000000001,
          "operation_peak_rss_bytes": 47153152,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 47153152,
          "cleanup_complete": true
        },
        {
          "sample": 3,
          "enabled": true,
          "requests": 100000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 137.44163745897822,
          "operation_cpu_s": 134.362348,
          "operation_peak_rss_bytes": 51953664,
          "spool_bytes_at_operation_end": 134021120,
          "summary": {
            "operation_elapsed_s": 137.431986,
            "remote_elapsed_s": 137.431074,
            "logical_call_count": 100000,
            "request_attempt_count": 100000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": null,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": null,
            "received_body_bytes": null
          },
          "collection": {
            "complete": false,
            "missing_request_count": 22917,
            "failure": {
              "code": "spool_limit",
              "stage": "collection",
              "publication_uncertain": false
            }
          },
          "render": {
            "json": {
              "elapsed_s": 23.2338560000062,
              "cpu_s": 22.92295200000001,
              "characters": 69603638
            },
            "text": {
              "elapsed_s": 17.675713708857074,
              "cpu_s": 17.437557999999996,
              "characters": 40504677
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 51953664,
          "cleanup_complete": true
        }
      ],
      "paired": [
        {
          "requests": 1000,
          "sample": 1,
          "elapsed_delta_s": 1.6743285418488085,
          "cpu_delta_s": 1.6708530000000001,
          "operation_peak_rss_delta_bytes": 4194304,
          "process_peak_rss_delta_bytes": 5177344
        },
        {
          "requests": 1000,
          "sample": 2,
          "elapsed_delta_s": 1.6411474589258432,
          "cpu_delta_s": 1.6258759999999999,
          "operation_peak_rss_delta_bytes": 4407296,
          "process_peak_rss_delta_bytes": 5242880
        },
        {
          "requests": 1000,
          "sample": 3,
          "elapsed_delta_s": 1.6318397501017898,
          "cpu_delta_s": 1.6353810000000002,
          "operation_peak_rss_delta_bytes": 4390912,
          "process_peak_rss_delta_bytes": 5259264
        },
        {
          "requests": 100000,
          "sample": 1,
          "elapsed_delta_s": 129.19347133277915,
          "cpu_delta_s": 128.694669,
          "operation_peak_rss_delta_bytes": 5111808,
          "process_peak_rss_delta_bytes": 5111808
        },
        {
          "requests": 100000,
          "sample": 2,
          "elapsed_delta_s": 128.1023330828175,
          "cpu_delta_s": 127.60043499999999,
          "operation_peak_rss_delta_bytes": 5259264,
          "process_peak_rss_delta_bytes": 5259264
        },
        {
          "requests": 100000,
          "sample": 3,
          "elapsed_delta_s": 137.4181220419705,
          "cpu_delta_s": 134.338858,
          "operation_peak_rss_delta_bytes": 4800512,
          "process_peak_rss_delta_bytes": 4800512
        }
      ],
      "variance": {
        "1000": {
          "elapsed_delta_mean_s": 1.6491052502921473,
          "elapsed_delta_population_stdev_s": 0.018235847272201667
        },
        "100000": {
          "elapsed_delta_mean_s": 131.57130881918906,
          "elapsed_delta_population_stdev_s": 4.158249977791242
        }
      }
    }
  7. toddysm commented on Dec 5, 2026

    @toddysm
    OwnerAuthor

    #262 checkpoint (2026-12-05)

    Canonical state: #262 (comment)
    Instance: 496e8a8f-b816-478c-a3ac-ac8ad4060c76
    Worktree: /Users/toddysm/Documents/Development/regshape-fe-496e8a8f
    Branch: feature/transfer-endpoint-report/validation-496e8a8f
    Head: 30ea16d; ahead of origin/feature/transfer-endpoint-report/validation-496e8a8f: 0; tree: clean.
    Testing: hosted. State: in-review. PR: #277 (open; CI green, feedback resolved).
    Next: Review #277 and current-head raw evidence at #262 comment 7444142295; obtain owner workload-specific elapsed/CPU and peak-memory budget acceptance, implemented-component security disposition and separate merge authorization. CI/reviews are settled and green at 30ea16d. Keep #262/#254 open; #263 and inventory close-out remain pending.
    No merge/deletion authorized; preserve this worktree and claim.

  8. toddysm commented on Dec 6, 2026

    @toddysm
    OwnerAuthor

    Current 375c3fd review-fix driver: three fresh-process paired 1k metadata samples, concurrency four. This is metadata-only evidence, not performance/security/default-on/release acceptance. The prior three-pair 100k overflow evidence remains explicitly bound to 30ea16d; the current integration suite separately verifies the real 256 MiB boundary and termination during an active 100k sample.

    {
      "schema_version": 1,
      "workload": "synthetic-empty-response-metadata",
      "driver_sha256": "fbc52e2be0e1a7133229b719810370c0fea8c288337246764eb7554ebea876ed",
      "network_dispatches": 0,
      "performance_acceptance": "not-approved",
      "machine": "macOS-27.2.1-arm64-arm-64bit",
      "python": "3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 10:07:17) [Clang 14.0.6 ]",
      "dependencies": {
        "requests": "2.31.0",
        "urllib3": "2.2.2",
        "click": "8.3.1"
      },
      "records": [
        {
          "sample": 1,
          "enabled": false,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.000605790875852108,
          "operation_cpu_s": 0.0006279999999999897,
          "operation_peak_rss_bytes": 47480832,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 47480832,
          "cleanup_complete": true
        },
        {
          "sample": 1,
          "enabled": true,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 1.9316927080508322,
          "operation_cpu_s": 1.9035710000000001,
          "operation_peak_rss_bytes": 51986432,
          "spool_bytes_at_operation_end": 1830912,
          "summary": {
            "operation_elapsed_s": 1.909801,
            "remote_elapsed_s": 1.906855,
            "logical_call_count": 1000,
            "request_attempt_count": 1000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": 1000,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": 0,
            "received_body_bytes": 0
          },
          "collection": {
            "complete": true,
            "missing_request_count": 0,
            "failure": null
          },
          "render": {
            "json": {
              "elapsed_s": 0.311681707855314,
              "cpu_s": 0.30881700000000034,
              "characters": 896892
            },
            "text": {
              "elapsed_s": 0.2426616249140352,
              "cpu_s": 0.24009199999999975,
              "characters": 522043
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 53280768,
          "cleanup_complete": true
        },
        {
          "sample": 2,
          "enabled": false,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.0006199590861797333,
          "operation_cpu_s": 0.0006670000000000009,
          "operation_peak_rss_bytes": 47087616,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 47087616,
          "cleanup_complete": true
        },
        {
          "sample": 2,
          "enabled": true,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 2.028447291115299,
          "operation_cpu_s": 1.9491550000000002,
          "operation_peak_rss_bytes": 51806208,
          "spool_bytes_at_operation_end": 1818624,
          "summary": {
            "operation_elapsed_s": 2.020826,
            "remote_elapsed_s": 2.018066,
            "logical_call_count": 1000,
            "request_attempt_count": 1000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": 1000,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": 0,
            "received_body_bytes": 0
          },
          "collection": {
            "complete": true,
            "missing_request_count": 0,
            "failure": null
          },
          "render": {
            "json": {
              "elapsed_s": 0.3120557500515133,
              "cpu_s": 0.3099639999999999,
              "characters": 896940
            },
            "text": {
              "elapsed_s": 0.24707691697403789,
              "cpu_s": 0.24438299999999957,
              "characters": 522043
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 52690944,
          "cleanup_complete": true
        },
        {
          "sample": 3,
          "enabled": false,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 0.000621875049546361,
          "operation_cpu_s": 0.0006800000000000139,
          "operation_peak_rss_bytes": 47005696,
          "spool_bytes_at_operation_end": 0,
          "summary": null,
          "collection": null,
          "render": {},
          "process_peak_rss_bytes": 47005696,
          "cleanup_complete": true
        },
        {
          "sample": 3,
          "enabled": true,
          "requests": 1000,
          "concurrency": 4,
          "payload_bytes": 0,
          "operation_elapsed_s": 2.004898084094748,
          "operation_cpu_s": 1.921956,
          "operation_peak_rss_bytes": 51494912,
          "spool_bytes_at_operation_end": 1822720,
          "summary": {
            "operation_elapsed_s": 1.989438,
            "remote_elapsed_s": 1.987039,
            "logical_call_count": 1000,
            "request_attempt_count": 1000,
            "authentication_request_count": 0,
            "redirect_hop_count": 0,
            "unique_endpoint_count": 1000,
            "assets_uploaded": null,
            "assets_already_present": null,
            "verified_download_bytes": null,
            "acknowledged_upload_bytes": null,
            "sent_body_bytes": 0,
            "received_body_bytes": 0
          },
          "collection": {
            "complete": true,
            "missing_request_count": 0,
            "failure": null
          },
          "render": {
            "json": {
              "elapsed_s": 0.3111235830001533,
              "cpu_s": 0.3082919999999998,
              "characters": 897041
            },
            "text": {
              "elapsed_s": 0.24151116702705622,
              "cpu_s": 0.23954599999999981,
              "characters": 522043
            }
          },
          "sqlite_cache_kib": 2048,
          "spool_budget_bytes": 268435456,
          "process_peak_rss_bytes": 52477952,
          "cleanup_complete": true
        }
      ],
      "paired": [
        {
          "requests": 1000,
          "sample": 1,
          "elapsed_delta_s": 1.93108691717498,
          "cpu_delta_s": 1.902943,
          "operation_peak_rss_delta_bytes": 4505600,
          "process_peak_rss_delta_bytes": 5799936
        },
        {
          "requests": 1000,
          "sample": 2,
          "elapsed_delta_s": 2.027827332029119,
          "cpu_delta_s": 1.9484880000000002,
          "operation_peak_rss_delta_bytes": 4718592,
          "process_peak_rss_delta_bytes": 5603328
        },
        {
          "requests": 1000,
          "sample": 3,
          "elapsed_delta_s": 2.0042762090452015,
          "cpu_delta_s": 1.921276,
          "operation_peak_rss_delta_bytes": 4489216,
          "process_peak_rss_delta_bytes": 5472256
        }
      ],
      "variance": {
        "1000": {
          "elapsed_delta_mean_s": 1.9877301527497668,
          "elapsed_delta_population_stdev_s": 0.04119066197361163
        }
      }
    }
  9. toddysm commented on Dec 6, 2026

    @toddysm
    OwnerAuthor

    Issue: #262
    Checklist: L7:b15d02a5443d64f40b33dfbb31cdb8cf5792541f0a90cd3715476f3ac0728b7a
    Checklist: L8:62755a99ba80967ef623ee5d21a171ae424abeff216447ba671edb2165a85757
    Checklist: L9:b0bbc3c6b0c9b68b60c1f5c22a74aa9571b953523776238b97c9e2197ad430a1
    Checklist: L10:5f0ec524b50214ae6854c9beb2cccbc8ca7d0a188741accd629442e50361fd5a
    Checklist: L11:064239c1c59f230b50bcd363ce03caeec6c61977f869921c7e9cac6eac82763d
    Checklist: L12:8d0cc0427940d8525623d556c6c894c80b5a0d1f805d67ce1e0323252c1911c5
    Checklist: L13:5841407413e0b6a2c6bef9e923885094c38b1dcb186e617d925542c10e4c9f6c
    Checklist: L14:28fa0eaf82dbae968fb9afeff8d402b823fbaa4c5d9c5e0ff54ded3d5c67f5e5
    Checklist: L15:d9019db7f8f110607945eb3da2280034d566fbd19459dccb83c6e3329ea25d21
    Outcome: complete
    Evidence: #277 merged at 91d8463; current-head hosted tests https://github.com/toddysm/regshape/actions/runs/47604742133 and CodeQL https://github.com/toddysm/regshape/actions/runs/47604739272; all 13 active checks passed, all five review threads replied/resolved; tested head 375c3fd.

    All nine unchanged validation obligations delivered. The integrated coverage reference maps physical accounting/unique endpoints, deterministic lifecycle timing and worker drainage, authentication/provenance, output/schema isolation, pre-retention redaction, bounded storage/error behavior, metadata measurements, transport/Click compatibility and documented helper contracts: https://github.com/toddysm/regshape/blob/91d84636c3dd82fe36fe8a71a50dd92dc4395e7f/docs/library/request-report-validation.md

    Local integration: 15 passed. Real imported-interface mypy: both new Python files passed with --follow-imports=silent. Hosted Python 3.10 main suite: 6446 passed, 6 skipped; release suite: 95 passed; build-backend suite: 65 passed. Full Python 3.10-3.12, legacy transport, minimum Click, native platform/Homebrew and CodeQL gates passed.

    Current-driver 1k paired evidence: #262 (comment). Historical 100k evidence remains bound to driver 30ea16d: #262 (comment). Overflow/missing records and null unavailable counts are explicit. No unapproved numeric performance threshold, changed owner-approved layout benchmark inputs or release/default-on/security acceptance is inferred. Final feature documentation #263 and #254 inventory close-out remain pending.

  10. toddysm commented on Dec 6, 2026

    @toddysm
    OwnerAuthor

    #262 checkpoint (2026-12-05)

    Canonical state: #262 (comment)
    Instance: 496e8a8f-b816-478c-a3ac-ac8ad4060c76
    Worktree: /Users/toddysm/Documents/Development/regshape-fe-496e8a8f
    Branch: feature/transfer-endpoint-report/validation-496e8a8f
    Head: 375c3fd; ahead of origin/feature/transfer-endpoint-report/validation-496e8a8f: 0; tree: clean.
    Testing: hosted. State: done. PR: #277 (merged at 91d8463).
    Next: #262 complete through merged #277 at 91d8463; all nine original obligations have persisted completion evidence. Next authorize #263 final feature documentation. Keep #254/inventory In progress until all required children and inventory close-out finish; release performance/security acceptance remains separate. Preserve the clean owned branch/worktree/claim; deletion not authorized.
    Merge authorized after green CI and settled reviews; deletion remains unauthorized. Preserve this worktree and claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-managedfeature:transfer-endpoint-reporttype:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions