Skip to content

B-P02V-extract-task-file-resolution-into-a-deterministic-sdlc-op

Status: promoted/task

plugin/lib/model/entities/task/file-resolution.md defines the shared “Task file resolution” procedure: resolve a <slug-or-filename>/<absolute-path> argument via absolute-path → exact-filename → glob (<arg>*.md / *<arg>*.md) → ambiguity policy → NO TASK FOUND for "<arg>", emitting the resolved absolute path + basename.

This is pure deterministic string/path/glob resolution with no LLM judgment, yet it is currently invoked as a prose reference by 5 skills (task-close-out, task-ensure-ready, task-work, task-auto-define, task-define).

Per P-0001 + the op substrate (D-0007): harden it into a deterministic op (e.g. sdlc task resolve <arg>) that emits the resolved absolute path + basename, preserves the NO TASK FOUND marker and the ambiguity policy, and replace each skill’s markdown invocation of file-resolution.md with the op call. Same reference-not-inline / commonality theme as the active skill refactor (cf. the op-doc-vs-inline threads on #363/#376) — one op, 5 consumers.


← Back to Backlog