29namespace neograph::a2a {
46 std::size_t max_card_bytes = 64 * 1024;
48 bool allow_loopback_http =
false;
55 std::string card_sha256;
97 [[nodiscard]]
const std::string& id()
const noexcept {
return id_; }
98 [[nodiscard]]
const std::string& source_card_sha256()
const noexcept {
99 return source_card_sha256_;
101 [[nodiscard]]
const json& descriptor()
const noexcept {
return descriptor_; }
107 std::string source_card_sha256,
111 std::string source_card_sha256_;
124 std::string expected_output;
134 std::string source_card_sha256;
135 std::string template_id;
136 std::vector<CopyNinjaBehavioralProbe> development_probes;
156 std::string
respond(std::string_view input)
const;
180 CopyNinjaNode(std::string name, std::shared_ptr<const CopyNinjaHarness> harness);
187 std::shared_ptr<const CopyNinjaHarness> harness_;
Core data types for the Agent-to-Agent (A2A) protocol.
NEOGRAPH_API export/import macro for shared-library builds.
Compiles a collected card into an unadmitted, text-only compatibility candidate.
Fetches one explicit A2A well-known card.
Non-executable compatibility candidate compiled from one collection record.
A local, separately materialized deterministic compatibility harness.
AgentCard agent_card(std::string endpoint) const
Build a fresh, non-impersonating A2A card for a caller-owned endpoint.
std::string respond(std::string_view input) const
Execute only the fixed, local template admitted by materialization.
Local GraphNode adapter for a materialized Copy Ninja harness.
asio::awaitable< graph::NodeOutput > run(graph::NodeInput input) override
Unified dispatch entry for sync work, async work, and streaming.
std::string get_name() const override
Get the node's unique name within the graph.
Abstract base class for all graph nodes.
Graph node implementations: base class and built-in node types.
Collection limits for the deliberately narrow proof of concept.
Provenance declared by the operator for one open-source Agent Card.
std::string discovery_url
Exact origin fetched through the A2A well-known discovery path.
std::string source_revision
Immutable source revision, such as a Git commit SHA.
std::string source_url
Immutable source location reviewed by the operator; it is never fetched here.
std::string source_license
SPDX-style source license declaration, such as "Apache-2.0".
Subset of AgentCard required to interact (spec §5.5).
One card record with an immutable content identity and reviewed provenance.
One independently observed development probe for a deterministic PoC template.
Behavioral evidence that is deliberately separate from an Agent Card.