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

Function create_review_intent

atomic-cli/src/commands/intent/list.rs:477–489  ·  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

475 /// Create a review intent (kind mirrored into the manifest summary), returning
476 /// its human key.
477 fn create_review_intent(repo: &Repository, title: &str) -> String {
478 repo.vault_intent_create(IntentCreateOptions {
479 title: title.to_string(),
480 priority: Some("medium".to_string()),
481 assignee: None,
482 labels: Vec::new(),
483 session_id: None,
484 turn_id: None,
485 kind: Some("review".to_string()),
486 })
487 .unwrap()
488 .id
489 }
490
491 #[test]
492 fn unattested_row_is_na_na() {

Callers 1

Calls 2

vault_intent_createMethod · 0.80
unwrapMethod · 0.45

Tested by 1