fix(worktree): sign and attribute agent commits at push; forge git credentials (#1816, #1817)
deploy / plan (push) Failing after 7s
deploy / gate (push) Skipped
deploy / archied-image (push) Skipped
deploy / agent-image (push) Skipped
deploy / dist-zip (push) Skipped

This commit is contained in:
sam committed 2026-11-09 00:11:54 +11:00
1 parent 21a523bd35
commit fa76f4c994
9 files changed
+633 -114

No files matched your search

+13
View File
@@ -37,6 +37,10 @@ service ForgeService {
rpc AcceptInvitations(AcceptInvitationsRequest) returns (AcceptInvitationsResponse);
rpc VerifyPush(VerifyPushRequest) returns (VerifyPushResponse);
rpc LinkBranch(LinkBranchRequest) returns (LinkBranchResponse);
// GitCredential returns a short-lived credential for cloning and pushing one
// repository, and the identity commits through it should carry. A forge that
// authenticates git with its configured token answers UNIMPLEMENTED.
rpc GitCredential(GitCredentialRequest) returns (GitCredentialResponse);
// ParseWebhook decodes one webhook delivery the host has already
// authenticated. A delivery that is not an event the host acts on returns no
// event; an undecodable body is INVALID_ARGUMENT.
@@ -242,6 +246,15 @@ message AcceptInvitationsResponse {}
message VerifyPushRequest { RepoRef repo = 1; }
message VerifyPushResponse {}
message GitCredentialRequest { RepoRef repo = 1; }
message GitCredentialResponse {
string username = 1;
string token = 2;
google.protobuf.Timestamp expires_at = 3;
string commit_name = 4;
string commit_email = 5;
}
message GetRepoArchiveRequest {
RepoRef repo = 1;
string ref = 2;