Skip to main content

Module runtime_layout

Module runtime_layout 

Source
Expand description

Canonical runtime layout for plan-issue artifacts.

Path math derived from agent-kit/skills/automation/plan-issue-delivery/references/RUNTIME_LAYOUT.md. See also docs/specs/plan-issue-contract-v2.md “Canonical Runtime Artifacts (v2)”.

Structs§

IssueRoot
Issue-scoped runtime root.
SprintRoot
Sprint-scoped runtime root.

Enums§

RuntimeLayoutError
Errors emitted by canonical runtime-layout helpers.

Functions§

ensure_dir
Create a directory and all parents (idempotent).
repo_slug
Convert owner/repo to owner__repo.
runtime_root
Resolve RUNTIME_ROOT="<state-dir>/out/plan-issue-delivery" using the plan-issue state-dir resolution chain (CLI override > PLAN_ISSUE_HOME env > XDG default). See crate::state::state_dir for details.