Understand the project
- Read
AGENTS.md/CLAUDE.md, repository status, relevant source, tests, and existing product documentation in the integration or assigned feature worktree. - Read related Kanban tasks and durable specs through the canonical metadata controller. Do not assume
.juno_task/plan.mdexists and do not materialize controller-private metadata in a product worktree. - Trace only the dependencies and runtime paths needed for the requested goal. Use bounded parallel investigation when independent questions justify it.
- Report current behavior, sources of truth, affected components, risks, unknowns, and the smallest useful validation loop.
- If the user requested planning, hand the findings to
plan-ledger-tasks-yylo. If implementation was requested, work only in the task worktree returned byyy task start TASK_ID. - Write a durable operational spec only when requested or materially useful. Draft it externally, preflight the installed
yy ledger artifactAPI, capture it as an immutablereportArtifact Record with provenance/retention, and verify retrieval, digest, and history. If that API is unavailable, stop with the external draft intact; never fall back to productdocs/, task bodies/responses, new.juno_task/specs, or direct controller-store edits. Productdocs/remains reserved for documentation shipped with the product. Do not update root instructions with transient status.
Invocation contract
The structured views below intentionally alias parts of the complete request; they are not additional user arguments.
Main task
$1
Constraints and context
$2
Complete raw request
$ARGUMENTS
When to Use
- Before planning or implementing a requested change, when you need current architecture, dependencies, and validation loops.
- To hand grounded findings to
plan-ledger-tasks-yylo(planning) or a task worktree (implementation).
Limitations
- Read-only: reports current behavior, sources of truth, affected components, risks, unknowns, and the smallest validation loop - does not implement.
- Bounded investigation only; do not materialize controller-private metadata in a product worktree.
- Durable specs are captured as immutable Artifact Records only when the installed
yy ledger artifactAPI supports it; otherwise stop with the external draft intact.
Example
yy ledger search --status todo --limit 5
yy ledger get TASK_ID
Adapted from yylo-dev/yylo-skills (MIT) - v2.0.1; frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance.