Repository navigation
fix(compliance): bound heartbeat retries and prioritize current agents - #7844
Conversation
|
Fixed both reported schema-link classes in 08a2da9: all five references now use the released /schemas/v3/ alias. Local file and link checks pass; CI is rerunning on the new head. |
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — bounded compliance-heartbeat backoff with member/badge/fresh-discovery queue sourcing (48h floor) and narrowed worker-failure escalation.
Checked:
- Backoff math verified against unit tests; authoritative-only streak-reset gating and requeue-wins invariant hold.
known_agentsselector reviewed for the member/badge/fresh-discovery queue sourcing.- Migration 614 judged as production-facing (auto-runs on startup) and assessed safe for the inconclusive-backoff change.
- This is an operational/app-only change to
server/**(Addie jobs, compliance DB, migration, docs, tests) with nostatic/schemas/source/**surface touched — no changeset required and no spec/docs coherence, oneOf, or artifact-immutability concerns apply.
High-risk flag is true but driven by (modified) Addie-job files and one (added) migration — no deletions, and the reviewer surfaced no Critical/High/Medium findings, so the modified-file risk is presumed safe. No author team gate; gated_paths is false. No blocking findings — falls through to approve.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — compliance heartbeat retry bounds and agent prioritization.
Checked:
- Bounded-exponential backoff (48h / owner-interval cap, streak CHECK 0-4) in migration 614 and compliance-db logic.
- Requeue-wins deferral predicate and idempotent interval reset.
- getAgentsDueForCheck eligibility rewrite (discovery freshness, 48h floor, member/badge priority).
- assertComplianceHeartbeatOperationalProgress alerting refactor; operational timeouts/execution fence.
- Changeset correctly absent — docs are registry/building/media-buy scope with no schema source changes; latest-to-v3 links resolve to 3.2.1 (operational/docs-only, not published protocol surface).
high_risk is true, but the two modified server/src/addie/** files carry no medium-or-higher findings (presumed safe per modified-file rule), and migration 614 is an (added) file — normal scaffolding, not escalation-worthy. No deleted sensitive files. gated_paths is false. No no-auto-approve team match. One non-blocking docs nit (stale self-contradicting comment above the v3 execution-requirement-unmet link) was posted inline and does not block.
No critical/high/medium findings → rows 1-8 do not fire → row 9 approve.
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — delta pass since the prior approve is a pure editorial cleanup.
The only changes since the prior approve remove three obsolete MDX placeholder comments in transport-errors.mdx and media-buy/specification.mdx, now that 3.2.1 shipped the referenced schemas. The reviewer verified all referenced schemas (account-moved, execution-requirement-unmet, sync-audiences-request/response) exist in dist/schemas/3.2.1, so both the pinned 3.2.1 and floating v3 alias links resolve.
No blocking findings. No medium findings. No new critical/high/medium items from this run and none carried over from the prior clean approve.
Gate checks:
- No no-auto-approve team match.
gated_paths: false→ row 2 does not apply even thoughreview_decisionis REVIEW_REQUIRED.high_risk: truebut reasons are(modified)/(added)only — no deletions (row 3 no), and no medium findings to pair with the modified files (rows 4/5 no).- Prior decision was
approve, so sticky-escalation (row 6) does not apply. - Fewer than three medium findings (zero), so row 8 does not fire.
Falls through to row 9 → approve.
…ease lines #7844 took migration 614 on main. The training-agent/SDK version check now compares release lines: a stable wire pin ("3.2") tracks every patch of its line (3.2.1), and a prerelease pin still tracks its exact candidate. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* feat(compliance): grade hosted runs on AdCP 3.2.1 and issue 3.2 badges - SUPPORTED_BADGE_VERSIONS = ['3.2', '3.1', '3.0'], so canonical hosted selection grades agents that advertise 3.2 on the 3.2.1 bundle and keeps 3.1-only agents on the latest 3.1 bundle (3.1.24). - Hosted target preference and candidates are driven by one newest-first line list (3.2, 3.1), each tried as stable, rc, then beta. The unpinned default stays 3.0. - Selectable verification badges derive from SUPPORTED_BADGE_VERSIONS instead of a separate hard-coded set. - Registry OpenAPI examples name 3.2 targets and bundles. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * chore(addie): move the secretariat burn-down to the 3.3.0 milestone Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * feat(addie): describe 3.2 as the stable default and reissue the smoke admission The search_docs, get_doc, and schema tool version parameters said "Omission means stable 3.1; use 3.2 for the current preview". They now say stable 3.2, matching the docs default after the v3.2.1 docs snapshot. The schema-tools test now ties each description to DEFAULT_SCHEMA_VERSION, so it passes only once docs.json defaults to 3.2. Member compliance_target descriptions name 3.2 targets. The isolated search_docs/get_doc smoke descriptors snapshot the same text, so the paid component-smoke admission fingerprint changes on purpose (817ab57d... -> fa331c38...). This reissues it the way migration 583 did: - private authority, budget ladder, and unit pins move to the new value - migration 614 adds the new fingerprint to the authorization CHECK and replaces the plan-group guard with the new fingerprint and plan manifest digest (bda91890...); 582/583 plans stay readable but fail closed on their next dispatch intent - the ledger migration integration test covers the 583 -> 614 upgrade - tool-surface inventory regenerated; the reviewed profile contract sha256 is updated in the budget Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * chore(deps): move hosted surfaces to @adcp/sdk 14.0.0 Apply once @adcp/[email protected] is on npm, then refresh the lockfile: npm install --save-exact --ignore-scripts @adcp/[email protected] git commit --amend --no-edit package-lock.json - package.json pins @adcp/sdk 14.0.0 (the 3.2.1 GA bundle). - Training agent: TRAINING_AGENT_CURRENT_ADCP_VERSION = '3.2'. '3.2' was already a supported release; the unpinned default stays '3.0'. - SDK 14.0.0 bundles only the 3.0/3.1/3.2 GA schemas, so an exact "3.2-rc.7" pin on an SDK-dispatched /sales tool would downshift to 3.1. The sales platform now declares its supported releases, and the committed dist/schemas/3.2.0-rc.7 bundle is registered next to beta.6. - Training-agent tests: GA release-pin semantics ("3.2" downshifts to the highest stable release a route offers; the exact rc.7 pin is still refused there) and the unpinned capabilities echo is now "3.2". - Certification C4 build/validate instructions pin @adcp/[email protected] and the "3.2" wire pin (certification-module-methodology ties both to the installed SDK and the training agent). - SDK response conformance: the TypeScript default release is 3.2.1 and its known-findings entry is re-baselined (same counts and the same single list_products finding; new artifact digest). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix: renumber the GA smoke reissue migration to 615; track stable release lines #7844 took migration 614 on main. The training-agent/SDK version check now compares release lines: a stable wire pin ("3.2") tracks every patch of its line (3.2.1), and a prerelease pin still tracks its exact candidate. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * test: align GA provenance, teaching pin, and reporting lab pins with SDK 14.0.0 - Provenance expectations record the exact runner, now @adcp/sdk 14.0.0. - Buyer certification text names the current stable 3.2 wire pin. - Reporting lab cases dedupe the GA pin (current version == release line at GA) so repeated idempotency keys no longer replay sync_accounts against a cleared account store, and cover the retained 3.2-rc.7 pin. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…he member profile The heartbeat due query now selects only agents with a registry source (adcontextprotocol#7844), so metadata-only fixture agents were never due regardless of the fix. Owner tests come from member-registered agents; register each fixture agent on the suite's member profile, as beforeAll already does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
/schemas/latest/links left by the 3.2.1 release.Evidence
A read-only production audit found 184 enabled registry metadata rows, including 40 URLs with no current owner or publisher source after canonical URL matching. Only 10 of 56 discovery-only agents had publisher authorization refreshed in the past 30 days. One source-less URL still has an active badge and remains eligible for reassessment. The selected workload is about 7.7 checks/hour by configured cadence before endpoint backoff, against a 10-agent hourly selection limit; actual throughput depends on run duration.
Verification
Operational note
This does not redefine badge revocation on registry source loss. Badge holders remain eligible for the existing full-suite heartbeat, including after an owner listing or publisher authorization disappears.