Skip to content

pm-solutions T5: Solutions lint rules — orphan / missing test / chosen-without-PRD #150

Description

@guillaumesimon

Wave: 1 (parallel, after Wave 0 merges)
Depends on: #146 (contract — solution format/fields)
Effort: M
Ties to: PRD R6; Engine net-new #4
Files: bin/nanopm-lint-agent

Description

Add three lint rules for the solutions/ type to bin/nanopm-lint-agent:

  1. Orphan solution — no parent opportunity, or parent doesn't exist (rides the existing inbound-edge / orphan check).
  2. Missing riskiest-assumption or cheapest-test — semantic body/field check (net-new JUDGMENT-style).
  3. chosen-without-PRD — a chosen solution with no downstream PRD edge (cross-entity edge check, net-new).

Acceptance

Lint flags: a solution whose opportunity doesn't exist; a solution missing its assignment/test; a chosen solution with no PRD edge. Clean solutions pass. A folded regression test covers each rule.

Source PRD: .nanopm/wiki/docs/prds/pm-solutions.md · Created by nanopm /pm-breakdown (feature: pm-solutions, GitHub handoff).

Metadata

Metadata

Assignees

No one assigned

    Labels

    pm-solutions/pm-solutions feature breakdown

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions