MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / slug_normalizes_like_agent_name

Function slug_normalizes_like_agent_name

atomic-canonical/src/prov.rs:391–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389
390 #[test]
391 fn slug_normalizes_like_agent_name() {
392 assert_eq!(normalize_agent_slug("claude-code"), "claude");
393 assert_eq!(normalize_agent_slug("Claude-Code"), "claude");
394 assert_eq!(normalize_agent_slug("codex"), "codex");
395 assert_eq!(normalize_agent_slug(""), "");
396 }
397
398 /// Every bare key the projection emits — including the signed envelope
399 /// (`attributedTo`/`contentHash`/`proof`/…) — must be defined in the shipped

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected