Skip to content

fix(acp): populate authMethods, add /agent.json endpoint, eliminate IPI duplication#2431

Merged
bug-ops merged 1 commit intomainfrom
2412-acp-discovery-authmethods
Mar 30, 2026
Merged

fix(acp): populate authMethods, add /agent.json endpoint, eliminate IPI duplication#2431
bug-ops merged 1 commit intomainfrom
2412-acp-discovery-authmethods

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Mar 30, 2026

Summary

Closes #2422, closes #2370

Test plan

  • cargo +nightly fmt --check passes
  • cargo clippy --workspace -- -D warnings passes
  • cargo nextest run --workspace --lib --bins passes (6715 tests)
  • cargo nextest run -p zeph-acp --lib --features acp-http passes (322 tests)
  • New tests: initialize_response_includes_agent_auth_method, agent_json_returns_expected_fields, agent_json_disabled_returns_404

…PI duplication

- Populate InitializeResponse.auth_methods with [{type: agent, id: zeph}] using
  the typed builder; previously returned authMethods: [] which blocked ACP Registry
  inclusion (#2422)
- Serve GET /agent.json with agent identity manifest (id, name, version, description,
  distribution) for ACP Registry discovery; gated on discovery_enabled (#2422)
- Extract apply_three_class_classifier_with_cfg and apply_causal_analyzer_with_cfg
  helpers in agent_setup.rs; acp.rs now delegates instead of inlining construction
  eliminating the DRY gap from #2369 (#2370)
- discovery.rs already reflects ProtocolVersion::LATEST since PR #2423 (#2412)

Closes #2422, closes #2370
@github-actions github-actions bot added bug Something isn't working documentation Improvements or additions to documentation rust Rust code changes size/L Large PR (201-500 lines) and removed bug Something isn't working labels Mar 30, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 30, 2026 15:05
@bug-ops bug-ops merged commit c793478 into main Mar 30, 2026
27 checks passed
@bug-ops bug-ops deleted the 2412-acp-discovery-authmethods branch March 30, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation rust Rust code changes size/L Large PR (201-500 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(acp): register Zeph in the ACP Registry fix(security): acp.rs inlines IPI wiring instead of shared helpers (DRY gap from #2369)

1 participant