Repository navigation
Record the host holding each Pickup reservation - #1347
Merged
Merged
Conversation
# Conflicts: # src/pickup/reservation.rs
Merged
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.
Summary
thirdshift Pickup reservation for <issue> Token: <unique-token> +Host: <OS hostname> Launch: <directory> Process: <pid> Started: <time>Record which machine holds each new Pickup reservation, using
unknownwhen the OS cannot provide its name. Update ADR 0017 and the recovery documentation. Existing reservations remain valid: ownership uses the ref and SHA, and there is currently no reservation-message parser or metadata view in status, show or Inbox.Closes #1328
Evidence
592304ef:SYSTEMD_UNIT_PATH=/usr/lib/systemd/system /usr/bin/time -p scripts/affected-tests origin/mainpasses all 50 site tests and 3,071 Rust tests, with 69 existing skips. Rust execution took 1,936.167s; total wall time was 2,128.69s including compilation (Rust build: 2m05s). The merge preservesHost:in upstream's shared writer for numbered Pickup and CI-red filing reservations.cargo check --bin thirdshift,cargo clippy --all-targets -- -D warnings, andcargo fmt --checkpass.cargo test --test pickup_runpasses 104 tests (one fixture ignored);cargo test --locked --test pickup_model -- --nocapturepasses four (one intentionally ignored). Pickup verification remains in sync: claimed-dispatch safety passes and the known pre-Claim counterexample is retained.cc5e066c:cargo test --test skill partial_muse_and_opencode_messages_are_not_success -- --exact --nocapturepasses./usr/bin/time -p scripts/affected-tests origin/mainpasses 50 site tests and 3,065 Rust tests, with 69 existing Rust skips; Rust execution took 1,571.769s and total wall time was 1,723.02s including compilation (Rust compilation: 1m29s).cargo test --test pickup_run pickup_reservation_records_the_host_holding_it -- --exactfailed because the published reservation omittedHost:.After:
cargo test --test pickup_run reservation -- --nocapturepasses all 7 reservation tests, including the hostname and legacy message cases.cargo check --bin thirdshiftpasses./usr/bin/time -p scripts/affected-tests mainpasses: 50 site tests and 3,059 Rust tests, with 69 Rust tests skipped. Rust test execution took 1,509.034s; selector wall time was 1,705.42s including site checks and compilation (Rust compilation: 2m06s). Full output is retained in.thirdshift-review-KXZy6c/validation.log.verify-pickup: in sync.cargo test --locked --test pickup_model -- --nocapturepasses 4 tests, with 1 intentionally ignored. Claimed-dispatch safety passes. The explicit literal-property assertion and itsno-claim-count/no-empty-leasemutations each exit 101 with the expected counterexample, as documented in the skill. Only commit metadata changed; protocol requests and ordering are unchanged.CI notes
partial_muse_and_opencode_messages_are_not_successhit a pre-existing stdin race: its OpenCode stub exits without reading the prompt, allowingBroken pipe (os error 32)before the expected incomplete-turn error;tests/skill.rs,src/harness/opencode.rsandsrc/process.rshave identical Git blobs on this branch andorigin/main(abc1e744), and the isolated test passes locally.Seams under test
Review coverage
Independent
thirdshift-code-reviewagainstmain: Standards 0 findings; Spec 0 findings. Both reviewers read all six changed files, including generated HTML. Unread changed files: none. Generated-output exclusions: none.Reports and final files-read lists:
.thirdshift-review-KXZy6c/standards.md,.thirdshift-review-KXZy6c/spec.md; counts insummary.jsonbeside them, retained with the Session evidence.Unaddressed findings
Standards
None.
Spec
None.
Security
None. Guidance-mode review of the
dde1f00...HEADdiff: the only executable change is the addedHost:line in the reservation commit (src/pickup/reservation.rsviacrate::host::name()); ownership still rests on the ref and token lease, nothing parses the message, and the hostname is passed as acommit-treeargv (no shell). Hostname disclosure to origin readers adds nothing beyond the already-publishedLaunch:path, and the writer and hostname owner are the same principal. Reservation tests pass on HEAD (pickup_reservation_records_the_host_holding_it,pickup_reservation_does_not_publish_unrelated_local_head,a_legacy_reservation_without_a_host_is_not_stolen). No introduced finding, so nothing is unaddressed.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The added commit-message field can be rolled back without changing reservation ownership or release.
Blast Radius: Pickup
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh