Repository navigation
Description
Outcome
Trusted GitHub owners and repositories affect only repository-verified read acquisition and proven source bytes. Another repository on the same GitHub host, private credential access, outward writes and mutable unverified content cannot borrow that trust.
Why now
The user wants routine operations against selected owners to be safe. The shared CONNECT proxy sees only a host/port, so a hostname exception or overlapping shell-command heuristic would broaden access beyond that repository. Ordinary Git compatibility and mutable workspace provenance require qualification.
Shared context
Part of #3428, under the controlled-egress work in #1645.
startEgressProxy (packages/ui-sdk/src/server/egress-proxy.ts:200), createReferenceTransport (packages/ui-server/src/brain/reference-transport.ts:106), createReferenceSources (packages/ui-server/src/brain/reference-source.ts:91), coveringReferenceGrant (packages/ui-server/src/db/reference-grants.ts:169) and inputTaintSource (packages/ui-server/src/activity/ingestion-taint.ts:96) identify the real transport, credentials and read boundaries.
The repository design and ADR are on main. The complete reviewed design and gpt-6-astra review disposition remain the recorded ruling. #3599/#3600/#3601/#3604/#3602/#3603 are delivered with complete selected candidate and automatic-main qualification. The prior source-pointer refresh was at main 29203c43424f1916e7b5d079db4b97da5dbb3ed4; this delivery reconciliation uses main 1619741f291f525d17cde4970a5ada40644117c1. Individual owner verdict mutation is now delivered by #3603 through merged #3661 at 1619741f291f525d17cde4970a5ada40644117c1. The persistent trust Settings/publication and qualified Git source-trust outcomes still require their separately scoped implementations. #3595 remains adjacent scoped network approval; classifier spike #3434 is separate.
Decision (maintainer, 2026-11-05)
The maintainer requested Settings CRUD for trusted origins and repositories/organizations, per-entry taint indicators with hover/tap details, and single-trigger human review that can restore a chat without clearing later triggers. This supersedes unconditional G6 stickiness for individually reviewed evidence once implemented. The requested gpt-6-astra source review found the exposure-lifecycle, coverage, authority, recipient-permission and provenance gaps; the revised design closes or explicitly qualifies them before implementation readiness. No additional runtime capability is claimed by filing this plan.
Constraints and non-goals
Qualification is offline and bounded. Reuse fixed host acquisition where possible; raw Git retains its restrictions unless transparent adaptation is actually qualified. Exact repo rules require stable identity and approved owner semantics; owner-wide rules explicitly cover future repos currently in that namespace. No generic authenticated relay, credential probing, upload/write endpoint, arbitrary refs/objects or private-access grant by credential availability. Ordinary branches/tags do not bless PR/fork refs or foreign submodules. Initially only immutable acquired bytes inherit trust; a directory/root/remote string does not prove mutable content.
Breakdown
The native sub-issue list carries implementation order and dependencies. Individual recovery, persistent origin settings and repository provenance are separate outcomes so repository transparency does not block the other capabilities. Contract/decision foundations precede production behavior changes; only fully specified foundations and bounded qualification work become agent-ready. Release milestones will be assigned when the work is actually committed to a release.
Foundation delivery and remaining integration — 2026-11-15
#3613 remains open with all five original criteria. Two Refs foundations are delivered on main: #4000 (03805baf5c0dc22e8dbd991956039c61b53641d0) supplies strict ref/advertisement identity and explicit metadata credential-recipient permission; #4001 (3f8ff29341fbe25665cea42659f92e6f3d3ccef0) supplies the bounded host wire and live grant/identity authority. The concrete owners are (createGitHubReferenceAccess, packages/ui-server/src/brain/github-reference-access.ts:19) and (createGitHubReferenceWire, packages/ui-server/src/brain/github-reference-wire.ts:19). Public requests stay anonymous; Git/API authority and recipient permission remain separate; managed audit events grant no contacted-host allowance. The actual source/read trust path is not enabled by these foundations.
PR #4002 is now merged as 5abac4ce5545a612abe1fc09fd1423d9abe0a517, delivering managed source admission/publication and durable sealed-root/generation/ref/commit/tree/identity mapping. Its exact candidate and automatic main runs passed all selected jobs; all seventeen successful main checkouts and the native artifacts were independently reconciled. The actual maintenance-worker acquisition case proves sealed native publication and revocation, while explicitly claiming neither backend read equivalence nor a source-trust exemption. Immutable regular-blob/range/digest evidence, stable approved-owner/rename/transfer/name-reuse enforcement and both read/backend entry points remain on #3613. All five original criteria stay open. #3614's writable-content qualification and #3615's rule enforcement remain distinct. The original Settings dependency concerned the metadata resolver and independent publication authority.
PR #4200 merged as 0aeb62a7acaef51deabe6a6bc84d3b7b1b72e286, adding the bounded host-only immutable regular-blob reader with full-object hash checks and exact returned range/digest evidence. Candidate proof passed. Automatic main run 44160126690 independently passed native acquisition/blob, four healthy backend/UID cells, installed provider history and website proof, but its browser job repeats existing incident #4230; that incident is now recovered. Automatic main run 44164348779 at d226c76700e837f22c5b79d207f0c2d1fbe20ef2 independently passed all seventeen actual selected checkouts, including the fixed browser job. Fresh native/range and installed-provider-history artifacts are verified; the original failed run retains its own result. This primitive is not model read delivery, approved-owner matching or a source-trust exemption. PR #4238 merged as c156dc2b278692980115f0db6c3294f553b2ebb8, delivering bounded immutable backend read entries and host prepared/observed/unknown delivery evidence. Exact-candidate run 44272304763 and automatic main run 44275220284 pass all selected jobs, with actual checkout, unit-worker, installed-provider-history, immutable-read, native and browser artifacts independently reconciled. Automatic website proof also passes. Every read remains workspace input; native backend equivalence and read-trust exemption remain false. #3613 remains open with all original criteria for stable approved-owner/rename/transfer/name-reuse matching and complete qualified resolver/integration. Settings uses the delivered metadata and publication slices described below.
2026-11-18 reconciliation: replaced the superseded #4238 draft snapshot with its merged and qualified delivery, preserving all original criteria and downstream dependencies.
Current identity and Settings delivery — 2026-11-20
#4255 (d88c227c6) delivers a Settings-only metadata identity path. #3608/#3622 (65883f2d5) uses it for protected owner publication. #4264 (615a7fcfc) qualifies fresh transport identity evidence for immutable reads. The updated boundary is recorded in docs/decisions/reference-source-acquisition.md. #3613 still owns the approved-owner trust boundary and its integration proof. PR #4273 is open on that slice, so retain #3613’s criteria and the downstream #3614/#3615 dependencies.
The delivered slices and #3613 retain the attributed candidate/main receipts; this triage checked source, ancestry and successful push-run identities without re-running those suites. Source trust, private-access authority and outward recipient permission remain separate.
Definition of done
- A bounded real-Git transport qualification selects an enforceable route, with managed acquisition as a valid fallback and no dependency for initial single-trigger/origin features.
- Production requests bind actual principal/repository/ref/read operation, byte accounting, cancellation and live private-access grant.
- Configured owner/exact-repo matching handles transfer/rename/name reuse and unknown metadata without broadening trust.
- Immutable input provenance enables truthful repository review targets; explicit untrusted marks and foreign/mutable content retain restrictions.
- Mutable-worktree qualification either proves read-bound content identity or documents an honest immutable-only limitation; it never enables a speculative path exemption.
Triage 2026-11-05 at main 35217d283b849b5ef81700d5d4c2ec7486405d12: verified source anchors and the published plan/review, retained all still-open output dependencies and existing native parent, and classified this requested but unscheduled work as priority: p2 without inventing a release milestone. This remains an epic, never an agent-ready coding task.
Source refresh 2026-11-07: folded the delivered decision/collector/verdict/history/live-admission foundations and source-anchor drift into the current context at 29203c43424f1916e7b5d079db4b97da5dbb3ed4. Definition of done, scope exclusions and all sub-issue criteria remain unchanged; no unfinished parent release commitment is inferred.
Triage 2026-11-08 at main 1619741f291f525d17cde4970a5ada40644117c1: Folded the recorded #3603/#3661 owner-verdict delivery into current context. Preserve the separate remaining UI, persistent trust and Git-provenance scopes, native membership and epic-only readiness. No new safety/runtime qualification is claimed.
2026-11-10 triage at main 3aadc8df5: repaired line citations that moved since the last pass (by named anchor). Scope, rulings, breakdown, labels and readiness unchanged.
2026-11-15 triage at main 3f8ff29341fbe25665cea42659f92e6f3d3ccef0: Recorded the two merged #3613 foundation slices and verified current source navigation, while preserving the unfinished resolver, immutable-read/native proof and downstream Settings dependencies.
2026-11-16 native inventory: five children total, with #3612 closed and #3613/#3614/#3615/#4033 open. The already-attached #4033 corrects the Git qualification fixture’s synchronous-refusal expectation; it does not deliver production provenance or remove #3613’s native/integration obligations.
2026-11-17 delivery reconciliation: #4002 is on main with successful candidate and automatic-main proof. #4033 is closed through merged #4036. #3613/#3614/#3615 and the epic remain open; partial acquisition/publication delivery does not enable repository read trust or unblock #3622.
2026-11-20 triage — Refreshed the managed-reference acquisition constructor pointer on main bd751d434.
2026-11-20 triage — Replaced the obsolete Settings wait with verified merged identities, and retained the genuine trust and provenance dependencies.
Activity
schlessera commentedon Nov 5, 2026
2026-11-05: #3612 delivered through PR #3619, squash
06cf57192ad586ea303a310acc0c009d774dd566, with passing exact-candidate proof. Managed acquisition/immutable source only is the selected route; production enforcement remains in #3613/#3615. The private metadata credential-recipient decision is now recorded on #3613, which remains blocked on #3607/#3602. Writable-worktree qualification #3614 remains separate and open; no mutable-path exemption is implied.schlessera commentedon Nov 10, 2026
2026-11-10 triage at main
3aadc8df5: repaired theinputTaintSourcecitation (ingestion-taint.ts:96). No child closed since the last pass. Labels, breakdown and readiness are unchanged.schlessera commentedon Nov 15, 2026
Foundation reconciliation — 2026-11-15. #3613 has two merged Refs slices: #4000 (
03805baf5c0dc22e8dbd991956039c61b53641d0) and #4001 (3f8ff29341fbe25665cea42659f92e6f3d3ccef0). They supply strict refs/grants and a bounded host wire/live identity authority. Source and successful automatic push identities were checked; the existing worker receipts retain their actual qualification and causal limits.#3613 stays open for real source/publication integration, sealed immutable read evidence, stable owner boundaries and both backend/native qualification. Its #4002 draft is not main. #3614/#3615 and the dependent #3622 Settings publication remain separately scoped; no repository trust exemption or downstream unblock is inferred. The epic stays open without agent-ready, with assignments, priority and release attribution preserved.
schlessera commentedon Nov 16, 2026
Epic state — 2026-11-16. The native breakdown includes #4033’s qualification-test correction alongside open #3613/#3614/#3615; #3612 is delivered. Preserve the source-trust/private-access/recipient boundaries and downstream Settings dependencies. No production capability or full native qualification is inferred from fixture work.
schlessera commentedon Nov 17, 2026
Epic state — 2026-11-17. #3613 advanced through merged #4002 (
5abac4ce5545a612abe1fc09fd1423d9abe0a517). Candidate run 44131301010 and automatic main run 44134586911 passed all selected jobs; all seventeen successful main checkouts, native maintenance-worker publication/revocation, owned cleanup and both installed-provider-history suites were independently verified. #4033 is closed through merged #4036.All five original #3613 criteria remain open. Remaining #3613 work includes immutable returned range/digest evidence, both read/backend entry points and stable approved-owner matching. #3614/#3615 remain separately scoped. The managed-source native case explicitly supplies neither backend read equivalence nor a source-trust exemption. #3622 remains dependent on the complete qualified resolver and its independent Settings publication authority. No downstream blocker or epic is closed by this slice.
schlessera commentedon Nov 20, 2026
Epic state — 2026-11-20. #4255 and #3622 delivered the Settings metadata/publication slices, and #4264 delivered immutable-read transport identity proof. #3613 remains open with #4273 in review. #3614 and #3615 still own their respective qualification and enforcement outcomes.