Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 137 additions & 0 deletions research/pr6621-paid-merge-gate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
# PR #6621 paid-job merge gate

**Audit; no new κ.** The selected frontier stays 0.00310045.

## Scope and evidence

Original card: `supplier-boundary-audit`, refined to one latest candidate.
PR [#6621](https://github.com/CrocSwap/integer-mult-bounds/pull/6621) at
`e772ff8f300f4687bd8fa059f9e8f98719de121c` reports conditional κ = 0.00329700
by three edits of the PR #6529 native word, on the unchanged PR #6551 caller.
The published signed change per native call is

```text
paid {1:-3, 3:-1, 4:+1, 5:-1, 6:+1}
targets {8:+1, 9:-1}
```

and the complete invoice is that delta times 18. This package checks that
claim against the published receipts and records one coverage gap. It does
not replay the native word or the rational moment engines.

### What the receipts establish

Against published PR [#6551](https://github.com/CrocSwap/integer-mult-bounds/pull/6551)
at `11ca568cd1a16776ade02b4df09ea04a784cc674`, the PR #6621 `complete_cost`
histograms differ by exactly `18` times the stated per-call delta. Productive
fields stay 13,756, paid calls fall 67,096 to 67,042, and the rank-mass
surplus stays 760. Both public ordinary-work bounds equal the closed form in
`pricing.py` at 611 caller events, namely 254,932,208. The `+68` native
program events therefore do not move that bound: the formula never reads the
native program length. The local route allowance rises by 1,000, which equals
`1000 * (-3 + 4)` when the per-call paid-job count falls by 3 and one owned
lifetime is added. That is an accounting identity of the published totals, not
a replay.

The multisets `{1,1,1,3,5,8}` and `{4,6,9}` both sum to 19, and the first is
strictly majorized by the second. For `H(r) = r^t` on `0 < t < 1`, strict
concavity gives

```text
3 H(1) + H(3) + H(5) + H(8) - H(4) - H(6) - H(9) > 0.
```

The same conclusion splits into the two brackets in PR #6621's PROOF.md.
Strict subadditivity of `r^t`, which follows from `s^t > s` for `s, t` in
`(0, 1)`, gives `3 H(1) + H(3) > H(6)` because `1+1+1+3 = 6`. The derivative
`t r^{t-1}` is strictly decreasing, so the unit interval `(4, 5)` contributes
more than `(8, 9)`. The verifier checks the integer comparisons. It does not
replace the concavity argument.

The native words agree with the event census in the README, independently of
the replay. `word-pr6529.json.gz` is the program inside PR #6551's
`native-source.tar` and is byte-identical to `BASEWORD.json.gz` inside PR
#6621's archive. The new program has length 18,561 rather than 18,493:
`ADD +69`, `MOVE -3`, `INIT +1`, `CLEAR +1`. The only `final` change is index
435, from frame 127 to frame 246.

### The gap

`invoice.compare` in the PR #6621 package demands that the candidate differ
from `research/gaussian-root-retirement/RESULT.json` inside its `source.tar`
by only the retirement change

```text
208*(H41 - H40 - H57 + H56).
```

That archived file still carries status
`PASS_GAUSSIAN_ROOT_RETIREMENT_KAPPA_00329394` and kappa `164697/50000000`.
Its paid and target histograms, local scalar allowance, and raw-root interval
are not the receipt archived by PR #6551. Relative to that unmodified receipt
(sha256 `13639e4770964ded237b79d72ad517448de269b34d724beaa70757dbe0be6fe2`),
the PR #6621 archive already contains the same native merge delta as the
public candidate. The compare gate therefore still sees only the retirement
delta. The rewritten raw-root lower endpoint
`164801644010225711532641/50000000000000000000000000`
lies strictly above the unmodified upper endpoint
`82348659273829759207423/25000000000000000000000000`
and strictly above the kappa string the file still prints,
`164697/50000000`.

PR #6551's own public histogram really does differ from its own archived
predecessor by the retirement delta. The same numerical gate on PR #6621 does
not additionally certify the merge. The merge is visible only by comparing
the public #6621 receipt with the public #6551 receipt, or with the
unmodified archived predecessor. Neither comparison is the check
`invoice.compare` performs.

PR [#6554](https://github.com/CrocSwap/integer-mult-bounds/pull/6554) audits
the #6551 retirement cut. It does not inspect this native merge or the
rewritten predecessor receipt.

## Reproduce

From the repository root, with Python 3.12:

```sh
python3 -B research/pr6621-paid-merge-gate/verify.py
python3 scripts/research_package.py --package research/pr6621-paid-merge-gate --check-only
python3.12 scripts/research_package.py --package research/pr6621-paid-merge-gate
```

The marker is `PASS_PR6621_MERGE_GATE_DOES_NOT_SEE_THE_MERGE`.

Vendored bytes, copied from the named commits and checked against the GitHub
blob ids of the two public `RESULT.json` files:

| File | sha256 | Git blob |
|---|---|---|
| `evidence/pr6551-result.json` | `90e096089e661a82f551feb022ff4fa49a5847b76abb5116c89cb7ed26c3d27f` | `38d840ae0f36b5a922fe288ca422f8d942d0008e` |
| `evidence/pr6621-result.json` | `878e15f5797219311175ae177fea8c4a10f4da5f4c463814721f5bd8b7d6dc27` | `0c31219eccb0d9f8e73b39da7819545795f7d964` |
| `evidence/archive6551-retirement-result.json` | `13639e4770964ded237b79d72ad517448de269b34d724beaa70757dbe0be6fe2` | extracted from PR #6551 `source.tar` |
| `evidence/archive6621-retirement-result.json` | `020728f015b8493b975a6c3d25115e00cef1c4bb62c062148f546723c509b75d` | extracted from PR #6621 `source.tar` |
| `evidence/word-pr6529.json.gz` | `15ca0c4ee15ad5a58dfc178d7b44d89ca202021c2907fbf9ef2ed50ba1ed8513` | `WORD.json.gz` in the #6551 native archive; also `BASEWORD.json.gz` in the #6621 native archive |
| `evidence/word-pr6621.json.gz` | `25b350a56ce11436fccf4c987da466cb002fa28dfc9b7e9d88e8b1b748b79df3` | `WORD.json.gz` in the #6621 native archive |

PR #6551 `source.tar` blob `025b8b9c6d9b21e31ad7499ebb04132abfa7e88c`. PR #6621
`source.tar` blob `0c254b78790851e78fc43b0f72b2d47e4723517b`.

## Open next questions

1. Replace the archived Gaussian-retirement `RESULT.json` with the unmodified
PR #6551 copy and rerun the published verifier. The first assertion to
inspect is `invoice.compare`. This matters because a green run of the
shipped package does not show the merge. It is blocked here by the nested
replay and moment engines, which this session did not execute.
2. Assign the Gaussian ranks of the two vendored words with an independent
census. The opcode and `final[435]` facts above do not identify ranks
1, 3, 4, 5, 6, 8 and 9. The rank map is the retained native replay.

## Credit

The construction, retirement identity and reported conditional kappa are
DreamingOfClouds' PR #6621, building on Ali Romman's PR #6551 and the retained
PR #6545 / PR #6529 lineage named there. PR #6554 by DLamdata is the open
audit of the retirement cut and is not reused as evidence for the merge.
Prepared by unpaidmoon with substantial Cursor Grok assistance. Apache-2.0.
18 changes: 18 additions & 0 deletions research/pr6621-paid-merge-gate/SOURCES.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"schema_version": 1,
"base_commit": "7c49fe32c55de02c2c873655c804b16e4c3fef0a",
"files": [
{
"path": "certificates/selected-result.json",
"usage": "provenance",
"git_blob": "d59b5035e7b4cbaa9d688a1d32dd0d6eb79c466a",
"sha256": "9b8d0eea95b3bf0dfcb7938a732a6439b87a2685dec2a5ab9e525b3b34debbfa"
},
{
"path": "docs/research/agent-task-catalog.json",
"usage": "provenance",
"git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec",
"sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81"
}
]
}
97 changes: 97 additions & 0 deletions research/pr6621-paid-merge-gate/TASK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"schema_version": 1,
"task_id": "supplier-boundary-audit",
"priority_revision": 8,
"base_commit": "7c49fe32c55de02c2c873655c804b16e4c3fef0a",
"original_card": {
"id": "supplier-boundary-audit",
"question": "Does one changed supplier have complete source-bound native, caller, ordinary and outer admission coverage?",
"starting_points": [
"docs/research/current-priorities.md",
"docs/research/research-family-status.md",
"certificates/selected-result.json",
"docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md"
],
"methods": [
"Construct and independently check one source-bound instance of the stated first experiment.",
"Seek an exact counterexample or target-specific complete-budget obstruction to that same proposed change."
],
"acceptance_gate": "Pin the current sources and one obligation; the historical owner audit is an example, not evidence of a current bug.",
"first_step": {
"command": [
"python3",
"-B",
"scripts/research_selected_baseline.py"
],
"expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY",
"inspect": "Read revision 8, the selected review and live exact-source handoffs. Then follow this card's bounded first_experiment.",
"scope": "Source-bound orientation only, not a supplier replay or theorem proof."
},
"first_experiment": "Choose one latest uncovered candidate and build a delta coverage map against the selected review. For P104, #5717 changes owned-lifetime assumptions and #5719 covers exact #5713 causal premises; neither automatically transfers to #5718. For BIT, #5679/#5708 need component admission and compatible outer use. Check controls and exact source identity before reuse; stop with one resolved gap or explicit remaining obligation. A heavy full replay requires a separate serial resource budget.",
"bottleneck_link": "Judge the actual current supplier contract and complete signed target/paid bill; frozen-profile ceilings require an applicability proof.",
"allowed_variations": [
"One exact source head, helper/cut region or quantified proposition and changed hypothesis; check live handoffs first. Different seeds are not different scopes."
],
"scope_change_triggers": [
"Changing source head, helper/cut domain, operation alphabet or caller boundary without recording the new scope.",
"Treating an archived proposal or local numerical pass as complete supplier admission."
],
"overlap_terms": [
"supplier admission",
"5717",
"5719",
"5708",
"owned lifetime"
],
"existing_checks": [
{
"scope": "PR #4088: author-checked local words, native receipts, owner/phase fill and exact moment.",
"evidence": "research/staged544-mixed-fourth-entry/README.md",
"remaining": "Rebind and validate ordinary/outer admission with all four providers; full mixed release not established.",
"status": "author-checked",
"source_commit": "72d7efc181edb21806a878f174847c96dd410ab0",
"selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129"
},
{
"scope": "PR #3801: successor scatter-boundary decision package.",
"evidence": "research/scatter-boundary-decision/README.md",
"remaining": "Consult its exact acceptance scope before any new exporter audit; not proof of a selected failure.",
"status": "author-checked",
"source_commit": "911f8800ba7a4b03603ef62c5ffc6240e53cb5fd",
"selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129"
},
{
"scope": "Selected PR5599: complete helper-subspace construction and independent caller replay; five framework assumptions remain.",
"evidence": "docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md",
"remaining": "The next experiment must identify uncovered source-specific work. Successor archive intake does not transfer this admission.",
"status": "reviewed",
"source_commit": "09dd0965711ca7eeb169057a420abab1c9052137",
"selected_record_sha256": "2a0220e866417774606e0f991e41b9c1d26b1f43b97857238cf478dbc7d330b5"
}
]
},
"scope_status": "refined",
"actual_scope": "Does PR #6621's published paid-job-merge histogram, and its top-level invoice.compare gate against the retained Gaussian-retirement receipt, cover that merge relative to published PR #6551?",
"scope_change_reason": "The card asks for one latest uncovered candidate and a delta coverage map, stopping at one resolved gap. This package audits only PR #6621 head e772ff8f300f4687bd8fa059f9e8f98719de121c against published PR #6551 head 11ca568cd1a16776ade02b4df09ea04a784cc674. It does not transfer the #5719 or #5708 checks, and it does not replay the native word.",
"bottleneck_link": "The selected frontier remains kappa 0.00310045. PR #6621 reports conditional kappa 0.00329700 from three native-word edits on the PR #6551 caller. A maintainer can use that figure only if the signed histogram delta is bound to the published predecessor. This audit separates that arithmetic, which matches the prose, from the compare gate, which does not see the merge.",
"budget_minutes": 60,
"stop_rule": "Stop after one source-identity gap in the #6621 compare gate. Do not rerun the native column replay or the rational moment engines.",
"outcome": "completed",
"evidence": "verify.py checks the vendored public and archived receipts and the two native words. PASS_PR6621_MERGE_GATE_DOES_NOT_SEE_THE_MERGE.",
"author": "unpaidmoon",
"ai_assistance": "Substantial Cursor Grok assistance.",
"open_questions": [
{
"question": "Does invoice.compare accept the paid-job merge when the archived Gaussian-retirement RESULT.json is replaced by the unmodified receipt from PR #6551's source.tar?",
"why_it_matters": "The published gate currently differences the candidate against a receipt that already contains the merge, so a passing run does not authenticate the new native histogram.",
"first_step": "Swap research/gaussian-root-retirement/RESULT.json in PR #6621's source.tar for the byte-identical file from PR #6551 source.tar (sha256 13639e4770964ded237b79d72ad517448de269b34d724beaa70757dbe0be6fe2) and rerun the published verify.py, recording the first failing assertion.",
"blocked_by": "The nested native replay and moment engines are outside this package's budget; the expected failure is the compare assertion, but that has not been executed here."
},
{
"question": "Do the two native words induce the claimed Gaussian rank delta under an independent replay, rather than only under the edited verifier shipped inside PR #6621's native-source.tar?",
"why_it_matters": "The opcode census and final[435] change are independent of that verifier, but the ranks 1, 3, 4, 5, 6, 8 and 9 are assigned by its replay.",
"first_step": "Reimplement the local paid/helper census from the documented event rules on word-pr6529.json.gz and word-pr6621.json.gz, with one mutated opcode as a failure control.",
"blocked_by": "The rank map lives in the retained native replay, which this audit did not reimplement."
}
]
}
25 changes: 25 additions & 0 deletions research/pr6621-paid-merge-gate/VERIFY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"schema_version": 1,
"status": "ready",
"python": "3.12",
"requirements": [],
"inputs": [
"research/pr6621-paid-merge-gate/evidence/archive6551-retirement-result.json",
"research/pr6621-paid-merge-gate/evidence/archive6621-retirement-result.json",
"research/pr6621-paid-merge-gate/evidence/pr6551-result.json",
"research/pr6621-paid-merge-gate/evidence/pr6621-result.json",
"research/pr6621-paid-merge-gate/evidence/word-pr6529.json.gz",
"research/pr6621-paid-merge-gate/evidence/word-pr6621.json.gz"
],
"commands": [
{
"argv": [
"{python}",
"-B",
"{package}/verify.py"
],
"timeout_seconds": 60,
"checks": "Histogram identity of the published #6621 minus #6551 receipts, blindness of invoice.compare to that delta, opcode and final[435] census of the two native words, integer majorization comparisons, and four mutated failure controls."
}
]
}
Loading