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

Function create_review_intent

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

466 /// Create a review intent (kind mirrored into the manifest summary), returning
467 /// its human key.
468 fn create_review_intent(repo: &Repository, title: &str) -> String {
469 repo.vault_intent_create(IntentCreateOptions {
470 title: title.to_string(),
471 priority: Some("medium".to_string()),
472 assignee: None,
473 labels: Vec::new(),
474 session_id: None,
475 turn_id: None,
476 kind: Some("review".to_string()),
477 })
478 .unwrap()
479 .id
480 }
481
482 #[test]
483 fn unattested_row_is_na_na() {

Callers 1

Calls 2

vault_intent_createMethod · 0.80
unwrapMethod · 0.45

Tested by 1