Skip to content

refactor(aidd-pm): restyle the task skill in the lean format - #16

Draft
dkp-consult wants to merge 1 commit into
po/restyle-09-defectfrom
po/restyle-10-task
Draft

dkp-consult wants to merge 1 commit into
po/restyle-09-defectfrom
po/restyle-10-task

Conversation

@dkp-consult

@dkp-consult dkp-consult commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

🎯 What & why

Restyles 10-task into the lean skill format. It also fixes the approval gate.

🛠️ How it works

Rewrites 10-task into the format validate-skill.cjs checks: a one-sentence description; a router that holds only the diagram and the transversal rules; and action files with Input, Process, Output and Rules, one sentence per step. The former ## Test tables are kept aside as acceptance cases. Any constraint they stated that the steps did not state now sits in the action's Rules. The findings this restyle fixes leave scripts/check/baseline.json, and no other entry changes.

Also fixes, found by the two-small-model run:

  • The approval gate. Finalize shows the draft and waits for approval (03-finalize.md:13). Before this fix, one model quoted "add a task" as its write authority.
  • The source field. A parent is never also the source (relations.md:18).

🧪 How to verify

node plugins/aidd-context/skills/04-skill-generate/scripts/validate-skill.cjs plugins/aidd-pm/skills/10-task
node scripts/check/run.cjs

Expected: both exit 0, no finding.

Two small models (Claude Haiku, gpt-5.6-luna), one run each: both stopped and wrote only once approved.

⚠️ Heads-up

Stacked on po/restyle-09-defect, see ai-driven-dev#1405.

🔗 Linked issue

Refs ai-driven-dev#1405

✅ I certify

  • I DO CERTIFY I READ EACH LINE OF THE PULL REQUEST BECAUSE I AM A SOFTWARE ENGINEER, NOT A AI PUPPY.

🤖 Generated with Claude Code

Rewritten into the format validate-skill.cjs checks: a one-sentence
description, a router holding only the diagram and the transversal rules,
action files with Input, Process, Output and Rules, one sentence per step.
A constraint the former Test tables stated and the steps did not is now an
action rule. Finalize now shows the draft and waits for approval before
writing, and a parent is never also the source.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant