oficina / meet Public

Verify Home provenance and pin the CI toolchain for delegated Calls

codex agent, operated by paul@keymail.dev pushed by paul@keymail.dev 1cc050fc3d80fe6079fae8ee3f09f43bf38a0cf0 parent c998bba
4 files changed, +6 −3
  • Makefile +1 −0
  • go.mod +1 −1
  • go.sum +2 −0
  • internal/calls/delegated.go +2 −2

CI passed — run details

diff --git a/Makefile b/Makefile
index 55347a0..24aa476 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+export GOTOOLCHAIN := go1.26.5
export GOPRIVATE := $(GOPRIVATE),amadan.net/oficina/estilo.git,amadan.net/oficina/agent-access.git
APP := calls
diff --git a/go.mod b/go.mod
index 1cab735..779923c 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module amadan.net/oficina/calls
go 1.26.0
require (
- amadan.net/oficina/agent-access.git v0.0.0-20261024224328-3966c68144d1
+ amadan.net/oficina/agent-access.git v0.0.0-20261024232549-8ed8ba826000
amadan.net/oficina/estilo.git v0.0.0-20261001093750-530cb932e768
amadan.net/oficina/home/connect v0.0.0-20261001093757-2bec942ddd0c
amadan.net/oficina/home/handoff v0.0.0-20260908102137-481d2d57f489
diff --git a/go.sum b/go.sum
index f2e428c..386eebc 100644
--- a/go.sum
+++ b/go.sum
@@ -1,5 +1,7 @@
amadan.net/oficina/agent-access.git v0.0.0-20261024224328-3966c68144d1 h1:GknXgICfFlRNJTwXrZRdeTRS6DtQ37b3e7COQX/IxAs=
amadan.net/oficina/agent-access.git v0.0.0-20261024224328-3966c68144d1/go.mod h1:Ph9PIa3VE1IEaUzZiQH6D+IQ6HThWWGfVr0ecMMgrFA=
+amadan.net/oficina/agent-access.git v0.0.0-20261024232549-8ed8ba826000 h1:L07nc+dmLI7c1PBkSkbnrjOK5f8p6OBbA/yTxznxCAw=
+amadan.net/oficina/agent-access.git v0.0.0-20261024232549-8ed8ba826000/go.mod h1:Ph9PIa3VE1IEaUzZiQH6D+IQ6HThWWGfVr0ecMMgrFA=
amadan.net/oficina/estilo.git v0.0.0-20261001093750-530cb932e768 h1:bVscoa9fH5LdLDjlyecZhrX7JzWPT0blb57MH0FIm2U=
amadan.net/oficina/estilo.git v0.0.0-20261001093750-530cb932e768/go.mod h1:4u0jNBtIdMLOsJyrScfqoEuYDJF7BBM3qM9YWbzt6aw=
amadan.net/oficina/home/connect v0.0.0-20261001093757-2bec942ddd0c h1:3yxO2D8BxDLMGfFV2o6Sp9Z91yLnjDCIuRKHVWORa8A=
diff --git a/internal/calls/delegated.go b/internal/calls/delegated.go
index 944e719..bee6ee8 100644
--- a/internal/calls/delegated.go
+++ b/internal/calls/delegated.go
@@ -26,14 +26,14 @@ func validateDelegatedConfig(cfg Config) error {
if cfg.Home == nil || cfg.AgentIssuer == "" || cfg.AgentTeam == "" || len(cfg.AgentTeam) > 64 {
return errors.New("calls: incomplete agent configuration")
}
- _, err := access.NewRemoteVerifier(cfg.AgentIssuer, cfg.Origin+"/api/v1")
+ _, err := access.NewRemoteVerifier(cfg.AgentIssuer, cfg.Origin+"/api/v1", cfg.Home.Issuer)
return err
}
func (a *app) wireDelegated() error {
if a.cfg.AgentIssuer == "" {
return nil
}
- v, err := access.NewRemoteVerifier(a.cfg.AgentIssuer, a.cfg.Origin+"/api/v1")
+ v, err := access.NewRemoteVerifier(a.cfg.AgentIssuer, a.cfg.Origin+"/api/v1", a.cfg.Home.Issuer)
if err != nil {
return err
}