@codyswann/lisa 2.303.0 → 2.304.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  2. package/dist/core/upstream-evidence-manifest.js +33 -13
  3. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  4. package/package.json +1 -1
  5. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  6. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-to-tracker/SKILL.md +24 -0
  8. package/plugins/lisa/.codex-plugin/skills/lisa-confluence-write-prd/SKILL.md +2 -0
  9. package/plugins/lisa/.codex-plugin/skills/lisa-github-to-tracker/SKILL.md +24 -0
  10. package/plugins/lisa/.codex-plugin/skills/lisa-github-validate-issue/SKILL.md +39 -7
  11. package/plugins/lisa/.codex-plugin/skills/lisa-github-write-prd/SKILL.md +2 -0
  12. package/plugins/lisa/.codex-plugin/skills/lisa-jira-validate-ticket/SKILL.md +41 -7
  13. package/plugins/lisa/.codex-plugin/skills/lisa-linear-to-tracker/SKILL.md +24 -0
  14. package/plugins/lisa/.codex-plugin/skills/lisa-linear-validate-issue/SKILL.md +40 -6
  15. package/plugins/lisa/.codex-plugin/skills/lisa-linear-write-prd/SKILL.md +2 -0
  16. package/plugins/lisa/.codex-plugin/skills/lisa-notion-to-tracker/SKILL.md +24 -0
  17. package/plugins/lisa/.codex-plugin/skills/lisa-notion-write-prd/SKILL.md +2 -0
  18. package/plugins/lisa/.codex-plugin/skills/lisa-research/SKILL.md +3 -1
  19. package/plugins/lisa/rules/eager/prd-definition-of-ready.md +32 -0
  20. package/plugins/lisa/rules/eager/work-item-definition-of-ready.md +27 -0
  21. package/plugins/lisa/rules/reference/prd-definition-of-ready.md +81 -0
  22. package/plugins/lisa/rules/reference/work-item-definition-of-ready.md +145 -0
  23. package/plugins/lisa/skills/lisa-confluence-to-tracker/SKILL.md +24 -0
  24. package/plugins/lisa/skills/lisa-confluence-write-prd/SKILL.md +2 -0
  25. package/plugins/lisa/skills/lisa-github-to-tracker/SKILL.md +24 -0
  26. package/plugins/lisa/skills/lisa-github-validate-issue/SKILL.md +39 -7
  27. package/plugins/lisa/skills/lisa-github-write-prd/SKILL.md +2 -0
  28. package/plugins/lisa/skills/lisa-jira-validate-ticket/SKILL.md +41 -7
  29. package/plugins/lisa/skills/lisa-linear-to-tracker/SKILL.md +24 -0
  30. package/plugins/lisa/skills/lisa-linear-validate-issue/SKILL.md +40 -6
  31. package/plugins/lisa/skills/lisa-linear-write-prd/SKILL.md +2 -0
  32. package/plugins/lisa/skills/lisa-notion-to-tracker/SKILL.md +24 -0
  33. package/plugins/lisa/skills/lisa-notion-write-prd/SKILL.md +2 -0
  34. package/plugins/lisa/skills/lisa-research/SKILL.md +3 -1
  35. package/plugins/lisa-agy/plugin.json +1 -1
  36. package/plugins/lisa-agy/skills/lisa-confluence-to-tracker/SKILL.md +24 -0
  37. package/plugins/lisa-agy/skills/lisa-confluence-write-prd/SKILL.md +2 -0
  38. package/plugins/lisa-agy/skills/lisa-github-to-tracker/SKILL.md +24 -0
  39. package/plugins/lisa-agy/skills/lisa-github-validate-issue/SKILL.md +39 -7
  40. package/plugins/lisa-agy/skills/lisa-github-write-prd/SKILL.md +2 -0
  41. package/plugins/lisa-agy/skills/lisa-jira-validate-ticket/SKILL.md +41 -7
  42. package/plugins/lisa-agy/skills/lisa-linear-to-tracker/SKILL.md +24 -0
  43. package/plugins/lisa-agy/skills/lisa-linear-validate-issue/SKILL.md +40 -6
  44. package/plugins/lisa-agy/skills/lisa-linear-write-prd/SKILL.md +2 -0
  45. package/plugins/lisa-agy/skills/lisa-notion-to-tracker/SKILL.md +24 -0
  46. package/plugins/lisa-agy/skills/lisa-notion-write-prd/SKILL.md +2 -0
  47. package/plugins/lisa-agy/skills/lisa-research/SKILL.md +3 -1
  48. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  51. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-copilot/rules/eager/prd-definition-of-ready.md +32 -0
  55. package/plugins/lisa-copilot/rules/eager/work-item-definition-of-ready.md +27 -0
  56. package/plugins/lisa-copilot/rules/reference/prd-definition-of-ready.md +81 -0
  57. package/plugins/lisa-copilot/rules/reference/work-item-definition-of-ready.md +145 -0
  58. package/plugins/lisa-copilot/skills/lisa-confluence-to-tracker/SKILL.md +24 -0
  59. package/plugins/lisa-copilot/skills/lisa-confluence-write-prd/SKILL.md +2 -0
  60. package/plugins/lisa-copilot/skills/lisa-github-to-tracker/SKILL.md +24 -0
  61. package/plugins/lisa-copilot/skills/lisa-github-validate-issue/SKILL.md +39 -7
  62. package/plugins/lisa-copilot/skills/lisa-github-write-prd/SKILL.md +2 -0
  63. package/plugins/lisa-copilot/skills/lisa-jira-validate-ticket/SKILL.md +41 -7
  64. package/plugins/lisa-copilot/skills/lisa-linear-to-tracker/SKILL.md +24 -0
  65. package/plugins/lisa-copilot/skills/lisa-linear-validate-issue/SKILL.md +40 -6
  66. package/plugins/lisa-copilot/skills/lisa-linear-write-prd/SKILL.md +2 -0
  67. package/plugins/lisa-copilot/skills/lisa-notion-to-tracker/SKILL.md +24 -0
  68. package/plugins/lisa-copilot/skills/lisa-notion-write-prd/SKILL.md +2 -0
  69. package/plugins/lisa-copilot/skills/lisa-research/SKILL.md +3 -1
  70. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-cursor/rules/prd-definition-of-ready-reference.mdc +86 -0
  72. package/plugins/lisa-cursor/rules/prd-definition-of-ready.mdc +37 -0
  73. package/plugins/lisa-cursor/rules/work-item-definition-of-ready-reference.mdc +150 -0
  74. package/plugins/lisa-cursor/rules/work-item-definition-of-ready.mdc +32 -0
  75. package/plugins/lisa-cursor/skills/lisa-confluence-to-tracker/SKILL.md +24 -0
  76. package/plugins/lisa-cursor/skills/lisa-confluence-write-prd/SKILL.md +2 -0
  77. package/plugins/lisa-cursor/skills/lisa-github-to-tracker/SKILL.md +24 -0
  78. package/plugins/lisa-cursor/skills/lisa-github-validate-issue/SKILL.md +39 -7
  79. package/plugins/lisa-cursor/skills/lisa-github-write-prd/SKILL.md +2 -0
  80. package/plugins/lisa-cursor/skills/lisa-jira-validate-ticket/SKILL.md +41 -7
  81. package/plugins/lisa-cursor/skills/lisa-linear-to-tracker/SKILL.md +24 -0
  82. package/plugins/lisa-cursor/skills/lisa-linear-validate-issue/SKILL.md +40 -6
  83. package/plugins/lisa-cursor/skills/lisa-linear-write-prd/SKILL.md +2 -0
  84. package/plugins/lisa-cursor/skills/lisa-notion-to-tracker/SKILL.md +24 -0
  85. package/plugins/lisa-cursor/skills/lisa-notion-write-prd/SKILL.md +2 -0
  86. package/plugins/lisa-cursor/skills/lisa-research/SKILL.md +3 -1
  87. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  89. package/plugins/lisa-expo-agy/plugin.json +1 -1
  90. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  94. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  95. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  99. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  100. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  102. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  103. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  104. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  105. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  107. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  109. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  110. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  111. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  112. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  114. package/plugins/lisa-rails-agy/plugin.json +1 -1
  115. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  116. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  118. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  119. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  120. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  121. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  122. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  123. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  124. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  125. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  127. package/plugins/src/base/rules/eager/prd-definition-of-ready.md +32 -0
  128. package/plugins/src/base/rules/eager/work-item-definition-of-ready.md +27 -0
  129. package/plugins/src/base/rules/reference/prd-definition-of-ready.md +81 -0
  130. package/plugins/src/base/rules/reference/work-item-definition-of-ready.md +145 -0
  131. package/plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md +24 -0
  132. package/plugins/src/base/skills/lisa-confluence-write-prd/SKILL.md +2 -0
  133. package/plugins/src/base/skills/lisa-github-to-tracker/SKILL.md +24 -0
  134. package/plugins/src/base/skills/lisa-github-validate-issue/SKILL.md +39 -7
  135. package/plugins/src/base/skills/lisa-github-write-prd/SKILL.md +2 -0
  136. package/plugins/src/base/skills/lisa-jira-validate-ticket/SKILL.md +41 -7
  137. package/plugins/src/base/skills/lisa-linear-to-tracker/SKILL.md +24 -0
  138. package/plugins/src/base/skills/lisa-linear-validate-issue/SKILL.md +40 -6
  139. package/plugins/src/base/skills/lisa-linear-write-prd/SKILL.md +2 -0
  140. package/plugins/src/base/skills/lisa-notion-to-tracker/SKILL.md +24 -0
  141. package/plugins/src/base/skills/lisa-notion-write-prd/SKILL.md +2 -0
  142. package/plugins/src/base/skills/lisa-research/SKILL.md +3 -1
  143. package/ui/index.html +37 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "2.303.0",
3
+ "version": "2.304.0",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -0,0 +1,32 @@
1
+ # PRD Definition of Ready (requirement atoms)
2
+
3
+ **A requirements document is ready when a planner can decompose it mechanically and a verifier can check the result against it.** Both properties come from the shape of the requirements, not the prose around them. Modeled on ISO/IEC/IEEE 29148's requirement quality characteristics and the EARS sentence patterns; the fit criterion is Volere's.
4
+
5
+ ## The atom
6
+
7
+ Every requirement is an **identified atom**:
8
+
9
+ - **Identified** — carries an id (`R1`, `R2`, …). Ids are per-generation; the verbatim text is the durable anchor (same convention as the `*-to-tracker` Requirement Register).
10
+ - **Singular** — one behavior per atom. "The system shall X and Y when Z" is two atoms.
11
+ - **Unambiguous** — no vagueness lexicon: *as appropriate, user-friendly, fast, robust, handle gracefully, etc., and/or, optimize, seamless, intuitive, support* (unbounded). Each is a word no test can check.
12
+ - **Verifiable** — carries a **fit criterion**: the measurable test of satisfaction ("p95 upload completes < 4s for files ≤ 25 MB"). A requirement no test could check is a wish.
13
+ - **Pattern-shaped (SHOULD)** — one of the EARS patterns, which decompose into Gherkin mechanically:
14
+ - Ubiquitous: *The `<system>` shall `<response>`*
15
+ - Event-driven: *When `<trigger>`, the `<system>` shall `<response>`*
16
+ - State-driven: *While `<state>`, the `<system>` shall `<response>`*
17
+ - Unwanted behavior: *If `<condition>`, then the `<system>` shall `<response>`*
18
+ - Optional feature: *Where `<feature>` is present, the `<system>` shall `<response>`*
19
+
20
+ ## The document
21
+
22
+ Beyond the atoms, a ready PRD carries: problem statement · solution outline · user stories grouping their atoms · an explicit **non-functional checklist** (walk the ISO 25010 axes — performance, security, reliability, usability, compatibility, maintainability — and either state the requirement as an atom or state "no requirement"; silence is not a decision) · out of scope · open questions (the honest home for what is NOT ready).
23
+
24
+ ## Enforcement points
25
+
26
+ - **Write time** — `lisa-research` authors to this shape; `*-write-prd` skills carry it as a body rule.
27
+ - **Intake time (the universal gate)** — `*-to-tracker` Phase 1.45 validates every register atom, because human-authored PRDs never pass through the write path. Failures are product clarifications quoting the atom verbatim with candidate rewrites.
28
+ - **Verify time** — `verify-prd` / spec-conformance consume the atoms; fit criteria become the conformance checks.
29
+
30
+ Downstream, ticket gate S16 quotes these atoms verbatim and `prd-ticket-coverage` audits atom→ticket coverage — both degrade when "one requirement" is secretly three welded together.
31
+
32
+ Full rationale, the vagueness lexicon, and worked rewrites: [the reference body of this rule](../reference/prd-definition-of-ready.md).
@@ -0,0 +1,27 @@
1
+ # Work-Item Definition of Ready (type-keyed)
2
+
3
+ **`ready` means: a stateless agent can claim this item and drive it to its terminal state with zero human clarification.** Every readiness gate exists because its absence forces a question; the bar is type-keyed because different work types break autonomy differently.
4
+
5
+ ## Shared core (every leaf, enforced by `*-validate-*` S1–S16)
6
+
7
+ Three-audience description · Gherkin acceptance criteria (except Spike) · Out of Scope · single-repo scope · relationship search · typed evidence manifest on runtime changes · Source Requirement traceability when PRD-sourced · provable read access to every named external surface.
8
+
9
+ ## Per-type additions
10
+
11
+ | Type | Must additionally carry | Terminal state is |
12
+ |---|---|---|
13
+ | **Bug** | agent-executable reproduction (or a failing test) · expected-vs-actual with the *source* of "expected" · environment + version observed, last-known-good when known · reproducibility rate (always / intermittent + frequency) · at least one occurrence evidence link | the same repro/test fails before the fix and passes after |
14
+ | **Story** | user-visible AC; SHOULD name non-happy-path states (error / empty / loading) for UI stories · design source precedence when artifacts exist | every AC exercised on the running product |
15
+ | **Task** | an observable done-state and the command/check that proves it | the verification check passes |
16
+ | **Improvement** | metric + measurement method the agent can run · measured baseline value · numeric target | measured value meets the target |
17
+ | **Spike** | the question · the decision it enables + options weighed · a timebox · deliverable format **and location** | a deliverable at the named location that answers the question — findings, decision, options weighed |
18
+ | **Sub-task** | a parent, always · otherwise the bar of its own type | per its type |
19
+ | **Epic / container** | never build-ready (`leaf-only-lifecycle`) · judged on decomposition completeness, not buildability | all required children terminal |
20
+
21
+ ## The stateless-pickup test (S18)
22
+
23
+ The final gate checks the property itself instead of proxies for it: read the item as a fresh agent with no session context, using only the item and what it links to. List every question you would have to ask a human before starting, choosing between materially different implementations, or declaring done. **Ready = zero questions.** Each question found is the FAIL remediation, verbatim.
24
+
25
+ Sources this bar distills: INVEST (stories) · ISTQB / IEEE 1044 defect anatomy and minimal-reproducible-example practice (bugs) · SMART (improvements) · Scrum's Definition of Ready (the framing) · TASC AC8.6 (the normative criterion).
26
+
27
+ Full rationale and worked examples: [the reference body of this rule](../reference/work-item-definition-of-ready.md).
@@ -0,0 +1,81 @@
1
+ # PRD Definition of Ready — Reference
2
+
3
+ The eager head carries the atom definition and enforcement points; this
4
+ reference carries the rationale, the full vagueness lexicon, and worked
5
+ rewrites. The companion rule `work-item-definition-of-ready` governs the next
6
+ stage down (tickets); this rule governs what the Plan factory decomposes from.
7
+
8
+ ## Why requirement shape is the whole game
9
+
10
+ The pipeline consumes requirements three times, and each consumer needs a
11
+ different property that only shaped atoms provide:
12
+
13
+ 1. **Plan decomposes** — an EARS-shaped atom (*When X, the system shall Y*)
14
+ maps to a Gherkin scenario (*When X / Then Y*) nearly mechanically. Prose
15
+ paragraphs force the planner to invent the split, which is where scope
16
+ quietly drifts between the PRD and the backlog.
17
+ 2. **Tickets trace** — gate S16 quotes the requirement verbatim on every leaf.
18
+ A verbatim quote of a paragraph containing three requirements is an
19
+ ambiguous trace: which of the three does this ticket satisfy?
20
+ 3. **Verification checks conformance** — spec-conformance and `verify-prd`
21
+ read the PRD back against the shipped result. A fit criterion is a
22
+ conformance check waiting to run; an adjective is not.
23
+
24
+ The standards being distilled: **ISO/IEC/IEEE 29148** (successor to IEEE 830)
25
+ supplies the per-requirement quality characteristics — necessary, appropriate,
26
+ unambiguous, complete, singular, feasible, verifiable, correct — and the
27
+ practice of banning untestable phrasing. **EARS** (Mavin et al.) supplies the
28
+ five sentence patterns. **Volere** supplies the fit criterion. **ISO 25010**
29
+ supplies the non-functional axes for the completeness walk. None of these are
30
+ imported wholesale; this rule takes exactly the parts a machine planner and a
31
+ machine verifier consume.
32
+
33
+ ## The vagueness lexicon
34
+
35
+ Presence of these (and their kin) in a requirement atom FAILs it as
36
+ unverifiable — each is a phrase no test can check:
37
+
38
+ > as appropriate · as needed · if necessary · user-friendly · intuitive ·
39
+ > seamless · robust · flexible · fast · quickly · efficient · optimize ·
40
+ > minimize / maximize (unbounded) · handle gracefully · support (unbounded) ·
41
+ > etc. · and/or · TBD inside an atom (TBD belongs in Open Questions)
42
+
43
+ The lexicon is a floor, not a ceiling — validators should flag any phrasing
44
+ they cannot turn into a check.
45
+
46
+ ## Worked rewrites
47
+
48
+ | Before (fails) | After (passes) |
49
+ |---|---|
50
+ | "Uploads should be fast and handle errors gracefully." | R4: *When a user uploads a file ≤ 25 MB, the system shall complete the upload within 4s at p95.* Fit: perf-trace on staging. R5: *If an upload fails, then the system shall show a retryable error naming the cause.* Fit: screenshot of the error state per failure class. |
51
+ | "The dashboard should be user-friendly and support filtering, sorting, etc." | R7: *The dashboard shall filter by status, owner, and date range.* R8: *The dashboard shall sort by any visible column.* Fit: each verb exercised in an E2E journey. ("etc." is deleted — unnamed features are unbuilt features.) |
52
+ | "Optimize the pipeline." | R2: *The nightly pipeline shall complete within 30 minutes for a 10k-item batch* (baseline: 47m measured 2026-07-01). Fit: pipeline duration metric. — note this is Improvement-shaped: baseline + target, per `work-item-definition-of-ready`. |
53
+
54
+ ## Singularity repair
55
+
56
+ When an atom contains multiple behaviors, the register splits it (`R4` →
57
+ `R4a`, `R4b`) — **mechanically when the split preserves meaning**, as a
58
+ product clarification when it does not. The split is recorded in the dry-run
59
+ report; it is never silent, because the PRD author's numbering is part of the
60
+ traceability contract.
61
+
62
+ ## The non-functional walk
63
+
64
+ A PRD is complete only when the ISO 25010 axes were each considered:
65
+ performance, security, reliability, usability, compatibility,
66
+ maintainability/operability. The required artifact is one line per axis —
67
+ either an atom or an explicit "no requirement." The point is not ceremony; it
68
+ is that **silence and "no requirement" are different facts**, and only one of
69
+ them is a decision a verifier can hold the product to.
70
+
71
+ ## Relationship to the lifecycle
72
+
73
+ - **Write** — `lisa-research` authors atoms; `*-write-prd` carries the body
74
+ rule. Factory-authored PRDs are born conforming.
75
+ - **Intake** — `*-to-tracker` Phase 1.45 is the universal gate (human-authored
76
+ PRDs arrive here without passing any write path). Failures quote the atom
77
+ verbatim, name the defect, and offer 1–3 candidate rewrites — the
78
+ EARS-shaped rewrite is the default recommendation. Routed like every other
79
+ intake failure: PRD to `blocked`, product-readable comments.
80
+ - **Verify** — fit criteria become the spec-conformance checks; the
81
+ requirement register ids appear in the PRD backlink and the coverage audit.
@@ -0,0 +1,145 @@
1
+ # Work-Item Definition of Ready — Reference
2
+
3
+ The eager head carries the table; this reference carries the reasoning, the
4
+ failure modes each requirement prevents, and worked examples. The enforcing
5
+ gates live in the three tracker validators (`lisa-jira-validate-ticket`,
6
+ `lisa-github-validate-issue`, `lisa-linear-validate-issue`), which cite this
7
+ rule so the bar cannot drift per vendor.
8
+
9
+ ## The design principle
10
+
11
+ A readiness gate is justified by exactly one thing: **its absence forces a
12
+ human question.** The goal state is that a stateless agent — fresh session, no
13
+ memory of any prior conversation — claims any ready item and drives it to its
14
+ terminal state with zero human clarification. Every requirement below is an
15
+ answer to a question agents otherwise ask mid-flight, which is the most
16
+ expensive time to ask it: the item is claimed, the human is absent, and the
17
+ choice is stall (blocked, human round-trip) or guess (rework when wrong).
18
+
19
+ The bar is **type-keyed** because work types break autonomy differently. A
20
+ Story with perfect Gherkin but no design source makes the agent guess visuals.
21
+ A Bug with perfect prose but no executable repro makes the agent guess whether
22
+ it even fixed anything. One generic checklist over-asks some types (Gherkin on
23
+ a Spike is noise) and under-asks others (three bullets on a Bug).
24
+
25
+ ## Bug — the defect anatomy
26
+
27
+ Modeled on the ISTQB defect-report content list, IEEE 1044, and
28
+ minimal-reproducible-example practice, tightened for a machine executor:
29
+
30
+ 1. **Agent-executable reproduction.** Numbered steps a stateless agent can run
31
+ mechanically: exact entry point, named account/role (consistent with the
32
+ Sign-in Required section when authenticated), concrete data state, exact
33
+ actions. "Open the dashboard and click around until it breaks" is
34
+ human-followable, not agent-executable — it FAILs. A linked failing test
35
+ satisfies this requirement outright and is the preferred form.
36
+ 2. **Expected vs. actual, with the source of "expected."** Name or link where
37
+ the expected behavior comes from — spec, PRD requirement, prior release. A
38
+ fix target must be a fact, not an opinion, or the agent can confidently fix
39
+ to the wrong behavior.
40
+ 3. **Environment and version.** Where reproduced, and the build/commit
41
+ observed. Include last-known-good when known — that regression window is
42
+ what makes bisection possible. `unknown` is acceptable but must be stated.
43
+ 4. **Reproducibility rate.** Always vs. intermittent (with observed
44
+ frequency). An intermittent bug invalidates run-the-repro-once as a
45
+ verification plan; the verifier needs to know to run it N times or
46
+ instrument instead.
47
+ 5. **Occurrence evidence.** At least one link or attachment proving the bug
48
+ happened: error-tracker issue, log excerpt, stack trace, screenshot or
49
+ recording. Input evidence, distinct from the output evidence manifest.
50
+
51
+ **Terminal state:** the reproduction (or failing test) fails before the fix
52
+ and passes after — both runs captured under the evidence manifest. This is
53
+ what makes a Bug autonomously closable: done-ness is a mechanical check, not a
54
+ judgment.
55
+
56
+ ## Story
57
+
58
+ The generic gates (three audiences, Gherkin, Out of Scope, source precedence)
59
+ were designed around Stories, so Stories are the best-covered type already.
60
+ The additional expectations:
61
+
62
+ - UI-touching stories SHOULD name the non-happy-path states — error, empty,
63
+ loading — in the AC. These are the states product-walkthroughs flag as
64
+ missing after the fact; naming them up front converts a review finding into
65
+ a requirement.
66
+ - Keep stories INVEST-small: a story too large to hold in one session is the
67
+ leading cause of mid-flight questions. Prefer decomposition over heroics.
68
+
69
+ **Terminal state:** every AC scenario exercised against the running product.
70
+
71
+ ## Task
72
+
73
+ A Task is "do this specific thing" — its risk is a fuzzy finish line, not a
74
+ fuzzy user. It must carry an observable done-state and the command or check
75
+ that proves it ("`bun run verify:x` exits 0", "the workflow file validates and
76
+ the job appears in CI"). **Terminal state:** that check passes.
77
+
78
+ ## Improvement — the measured delta
79
+
80
+ An Improvement without numbers has no verifiable terminal state by
81
+ construction: "make it faster" can never be autonomously closed. Required:
82
+
83
+ 1. **Metric + measurement method** the agent can run (command, query,
84
+ dashboard export — something mechanical).
85
+ 2. **Baseline** — the current measured value. A number, not an adjective.
86
+ 3. **Target** — the numeric value or bound that defines done.
87
+
88
+ If no baseline exists yet, measuring it is the first task — file it as such.
89
+ **Terminal state:** the measurement method reports a value meeting the target.
90
+
91
+ ## Spike — the investigation contract
92
+
93
+ A Spike's output is knowledge, so its readiness is about making knowledge
94
+ checkable:
95
+
96
+ 1. **The question** being answered.
97
+ 2. **The decision it enables**, and the options being weighed — so the answer
98
+ is written to be decidable against, not merely interesting.
99
+ 3. **A timebox** — spikes without one become open-ended research.
100
+ 4. **Deliverable format and location** — decision doc, prototype, findings
101
+ page, and *where it will live* (wiki page, decision record, attachment).
102
+
103
+ Gherkin AC is intentionally N/A for Spikes (S4 already exempts them).
104
+ **Terminal state:** a deliverable exists at the named location **and answers the
105
+ question** — it records the findings, the recommended decision, and the
106
+ options weighed. An empty or placeholder document at the right path is not
107
+ terminal.
108
+
109
+ ## Sub-task
110
+
111
+ Always has a parent (no stranded-leaf exception), and otherwise carries the
112
+ bar of its own nature — a bug-shaped sub-task carries the bug anatomy.
113
+
114
+ ## Epic and containers
115
+
116
+ Containers are never build-ready (`leaf-only-lifecycle`); their readiness
117
+ question is decomposition completeness — does every PRD requirement trace to a
118
+ leaf (`prd-ticket-coverage`) — not buildability.
119
+
120
+ ## The stateless-pickup dry-run (gate S18)
121
+
122
+ Structure gates are proxies; this gate checks the property directly. The
123
+ validator simulates a stateless read of the item plus its resolvable links —
124
+ session knowledge deliberately excluded, because the next claimant will not
125
+ have it — and lists every question it would need answered before starting,
126
+ before choosing between materially different implementations, or before
127
+ declaring done. Zero questions = PASS. Each question found is emitted verbatim
128
+ as its own remediation line; those lines are exactly the clarifying comments
129
+ the caller posts to the source. This is the enforcement of the intake
130
+ contract's core promise, and of TASC AC8.6: *ready means zero-clarification
131
+ executable.*
132
+
133
+ ## Relationship to the lifecycle
134
+
135
+ - **Write time** — `*-write-*` runs the applicable pre-write gates; a spec
136
+ failing the type-keyed bar is repaired or rejected before it exists. S18 is
137
+ not a write-time gate — most specs are not yet build-ready when written.
138
+ - **Ready time** — the bar is what the build-ready role asserts, and S18 runs
139
+ here, on build-ready leaves only, making the assertion checked rather than
140
+ hoped.
141
+ - **Claim time** — `ticket-triage` remains the analytical deep-check against
142
+ the codebase (edge cases, duplicate work, rework classification). With this
143
+ bar enforced upstream, triage's ambiguity phase should find nothing a
144
+ validator could have caught — its findings become a monitoring signal for
145
+ gaps in this rule.
@@ -224,6 +224,30 @@ The register feeds three consumers: the `## Source Requirement` section on
224
224
  every created ticket (Phases 3–5), the dry-run report (above), and the
225
225
  requirement tokens in the PRD back-link (Phase 7).
226
226
 
227
+ ### Phase 1.45: Requirement Quality Gates (prd-definition-of-ready)
228
+
229
+ Validate every Phase 1.4 register entry against the `prd-definition-of-ready` rule before
230
+ planning proceeds. Per atom:
231
+
232
+ - **Singular** — one behavior per entry. An entry welding multiple shall/when clauses together is
233
+ split in the register (R4 → R4a/R4b) when the split is mechanical and meaning-preserving; when
234
+ the split would change meaning, it is a product question, not a repair.
235
+ - **Unambiguous** — FAIL on the vagueness lexicon ("as appropriate", "user-friendly", "fast",
236
+ "handle gracefully", "etc.", "and/or", unbounded "optimize"/"support"): phrasing no test can
237
+ check. The full lexicon lives in the rule's reference body.
238
+ - **Verifiable** — a fit criterion (the measurable test of satisfaction) is present or
239
+ mechanically derivable from the text; a requirement no test could check is not admitted as a
240
+ requirement.
241
+ - **Pattern shape (SHOULD)** — an EARS pattern (ubiquitous / When / While / If-then / Where) or an
242
+ equivalent single-behavior sentence; conforming shapes decompose into Gherkin mechanically.
243
+
244
+ Failures here are **requirement-level product clarifications**, not internal errors: report each in
245
+ the dry-run report as a `product-clarity` item quoting the atom verbatim, naming the defect, and
246
+ offering 1–3 candidate rewrites (an EARS-shaped rewrite is the default recommendation). In intake
247
+ flows these route to the PRD's `blocked` role with comments, exactly like ticket-validator
248
+ failures. Mechanical splits and derived fit criteria are repaired in-register and recorded in the
249
+ report — never silently.
250
+
227
251
  ### Phase 1.5: Extract Source Artifacts
228
252
 
229
253
  PRDs typically reference external design, UX, and data artifacts (Figma files, Lovable prototypes, Loom walkthroughs, screenshots, example payloads, peer Confluence pages). These MUST be preserved onto the resulting tickets — otherwise developers picking up a ticket lose the source of truth. This is the failure mode this step exists to prevent.
@@ -99,6 +99,8 @@ outcome: created | reused
99
99
 
100
100
  ## Rules
101
101
 
102
+ - The PRD body's requirements MUST conform to `prd-definition-of-ready`: identified atoms (`R1`, `R2`, …), one behavior each in an EARS-pattern shape, each with a measurable fit criterion, plus the non-functional checklist. This governs factory-authored bodies; human-authored PRDs are validated at intake instead (`*-to-tracker` Phase 1.45).
103
+
102
104
  - All access via `lisa-atlassian-access`; never call Atlassian directly.
103
105
  - State is the parent page, not a label — never attempt Confluence label writes (they 401 on scoped
104
106
  tokens; see `config-resolution`).
@@ -211,6 +211,30 @@ The register feeds three consumers: the `## Source Requirement` section on
211
211
  every created ticket (Phases 3–5), the dry-run report (above), and the
212
212
  requirement tokens in the PRD back-link (Phase 7).
213
213
 
214
+ ### Phase 1.45: Requirement Quality Gates (prd-definition-of-ready)
215
+
216
+ Validate every Phase 1.4 register entry against the `prd-definition-of-ready` rule before
217
+ planning proceeds. Per atom:
218
+
219
+ - **Singular** — one behavior per entry. An entry welding multiple shall/when clauses together is
220
+ split in the register (R4 → R4a/R4b) when the split is mechanical and meaning-preserving; when
221
+ the split would change meaning, it is a product question, not a repair.
222
+ - **Unambiguous** — FAIL on the vagueness lexicon ("as appropriate", "user-friendly", "fast",
223
+ "handle gracefully", "etc.", "and/or", unbounded "optimize"/"support"): phrasing no test can
224
+ check. The full lexicon lives in the rule's reference body.
225
+ - **Verifiable** — a fit criterion (the measurable test of satisfaction) is present or
226
+ mechanically derivable from the text; a requirement no test could check is not admitted as a
227
+ requirement.
228
+ - **Pattern shape (SHOULD)** — an EARS pattern (ubiquitous / When / While / If-then / Where) or an
229
+ equivalent single-behavior sentence; conforming shapes decompose into Gherkin mechanically.
230
+
231
+ Failures here are **requirement-level product clarifications**, not internal errors: report each in
232
+ the dry-run report as a `product-clarity` item quoting the atom verbatim, naming the defect, and
233
+ offering 1–3 candidate rewrites (an EARS-shaped rewrite is the default recommendation). In intake
234
+ flows these route to the PRD's `blocked` role with comments, exactly like ticket-validator
235
+ failures. Mechanical splits and derived fit criteria are repaired in-register and recorded in the
236
+ report — never silently.
237
+
214
238
  ### Phase 1.5: Extract Source Artifacts
215
239
 
216
240
  PRDs typically reference external design, UX, and data artifacts (Figma files, Lovable prototypes, Loom walkthroughs, screenshots, example payloads, peer Notion / Confluence / Linear pages). These MUST be preserved onto the resulting tickets — otherwise developers picking up a ticket lose the source of truth. This is the failure mode this step exists to prevent.
@@ -76,6 +76,8 @@ Gates are grouped into **Specification** (spec-only checks, no GitHub lookups) a
76
76
 
77
77
  Each gate is tagged with a fixed `category` and a `product_relevant` boolean. Categories are the same fixed set used by `lisa-jira-validate-ticket` so downstream PRD-intake comment-formatting policy is shared across vendors.
78
78
 
79
+ Per-type content requirements are defined once in the vendor-neutral `work-item-definition-of-ready` rule (eager + reference); gates S4–S6 and S17 enforce them, and S18 enforces the stateless-pickup property directly.
80
+
79
81
  | Gate | Category | Product-relevant |
80
82
  |------|----------|------------------|
81
83
  | S1 Required core fields | `structural` | false |
@@ -94,6 +96,8 @@ Each gate is tagged with a fixed `category` and a `product_relevant` boolean. Ca
94
96
  | S14 Evidence manifest binding (leaf work units) | `acceptance-criteria` | true |
95
97
  | S15 Leaf-only build-ready | `structural` | false |
96
98
  | S16 Source Requirement traceability | `product-clarity` | true |
99
+ | S17 Improvement measurability | `acceptance-criteria` | true |
100
+ | S18 Stateless-pickup dry-run | `product-clarity` | true |
97
101
  | F1 Issue type label exists in repo | `structural` | false |
98
102
  | F2 Parent sub-issue exists and is the right type | `structural` | false |
99
103
  | F3 Linked issues exist | `structural` | false |
@@ -135,18 +139,26 @@ The `## Acceptance Criteria` section must contain at least one `Scenario:` block
135
139
 
136
140
  #### S5 — Bug-specific content
137
141
 
138
- When `issue_type = Bug`, body must additionally include:
142
+ When `issue_type = Bug`, body must additionally include the full bug anatomy from the `work-item-definition-of-ready` rule:
143
+
144
+ - **Agent-executable reproduction** — numbered steps a stateless agent can run mechanically: exact entry point, named account/role (consistent with Sign-in Required when authenticated), concrete data state, exact actions. Human-followable-only prose ("click around until it breaks") FAILs. A linked failing test satisfies this outright and is the preferred form.
145
+ - **Expected vs. actual behavior**, naming or linking the *source* of "expected" (spec, PRD requirement, prior release behavior) — a fix target is a fact, not an opinion.
146
+ - **Environment + version** — where reproduced and the build/commit observed; last-known-good when known (`unknown` must be stated, not omitted).
147
+ - **Reproducibility rate** — always, or intermittent with observed frequency; intermittent invalidates run-once verification.
148
+ - **Occurrence evidence** — at least one link/attachment: error-tracker issue, log excerpt, stack trace, screenshot/recording.
139
149
 
140
- - Reproduction steps
141
- - Expected vs. actual behavior
142
- - Environment where reproduced
150
+ A Bug's terminal state is its reproduction: the same steps (or test) fail before the fix and pass after — capture both as evidence: under the S14 manifest when `runtime_behavior_change = true`, or attached directly to the item for non-runtime Bugs (doc/config fixes), where S14 is N/A.
143
151
 
144
152
  #### S6 — Spike-specific content
145
153
 
146
154
  When `issue_type = Spike`, body must include:
147
155
 
148
- - The question being answered
149
- - Definition of done (decision doc / prototype / findings deliverable)
156
+ - The **question** being answered
157
+ - The **decision** the answer enables, and the options being weighed
158
+ - A **timebox**
159
+ - **Deliverable format and location** — decision doc / prototype / findings page, and where it will live, so the terminal state — a deliverable at that location that actually answers the question, with findings, decision and options — is checkable
160
+
161
+ Gherkin AC is intentionally N/A for Spikes (S4).
150
162
 
151
163
  #### S7 — Parent sub-issue declared
152
164
 
@@ -190,6 +202,8 @@ Accept either placement:
190
202
 
191
203
  Detect by scanning for the phrase `Source Precedence` (case-insensitive) AND verifying the four axes (business rules, visual, flow, data) are each named.
192
204
 
205
+ If the spec doesn't set `artifacts_attached`, infer it the same way S9 infers sign-in: scan the body for design/mock/prototype/data-artifact references (design-tool links, "mock", "prototype", spreadsheet or API artifacts). If such artifacts are referenced and no source-precedence guidance exists: FAIL.
206
+
193
207
  #### S13 — Relationship Search documented
194
208
 
195
209
  The issue must EITHER have at least one entry in `links`, OR the body must contain a `## Relationship Search` block listing the git history queries and `gh issue list` queries that were run with their outcomes. ("Searched git history for `<keywords>` and `gh issue list` for label `component:X`; no related work found.")
@@ -269,6 +283,22 @@ R-id with no quote: FAIL with remediation
269
283
  `product_relevant: true` — a issue whose requirement cannot be traced is
270
284
  a product-clarity problem: nobody can tell why the work exists.
271
285
 
286
+ #### S17 — Improvement measurability
287
+
288
+ When `issue_type = Improvement`, the body must define the improvement as a measured delta per `work-item-definition-of-ready`:
289
+
290
+ - **Metric + measurement method** the agent can run (command, query, dashboard export)
291
+ - **Baseline** — the current measured value (a number, not an adjective)
292
+ - **Target** — the numeric value or bound that defines done
293
+
294
+ Without a baseline and a target an Improvement has no verifiable terminal state and can never be autonomously closed. FAIL names the missing pieces; when no baseline exists yet, the remediation is to file measuring it as the first step. `N/A` for every other type.
295
+
296
+ #### S18 — Stateless-pickup dry-run
297
+
298
+ The autonomy gate, run last, on every build-ready leaf (use the S15 classification; `N/A` for containers and non-build-ready items). Simulate a stateless agent reading only this item and the links it can resolve — session knowledge about the codebase does not count, because the next claimant will not have it. List every question that agent would have to ask a human before starting work, before choosing between materially different implementations, or before declaring the work done.
299
+
300
+ Zero questions → PASS. Any question → FAIL, with each question listed verbatim as its own remediation line — these are exactly the clarifying comments the caller posts to the source. The structure gates are proxies; this gate checks the readiness property itself: `ready` means a stateless agent can drive this item to its terminal state with zero human clarification (see `work-item-definition-of-ready`).
301
+
272
302
  ### Feasibility Gates (require GitHub lookups; skip in `--spec-only`)
273
303
 
274
304
  #### F1 — Issue type label exists in repo
@@ -423,6 +453,8 @@ Output is a single fenced text block. Callers parse it; do not add free-form pro
423
453
  - [PASS|FAIL|N/A] S14 Evidence manifest binding — <one-line reason>
424
454
  - [PASS|FAIL|N/A] S15 Leaf-only build-ready — <one-line reason>
425
455
  - [PASS|FAIL|N/A] S16 Source Requirement traceability — <one-line reason>
456
+ - [PASS|FAIL|N/A] S17 Improvement measurability — <one-line reason>
457
+ - [PASS|FAIL|N/A] S18 Stateless-pickup dry-run — <one-line reason>
426
458
 
427
459
  ### Feasibility Gates (omit this section when --spec-only)
428
460
  - [PASS|FAIL|N/A] F1 Issue type label exists in repo — <one-line reason>
@@ -449,7 +481,7 @@ The verdict is `PASS` if every applicable gate is `PASS`. Any `FAIL` makes the v
449
481
 
450
482
  Same shape and meaning as `lisa-jira-validate-ticket` so downstream PRD-intake skills (Notion, Confluence, Linear, GitHub) can format comments uniformly:
451
483
 
452
- - **gate**: the gate ID (`S1`–`S15`, `F1`–`F5`).
484
+ - **gate**: the gate ID (`S1`–`S18`, `F1`–`F5`).
453
485
  - **category**: the gate's fixed category from the table.
454
486
  - **product_relevant**: matches the gate's table entry. `false` means the failure is an internal data-quality problem the caller should fix without bothering product.
455
487
  - **what**: plain-language, product-readable.
@@ -146,6 +146,8 @@ outcome: created | reused
146
146
 
147
147
  ## Rules
148
148
 
149
+ - The PRD body's requirements MUST conform to `prd-definition-of-ready`: identified atoms (`R1`, `R2`, …), one behavior each in an EARS-pattern shape, each with a measurable fit criterion, plus the non-functional checklist. This governs factory-authored bodies; human-authored PRDs are validated at intake instead (`*-to-tracker` Phase 1.45).
150
+
149
151
  - Exactly one PRD lifecycle label at all times (leaf-only does not apply — PRDs are not build leaves).
150
152
  - Match dedupe by marker, never by title.
151
153
  - Preserve an existing canonical `## Lisa Usage` section on update; never append a second usage