pub struct IssueRoot { /* private fields */ }Expand description
Issue-scoped runtime root.
Implementations§
Source§impl IssueRoot
impl IssueRoot
Sourcepub fn new(
repo_slug: &str,
issue_number: u64,
) -> Result<Self, RuntimeLayoutError>
pub fn new( repo_slug: &str, issue_number: u64, ) -> Result<Self, RuntimeLayoutError>
Compute $RUNTIME_ROOT/<repo-slug>/issue-<issue_number>.
Sourcepub fn plan_snapshot(&self) -> PathBuf
pub fn plan_snapshot(&self) -> PathBuf
$ISSUE_ROOT/plan/plan.snapshot.md.
Sourcepub fn plan_branch_ref(&self) -> PathBuf
pub fn plan_branch_ref(&self) -> PathBuf
$ISSUE_ROOT/plan/plan-branch.ref.
Sourcepub fn plan_task_spec(&self) -> PathBuf
pub fn plan_task_spec(&self) -> PathBuf
Plan-scope task-spec TSV at $ISSUE_ROOT/plan/tasks.tsv.
Sourcepub fn plan_issue_body(&self) -> PathBuf
pub fn plan_issue_body(&self) -> PathBuf
Plan-scope rendered issue body at $ISSUE_ROOT/plan/issue-body.md.
Sourcepub fn worktree_root(&self) -> PathBuf
pub fn worktree_root(&self) -> PathBuf
$ISSUE_ROOT/worktrees.
Sourcepub fn assigned_worktree(
&self,
execution_mode: &str,
task_id: &str,
pr_group: &str,
sprint: i32,
) -> Result<PathBuf, RuntimeLayoutError>
pub fn assigned_worktree( &self, execution_mode: &str, task_id: &str, pr_group: &str, sprint: i32, ) -> Result<PathBuf, RuntimeLayoutError>
Canonical assigned-worktree path for one task.
Per RUNTIME_LAYOUT.md “Worktree Layout (Assigned Paths)”:
pr-isolated→$WORKTREE_ROOT/pr-isolated/<TASK_ID>pr-shared→$WORKTREE_ROOT/pr-shared/<PR_GROUP>per-sprint→$WORKTREE_ROOT/per-sprint/sprint-<N>
Unknown execution_mode falls back to the pr-isolated shape so
the dispatch record always names an absolute path under
WORKTREE_ROOT.
Trait Implementations§
impl Eq for IssueRoot
impl StructuralPartialEq for IssueRoot
Auto Trait Implementations§
impl Freeze for IssueRoot
impl RefUnwindSafe for IssueRoot
impl Send for IssueRoot
impl Sync for IssueRoot
impl Unpin for IssueRoot
impl UnsafeUnpin for IssueRoot
impl UnwindSafe for IssueRoot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.