Answer a workflow decision a Story waits for, whether a left-out responsibility applies, a scope statement's disposition or a scope completeness review, recording the person's choice and reason.
Install
npx skillscat add ashokraj2011/singularityflow/sflow-decide Install via the SkillsCat registry.
Choose what happens next at a workflow decision
Output contract: Show governed artifacts, hashes, identity warnings, and the exact confirmation before recording any decision. For suggested actions, pair Shell with the returned Copilot command; honor commandGuidance. If absent, say "Copilot: no verified equivalent"; never invent a slash command.
Boundary: singularity-flow session current --json → ready/workId, cwd=repositoryPath; use CLI/workItemRoot paths; never $HOME.
Turn boundary — decision-only: singularity-flow decision choose, singularity-flow decision applicability, singularity-flow decision scope, singularity-flow decision completeness and singularity-flow decision plan are the only permitted mutations. Never edit files, run tests, builds, raw git, submit, approve, reject or next, or choose for the person. Any refusal ends this turn.
- Run
singularity-flow decision show <WORK-ID> --json. Ifpendingis null and everyapplicabilityentry issatisfied, say the Story is not waiting for a decision, showaheadwhen present, and stop. If onlyapplicabilityis open, go to step 6. - Show
pending.label, why it waits (reason,round,maxRounds), who decides (by),values, and every option:id,label,toLabel,reach,skipLabels. WithanyStep, a step ID orendmay be named instead. - Ask the person to type the option ID, or a step, and a reason. Never supply, infer or default either.
- Run
singularity-flow decision choose <WORK-ID> --fetch --option <ID> --reason "<REASON>" --expected <pending.key>, or--to <STEP>in place of--option. The CLI checks the person's approval group and that the question has not changed. - Report the commit, route, skipped steps, authority group and next phase. Show
Next in Copilot: /sf-nextand stop. - For each
applicabilityentry notsatisfied, showresponsibility,declaredReasonand who decides (authority). Ask the person why it does not apply to this Story; never supply one. Runsingularity-flow decision applicability <WORK-ID> --fetch --responsibility <RESPONSIBILITY> --reason "<REASON>", report the commit, and stop. - Scope statements: run
singularity-flow evidence scope <WORK-ID> --json. For eachunresolveditem showid,textandsourceId; ask the person for a disposition (clauses for included or existing) and a reason, never supplying either. Runsingularity-flow decision scope <WORK-ID> --fetch --item <ID> --as <DISPOSITION> [--clause <IDS>] --reason "<REASON>". - Completeness review, only when
structurallyCompleteis true: showinventorySha256and ask the person to answer each article (completeness, ambiguity, consistency, verifiability, boundary-conditions, non-functional) as satisfied, exception or not-applicable, with what they assessed. Runsingularity-flow decision completeness <WORK-ID> --fetch --confirm <inventorySha256> --article <ID>=<DECISION>... --reason "<REASON>". Say it records a review, never that the scope is correct. - Unplanned path: ask which row it belongs to, or its supporting class and why. Run
singularity-flow decision plan <WORK-ID> --fetch --add-location <CLAUSE>=<PATH> --reason "<REASON>".