Repository navigation
P421: Finish independent owner requests, preserving #2473 - #2560
Merged
33 commits merged intoOct 23, 2026
Merged
33 commits merged into
33 commits merged into
Conversation
…on' into fix/P421-owner-requests-unit-forks
trissim
marked this pull request as ready for review
October 22, 2026 00:19
trissim
added this pull request to the merge queue
Oct 22, 2026
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 22, 2026
This was referenced Oct 22, 2026
69c5b0e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P421: independent owner requests
Published and remote-matched head d5b9c0a. Current replacement Core order ee9f3ae89b05 follows fork-review-w's send-back. Source delivery claim recorded on this head in Core revision114 (Claimed, not accepted). Preserves #2473 ancestry. Not merged, installed or live-accepted.
Review correction
test_done_problem_delivers_the_units_held_orderfailing at14761f8d4 and passing on main954534a8e. My fixture copied the entire current Core source into one synthetic commit, making delivery look like it added existing forwarders (IDEN-7). My earlier statement that all four source failures had been repaired and re-exercised was wrong; the focused22 did not cover this held-order case.proof_build_checkoutsstill owns the single commit graph. Copying only__init__.pyfixed held delivery, but the broader batch found the watcher requiresCommanderConfig.module_repo(PlanPhase.__module__): 37 passed / 1 failed, not green (P421-sendback-qualified-tests.log).source.module_file(PlanPhase.__module__).CommanderConfig.plan_readingselects that declaration (commander/config.py:130), andRepo.module_fileowns its path (repo.py:36). It does not hand-maintain the path or copy unrelated production code. The real delivery gate remains unchanged. Current-main store-writer changes are integrated, preserving their owner.tests/test_held_problem_orders.py,tests/test_todos.py,tests/test_proof_build.py,tests/test_order_claims.py. This includes the real copied-statedone worker P1 --shadelivery and watcher journey, with no gate bypass. Command:PYTHONPATH=src:tests timeout 300 /home/ts/code/projects/agent-comms/.venv/bin/python .P421-family-check.py tests/test_held_problem_orders.py tests/test_todos.py tests/test_proof_build.py tests/test_order_claims.py; canonical fixture plugin, serial execution, faulthandler60, existing interpreter. ArtifactP421-declared-plan-tests.log. Only warning: xdist was imported before pytest assertion rewriting. No exact-head commander verdict or installed acceptance is asserted.P421-sendback-before-ast.log,P421-declared-plan-ast.log, both exit0. The trace covers fixture declarations/consumers, SourceRepository, proof graph and delivery gate; dynamic fixture/plugin resolution is confirmed by the real pytest run, not claimed as lexical proof. F821 and git diff --check pass.Ownership and deletion
OwnerRequest(TypedTable, SharedFileTables, DurableTables)owns request ID, commander incarnation, text, directives and Open/Completed state. Requests no longer occupyThread.goal.Todo.requestis the request foreign key. Todo creator validates request ownership; P440's typed acting assigner remains separate.OwnerRequestStore(DurableStore)owns the complete request persistence/serving-work capability. TodoStore inherits it, sharing its existing transaction and file, not a second store or delegate. Completion refusal lives once onOpenRequestState.complete; pending unaccepted claims still serve their request.E1–E4
TypedTable.rebuild: writable columns, missing stored-field NULL, constraints/indexes/triggers live on the table. Callers supply only real data conversions._column_listreferences 0; no private table calls from its helpers.reconcile_schema, not create/create_schema or schema-only rebuild. Real Todo goal→request conversion remains._table_sqlowns creation and comparison; no second schema reconciler.Historical qualification (not attributed to the current head)
P421-queue-now.json, head14761f8d4). PR job review-verdict also reports SUCCESS, but its sole verdict step runs only on merge_group (.github/workflows/debt-ratchet.yml:103–114); this is not evidence of commander review. Fork-review-w owns the exact-head verdict. The private hosted rehearsal passed; this is not live-bus installation or completion.P421-last-consumers.log): order story and parent/fork judge. After initial latest-main integration, request family 1 passed in 3.34s (P421-current-main-request.log), before the final main update. Neither is a final-head full-suite claim.tests/round2/test_typed_table.py,tests/test_owner_requests.py,tests/test_commander_forks.py. One request-family journey exercises real request CLI add/list/refused completion/independent completion, named/newest directives, recorded-identity replies, prefix validation, claim-blocked completion and unchanged commander goal. It uses the canonical credential-free HOME fixture and a separate bus; no agent starts.P421-final-revision-carry.login owned scratch.owner_requests.pyandtools/cutover/carry_owner_requests.py: exit0, withMYPYPATH=src:tools --explicit-package-bases --follow-imports=silent. This is not a whole-source type-check claim. Those modules lint clean; history retains its three pre-existing long lines.P421-ready-head-ast.log, exit0). Prior inventory at321b2de1f used audit pin8185dc8b86b2d58f83fe20d9ec25a00071459fb0 and counted src441/tools15/tests472. Before/after evidence includes imports, declarations, writes and callers; unresolved dynamic binding is outside lexical proof. Rejected the earlier symbolic-HEAD inventory that read frozen P440; exact P421 tree hashes were used instead.Remaining delivery
tests/test_holder_standing_rules.py::test_sigterm_group_preserves_active_goal_and_never_reissues_orderstests/test_owned_turn_goal_replacement.py::test_turn_after_order_replacement_is_allowedtests/test_install.py::test_install_routes_a_new_bus_and_replaces_only_a_route_that_selects_noneNo alternate pin, source-prefix alias or weakened guard. Shared test-runtime repair has a named owner; no competing repair here.
Diff against integrated main: 1,423 added / 594 deleted, 49 files. No merge commit yet.
Assumed: