Skip to content

feat(aidd-pm): add the product discovery cycle (research, insights, market, prioritize, impact) #1405

Backlog

Description

@dkp-consult

Problem to solve

aidd-pm covers delivery artifacts: Product Brief, Epic, User Story, Task, Spike and Defect. It has nothing for the discovery work around them. A Product Owner can't use it to:

  • turn an unproven assumption into evidence they can collect;
  • synthesize what customers say into rated findings;
  • follow competitors over time;
  • rank a backlog with a stated method;
  • check after release whether a change moved its success signal.

Today the Product Brief and the Epic accept an assumption with nothing to check it against. They also have nowhere to send the user when evidence is missing.

Proposed solution

Add five aidd-pm skills that form one cycle. Each skill writes its own artifact and hands off to the next one; none invokes another silently.

Skill Produces Reads from
11-research-plan a research plan per set of assumptions, the sources registry, interview / survey / export kits project memory, Product Brief, Epic
12-insights a living insights registry per theme (customer rows, rated by evidence) the sources registry, research plans
15-impact an impact report: baseline and decision rule frozen before release, verdict after the sources registry, Epic / Story success signals; feeds measured rows into the registry
13-market-watch dated, cited journals per competitor; market rows in the registry the market rows of the sources registry
14-prioritize a dated decision snapshot, ranked by the method project memory records the insights registry, research plans, impact reports

How they depend on each other: research plan → insights → impact. Market watch writes into the same registry. Prioritize reads all three artifacts. Product Brief and Epic gain handoff rows to these skills:

  • an assumption with no evidence → Research plan;
  • several Epics competing for capacity → prioritization;
  • an Epic becoming ready with a success signal → impact.

Project memory. aidd-context:02-project-memory declares two new optional capabilities. Without them, the registries had to be wired into the AI context files by hand.

  • sources → sources.md: where product evidence can be read, and how an agent reaches it.
  • po-practices → po-practices.md: the team's approved research, insight, market, prioritization and impact practices.

Where artifacts go. Each skill resolves its location from the project's backlog.md memory, through the support and representation its Representation table names. It falls back to aidd_docs/backlog/<type>/ only when backlog.md is absent or silent on that artifact, and tells the user. This follows the persistence tables of skills 01 to 10 and the backlog orchestrator's supports rule.

Known limitation. Like skills 01 to 10, these skills write Markdown only today. If backlog.md maps an artifact to a tracker, writing there is the project's own integration. A registry or journal mapped to a support that holds no file makes the skill ask the user.

Format. The five new skills are written in the lean format checked by 04-skill-generate/scripts/validate-skill.cjs, the skill contract scripts/check/run.cjs also applies (it replaced check-skill.cjs from #1273). As agreed with the maintainer, the existing skills 01 to 10 are restyled into the same format, one PR each; 04-spec was already restyled upstream (#1338), so its PR only adds an approval step. Six of them (02, 04, 05, 07, 09, 10) also carry a fix found by the small-model tests below; each PR body names it. For 02-user-stories, the restyle keeps the story contract (scripts/contract.json, validate-story.cjs) and widens it to the relation keys relations.md already required. aidd-pm goes from 10 to 15 skills, the framework from 58 to 63. The former ## Test tables of the actions are kept aside as acceptance cases for the real tests.

Delivery: stacked PRs. Each PR targets the one before it.

Order Branch Base
1 po/00-memory-capabilities next
2 po/11-research-plan po/00-memory-capabilities
3 po/12-insights po/11-research-plan
4 po/15-impact po/12-insights
5 po/13-market-watch po/15-impact
6 po/14-prioritize po/13-market-watch
7 to 16 po/restyle-01-ticket-info … po/restyle-10-task the previous branch

Tests. Every branch passes lefthook run pre-commit --all-files (1968 scripts tests), the full node scripts/check/run.cjs, and validate-skill.cjs on its skill with no finding. Each restyle removes from scripts/check/baseline.json only the findings it fixes in its own skill. The top branch also passes lefthook run pre-push.

Small-model runs. Per testing.md, every skill in the stack ran end to end on Claude Haiku and gpt-5.6-luna (Codex), one run each, in a throwaway project whose sessions were deleted after. Each run sent a request, then an approval, and was judged on five points: the skill fired, stopped at each wait, wrote nothing before approval, produced an artifact matching its template, at the right place.

  • First run: 13 of the 26 runs that end in a write saved before approval. The cause was the wording, on both providers alike. Skills with an unconditional "show the draft and wait" stopped 10 times out of 10. Skills whose gate read "confirm approval or bounded write authority" treated the request itself as authority, and wrote in 11 of 12 runs. 04-spec had no approval step at all. validate-story.cjs also rejected the parent and source keys that relations.md requires.
  • Fix: every write is now preceded by "show the draft, ask for approval, and wait: the request that started the run is not approval". Only a calling skill or agent that names the exact write skips the wait, which keeps aidd-orchestrator:02-backlog working. The contract and the smaller defects were fixed in the PR of the skill they belong to.
  • Final run: all 15 skills stop at each wait and write only once approved, on both models, with the final text of the stack.

Follow-ups (not in this stack)

  • backlog.md may name fields differently from the skills (parents vs parent, project statuses vs skill statuses). Nothing says which vocabulary wins; one Haiku run used the project's.
  • 03, 06, 11, 14 and 15 passed with their unconditional waits, but their rule line still says "bounded authority" without defining it, unlike the other ten.
  • 06-product-brief: mark its optional sections, and name its closing question.

Content type

  • Skill
  • Plugin

Target tool(s)

  • Claude Code
  • Cursor
  • Other: every host aidd translates to

Additional context

The five skills were rehearsed end to end in a masterclass demo project, and the lessons are folded in. Without the memory capabilities, sources.md and po-practices.md had to be wired by hand into CLAUDE.md, AGENTS.md and the memory README.

The full stack can be previewed on the fork, one draft PR per branch: dkp-consult#1 to dkp-consult#16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions