← Back to Pull requests

refactor: rename project and repository from SAM to Agent Mesh #617

Closed
unknown closed this pull request without merging on Oct 09, 2026 23:39 UTC
View on GitHub
unknown unknown commented on Oct 09, 2026 19:55 UTC
Author

Renames the project and repository from SAM (github.com/google/sam) to Agent Mesh (github.com/google/agentmesh), structured into logical commits:

1. Go module (github.com/google/agentmesh): Updates go.mod and all Go import paths across api/, cmd/, internal/, tests/, and mobile/.
2. Protobuf & wire protocol (agentmesh.v1 / mesh):
- Renames api/sam.proto -> api/agentmesh.proto (package agentmesh.v1;) and regenerates Go, TypeScript, and Python bindings.
- Replaces sam wire prefixes 1-to-1 with mesh: HTTP headers (X-Mesh-), sidecar/proxy paths (/mesh/identity, /mesh/peer/{peer_id}/evidence, /mesh/service/discover, /mesh/{peer_id}/{type}/{name}/...), libp2p protocols (/mesh/enroll/1.0.0, /mesh/mcp/1.0.0, /mesh/auth/1.0.0, DHT /mesh), GossipSub topics (/mesh/events/v1, /mesh/control-plane/sync/v1, /mesh/discovery/v1), roles/subjects (mesh:role:, mesh:system, mesh.catalog, mesh:service:), challenge prefix (mesh:<endpoint>:<peer_id>:<ts>), QR scheme (mesh://enroll), and token prefixes (mesh_tok_, mesh_dev_, mesh_adm_, mesh_rtr_, mesh-bt-).
3. *CLI binaries, env vars, paths & metrics (agentmesh- / AGENTMESH_):
- Renames cmd/sam-
-> cmd/agentmesh- (agentmesh-node, agentmesh-one, agentmesh-control-plane, agentmesh-router, agentmesh-console, agentmesh-bench, agentmesh-box) and Dockerfile.sam- -> Dockerfile.agentmesh-.
- Renames environment variables (SAM_
-> AGENTMESH_), default state/config paths (~/.config/agentmesh, agentmesh-node.yaml, agentmesh.sock, agentmesh.db), Prometheus metric namespaces (agentmesh_), and embedded skill (agents/skills/agentmesh).
4. Native SDKs (@agentmesh-p2p/sdk & agentmesh-p2p):
- Renames npm package in sdk/js/package.json to @agentmesh-p2p/sdk and PyPI package in sdk/python/pyproject.toml to agentmesh-p2p, updating sdk.yml, release.yml, and hack/sdk-version.sh.
5. Helm charts, K8s manifests, mobile app, E2E tests & CI workflows:
- Renames charts/sam-mesh -> charts/agentmesh, charts/sam-node -> charts/agentmesh-node, .github/k8s/sam- -> .github/k8s/agentmesh-, mobile/sam-node- -> mobile/agentmesh-node-, and tests/e2e/sam.bats -> tests/e2e/agentmesh.bats.
6. Documentation & Hugo site:
- Updates README.md, ROADMAP.md, AGENTS.md, site/static/install.sh, and Hugo documentation under site/.

Diff: 310 lines (+232 / -78) across 3 files Reviewer: aojea Review duration: 223m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 310 lines diff across 3 files
0.40
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.343
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #617"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 40.3% (MEDIUM) · Higher = larger blast radius
40.3%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 15.9% · Safe to merge
15.9%