Repository navigation
L16: hosted-git seam without the Durable Object - #2856
Conversation
… (L16) Self-host landing slice L16 (decision D7: seam only; the HostedGitRepo DO and vendored dgit stay in the self-host build). - services/hosted-git/backend.ts: resolveArtifactsBackend / isArtifactsAvailable and a fallback registration hook for the self-host build. On Cloudflare the result is exactly the Artifacts binding or null. - Route every env.ARTIFACTS caller through it: artifacts-enabled config, project create/seed-cleanup, project delete, runtime git token, and repo browsing via a new repo-hosting `artifacts` port. - C15: an Artifacts project whose remote is not *.artifacts.cloudflare.net gets cloneUrl + repositoryHost. `repository` is now required on the git-source input and every caller passes the row it already holds: no D1 read added. - vm-agent: attach the workspace git token (username "x") and enable the credential helper only for the exact RepositoryHost bound to an artifacts workspace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
- Mount /api/config/artifacts-enabled from routes/artifacts-config.ts and test the real route - Return username x from the git-token route for a bound self-hosted Artifacts host - Explicit guard for NodeLifecycle payloads persisted without repository - More vm-agent bound-host cases (case, port, empty host, provider) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis 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. |
|
@coderabbitai review |
Action not completed
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9406993ba9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a40c5c593
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1fe679c1ad
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 12e710992d
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|



Summary
Self-host landing slice L16: the hosted-git seam, without the HostedGitRepo Durable Object or vendored dgit (decision D7). Plan: idea
01M72M9AEB933ZY8269D376DKC(LANDING PLAN part 2 row C15, part 6 row L16). SAM task01M7M9F7A5T7MKX15KV5EYT0T8.apps/api/src/services/hosted-git/backend.ts:resolveArtifactsBackend(env)/isArtifactsAvailable(env)andregisterArtifactsBackendFallback(). On Cloudflare the result is exactlyenv.ARTIFACTS(whenARTIFACTS_ENABLED === 'true') or null.env.ARTIFACTScaller now goes through it:/api/config/artifacts-enabled, project create + seed-failure cleanup, project delete (still uses the binding even when the flag is off, as before), the runtime git-token route, and repository browsing (new repo-hostingartifactsport;ArtifactsRepoBrowserkeeps using the binding directly when present).workspace-git-source.ts): an Artifacts project whose remote is not*.artifacts.cloudflare.netgetscloneUrl+repositoryHost.repositoryis now a required field ofWorkspaceGitSourceProject, so the compiler enumerated every caller; each passes the row it already holds.username: 'x'to its Artifacts response only when the remote is a bound non-Cloudflare host, so the credential helper refreshes with the username the clone used (Cloudflare responses unchanged)./api/config/artifacts-enabledmoved toroutes/artifacts-config.ts(same path, same answer) so its test exercises the real route.withGitTokenattaches the git token (usernamex) andneedsCredentialHelperForConfigenables the credential helper only for the exactRepositoryHostbound to anartifactsworkspace (internal/bootstrap/hosted_artifacts_host.go). Cloudflare Artifacts hosts are still recognized by name and are unchanged.Dead code on Cloudflare (stated per the coordinator's brief)
registerArtifactsBackendFallbackhas no caller on main; it is the seam the self-host build (apps/api/src/selfhost/, not imported bysrc/index.ts) registers its git server through. C15's new branch and the vm-agent bound-host branch also never fire on Cloudflare (see the production check). Kept to ~45 lines of TS + ~20 lines of Go.What stays on
sam/selfhost-pass-2HostedGitRepoDO, dgit/pako,services/hosted-git/{http,tokens,limits,import}.ts, hosted-git token route, in-processartifactsRemoteFetch(README seeding / browsing without hairpin) andfetch-http-client.ts. When main is merged into the integration branch, its backend becomes aregisterArtifactsBackendFallback(...)call fromselfhost/hosted-git.ts.C15 production verification (read-only)
sam-prodD1, 2026-11-17 08:31 UTC, via the production debugging token: 47 projects; 10 withrepo_provider='artifacts'; 10/10 remotes matchhttps://<account>.artifacts.cloudflare.net/...; 0 empty. So C15 changes nothing for any production project.I/O per request (rule 60)
0 added. The integration branch's version added a D1 read when
repositorywas not passed; here every caller supplies it from data it already reads:instant-restore-workspace(row.repository, existing join),instant-session(input.project),scheduleWorkspaceCreateOnNode(linkedProjectrow, now forwarded through the NodeLifecycle direct-provisioning payload), TaskRunnerloadTaskRunnerProjectRepo(one more column on its existing SELECT),resolveWorkspaceGitSourceByProjectId(one more column on its existing SELECT).resolveArtifactsBackenddoes no I/O.Rollout compatibility (rule 54)
artifacts→ unchanged.linkedProject.repository;new URL(undefined)throws inside the guarded parse and the project keeps Cloudflare behaviour (test: "keeps Cloudflare behaviour for a NodeLifecycle request persisted before repository was passed").Security notes
projects.repositoryfor Artifacts projects is server-assigned (created.remoteat creation); no user route writes it (only other writer: GitHub rename webhook, keyed ongithub_repo_id, which Artifacts projects lack). So the bound host is chosen by SAM, not the user.http://never receive the token (Go tests).ARTIFACTS_ENABLEDstill gates everything: a registered fallback is never consulted when the flag is off (route tests for git-token and project-create).verifyWorkspaceCallbackAuth+ JIT identity check; no new routes.File size
apps/api/src/index.ts565→566 (one import),workspace-create.ts586→590 (forwardrepository);bootstrap.gois on the grandfathered list, so the new helper lives in its own file (+4 lines in bootstrap.go).Validation
pnpm lint/pnpm check:fast— exit 0 (only pre-existing warnings in web/acp-client)pnpm typecheck(api, repo-hosting) after building the API's dependenciespnpm test: API unit 1018 files / 15207 tests passed (2 files / 3 tests skipped, pre-existing); repo-hosting 14 files / 146 tests passedgo test ./internal/bootstrap/ ./internal/server/pass,go vet, gofmt; staging (14/14) and staging2 (6/6) Artifacts remotes also on*.artifacts.cloudflare.netDiscrimination (rule 62):
bootstrap.goalone → exactlyTestWithGitTokenSelfHostedArtifactsHostandTestNeedsCredentialHelperSelfHostedArtifactsred; Cloudflare/exact-host controls green.repositoryonly when the SELECT names it, so dropping the column fails it.Staging Verification (REQUIRED for all code changes — merge-blocking)
Staging Verification Evidence
Current-head gated deployment 44248028268 passed; fresh agent release 2de1924 matches the resolver for bda3332. Artifacts clone/fetch/push and ordinary GitHub clone/fetch passed in real workspace terminals. All created resources were deleted; final nodes
[], project 404 and sign-out 200. Full evidence appears below.UI Compliance Checklist (Required for UI changes)
N/A: no UI changes.
UI Screenshot Evidence
N/A: no UI changes.
End-to-End Verification (Required for multi-component changes)
withGitToken)Data Flow Trace
POST /api/projects(project-create.ts) →resolveArtifactsBackend(c.env)→artifacts.create()→seedArtifactsReadme()→projects.repository = created.remote.scheduleWorkspaceCreateOnNode/ TaskRunnercreateWorkspaceOnVmAgent/ Instant →resolveWorkspaceGitSource(db, {id, repoProvider, repository})→createWorkspaceOnNode(..., {cloneUrl, repositoryHost}).ensureRepositoryReady→withGitToken(repoURL, token, cfg)(isBoundHostedArtifactsHost) → clone;ensureGitCredentialHelper→needsCredentialHelperForConfig.git_credential.go(host allowed viaRepositoryHost) →POST /api/workspaces/:id/git-token(runtime-git-token.ts) →resolveArtifactsBackend→get().createToken().resolveRepoBrowser→repoHostingPorts().artifacts.resolve→ArtifactsRepoBrowser.Untested Gaps
The self-host fallback path end to end (real git server) is exercised only on the integration branch's box; on main it is covered by unit/route tests with a registered fake backend. Cloudflare path verified on staging (gated deployment 44248028268 and fresh-VM live checks).
Post-Mortem (Required for bug fix PRs)
N/A: not a bug fix
Specialist Review Evidence (Required for agent-authored PRs)
needs-human-reviewlabel added and merge deferred to humanroutes/artifacts-config.ts, test mounts it; legacy payload guard made explicit (caef0e1). LOW: staging remotes check (done in staging phase).x-access-token→ git-token route returnsusername: 'x'for bound non-Cloudflare hosts only (caef0e1); extra Go cases added. Old agent on a self-host install is excluded by the rule-54 placement version gate.projects.repositoryinvariant documented at the trust point (caef0e1).CodeRabbit Review Evidence (Required for agent-authored PRs)
CodeRabbit Notes
PR marked ready 2026-11-17 11:29:03Z; trusted CodeRabbit workflow 44074415196 requested review. CodeRabbit replied “Review rate limited” at 11:31:49Z; wait ended immediately per policy. No CodeRabbit findings. Label retained for incremental review.
Exceptions (If any)
Agent Preflight (Required)
Classification
External References
N/A: no external API changed; Cloudflare Artifacts binding usage is unchanged. Production D1 queried read-only to verify remote hosts.
Codebase Impact Analysis
apps/api(hosted-git seam, project create/delete, git-token route, workspace git source, TaskRunner dispatch, direct workspace creation, Instant restore),packages/repo-hosting(artifacts port, repo-browse),packages/vm-agent(bootstrap git token / credential helper).Documentation & Specs
N/A: Cloudflare behaviour is unchanged and
guides/project-files.md(ARTIFACTS_ENABLED gate) stays accurate. Self-host hosted-git docs ship with the self-host build, not this seam.Constitution & Risk Check
Principle X (simplicity): the seam is one selection function plus a registration hook; DO, tokens and HTTP handler are deliberately excluded. Principle XI: no new hardcoded URLs/limits (the Cloudflare host suffix mirrors
gitrepo.IsArtifactsHost). Risks: token sent to wrong host (mitigated by exact bound-host match, server-assigned remote); Cloudflare regression (mitigated by production remote check and binding-first resolution).🤖 Generated with Claude Code
Takeover delta (2026-11-17)
Existing branch updated with safe main including #2841 (
0c672ddbf), merge4b9a6ddce.pnpm quality:no-secret-readbackpasses (0 findings, one existing tracked/masked legacy read).Codex finding 4598971932 fixed in
9a40c5c59: deletion uses cleanup-only backend selection after disabling Artifacts; creation, config, browsing and token serving remain enabled-only. Cleanup-only resolver callers: deletion and the already flag-gated serving resolver. No added I/O. Surgical old-gate restoration fails exactly disabled/absent-flag DELETE cases, 13 controls pass; restored targeted 7 files/83 tests PASS. Sonar copied test setup consolidated by using the real project-create handler/schema and canonical AppError serialization.Focused takeover reviews: Cloudflare PASS, security PASS, task-completion PASS. Prior Go review retained; no Go changes in takeover. Full local build 18/18, lint 22/22, typecheck 36/36 PASS. Sonar gate PASS, new duplication 0.0%. Root tests completed 37/39 tasks before one unrelated Inbox web test timed out waiting for the loaded count (5388 other web tests passed); that file passed 6/6 in isolation without code changes. Standalone full API JSON report: success=true, 16,722 passed / 4 skipped / 0 failed. No API suite collection failures. Both VM-agent CI smoke checks pass. Staging2 reserve-only run44149678336 SUCCESS, queue position7/current ETA20:28UTC; no deployment/resources created yet. Fresh VM binary/clone+push and GitHub clone remain merge-blocking. Merge also held until coordinator confirms production deployment containing #2841 succeeded.
Current takeover status
Current head:
bcc37353f3673d42dd6c7dacdc048ad397f09457, pushed to the original branch. Main #2840 (4fc4cb99a) merged cleanly; subsequent narrow fixes are documented below. Current source validation: prior full build/typecheck/lint and 83 targeted API cases PASS; new standalone regression, standalone suite, targeted race checks and full Go server package PASS. Independent Go/security/completion delta reviews PASS; P1 thread replied and resolved.Full CI 44205151924 and E2E 44205151899 passed on
fcdd51c9f(26 PASS / 9 inapplicable skips). Actual Sonar issue inspection then found one new test cognitive-complexity finding; the follow-up extracts the unchanged table-case body into a helper. Focused race regression and independent Go delta review PASS. Fresh final-head CI 44211076194 / E2E 44211076236 and Sonar are pending on4bd1f57b4. Prior candidate7495af677completed full CI 44199542961 (26 PASS / 8 inapplicable skips, all seven Workers shards and aggregate), E2E 44199542937 and Sonar (zero actual open issues); this is baseline evidence, not the current-head merge gate.Coordinator lifted the #2841 production hold at 21:31 UTC after actual production deployment 44174587033 succeeded on
ecb58a6d5. Primary staging reservation remains queued (last projected Nov18 00:28 UTC); unused staging2 reservation released. No L16 deployment or live resources created yet. Fresh-VM Artifacts clone/push, ordinary GitHub clone, complete cleanup/release and final-head CI remain merge-blocking. A fresh channel check and serialized merging claim will precede the authorized normal merge.Unrelated main CI repair
Current candidate
9abd1bedcfailed only API shard 1’s new #2840 speech import-graph test: the full Worker graph walk took 5695 ms against Vitest’s 5000 ms default; 5406 other cases passed and one skipped. The test file was byte-identical to main before this fix. Give this one graph walk a 30-second test budget; every assertion and the positive control are unchanged. Focused 2/2 tests and ESLint PASS, independent Cloudflare delta review PASS. Fresh full CI is required on the pushed repair head.Standalone hosted username review repair
Codex P1 4604144749: initial standalone/Instant clones now consume the callback username, so a custom fallback host receives
xrather than the GitHub default. Existing embedded-URL precedence and provider defaults remain intact. Regression enters the real clone path through its authenticated HTTP callback and git command boundary, checking credential pairing and no token in argv. Before fix: only hosted fallback failed; GitHub and Artifacts controls passed. Fixed standalone suite and targeted race checks PASS; independent Go and security delta reviews PASS. Full Go server package PASS (72.666 s); independent completion delta review PASS. Final-head CI is required after pushing this fix. No L16 staging resources created yet.Sonar go:S3776 follow-up: split the standalone callback test table from its shared exercise helper; all assertions and cases preserved. Focused race PASS; independent Go equivalence review PASS.
Latest main synchronization
Clean normal merge of main
b7502ba96(#2859, L17b gateway/transport seam) into the existing branch produced1fe679c1a. No conflicts; normalized L16 feature patch is identical. Secret guard PASS. Fresh CI 44224674476 / E2E 44224674492 are queued. Current local build 19/19, typecheck 38/38, lint 23/23 and targeted API 7 files / 83 cases PASS. Previous70931e995completed full CI 44215716287 and E2E 44215715601 successfully; actual Sonar issues API reported zero open findings. That is baseline evidence, not current-head CI.No L16 deployment or live resources yet. Primary staging queue checked Nov18 02:11 UTC: L16 position1 waiting behind stream C through03:08:57 UTC; bounded turn wake03:08:59. Ordinary GitHub fixture requires primary. Fresh VM agent deployment, Artifacts clone/push, GitHub clone and cleanup remain merge-blocking. Production hold was lifted; serialized merge protocol still applies.
Default HTTPS port review repair
Codex P2 4608551728 fixed in da9f91b: canonicalize numeric HTTPS authority ports for hosted Artifacts matching, including omitted, explicit, padded and empty defaults. Nondefault ports remain distinct. Caller inventory: bootstrap token injection and credential-helper enablement share the comparison; no callback or serving authorization changes.
withGitToken regressions reproduce the old explicit-port failure and the intermediate padded-port failure. Positive cases include IPv6 and padded custom ports; refusal controls cover HTTP, other hosts/providers, lookalikes, and bound 8443 versus omitted/443. Full bootstrap suite PASS11.725s, focused race PASS1.033s, go vet PASS. Independent Go/security/completion source delta reviews PASS; thread replied/resolved.
Current head7a6048bc6 also clean-normal-merges archive-only main88b6103e1 (#2879); no additional runtime delta. Fresh CI44228988421/E2E44228988427 required. Prior deployment44225440895 is still in Cloudflare rollout on superseded1fe679; no test VM/workspace/project/profile created. Wait for its terminal safety result, then deploy the corrected current binary through the normal gates under the held primary lease. Live clone/push, GitHub clone and cleanup remain required.
Corrected-head staging deployment44229436353 dispatched Nov18 03:18UTC on7a6048bc6 under the held primary lease, after previous44225440895 completed all normal gates/smoke successfully. Authenticated predeploy nodesGET200[] again confirms rule27 zero-node baseline. No live VM/workspace/project/profile created yet. Live clone/push verification waits for corrected-head gated deployment success.
Persistent credential port review repair — current gate status (Nov18 03:39 UTC)
Codex P2 4608781164 fixed in bcc3735. The rendered VM helper delegates only bound Artifacts HTTPS requests to the authenticated local exchange. Shared numeric-port normalization now protects both the workspace binding and resolved-credential host checks. GitHub/GitLab host filters retain their existing behavior.
Real rendered shell-helper and standalone git credential fill regressions cover default, explicit/padded/empty ports, custom ports, and refusal before/after the control-plane fetch. Both old server and shell behavior were demonstrated failing before the fix. Full bootstrap/server tests PASS (11.776s/72.912s), focused race tests PASS, go vet PASS. Independent Go/security/completion delta reviews PASS; thread replied and resolved.
Current-head CI44231530090 and E2E44231530076 pending. CodeRabbit incremental review skipped. Deployment44229436353 on superseded7a remains in its normal safety rollout; after it completes and current CI is green, another normal gated deployment is required for the current VM binary. No L16 test resources created. Primary lease confirmed through04:56UTC. Fresh VM/project-chat Artifacts clone and push, ordinary GitHub clone, cleanup/zero VMs, release, actual Sonar issue inspection and final thread/main/channel reconciliation remain merge-blocking. Production hold is lifted.
New coordinator merge hold (Nov18 04:07 UTC)
A new workstream merge hold supersedes the earlier #2841 hold lift: production deployment44233064705 on main88b6103e1 failed Cloudflare10021 (Worker startup CPU limit). Coordinator is monitoring a rerun and requires an explicit hold-lift message before any slice merges. Staging/CI/review work may continue. The current persistent credential repair changes only VM-agent Go code; it adds no Worker-loaded module scope. Current bcc CI has no failed jobs; only the required Workers aggregate remains queued.
Current-head CI complete; staging verification pending (Nov18 04:09 UTC)
bcc3735 completed full CI44231530090 and E2E44231530076 successfully, including all Workers shards and the required aggregate; actual Sonar issues API reports zero open findings. All review threads are resolved. Normal gated staging deployment44235341791 dispatched on this exact head after prior deployment44229436353 fully succeeded. Fresh authenticated predeploy nodes response is200[]; no L16 test resources created. Live clone/push, GitHub clone and cleanup remain required. The new coordinator production merge hold remains in effect.
Coordinator lifted the new production hold after deployment44233064705 attempt2 succeeded at04:12UTC and production checks passed. Normal serialized merge rules apply. Current-head staging44235341791 remains in Cloudflare rollout; live verification and cleanup are still pending.
Main synchronization and live Artifacts proof (Nov18 04:46 UTC)
Clean normal merge of L15/main01ff1fc8d produced12e710992d35fd41f87915fc90f3a91eb239e864 on the existing branch. VM-agent and hosted-git source are byte-identical to the staged bcc3735 candidate. Local build19/19, typecheck38/38, lint23/23 and secret guard PASS. Fresh CI44239010729/E2E44239010769 are required on the merge head.
Staging44235341791 on bcc3735 fully succeeded. A new Artifacts project/profile/project chat provisioned a fresh Hetzner cx23 in fsn1; D1 confirms heartbeat and exact agent version bcc3735. The workspace cloned correctly, and real terminal git fetch, empty commit, push and ls-remote all passed. Remote verification ref l16-staging-proof advertises771b1c1781b66ff11407220078b4d60e8c8d9a20. Artifacts workspace deletion confirmed200 and follow-up404; project/repository cleanup remains pending while the ordinary GitHub control runs.
The first automatic provider attempt selected staging GCP and failed STS token exchange400 before an instance ID or heartbeat existed. Its failed node deletion returns409 because strict runtime termination is unconfirmed. Evidence is preserved and the coordinator channel is informed; this cleanup gate is not bypassed. The successful retry used explicit Hetzner/small/fsn1, without changing shared pool settings. Ordinary GitHub clone, all remaining resource cleanup, current-head CI and final merge reconciliation remain required.
Latest protocol review repair and cleanup handoff (Nov18 05:02 UTC)
New Codex P2 4609286582 blocks merge pending the current VM-agent repair: both helpers now forward Git's protocol, and Artifacts credentials require HTTPS before fetching and before output. The response guard covers the real untagged Artifacts callback contract (cloneUrl without provider); GitHub/GitLab contracts keep their existing behavior. Original HTTP/missing-protocol cases and the production-shaped legacy response were demonstrated failing before their respective guards. Focused regressions pass; final full/race/vet are running. Go/security/completion delta reviews pass. A pre-existing HTTPS host-provider test fixture now names its protocol explicitly; all its assertions remain intact. Fresh fix-head CI and fresh VM binary staging validation are required after pushing.
Ordinary GitHub clone/fetch passed on the fresh VM, and the generated GitHub test branch was deleted. Both workspaces, the Hetzner VM, the Artifacts project/repository/profile, and the own GitHub task were deleted successfully; Artifacts project readback is404. Signout returned200 and private session/terminal-token files were removed. The sole remaining cleanup item is failed GCP preallocation node01M7PF73G9RS8JQ9WK6ZTDDD74: normal DELETE still returns409 without strict termination proof. No proof bypass or cleanup waiver is taken.
Normal staging release44240071896 succeeded; authoritative queue shows the GCP repair task's turn, and that task was notified directly of the cleanup dependency. L16 will reserve again behind the queue for the new binary rather than occupy the repair slot. Current12e E2E passed; full CI was awaiting its required aggregate at last check. The successful bcc live proof remains baseline evidence, not validation of the upcoming protocol fix.
Current head2de1924513ed3a06ca6696b2a37107f2b1edadbd pushed: protocol repair complete; full bootstrap/server, focused race, vet and secret guard PASS; Go/security/completion delta reviews PASS. Codex protocol thread replied/resolved. Fresh CI44241550553/E2E44241550618 pending; reserve-only staging run44241618809 submitted behind the existing queue for fresh-binary verification. Previous12e full CI/E2E succeeded. Failed GCP row cleanup still requires truthful provider-absence evidence; peer inventory investigation is in progress. No active L16 VM/workspace/project remains.
Takeover checkpoint — 2026-11-18 05:12 UTC
Current head:
2de1924513ed3a06ca6696b2a37107f2b1edadbd. E2E run 44241550618 passed; full CI 44241550553 is running. Fresh exact-head VM binary/live verification remains queued for the primary staging lease, projected 06:11 UTC.Prior smoke cleanup is complete, including the failed GCP preallocation record. Complete provider inventory in the exact bound credential project showed no VMs, and the failed STS request preceded Compute creation. The supported owner-attested cleanup endpoint returned 200, followed by node GET 404. This records owner-attested absence rather than strict provider deletion proof. All prior test VMs, workspaces, project/profile, and generated GitHub branch/task were removed; staging auth was signed out.
Current candidate — 2026-11-18 05:15 UTC
Head
5ced63386992ce4fac75f9af33174cd64044bdd4groups expected status/callback count in the test helper to address Sonargo:S107; production code is identical to2de192451. All 25 credential port/protocol cases pass under-race(1.404s), and Go specialist review passes. Fresh CI 44242730637 and E2E 44242730577 are running. The superseded 2de CI was cancelled by this push. Current-head staging and final gates remain pending.Main integration — 2026-11-18 05:26 UTC
Clean normal merge of main
d29015f35(#2839 L13) produced current headbda3332846cb77514eb98378d2eace64b87bb46e, pushed to the original branch. No conflicts or changes to VM-agent/hosted-git files; this brings 55 main-owned AI/UI/docs files. Secret-readback guard passes. Combined-head CI 44244193376 and E2E 44244193320 are pending; local build/type/lint are running. Sonar actual issue count on preceding 5ced head is zero. Reserve-only workflow useslease_action=reserve; refreshed candidate run 44244245261. Fresh current-head staging verification remains required on our authoritative queue turn.Post-main-merge local verification completed: build 19/19, typecheck 38/38, lint 23/23, and secret-readback guard pass. Reservation refresh 44244245261 succeeded with deployment correctly skipped. Current-head CI remains running.
CI green — 2026-11-18 05:45 UTC
Current head
bda3332846cb77514eb98378d2eace64b87bb46e: full CI 44244193376 SUCCESS, E2E 44244193320 SUCCESS; Sonar actual issue count zero and no unresolved review threads. Local build/typecheck/lint/secret guard pass.Authoritative staging queue now has stream C holding its normal lease until 06:43:37 UTC; L16 is next, projected turn 06:43:37–06:53:37. Waiting for that turn or an earlier normal release. Fresh staged binary and live checks remain required before merge. All prior L16 resources remain cleaned.
Final current-head staging proof — 2026-11-18 06:38 UTC
Normal gated staging 44248028268 succeeded on
bda3332846cb77514eb98378d2eace64b87bb46e, including container rollout and smoke tests. Rule 27 sequence was followed: nodes GET returned[]before deployment, then a new Artifacts project chat provisioned fresh Hetzner VM01M7PNM7WGB29BANJ1H5ZGZJX2. Its actual heartbeat reported binary release2de1924513ed3a06ca6696b2a37107f2b1edadbd, exactly matching the deployment's VM-agent release resolver (later changes are test-only or main integration).git fetch, empty commit, and push succeeded. Remotels-remoteconfirmed4535ca921987f20adc98d39d474455a204610563at the verification branch.serverspresentation2025/honocloned and fetched on the same fresh VM. HEAD wasbd97f3abc9b90feb0b58e0418c951ea0aab94337. The generated verification branch was deleted successfully.[]. Existing GitHub fixture project/profile were preserved. Sign-out returned 200; private login/terminal files were removed.Normal lease release 44252731589 is queued; merge waits for its success and final reconciliation. All live acceptance criteria now pass.
Final independent task-completion audit: PASS, no acceptance gaps. Exact-head CI/E2E, actual Sonar zero issues, resolved review threads, fresh binary/live checks and cleanup verified. Lease-release terminal success remains the final operational gate.
Final main sync — 2026-11-18 06:43 UTC
Normal lease release 44252731589 succeeded; authoritative staging status confirms no holder and an empty queue. All test resources remain deleted. Before L16 claimed a merge slot, #2830 merged as
ca03b8167; its serialization slot is honored. Clean normal merge into this original branch produced current headc7a06b20d75047a3ccecd445be32796b269e8e6c. No L16 VM-agent, hosted-git backend, git-token or workspace git-source code changed. Fresh CI 44253341274 and E2E 44253341271 are pending, with local integration checks running. Independent review and coordinator acceptance of the completed bda staging/live evidence through this main-only merge are pending; no exact-c7a staging deployment is claimed.Accepted staging carry-over for final main merge
Coordinator task
01M7JMXS2JRW6QQMB1356ENPM3accepted the completed bda → c7a staging/live evidence in verified message5c4d9fec-9253-418c-9049-78935e3d7d0a, conditional on fresh full c7a CI/E2E, independent carry review, and serialized merge after 06:52 UTC. No additional staging case is required. Independent Cloudflare specialist review is PASS: the successful GitHub token path is preserved; only error classification/account linking changes.Mechanically verified: zero file overlap between main
d29015f35..ca03b8167(56 files) and L16d29015f35..bda333284(37 files); the feature patch before/after main integration is byte-identical, SHA-256449a4338a1dccd0dd25afc18484a2e602de9ad140b0b9270834115afbc873b42. The staged deployment SHA remains bda3332; this is explicit accepted carry-over, not an exact-c7a deployment claim.Post-sync local build 19/19 (39.511s), typecheck 38/38 (34.686s), lint 23/23, and secret-readback guard pass. Full c7a CI/E2E remain pending.
Final merge gates passed — 2026-11-18 07:15 UTC
Current head c7a06b2: full CI 44253341274 SUCCESS, including every Worker shard and aggregate; E2E 44253341271 SUCCESS. Actual Sonar open issues: zero; review threads resolved. Local build/typecheck/lint/secret guard pass. Specialist and completion reviews pass; CodeRabbit terminal skip/rate-limit evidence retained. Coordinator-approved bda→c7a staging carry conditions are satisfied: byte-identical feature patch, zero main overlap, independent review PASS, fresh CI green and serialization interval elapsed. Live tests, resource cleanup and normal lease release all passed. Fresh main remains ca03b81, included in this head.