fix(agentconfig): minimum reconcile_interval; docs(effectors): match the code #639
All Vouch review confidence checks passed
Residual risk 0.39 = Change Risk (0.68) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 404 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.359
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #639"
general
weight: 0.35
gusfcarvalho
Stacked on #638 (
effectors/34-delivery-recipient). Items D6 and D7 of the effectors follow-ups decided on 2026-12-04, landing before rc1. One commit per item.D6:
fix(agentconfig): refuse a reconcile_interval under one minutepkg/agentconfiggetsMinReconcileInterval = time.Minute, the agent's value. Areconcile_intervalunder it is refused in three places:effector.defaults, an effector plugin, and an overlay.invalid_valuewith the agent's message, for example30s is under the minimum of 1m0s: every Reconcile sends the plugin every effect it holds.reconcile_intervalas data-only, soapply_safeapplied an overlay under the minimum, and the agent then refused it.durationerror.-
TestEffectorValidate: defaults at 59s, plugin at 30s.-
TestEffectorValidateOverlay: 59s refused, 1m accepted, and the message.reconcileIntervalErrors(cmd/config.go) reports the same path twice. It can drop that check, or useagentconfig.MinReconcileInterval.D7:
docs(effectors): make the effector docs match the code(docs only)- The registration response is shown in kebab-case (
delivery-keys,public-key).- The heartbeat no longer has
held_digestorresync.- A new Recovery section covers the startup-only fetch, 24h retries, recorded failures (including the agent's permanent refusals), and re-send: the same undelivered generation, or a
redeliveredbump.- The Responses table gets the
400/413/422/431and "anything else" rows.-
ccf-effector-protocolis described as actually sent and read. The API sends it on deliveries and on agent-route responses. The SDK sends it on effector routes but not on the heartbeat. The API never reads it. The agent rejects other values with400.- "No document size cap" is replaced by the agent's 10 MiB cap (
413).- A compromised API and a stolen agent key are marked out of scope. The API row is softened: a plugin may act on
refsit stored.- A row for unauthenticated clients, and a Scope note.
Decisions to confirm
421 wrong-recipient, from #638) as part of the protocol. The agent implements it in a separate agent PR.Gate
make swagleaves no diff.make testandgo vet -tags integration ./...pass.-tags integration -p 1:-
./pkg/agentconfig/...and./internal/service/relational/agentcfg/...;- handler
-run TestAgentConfig.make lint(golangci-lint v2.15.0) shows only the 6 issues already on the base: 3 govet inline inrelational/workflows, and 3 SA1019 in the worker risk tests.🤖 Generated with Claude Code