Repository navigation
feat(effector): base URL verification - #614
Open
ccf-lisa[bot] wants to merge 1 commit into
Open
ccf-lisa[bot] wants to merge 1 commit into
ccf-lisa[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
ccf-lisa
Bot
force-pushed
the
effectors/17b-effector-verify
branch
2 times, most recently
from
December 2, 2026 12:07
50c1415 to
edc1cd9
Compare
This was referenced Dec 2, 2026
internal/service/effector: the delivery client posts signed webhooks to
{base-url}/v1/webhook with a timeout (CCF_EFFECTOR_DELIVERY_TIMEOUT) and
never follows redirects, so deliveries only reach the URL an admin set.
Deliverer.Verify sends effector.verify with a random challenge and,
when the agent echoes it, marks the agent's effector ready with the
current kid; it does nothing without a base URL or when already
verified with the current key, leaves a base URL changed meanwhile to
its own verification, and fails (for the job to retry) on any other
answer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ccf-lisa
Bot
force-pushed
the
effectors/17b-effector-verify
branch
from
December 2, 2026 14:45
edc1cd9 to
1c9c181
Compare
This was referenced Dec 2, 2026
gusfcarvalho
approved these changes
Dec 2, 2026
gusfcarvalho
left a comment
Contributor
There was a problem hiding this comment.
ccf-review: APPROVE
no findings.
Stack (gh stack 604): #592 → #593 → #594 → #595 → #596 → #597 → #598 → #599 → #600 → #601 → #602 → #603 → #605 → #606 → #607 → #608 → #609 → #610 → #611 → #612 → #613 → #614 → #615 → #616 → #617 → #618 → #619 → #620 → #621 → #622 → #623 → #624 → #625 → #626 → #627 → #628 → #629 → #630
This was referenced Dec 2, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Wire interface,
effector.verify:Client.Post: signed POST to{base-url}/v1/webhookwith a timeout (CCF_EFFECTOR_DELIVERY_TIMEOUT); redirects are never followed, so deliveries only reach the URL an admin set; responses read up to 64 KiB.Deliverer.Verify(agent): sendseffector.verifywith a random challenge; when the agent echoes it, the agent's effector isreadywith the currentkid. Nothing is sent without a base URL or when already verified with the current key; a base URL changed while verifying isn't marked ready (it gets its own verification); any other answer is an error for the job to retry.VerifyArgs(effector.verifyjob).Why
Plan: stack 2, PR 17 ("registration and verification"), second half.
Test evidence
verify_integration_test.go(Postgres, anhttptestagent that checks signatures like the agent): nothing to verify, a successful challenge, already verified, wrong challenge, error status, base URL changed meanwhile, unreachable; redirects not followed, transport errors.Gate on this branch:
go build ./...pass;go vet -tags integration ./...pass;make lint(golangci-lint v2.15.0, CI config) 0 new issues;make testpass;make swagno diff;go mod tidyno diff;go test -tags integration -p 1on./internal/service/effector/pass.Size
Counted: 344 lines.
🤖 Generated with Claude Code