Repository navigation
CONTRACT: feat(ui-server): resolve Settings repository identity without Git acquisition - #4255
Conversation
…ut Git acquisition
Independent reviewReviewed head 00cc3e0 against base bd751d4. Reviewer: agent. No findings. {
"version": 1,
"kind": "brain-review-receipt",
"pr": 4255,
"head": "00cc3e0930d70c8cdf94124a0ee8911b73832476",
"base": "bd751d43435bbffa919d987323d17098eb5f7166",
"reviewer": "agent",
"outcome": "no-findings",
"findings": []
} |
|
Current-head collision check for #4255 at |
Independent reviewReviewed head 09e4a94 against base bd751d4. Reviewer: agent. No findings. {
"version": 1,
"kind": "brain-review-receipt",
"pr": 4255,
"head": "09e4a94e3023e943fe99f3f3a4139d7af73c831d",
"base": "bd751d43435bbffa919d987323d17098eb5f7166",
"reviewer": "agent",
"outcome": "no-findings",
"findings": []
} |
|
Resumed 2026-11-20 at unchanged head Fresh collision scan: textual overlap with #3622 in the shared package contract; shared proof closure with #3056, #3059, #3069, #3581, #4151, #4234 and #4258. Other workers retain ownership. Fresh candidate confirmation is running under the integration reservation; no older cancelled proof is claimed. |
Settings identity slice delivered — 2026-11-20PR #4255 merged as The host GitHub service now resolves fresh repository/owner identity for Settings without Git acquisition, revision selection or an agent turn. Anonymous-first fixed metadata, the owner's live private grant, separate API recipient permission, cancellation and operation authority remain fenced across waits and wire shutdown. The retained synchronous callback checks the exact selected grant/credential and operation at final publication; it does not refresh identity or supply human approval. Fresh candidate run 44745157339, attempt 1, passed all thirteen selected jobs on actual checkout Automatic main run 44747943056, attempt 1, passed all seventeen selected jobs. Every actual successful job checkout and all eight isolated unit workers independently identify the exact squash above. The aggregate selects nine categories fresh with no retained proof; determinism categories are intentionally unselected on main, with changed-test repetition supplied by the candidate run. Unit reports again contain 16,411 cases, no failures/errors and twelve existing conditional skips; all 37 provider-history and 49 GitHub-access cases pass without skips. Browser, layout, capture, endurance, runtime and native-host categories passed. Native artifacts verify the actual maintenance-worker regular-blob range/digest, sealed acquisition/root mapping, EROFS and revocation refusal. All four healthy Claude/Pi × UID 0/1000 cells complete first/warm phases and clean shutdown, and complete separate-worker identity proof passes without skipped categories. Native fixture commit identity remains separate from the brain-kit squash. #3613 remains open. The delivered #4002 acquisition/publication, #4200 immutable reader, #4238 read-entry/delivery and #4255 Settings metadata slices do not establish the final qualified resolver/approved-owner boundary. Remaining work must bind stable IDs and fresh rename/transfer/name-reuse observations to independently reviewed approved-owner publication, complete the resolver integration and demonstrate all five original criteria with the required runtime/mutation proof. Existing restrictive Git/ref/relay/credential/outward-write controls remain binding. Repository source trust stays disabled; standing source-rule enforcement remains #3615. #3622 consumes the delivered metadata resolver under its own protected human Settings publication boundary; this slice does not claim its CRUD/publication work is complete. |
Refs #3613
What changed
The internal GitHub access service now supports owner-only repository identity lookup for Settings without selecting a revision, starting an agent turn or dispatching Git. It reuses the acquisition service's anonymous-first metadata path and the requesting owner's own live private grant, with separate API credential-recipient permission. Owner and repository lookups retain the original caller, target, cancellation and operation authority across waits, including shutdown.
Why this shape
This supplies the metadata-only output needed by #3622 under the existing #3613 metadata-authority ruling. Identity observations return stable repository/owner IDs and exact canonical names; they carry no publication approval or trust exemption. Repository lookup retains a host-only synchronous authority callback over the lookup's exact selected grant/credential and operation for final publication fencing. It does not refresh remote identity. Settings must still bind a fresh observation to its independent password-mode human review and protected publication. Standing source-rule enforcement remains separately scoped.
Proof
Current head
09e4a94e3023e943fe99f3f3a4139d7af73c831dcleanly merges authored authority completioneeff70b582d7430b221dec8ed446cd0c5f407dd7with mainbd751d43435bbffa919d987323d17098eb5f7166. Its tree isc0855f156f1e9699e7a664700efe16ba15b14c38. The main changes are isolated test-fixture corrections; the service and its regression sources retain their authored bytes.bun run check:pr --base origin/mainpassed all five gates, including 842 tests / 6260 assertions / 30 files. The fresh receipt identifies the current combined head above. The first run failed in Node-based discovery because the command environment selected an unavailable shim; the corrected environment uses installed Node 24.21.0 and Bun 1.4.2. The earlier failure retains its own result.SETTINGS_REPOSITORY_RESOLVES_WITHOUT_GIT_OR_AGENT_TURNandSETTINGS_OWNER_OPERATION_RECHECKED_AFTER_DNS.SETTINGS_FINAL_PUBLICATION_FENCE_RETAINS_LOOKUP_AUTHORITYin all eight cases; exact source is restored. Cancellation proves the request ends while DNS remains held. Private grant tests cover missing, legacy, other-brain, other-principal, sibling, revoked and credentialless authority without credential probing.unsharerefuses its UID mapping. This is a retained failed setup result, not passing runtime proof. Hosted selected real-Git and eventual automatic-main native/backend proof remain required. No offline guard was disabled.{ "version": 1, "kind": "brain-check-pr-receipt", "head": "09e4a94e3023e943fe99f3f3a4139d7af73c831d", "base": "origin/main", "mode": "focused", "startedAt": "2026-11-18T10:26:59.538Z", "finishedAt": "2026-11-18T10:28:24.133Z", "checks": [ { "name": "all lint and leakage gates", "categories": [ "changeset" ], "outcome": "passed", "elapsedMs": 13831.293101000003 }, { "name": "environment documentation", "categories": [ "changeset" ], "outcome": "passed", "elapsedMs": 113.95419799999945 }, { "name": "pending changeset package names", "categories": [ "changeset" ], "outcome": "passed", "elapsedMs": 75.25259799999913 }, { "name": "contribution changeset", "categories": [ "changeset" ], "outcome": "passed", "elapsedMs": 19.444887000001472 }, { "name": "affected fast invariants", "categories": [ "verify", "unit" ], "outcome": "passed", "elapsedMs": 70537.958143 } ] }Guard containment
An ended/cancelled operation, lost owner or grant, changed credential, missing API recipient permission or invalid fixed-endpoint metadata withholds that operation's identity. Returning partial identity would let Settings review an unproved target. The refusal is scoped to that request; there is no boot gate or durable latch, and a new valid request can proceed after authority or metadata recovers. Typed transport errors retain the cause for the caller; the tests retain refusal reasons and actual connection/credential observations. The fresh-identity sequence proves later independent observations remain usable.
Checklist
09e4a94e3023e943fe99f3f3a4139d7af73c831dreturned no findings. The original review at00cc3e0also returned no findings and remains recorded.Anything left open
This metadata-only slice does not complete #3613. Stable approved-owner publication evidence, final qualified resolver integration and the remaining #3613 acceptance/verification obligations stay open. #3622 still needs its host resolver wiring, full repository CRUD and protected publication integration. Repository source trust and its capability remain disabled; source-rule enforcement belongs to #3615. Fresh candidate run 44745157339 and automatic main run 44747943056 passed with actual checkout/artifact reconciliation, recorded in the delivery comment. Squash:
d88c227c66f374224e35a245dc1c8ef8ba2fbe26.