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

Function create_review_intent

atomic-cli/src/commands/intent/list.rs:675–687  ·  view source on GitHub ↗

Create a review intent (kind mirrored into the manifest summary), returning its human key.

(repo: &Repository, title: &str)

Source from the content-addressed store, hash-verified

673 /// Create a review intent (kind mirrored into the manifest summary), returning
674 /// its human key.
675 fn create_review_intent(repo: &Repository, title: &str) -> String {
676 repo.vault_intent_create(IntentCreateOptions {
677 title: title.to_string(),
678 priority: Some("medium".to_string()),
679 assignee: None,
680 labels: Vec::new(),
681 session_id: None,
682 turn_id: None,
683 kind: Some("review".to_string()),
684 })
685 .unwrap()
686 .id
687 }
688
689 #[test]
690 fn unattested_row_is_na_na() {

Callers 1

Calls 2

vault_intent_createMethod · 0.80
unwrapMethod · 0.45

Tested by 1