Repository navigation
Split adaptive paper sells within the durable order envelope - #1091
seathatflowsinourveins wants to merge 1 commit into
Conversation
|
The CC's 2026-10-13 20:47Z ruling assigns #1091's one whole-share precision fix commit to |
07767e0 to
4b3332a
Compare
The mover flat-recovery outcome is intended under CC #1091: owned exits are exempt from entry qty/notional caps, oversell stays refused. Pin NativeSellRisk to fixed RTH using the existing FixtureClock; retain real native risk. Test-only correction plus derived hash registries; no production regression or code change.
The mover flat-recovery outcome is intended under CC #1091: owned exits are exempt from entry qty/notional caps, oversell stays refused. Pin NativeSellRisk to fixed RTH using the existing FixtureClock; retain real native risk. Test-only correction plus derived hash registries; no production regression or code change.
40910e2 to
2325d5a
Compare
The mover flat-recovery outcome is intended under CC #1091: owned exits are exempt from entry qty/notional caps, oversell stays refused. Pin NativeSellRisk to fixed RTH using the existing FixtureClock; retain real native risk. Test-only correction plus derived hash registries; no production regression or code change.
2325d5a to
e275516
Compare
The mover flat-recovery outcome is intended under CC #1091: owned exits are exempt from entry qty/notional caps, oversell stays refused. Pin NativeSellRisk to fixed RTH using the existing FixtureClock; retain real native risk. Test-only correction plus derived hash registries; no production regression or code change.
e275516 to
038ecb0
Compare
The mover flat-recovery outcome is intended under CC #1091: owned exits are exempt from entry qty/notional caps, oversell stays refused. Pin NativeSellRisk to fixed RTH using the existing FixtureClock; retain real native risk. Test-only correction plus derived hash registries; no production regression or code change.
038ecb0 to
e63d70d
Compare
The mover flat-recovery outcome is intended under CC #1091: owned exits are exempt from entry qty/notional caps, oversell stays refused. Pin NativeSellRisk to fixed RTH using the existing FixtureClock; retain real native risk. Test-only correction plus derived hash registries; no production regression or code change.
52924b0 to
9a38b81
Compare
9a38b81 to
7511c8a
Compare
|
Parked at 7511c8a under the extended loop stop (CC ruling research-cc-role-20261008/ruling-cc-20261015T1553Z-pr1091-park-exit-reason.md). No land cue. The finding is a P1 from the local review at 7511c8a:
The fix comes as a fresh PR from main. It keeps the committed target while promoting a stronger exit reason through a fixed strength order, with a fail-first test of this exact sequence at a zero and a nonzero tolerance. Both review families read it from scratch. No live lane runs this code. |
…-0005) and scheduling-supervision (A5-0024) From the practice gap ledger of 2026-10-15 (rows A3-0090, B2-0005 and A5-0024, each ruled ADOPT and re-checked AGREE by the co-op's Codex lane). The plan asks for one PR per layer page; the coordinator combined these two small pages in one commit. This commit is the branch squashed onto the same base under the digest-custody precedent of #1091, #1148 and #1150: no commit in the branch keeps a private digest prefix. observation-inference, slot usage-cost-monitoring: - A3-0090: the template and the collector example set OTEL_METRICS_INCLUDE_ENTRYPOINT=true (off by default; env-vars.md:510, monitoring-usage.md:156 and :584 at client 2.1.300), so metrics carry app.entrypoint to split interactive, -p and SDK runs. The row records that the collector's transform/privacy metric allowlists (the repository profile, and the 2604 profile the live collector runs) do not keep app.entrypoint yet, so the collector sums the label away until they do; the host steps go to the command center as a host diff, named without a path. The dispositions catalog records the switch as adopt-pending on the template, and the new-WSL client configuration record gains a dated projection (404 pieces, one more wired through the otel-collector-contrib slot). - B2-0005: signed in with the plan, claude -p, Agent SDK and third-party app runs draw the plan's usage limits (support article 15036540, its 2026-06-15 and 2026-10-07 updates); the Max and Team monthly API credits cover a linked Console organization's API-key usage only and leave the plan's limits unchanged (support article 17154008). scheduling-supervision, slot scheduled-tasks: - A5-0024, a correction: --resume and --continue restore CronCreate tasks that have not expired or passed, and a backgrounded session keeps them firing (scheduled-tasks.md:11, :228, :230). Measured on this host on 2026-10-15 and retained in evidence/artifacts/d4-bg-trial-20261015/scheduled-task-carry.json: a one-shot CronCreate task fired at 07:36:00Z inside the copy that claude --resume <id> --bg started. The route now has resume and background paths run CronList first and cancel stale tasks with CronDelete (scheduled-tasks.md:159-160). Digest custody (command center, 2026-10-15; the GPT read at 8c03cbe, P1): repository text cites committed files and public sources only. test_the_rows_cite_no_scratch_path_or_unpublished_digest checks both rows for the scratch roots and the private findings files' name and holds no private value; a synthetic negative control plants a scratch reference with a synthetic digest and is caught. The slot manifest's sha256_when_labeled follows slots.json. tests/test_native_practice_ledger_obs_sched.py: 6 of 6 tests failed before on the base (38 subtests); 7 pass now; native-practice modules 106 OK; the mechanism modules pass except four CachedArtifactTests in test_upstream_surface_watch, which fail the same way on the base; validate rc 0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-0005) and scheduling-supervision (A5-0024) From the practice gap ledger of 2026-10-15 (rows A3-0090, B2-0005 and A5-0024, each ruled ADOPT and re-checked AGREE by the co-op's Codex lane). The plan asks for one PR per layer page; the coordinator combined these two small pages in one commit. This commit is the branch squashed onto the same base under the digest-custody precedent of #1091, #1148 and #1150: no commit in the branch keeps a private digest prefix. observation-inference, slot usage-cost-monitoring: - A3-0090: the template and the collector example set OTEL_METRICS_INCLUDE_ENTRYPOINT=true (off by default; env-vars.md:510, monitoring-usage.md:156 and :584 at client 2.1.300), so metrics carry app.entrypoint to split interactive, -p and SDK runs. The row records that the collector's transform/privacy metric allowlists (the repository profile, and the 2604 profile the live collector runs) do not keep app.entrypoint yet, so the collector sums the label away until they do; the host steps go to the command center as a host diff, named without a path. The dispositions catalog records the switch as adopt-pending on the template, and the new-WSL client configuration record gains a dated projection (404 pieces, one more wired through the otel-collector-contrib slot). - B2-0005: signed in with the plan, claude -p, Agent SDK and third-party app runs draw the plan's usage limits (support article 15036540, its 2026-06-15 and 2026-10-07 updates); the Max and Team monthly API credits cover a linked Console organization's API-key usage only and leave the plan's limits unchanged (support article 17154008). scheduling-supervision, slot scheduled-tasks: - A5-0024, a correction: --resume and --continue restore CronCreate tasks that have not expired or passed, and a backgrounded session keeps them firing (scheduled-tasks.md:11, :228, :230). Measured on this host on 2026-10-15 and retained in evidence/artifacts/d4-bg-trial-20261015/scheduled-task-carry.json: a one-shot CronCreate task fired at 07:36:00Z inside the copy that claude --resume <id> --bg started. The route now has resume and background paths run CronList first and cancel stale tasks with CronDelete (scheduled-tasks.md:159-160). Digest custody (command center, 2026-10-15; the GPT read at 8c03cbe, P1): repository text cites committed files and public sources only. test_the_rows_cite_no_scratch_path_or_unpublished_digest checks both rows for the scratch roots and the private findings files' name and holds no private value; a synthetic negative control plants a scratch reference with a synthetic digest and is caught. The slot manifest's sha256_when_labeled follows slots.json. tests/test_native_practice_ledger_obs_sched.py: 6 of 6 tests failed before on the base (38 subtests); 7 pass now; native-practice modules 106 OK; the mechanism modules pass except four CachedArtifactTests in test_upstream_surface_watch, which fail the same way on the base; validate rc 0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-0005) and scheduling-supervision (A5-0024) From the practice gap ledger of 2026-10-15 (rows A3-0090, B2-0005 and A5-0024, each ruled ADOPT and re-checked AGREE by the co-op's Codex lane). The plan asks for one PR per layer page; the coordinator combined these two small pages in one commit. This commit is the branch squashed onto the same base under the digest-custody precedent of #1091, #1148 and #1150: no commit in the branch keeps a private digest prefix. observation-inference, slot usage-cost-monitoring: - A3-0090: the template and the collector example set OTEL_METRICS_INCLUDE_ENTRYPOINT=true (off by default; env-vars.md:510, monitoring-usage.md:156 and :584 at client 2.1.300), so metrics carry app.entrypoint to split interactive, -p and SDK runs. The row records that the collector's transform/privacy metric allowlists (the repository profile, and the 2604 profile the live collector runs) do not keep app.entrypoint yet, so the collector sums the label away until they do; the host steps go to the command center as a host diff, named without a path. The dispositions catalog records the switch as adopt-pending on the template, and the new-WSL client configuration record gains a dated projection (404 pieces, one more wired through the otel-collector-contrib slot). - B2-0005: signed in with the plan, claude -p, Agent SDK and third-party app runs draw the plan's usage limits (support article 15036540, its 2026-06-15 and 2026-10-07 updates); the Max and Team monthly API credits cover a linked Console organization's API-key usage only and leave the plan's limits unchanged (support article 17154008). scheduling-supervision, slot scheduled-tasks: - A5-0024, a correction: --resume and --continue restore CronCreate tasks that have not expired or passed, and a backgrounded session keeps them firing (scheduled-tasks.md:11, :228, :230). Measured on this host on 2026-10-15 and retained in evidence/artifacts/d4-bg-trial-20261015/scheduled-task-carry.json: a one-shot CronCreate task fired at 07:36:00Z inside the copy that claude --resume <id> --bg started. The route now has resume and background paths run CronList first and cancel stale tasks with CronDelete (scheduled-tasks.md:159-160). Digest custody (command center, 2026-10-15; the GPT read at 8c03cbe, P1): repository text cites committed files and public sources only. test_the_rows_cite_no_scratch_path_or_unpublished_digest checks both rows for the scratch roots and the private findings files' name and holds no private value; a synthetic negative control plants a scratch reference with a synthetic digest and is caught. The slot manifest's sha256_when_labeled follows slots.json. tests/test_native_practice_ledger_obs_sched.py: 6 of 6 tests failed before on the base (38 subtests); 7 pass now; native-practice modules 106 OK; the mechanism modules pass except four CachedArtifactTests in test_upstream_surface_watch, which fail the same way on the base; validate rc 0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-0005) and scheduling-supervision (A5-0024) (#1158) From the practice gap ledger of 2026-10-15 (rows A3-0090, B2-0005 and A5-0024, each ruled ADOPT and re-checked AGREE by the co-op's Codex lane). The plan asks for one PR per layer page; the coordinator combined these two small pages in one commit. This commit is the branch squashed onto the same base under the digest-custody precedent of #1091, #1148 and #1150: no commit in the branch keeps a private digest prefix. observation-inference, slot usage-cost-monitoring: - A3-0090: the template and the collector example set OTEL_METRICS_INCLUDE_ENTRYPOINT=true (off by default; env-vars.md:510, monitoring-usage.md:156 and :584 at client 2.1.300), so metrics carry app.entrypoint to split interactive, -p and SDK runs. The row records that the collector's transform/privacy metric allowlists (the repository profile, and the 2604 profile the live collector runs) do not keep app.entrypoint yet, so the collector sums the label away until they do; the host steps go to the command center as a host diff, named without a path. The dispositions catalog records the switch as adopt-pending on the template, and the new-WSL client configuration record gains a dated projection (404 pieces, one more wired through the otel-collector-contrib slot). - B2-0005: signed in with the plan, claude -p, Agent SDK and third-party app runs draw the plan's usage limits (support article 15036540, its 2026-06-15 and 2026-10-07 updates); the Max and Team monthly API credits cover a linked Console organization's API-key usage only and leave the plan's limits unchanged (support article 17154008). scheduling-supervision, slot scheduled-tasks: - A5-0024, a correction: --resume and --continue restore CronCreate tasks that have not expired or passed, and a backgrounded session keeps them firing (scheduled-tasks.md:11, :228, :230). Measured on this host on 2026-10-15 and retained in evidence/artifacts/d4-bg-trial-20261015/scheduled-task-carry.json: a one-shot CronCreate task fired at 07:36:00Z inside the copy that claude --resume <id> --bg started. The route now has resume and background paths run CronList first and cancel stale tasks with CronDelete (scheduled-tasks.md:159-160). Digest custody (command center, 2026-10-15; the GPT read at 8c03cbe, P1): repository text cites committed files and public sources only. test_the_rows_cite_no_scratch_path_or_unpublished_digest checks both rows for the scratch roots and the private findings files' name and holds no private value; a synthetic negative control plants a scratch reference with a synthetic digest and is caught. The slot manifest's sha256_when_labeled follows slots.json. tests/test_native_practice_ledger_obs_sched.py: 6 of 6 tests failed before on the base (38 subtests); 7 pass now; native-practice modules 106 OK; the mechanism modules pass except four CachedArtifactTests in test_upstream_surface_watch, which fail the same way on the base; validate rc 0. Co-authored-by: Claude Opus 5.5 <[email protected]>
Scope
The shared runner splits owned paper reductions into whole-share chunks, preserves committed targets across ticks and restarts, and paces temporary refusals. A 100-share position at a $109.98 sell limit under a $10,000 sizing reference exits as 90 then 10 shares. Confirmed scale-ins re-arm completed fractional take-profit targets; unfilled buys and duplicate cumulative observations do not.
The content rebase preserves both #1091 and landed #1119 behavior. Integrity loss disables admissions, requests entry cancellation, and waits for native and durable terminal confirmation within the configured deadline. Both the first health check and the check after snapshot/refresh work apply this handoff. The transport retains typed refusal codes and retry delays together with the three fixed local diagnostic messages; other messages remain masked.
7511c8ae350f4e1b868b097fb163284a4822ff12.1d3f511f0b6a45b3eb454cf90f1b9c90ee20b9ae.fda24cfe436310658755a75e5b6b7865512c8df1; reviewed source head:52924b028c8419b48042f80b088ec3135a0f8084.lane:trading. The explore lane holds account A; these changes serve the shared runner across account assignments.Name-only provenance and history
Nine unpublished review/helper commitments in the decision and two correction receipts are replaced with name-only citations. Their full values and scanned prefixes occur zero times in the new head tree and zero times in the complete branch patch history from the integration base. No private values or prefixes are restated here.
All 47 published binding locations remain. Forty-four published values are unchanged; the three existing
manifests/evidence.jsonregistrations for the edited published files were refreshed to match their bytes. All 12 justified bindings remain exactly unchanged. No runtime or test source changed.The single squash commit has the same tree as the validated fixed commit
ad090a06e4673d6cb89341891a70547a26449ad9, and its sole parent is1d3f511f0b6a45b3eb454cf90f1b9c90ee20b9ae.The replaced commits
9a38b81a432f86aa78c048db8592045e89cb5a79,52924b028c8419b48042f80b088ec3135a0f8084,d3c3a4e97b26482fdc94170cecb6d50d3ac68cb9and83df1bc6ad9a264b8ea034c76c6b55f969af9284, and their replaced ancestors, may remain reachable by SHA on GitHub until garbage collection. A purge of retained GitHub copies is an owner-only GitHub Support request. This branch rewrite does not perform or claim that purge.Content-resolution scope
blueprints/us-equities/adaptive-paper/source-hashes.jsonmanifests/evidence.jsonOnly runner, transport and the new native regression contain synthesized runtime/test integration hunks. The cancellation helper and landed stream mechanisms remain verbatim. Native strategy, native adapter, safety, recovery, sell-chunk tests and recovery tests retain their exact reviewed bytes. The decision addendum and four new artifacts record the integration.
SOTA sources
fda24cfe436310658755a75e5b6b7865512c8df1: runner, transport, and native cancellation fixture.52924b028c8419b48042f80b088ec3135a0f8084: runner, transport, and confirmed-fill lifecycle.1b0a49d2792a9432a3aca3fcb617ce7a630d905e: queued work at disconnect, client-runtime regression, denial enum, and quantity precision check. The source mirror and installed 2.0.0rc5 distribution remain distinct evidence.cc4cb3b7ba50ae250e621983c2779047fb16bb28: Order filled quantity, TradeUpdate, and client-ID lookup. The pinned model file was verified byte-identical to installed 0.44.0.Evidence-class table
Fail-first controls
The count-only custody check fails on the replaced head: nine protected values at ten sites in three files. It passes after the name-only correction, with every full-value and prefix count zero. All non-target bindings remain unchanged except the three required registrations for edited published bytes.
The source-hash checker reproduces the stale sell-chunk test entry at 52924b0. The corrected map passes all eight checks at
7511c8ae350f4e1b868b097fb163284a4822ff12.The native mid-tick test changes only fixtures in both source-head controls. At 52924b0 the native dispatcher abandons the queued cancel: zero port cancellations and one unresolved entry. At fda24cf cancellation confirms, but another rebalance runs after the injected loss. The combined code confirms cancellation before stop and performs no further rebalance. The existing confirmed-cancel and pending-cancel deadline cases also pass.
Earlier partial take-profit, STOP/TIME, denial-table, uncertainty/reconciliation and privacy regressions remain in the passing core suite.
Local commands run
The committed
content-rebase/runtime-tests.jsonandmerge-controls.jsonretain the earlier integration runs. The full runtime set was repeated after the name-only correction; its results are below. New count-only audit receipts and test output are retained by name under the lane'sshared-runner.pr1091-custody-*.jsoncoordination records. The pinned runtime is CPython 3.12.3, NautilusTrader 2.0.0rc5 and alpaca-py 0.44.0; networking is isolated and the test source root is bound to the checkout.All runtime and test source hashes remain unchanged by the custody correction. The squashed tree exactly matches the tested fixed tree. Fourteen existing temporary-directory ResourceWarnings remain disclosed.
Decision record
2026-10-13-adaptive-paper-sell-chunks.md records the content-resolution decisions. The four artifacts under
evidence/artifacts/adaptive-paper-shared-runner-corrections-20261015/content-rebase/contain the receipt, controls, runtime output and runtime delta. Historical receipts remain intact.Follow-ups and prior-read dispositions
/var/tmppaths, as they did at the replaced head. Make these citations portable in a separate follow-up.Installed-guard drift is a host item owned by the co-op, referenced by test_secret_path_guard.py:3149 and secret_path_guard.py:3104.
Host evidence
Orders, fills, sockets and broker responses are synthetic. Tests use private journals and STOP bindings. No live paper unit, broker credential, live latch, ISSUER-HOLD or host runtime lock was accessed. These results do not qualify paper or broker operation.
Checklist