Repository navigation
Conversation
|
PR-cycle state — maintained automatically. Do not edit by hand. Mechanical PR-cycle state (JSON){
"check_observations": [
{
"checks": [
{
"conclusion": "SUCCESS",
"name": "Gitar",
"run_id": 119008459341,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/runs/119008459341"
},
{
"conclusion": "SUCCESS",
"name": "Platform Linux arm64",
"run_id": 119008453966,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453966"
},
{
"conclusion": "SUCCESS",
"name": "Platform Linux x64",
"run_id": 119008453805,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453805"
},
{
"conclusion": "SUCCESS",
"name": "Platform Windows arm64",
"run_id": 119008453661,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453661"
},
{
"conclusion": "SUCCESS",
"name": "Platform Windows x64",
"run_id": 119008453889,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453889"
},
{
"conclusion": "SUCCESS",
"name": "Platform macOS arm64",
"run_id": 119008453773,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453773"
},
{
"conclusion": "SUCCESS",
"name": "Platform macOS x64",
"run_id": 119008453843,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453843"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.10",
"run_id": 119008453750,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453750"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.11",
"run_id": 119008453774,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453774"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.12",
"run_id": 119008453882,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453882"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.14",
"run_id": 119008453885,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453885"
},
{
"conclusion": "SUCCESS",
"name": "Python lint",
"run_id": 119008453779,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453779"
},
{
"conclusion": "SUCCESS",
"name": "Website",
"run_id": 119008453481,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39534674498/job/119008453481"
}
],
"head_sha": "42ea194df54f9ba81ef399e0966a0d57b7b1ed87",
"id": "sha256:db9d813502374a6297762c9b2f778e6826779e5c50cd9bd2e2fab025adb7d7dc",
"required_checks": [
"Gitar",
"Platform Linux arm64",
"Platform Linux x64",
"Platform Windows arm64",
"Platform Windows x64",
"Platform macOS arm64",
"Platform macOS x64",
"Python 3.10",
"Python 3.11",
"Python 3.12",
"Python 3.14",
"Python lint",
"Website"
],
"status": "success"
},
{
"checks": [
{
"conclusion": "SUCCESS",
"name": "Gitar",
"run_id": 119017915679,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/runs/119017915679"
},
{
"conclusion": "SUCCESS",
"name": "Platform Linux arm64",
"run_id": 119017925328,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925328"
},
{
"conclusion": "SUCCESS",
"name": "Platform Linux x64",
"run_id": 119017925494,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925494"
},
{
"name": "Platform Windows arm64",
"run_id": 119017925260,
"run_status": "in_progress",
"status": "pending",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925260"
},
{
"conclusion": "SUCCESS",
"name": "Platform Windows x64",
"run_id": 119017925406,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925406"
},
{
"name": "Platform macOS arm64",
"run_id": 119017925382,
"run_status": "in_progress",
"status": "pending",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925382"
},
{
"name": "Platform macOS x64",
"run_id": 119017925421,
"run_status": "in_progress",
"status": "pending",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925421"
},
{
"conclusion": "FAILURE",
"name": "Python 3.10",
"run_id": 119017925282,
"run_status": "completed",
"status": "failure",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925282"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.11",
"run_id": 119017925438,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925438"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.12",
"run_id": 119017925347,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925347"
},
{
"conclusion": "SUCCESS",
"name": "Python 3.14",
"run_id": 119017925408,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925408"
},
{
"conclusion": "SUCCESS",
"name": "Python lint",
"run_id": 119017925246,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925246"
},
{
"conclusion": "SUCCESS",
"name": "Website",
"run_id": 119017925093,
"run_status": "completed",
"status": "success",
"url": "https://github.com/omry/arbiter/actions/runs/39537658862/job/119017925093"
}
],
"head_sha": "9dc9e216b53ffcf543d257733056d130fc66b17e",
"id": "sha256:f889244c9a414c8ec6d2d054dee95fc5e6efe1af355cb9b4e22f6986bc888925",
"required_checks": [
"Gitar",
"Platform Linux arm64",
"Platform Linux x64",
"Platform Windows arm64",
"Platform Windows x64",
"Platform macOS arm64",
"Platform macOS x64",
"Python 3.10",
"Python 3.11",
"Python 3.12",
"Python 3.14",
"Python lint",
"Website"
],
"status": "failure"
}
],
"delivery_deferrals": [],
"findings": [
{
"disposition": "fix-current-slice",
"evidence": [
"/tmp/arbiter-auth-m1-run_4k366kj4pkc87k47vavsr5n9m0/pr49-macos-alias-probe.py",
"/tmp/arbiter-auth-m1-run_4k366kj4pkc87k47vavsr5n9m0/pr49-macos-alias-probe.log"
],
"id": "AUTH-1.5-MACOS-TEMP-ALIAS",
"proposed_fix_paths": [
"server/tests/unit/conftest.py"
],
"rationale": "Server unit tmp_path fixture returns /tmp alias without canonicalizing it. On macOS /tmp aliases /private/tmp; exact-boundary wire test sends raw root and receives invalid-root result. Resolve the fixture path once, preserving production canonical-root validation and every test assertion.",
"severity": "low",
"source_surface": "local-review",
"status": "accepted"
},
{
"dbb_id": "AUTH-1.5-DBB-004",
"disposition": "fixed-current-slice",
"evidence": [
"/home/omry/dev/arbiter/temp/authentication-milestone-1/1.5-dbb-pr49-final-validation.md",
"https://github.com/omry/arbiter/pull/49#discussion_r4332511367",
"https://github.com/omry/arbiter/pull/49#discussion_r4332684189",
"https://github.com/omry/arbiter/commit/9dc9e216b53ffcf543d257733056d130fc66b17e",
"/home/omry/dev/arbiter/temp/authentication-milestone-1/1.5-dbb-pr49-correction1.md",
"/tmp/arbiter-auth-m1-run_4k366kj4pkc87k47vavsr5n9m0/pr49-correction1-independent-review.json"
],
"id": 4332511367,
"rationale": "Local authority rendezvous cannot be preclaimed by a foreign local UID to block the complete server. Use existing validated canonical private authority root/control.sock. Keep fail-closed endpoint and peer validation; no shared temporary rendezvous, no silent unavailable-control fallback. Explicit standard Unix path-length diagnostic/docs.",
"severity": "medium",
"source_review_id": 5594347047,
"source_surface": "review-comment",
"source_url": "https://github.com/omry/arbiter/pull/49#discussion_r4332511367",
"status": "resolved",
"thread_id": "PRRT_kwDOSmRaHM6umrhQ"
},
{
"dbb_id": "AUTH-1.5-DBB-005",
"disposition": "fixed-current-slice",
"evidence": [
"/home/omry/dev/arbiter/temp/authentication-milestone-1/1.5-dbb-pr49-final-validation.md",
"https://github.com/omry/arbiter/pull/49#discussion_r4332511440",
"https://github.com/omry/arbiter/pull/49#discussion_r4332685876",
"https://github.com/omry/arbiter/commit/9dc9e216b53ffcf543d257733056d130fc66b17e",
"/home/omry/dev/arbiter/temp/authentication-milestone-1/1.5-dbb-pr49-correction1.md",
"/tmp/arbiter-auth-m1-run_4k366kj4pkc87k47vavsr5n9m0/pr49-correction1-independent-review.json"
],
"id": 4332511440,
"rationale": "Temporary authority-lock contention retains accurate busy diagnostics when no authenticated live endpoint exists. Preserve original AuthorityBusy for absent/refused transport, and currently unavailable Windows live backend. Unsafe endpoint errors remain explicit.",
"severity": "low",
"source_review_id": 5594347133,
"source_surface": "review-comment",
"source_url": "https://github.com/omry/arbiter/pull/49#discussion_r4332511440",
"status": "resolved",
"thread_id": "PRRT_kwDOSmRaHM6umrh9"
}
],
"pr": {
"base_ref": "pr48",
"base_sha": "1c7a22c0a551d6e2dceb95aa66ad0506556fec04",
"body_digest": "sha256:68edaf792a1e475dca9208decbf9bf5d1e21abc5edb2a094aa911e2f79079598",
"diff_digest": "sha256:dcaec787659e995af2f786a2df2e080d8b20ebfb4826c43c7025b53ecae5bf68",
"head_ref": "pr49",
"head_sha": "f502e85b945774f8c605f5ded28e36bddf08ee28",
"pr": 49,
"repository": "omry/arbiter",
"scope_authority": [
{
"digest": "sha256:b6511414b3a9b485542df83c8f7abfc499dc8d06e522819b48e162a562d21c57",
"path": "docs/authentication/high-level-design.md"
},
{
"digest": "sha256:c576091af919c3ec99f0e0edb5795cf4e7bd37a44415ae24742393822317ad3d",
"path": "docs/authentication/implementation-plan.md"
},
{
"digest": "sha256:d56e92a7cb01f131ba499650c4a5d7b2c8d17adf2cdc7d612eee7c5f53d07929",
"path": "docs/authentication/requirements.md"
}
],
"title_digest": "sha256:65f7b9dd0d45d32637207674d5042c49cfc1bc8c9ac4715bb546118b5ddcc6b9"
},
"record_version": 6,
"review_observations": [],
"review_requests": [
{
"base_established_at": "2026-10-21T02:44:19Z",
"base_ref": "pr48",
"base_sha": "1c7a22c0a551d6e2dceb95aa66ad0506556fec04",
"body_digest": "sha256:c319b8201dff8e88258381b3be9acaca963d45230a9a317dbf5d660a24cc0980",
"created_at": "2026-10-21T02:56:41Z",
"head_sha": "42ea194df54f9ba81ef399e0966a0d57b7b1ed87",
"id": 6306888953,
"kind": "regular-review"
},
{
"base_established_at": "2026-10-21T02:44:19Z",
"base_ref": "pr48",
"base_sha": "1c7a22c0a551d6e2dceb95aa66ad0506556fec04",
"body_digest": "sha256:bd01e08ce23e33dd28feb06b011b443f97af5ce7c7bf9b079a4cf8c2c58df797",
"created_at": "2026-10-21T03:22:08Z",
"head_sha": "9dc9e216b53ffcf543d257733056d130fc66b17e",
"id": 6307217586,
"kind": "regular-review"
}
],
"review_results": [
{
"base_ref": "pr48",
"base_sha": "1c7a22c0a551d6e2dceb95aa66ad0506556fec04",
"body_digest": "sha256:b6c00acb6dc5b1e4ab50060a1e2c43d87381a23a103bfb6515e43bd65736e034",
"commit_id": "42ea194df54f9ba81ef399e0966a0d57b7b1ed87",
"id": 6306953326,
"inline_message_ids": [],
"request_comment_id": 6306888953,
"result_kind": "clean",
"status": "result",
"submitted_at": "2026-10-21T03:01:33Z",
"unresolved_thread_ids": [
"PRRT_kwDOSmRaHM6umrh9",
"PRRT_kwDOSmRaHM6umrhQ"
]
},
{
"base_ref": "pr48",
"base_sha": "1c7a22c0a551d6e2dceb95aa66ad0506556fec04",
"body_digest": "sha256:450b8bbd2cdde639612c4ba0b8f8f0d8035a0f555e2f9cf4773e4ff4a55b1de9",
"commit_id": "9dc9e216b53ffcf543d257733056d130fc66b17e",
"id": 6307256645,
"inline_message_ids": [],
"request_comment_id": 6307217586,
"result_kind": "clean",
"status": "result",
"submitted_at": "2026-10-21T03:25:23Z",
"unresolved_thread_ids": []
}
],
"revision_fingerprint": "sha256:5eb812c0328447d39d9131061c86c69e607633fcb6689f5074680d6d24b049e4",
"rounds": [
{
"applied_fix_paths": [
"server/news/+posix-local-control.feature.md",
"server/src/arbiter_server/authority.py",
"server/src/arbiter_server/local_control.py",
"server/tests/unit/conftest.py",
"server/tests/unit/test_local_control.py",
"website/docs/operate/credentials.md",
"website/docs/operate/security.md"
],
"disposition_changes": [
4332511367,
4332511440
],
"effective_diff_digest": "sha256:5325de67c2206b1c41c63b8230f040b6e5eed4afaef941b0ad6e3540752034ea",
"finding_ids": [
4332511367,
4332511440
],
"invariants": [
"Foreign OS UID cannot preclaim local-control rendezvous to deny server startup",
"Temporary lock contention without a live endpoint remains an accurate busy error; unsafe endpoints fail explicitly",
"All native peer identity, admission, resource ownership and cancellation boundaries stay intact"
],
"outcome": "corrected-head-needs-review",
"proposed_fix_paths": [
"server/news/+posix-local-control.feature.md",
"server/src/arbiter_server/authority.py",
"server/src/arbiter_server/local_control.py",
"server/tests/unit/conftest.py",
"server/tests/unit/test_local_control.py",
"website/docs/operate/credentials.md",
"website/docs/operate/security.md"
],
"resulting_head": "9dc9e216b53ffcf543d257733056d130fc66b17e",
"review_observation_id": null,
"review_request_id": 6306888953,
"review_result_id": 6306953326,
"reviewed_head": "42ea194df54f9ba81ef399e0966a0d57b7b1ed87",
"root_cause": "Predictable shared /tmp parent allowed foreignUID preclaim; socket now inside canonical private authority root with standard Unix address limit and explicit diagnostics. Busy routing wrongly treated all locks as live server; narrowly restore original error for absent/refused or currently unsupported Windows control. Truth fixes confirmed by DBB and independent exact r2 review, complete Python1304/14 on native3.13+3.10, lint/type/Go/vet/website all0. Independent macOS alias assertion fixed via root.resolve. Same native998 authoredlines. Governing stamps unchanged; final correctedheadnativecrossUID CI and fresh regularreview required.",
"round": 1,
"unresolved_current_slice_findings": 0,
"unresolved_design_blockers": 0
},
{
"applied_fix_paths": [
"server/tests/unit/conftest.py"
],
"disposition_changes": [
"AUTH-1.5-MACOS-TEMP-ALIAS"
],
"effective_diff_digest": "sha256:dcaec787659e995af2f786a2df2e080d8b20ebfb4826c43c7025b53ecae5bf68",
"finding_ids": [
"AUTH-1.5-MACOS-TEMP-ALIAS"
],
"invariants": [
"Test temporary roots must be canonical on macOS before exact root-bound protocol requests",
"Final-head regular review and every applicable native CI must pass before approval; no failed/pending intermediate check is reused as success"
],
"outcome": "corrected-head-needs-review",
"proposed_fix_paths": [
"server/tests/unit/conftest.py"
],
"resulting_head": "f502e85b945774f8c605f5ded28e36bddf08ee28",
"review_observation_id": null,
"review_request_id": 6307217586,
"review_result_id": 6307256645,
"reviewed_head": "9dc9e216b53ffcf543d257733056d130fc66b17e",
"root_cause": "Native alias reproduction proved unresolved/tmpfixture sendsdifferentroot than canonical/private/tmp endpoint; one-line yieldPath(directory).resolve() truthfix preservesallassertions and production. Fullprofile1304/14 plus4checksall0; Python3.10full1304/14; independentSolandDBBfinalcandidate78be74cleanconditionalnativeCI. Existing SMTP3s localfuturetimeoutretained thenfocused+fullretry passed. Existing artifact2case6s Python3.10 CI failure retained; sameheadfocused6pass and full3.10pass, unchangedproduction/testhashesproven. No CI retry was performed before this new correctedhead; finalnewheadmatrixmustpass. Prior security/diagnostic findingsalreadyresolved and remainclosed. Exactnative998size, unchanged governingstamps.",
"round": 2,
"unresolved_current_slice_findings": 0,
"unresolved_design_blockers": 0
}
],
"schema": "awd:swe:pr-cycle-state",
"version": 2
} |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Allow the existing authority init and status commands to reach the running POSIX server through a private Unix socket. Authenticate both peers with kernel credentials, bind the endpoint to the authority directory, and keep live mutations in the process that owns the instance lock. Support the same commands through verified SSH as the service account. Bound control frames, connections and administrative work. Retain accepted descriptors, transports and actual authority work through disconnects and cancellation; join them before releasing the instance lock. Retry established transient accept errors without a work queue and report unexpected listener failure. Document setup, recovery custody, endpoint failures and interrupted replies. Validation: 1304 unit tests passed on native Python and Python 3.10 with 14 platform skips each; Black/Pyrefly, Go tests/vet and website build passed. Real CLI, malformed and oversized frames, slow clients, endpoint replacement, cancellation and injected accept failures are covered. Native Linux and macOS CI must run the real different-user rejection test on the published head.
CI failed: Two separate test failures in the compat nox sessions: a teardown cleanup error (Directory not empty) under Python 3.12 that is unclear relative to this PR, and a cancellation/blocking-worker capacity timeout under Python 3.14 that is unrelated to the PR; neither is confirmed as caused by the authenticated POSIX local control change.OverviewAnalyzed 2 unique error templates across 4 logs (commit f502e85). Both failures are in the FailuresTeardown cleanup error: artifact directory not empty during tmp_path removal (confidence: medium)
Cancellation test timeout waiting for blocking-worker capacity under Python 3.14 (confidence: medium)
Summary
Code Review ✅ Approved 2 closed / 2 findings🔴 High risk · Adding POSIX socket control permits live authority initialization; peer-authentication or request-validation failure could alter credentials and compromise recovery authority. Serves the existing authority init and status commands to the running POSIX server over a private Unix socket authenticated by kernel credentials, with live mutations kept in the lock-owning process. Resolved the predictable /tmp control directory that let any local user block startup, and the busy fallback that hid the real 'busy' error behind socket/ENOENT errors. No open issues remain. ✅ 2 closed✅ Security: Predictable /tmp control dir lets any local user block server startup
✅ Edge Case: Busy fallback hides the real 'busy' error behind socket/ENOENT errors
VerificationRules No rules evaluated Functional validation Not enabledFor more verification details, comment Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Allow the existing authority init and status commands to reach the running POSIX server through a private Unix socket. Authenticate both peers with kernel credentials, bind the endpoint to the authority directory, and keep live mutations in the process that owns the instance lock. Support the same commands through verified SSH as the service account.
Bound control frames, connections and administrative work. Retain accepted descriptors, transports and actual authority work through disconnects and cancellation; join them before releasing the instance lock. Retry established transient accept errors without a work queue and report unexpected listener failure. Document setup, recovery custody, endpoint failures and interrupted replies.
Validation: 1304 unit tests passed on native Python and Python 3.10 with 14 platform skips each; Black/Pyrefly, Go tests/vet and website build passed. Real CLI, malformed and oversized frames, slow clients, endpoint replacement, cancellation and injected accept failures are covered. Native Linux and macOS CI must run the real different-user rejection test on the published head.