Rename vendors to third parties

Renames the user-facing 'vendor' concept to 'third party' across the
entire codebase. The shared common_third_parties reference table is
unchanged.

Migration. Renames the vendor_category enum, the vendors and
vendor_<entity> tables (contacts, services, compliance_reports,
business_associate_agreements, data_privacy_agreements,
risk_assessments) and their vendor_id columns, the asset_vendors /
data_vendors / processing_activity_vendors junction tables,
generated_documents.vendors_document_id, the webhook_event_type
'vendor:<verb>' values, and the snapshots_type 'VENDORS' value.

Backend. Renames coredata models and SQL queries, probo services,
GraphQL / MCP API surface, console / trust / webhook resolvers and
types, the CLI (prb vendor* -> prb third-party*; pkg/cmd/vendormgmt
-> pkg/cmd/thirdpartymgmt), the document generator, vetting agent
prompts, and the common-third-parties-import command.

Frontend, packages, n8n, e2e. Renames apps/console pages, components,
hooks, routes, dialogs, and tabs; the shared @probo/vendors package
(now @probo/third-parties); the @probo/ui Vendors atoms (now
ThirdParties, VendorLogo -> ThirdPartyLogo); the n8n community node
actions/vendor folder (now actions/thirdParty); and the e2e Go test
suite (console and MCP). Filesystem and URL paths use kebab-case
(third-parties), GraphQL fields and TypeScript identifiers use
camelCase (thirdParty / thirdParties), Go types use PascalCase
(ThirdParty), and human-facing text uses 'third party' with a space.

Co-authored-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-05-13 16:15:33 +02:00
parent 9eed0d71c8
commit eecbe4c46c
281 changed files with 8491 additions and 8425 deletions

View File

@@ -63,16 +63,16 @@ func newOrchestratorAgent(
maxTokens int,
procedure string,
logger *log.Logger,
vendorBrowser *browser.Browser,
thirdPartyBrowser *browser.Browser,
researchBrowser *browser.Browser,
searchEndpoint string,
reporter agent.ProgressReporter,
) (*agent.Agent, error) {
readOnlyBrowserTools := browser.NewReadOnlyToolset(vendorBrowser).Tools()
readOnlyBrowserTools := browser.NewReadOnlyToolset(thirdPartyBrowser).Tools()
// Unrestricted browser tools for sub-agents that need to follow links
// to external sites (subprocessor lists hosted on OneTrust/Transcend,
// research, vendor comparison).
// research, thirdParty comparison).
unrestrictedBrowserTools := browser.NewInteractiveToolset(researchBrowser).Tools()
securityTools := security.NewToolset().Tools()
@@ -98,14 +98,14 @@ func newOrchestratorAgent(
// Core sub-agents that always run.
entries := []subAgentEntry{
{
toolName: "crawl_vendor_website",
description: "Crawl a vendor website to discover security, compliance, privacy, and legal pages. Returns structured JSON with categorized URLs (vendor_name, vendor_domain, discovered_urls, notes). Input: the vendor's main website URL.",
toolName: "crawl_third_party_website",
description: "Crawl a thirdParty website to discover security, compliance, privacy, and legal pages. Returns structured JSON with categorized URLs (third_party_name, third_party_domain, discovered_urls, notes). Input: the thirdParty's main website URL.",
tools: readOnlyBrowserTools,
build: buildCrawlerAgent,
},
{
toolName: "assess_security",
description: "Perform technical security checks on a domain. Returns structured JSON with per-check results (ssl, headers, dmarc, spf, breaches, dnssec, csp, cors, dns, whois) each with status (pass/warning/fail/error) and details. Input: the vendor's domain name (e.g. example.com).",
description: "Perform technical security checks on a domain. Returns structured JSON with per-check results (ssl, headers, dmarc, spf, breaches, dnssec, csp, cors, dns, whois) each with status (pass/warning/fail/error) and details. Input: the thirdParty's domain name (e.g. example.com).",
tools: securityTools,
build: buildSecurityAgent,
},
@@ -123,13 +123,13 @@ func newOrchestratorAgent(
},
{
toolName: "assess_market_presence",
description: "Analyze a vendor's market presence. Returns structured JSON with notable_customers, case_studies, partnerships, company_size_signals, funding_info, and market_position. Input: the vendor's main website URL.",
description: "Analyze a thirdParty's market presence. Returns structured JSON with notable_customers, case_studies, partnerships, company_size_signals, funding_info, and market_position. Input: the thirdParty's main website URL.",
tools: readOnlyBrowserTools,
build: buildMarketAgent,
},
{
toolName: "extract_subprocessors",
description: "Find and extract the list of sub-processors from a vendor's website. Returns structured JSON with subprocessors (name, country, purpose), total_count, and source. Input: the vendor's main website URL or a known subprocessors page URL.",
description: "Find and extract the list of sub-processors from a thirdParty's website. Returns structured JSON with subprocessors (name, country, purpose), total_count, and source. Input: the thirdParty's main website URL or a known subprocessors page URL.",
tools: subprocessorTools,
build: buildSubprocessorAgent,
},
@@ -198,28 +198,28 @@ func newOrchestratorAgent(
entries = append(entries,
subAgentEntry{
toolName: "research_vendor_externally",
description: "Search the open web for external signals about the vendor. Returns structured JSON with security_incidents, regulatory_actions, customer_sentiment, recent_news, red_flags, and positive_signals. Input: the vendor's name and domain.",
toolName: "research_third_party_externally",
description: "Search the open web for external signals about the thirdParty. Returns structured JSON with security_incidents, regulatory_actions, customer_sentiment, recent_news, red_flags, and positive_signals. Input: the thirdParty's name and domain.",
tools: websearchTools,
build: buildWebsearchAgent,
},
subAgentEntry{
toolName: "assess_financial_stability",
description: "Evaluate vendor financial stability. Returns structured JSON with company_age, funding, employee_count, legal_standing, ownership, risk_signals, overall_assessment, and confidence. Input: vendor name and website URL.",
description: "Evaluate thirdParty financial stability. Returns structured JSON with company_age, funding, employee_count, legal_standing, ownership, risk_signals, overall_assessment, and confidence. Input: thirdParty name and website URL.",
tools: financialTools,
build: buildFinancialStabilityAgent,
},
subAgentEntry{
toolName: "assess_code_security",
description: "Evaluate open-source code security posture. Returns structured JSON with has_public_repos, security_advisories, dependency_management, release_cadence, security_policy, overall_assessment, and risk_signals. Input: vendor name and website URL.",
description: "Evaluate open-source code security posture. Returns structured JSON with has_public_repos, security_advisories, dependency_management, release_cadence, security_policy, overall_assessment, and risk_signals. Input: thirdParty name and website URL.",
tools: codeSecurityTools,
build: buildCodeSecurityAgent,
},
subAgentEntry{
toolName: "compare_vendor",
description: "Find and compare alternative vendors. Returns structured JSON with alternatives (name, certifications, security_score), comparison_summary, vendor_strengths, vendor_weaknesses, and overall_position. Input: vendor name, category, and website URL.",
toolName: "compare_thirdParty",
description: "Find and compare alternative thirdParties. Returns structured JSON with alternatives (name, certifications, security_score), comparison_summary, third_party_strengths, third_party_weaknesses, and overall_position. Input: thirdParty name, category, and website URL.",
tools: comparisonTools,
build: buildVendorComparisonAgent,
build: buildThirdPartyComparisonAgent,
},
)
}
@@ -254,7 +254,7 @@ func newOrchestratorAgent(
}
return agent.New(
"vendor_assessment_orchestrator",
"third_party_assessment_orchestrator",
client,
opts...,
), nil