Skip to content

feat(delphi): admit the sampled private payloads to the battery through the probe box - #2779

Merged
colinmegill merged 3 commits into
edgefrom
feat/sampled-payload-admission
Sep 10, 2026
Merged

colinmegill merged 3 commits into
edgefrom
feat/sampled-payload-admission

Conversation

@colinmegill

Copy link
Copy Markdown
Member

Step-2 item 2d.2, on top of the probe box (#2777, merged).

Same-snapshot sampled extraction with overlap reuse; a closed manifest (schema 4) and paired plan (schema 2); all 20 sampled entries alongside the 14 existing private recipes; exact ceiling-six and empty cuts; measured ordering and restart adjacency; explicit final-source-state in both replay drivers; independent receipt and numeric-disclosure checks; box-only transport refusal and a payload byte/member census. Shipped config, battery, schema, and the empty image registry are unchanged.

Tests. 744 regressions pass with 4 named optional skips; 31 real-Postgres integration tests; 37 probe and 29 image tests; 13 Clojure tests (62 assertions). Offline 34-entry campaign: 68 real engine processes exit 0, 175 paired checkpoints, zero fixture copies; the verifier correctly refuses a known Clojure empty-output mismatch and issues no PASS receipt. Independent current-source audit: 66/68 engine inventories pass with the two required empty cases rejected; all 100 sampled paired moderation checkpoints correct. No production, parity, capacity, or release-image claim.

Written by the second reviewer; reviewed by the orchestrator. Schema impact: none.

🤖 Generated with Claude Code

https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s

…gh the probe box (2d.2)

Stacked on the probe box. Same-snapshot sampled extraction with overlap
reuse; a closed manifest (schema 4) and paired plan (schema 2); all 20
sampled entries alongside the 14 existing private recipes; exact
ceiling-six and empty cuts; measured ordering and restart adjacency;
explicit final-source-state in both replay drivers; independent receipt
and numeric-disclosure checks; box-only transport refusal and a
payload byte/member census. Shipped config, battery, schema, and the
empty image registry are unchanged.

744 regressions pass with 4 named optional skips; 31 real-Postgres
integration tests; 37 probe and 29 image tests; 13 Clojure tests (62
assertions). Offline synthetic 34-entry campaign: 68 real engine
processes exit 0, 175 paired checkpoints, zero fixture copies; the
verifier correctly refuses a known Clojure empty-output mismatch and
issues no PASS receipt. Independent current-source audit: 66/68 engine
inventories pass with the two required empty cases rejected; all 100
sampled paired moderation checkpoints correct. No production, parity,
capacity, or release-image claim.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
@colinmegill
colinmegill force-pushed the feat/sampled-payload-admission branch from 8e852f4 to dc67d45 Compare September 10, 2026 19:04
colinmegill and others added 2 commits September 10, 2026 12:05
…lojure replay driver final-source-state; probe-box doc)

The sampled-payload admission handoff was 19 files; the previous commit
staged only the ci/ and delphi/ paths and missed math/dev/replay.clj
(explicit final-source-state in the Clojure replay driver, the pair of
the Python change) and docs/probe-box.md. No other change.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
…ide the CI container

The Delphi CI job runs inside a container where the repository root is
not the parent of delphi/, so test_representative_payloads.py failed at
collection with "No module named 'gate'". The test now honours the job's
POLIS_CHECKOUT_DIR, and python-ci.yml copies all seven transitive probe
helpers into the container and triggers on their source changes. The
workflow-derived split layout reproduces the old missing-gate failure
and passes 66/66 after the fix; a normal checkout also passes 66/66.
actionlint shows only the two pre-existing baseline diagnostics.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018NVGBuYCk4EZmiz4csUv9s
@github-actions

Copy link
Copy Markdown
Contributor

Delphi Coverage Report

File Stmts Miss Cover
init.py 2 0 100%
benchmarks/bench_pca.py 128 107 16%
benchmarks/bench_repness.py 81 65 20%
benchmarks/bench_update_votes.py 38 28 26%
benchmarks/benchmark_utils.py 34 24 29%
components/init.py 1 0 100%
components/config.py 165 70 58%
conversation/init.py 2 0 100%
conversation/conversation.py 1284 272 79%
conversation/manager.py 131 42 68%
database/init.py 1 0 100%
database/dynamodb.py 395 189 52%
database/postgres.py 323 109 66%
pca_kmeans_rep/init.py 5 0 100%
pca_kmeans_rep/clusters.py 257 38 85%
pca_kmeans_rep/corr.py 98 17 83%
pca_kmeans_rep/group_k_smoother.py 28 0 100%
pca_kmeans_rep/legacy_kmeans.py 176 6 97%
pca_kmeans_rep/pca.py 135 18 87%
pca_kmeans_rep/repness.py 226 5 98%
poller/init.py 4 0 100%
poller/math_writer.py 90 2 98%
poller/service.py 299 33 89%
poller/worker_pool.py 83 0 100%
queue/executor.py 223 111 50%
regression/init.py 4 0 100%
regression/clojure_comparer.py 188 20 89%
regression/comparer.py 887 645 27%
regression/datasets.py 135 27 80%
regression/recorder.py 36 27 25%
regression/utils.py 130 85 35%
replay/init.py 2 0 100%
replay/axis_continuity.py 347 24 93%
replay/certify.py 907 48 95%
replay/crosslang.py 128 2 98%
replay/driver.py 55 1 98%
replay/equiv_query.py 10 0 100%
replay/event_ingress.py 95 1 99%
replay/fixture_bundle.py 809 60 93%
replay/fixture_config.py 242 9 96%
replay/fixture_extract.py 274 10 96%
replay/fixture_generate.py 103 1 99%
replay/fixture_samples.py 113 11 90%
replay/fixture_selection.py 119 0 100%
replay/fixture_survey.py 140 12 91%
replay/polarity.py 319 25 92%
replay/poller_equiv.py 777 99 87%
replay/prodclone.py 193 2 99%
replay/real_data.py 146 10 93%
replay/schedule.py 170 10 94%
replay/served_math.py 159 4 97%
replay/shard_bench.py 189 65 66%
replay/stagecompare.py 890 161 82%
replay/stages.py 256 40 84%
replay/stepcompare.py 77 1 99%
replay/store.py 120 11 91%
replay/types.py 71 6 92%
run_math_pipeline.py 264 114 57%
types.py 22 0 100%
umap_narrative/500_generate_embedding_umap_cluster.py 210 109 48%
umap_narrative/501_calculate_comment_extremity.py 112 53 53%
umap_narrative/502_calculate_priorities.py 135 135 0%
umap_narrative/700_datamapplot_for_layer.py 502 502 0%
umap_narrative/701_static_datamapplot_for_layer.py 310 310 0%
umap_narrative/702_consensus_divisive_datamapplot.py 434 275 37%
umap_narrative/801_narrative_report_batch.py 790 726 8%
umap_narrative/802_process_batch_results.py 268 268 0%
umap_narrative/803_check_batch_status.py 185 185 0%
umap_narrative/llm_factory_constructor/init.py 2 2 0%
umap_narrative/llm_factory_constructor/model_provider.py 224 224 0%
umap_narrative/polismath_commentgraph/init.py 1 0 100%
umap_narrative/polismath_commentgraph/cli.py 270 270 0%
umap_narrative/polismath_commentgraph/core/init.py 3 3 0%
umap_narrative/polismath_commentgraph/core/clustering.py 108 108 0%
umap_narrative/polismath_commentgraph/core/embedding.py 104 104 0%
umap_narrative/polismath_commentgraph/lambda_handler.py 219 219 0%
umap_narrative/polismath_commentgraph/schemas/init.py 2 0 100%
umap_narrative/polismath_commentgraph/schemas/dynamo_models.py 160 9 94%
umap_narrative/polismath_commentgraph/tests/conftest.py 17 17 0%
umap_narrative/polismath_commentgraph/tests/test_clustering.py 74 74 0%
umap_narrative/polismath_commentgraph/tests/test_embedding.py 55 55 0%
umap_narrative/polismath_commentgraph/tests/test_storage.py 87 87 0%
umap_narrative/polismath_commentgraph/utils/init.py 3 0 100%
umap_narrative/polismath_commentgraph/utils/converter.py 283 237 16%
umap_narrative/polismath_commentgraph/utils/group_data.py 355 306 14%
umap_narrative/polismath_commentgraph/utils/storage.py 584 466 20%
umap_narrative/reset_conversation.py 159 50 69%
umap_narrative/run_pipeline.py 374 230 38%
umap_narrative/topic_naming.py 148 148 0%
utils/clj_hash.py 44 0 100%
utils/env_flags.py 13 0 100%
utils/general.py 63 39 38%
utils/output_profile.py 66 2 97%
utils/serialization.py 10 5 50%
utils/vote_convention.py 29 2 93%
Total 18989 7887 58%

@colinmegill
colinmegill merged commit e35600c into edge Sep 10, 2026
5 checks passed
@colinmegill
colinmegill deleted the feat/sampled-payload-admission branch September 10, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant