project-tiny-context-harness 0.6.1 → 0.6.2

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.
@@ -1,26 +1,27 @@
1
1
  ---
2
- name: source-plan-authoring
3
- description: Use only when the user explicitly asks for 初版方案、源方案、方案源稿、Source Plan, initial delivery plan, source draft, or asks to synthesize, refine or audit later implementation or Contract-authoring Source from one draft or mixed inputs such as notes, product/technical documents, screenshots, diagrams or other attachments. Produce one self-contained Markdown Source Plan with complete input coverage, traceable direct/derived/delegated content, control-level UI detail when applicable, stable semantic keys, acceptance scenarios, non-goals, risks and unresolved decisions. Do not trigger for ordinary product discussion, routine coding, implementation work, Delivery Contract authoring or long-task execution.
2
+ name: source-plan-authoring
3
+ description: Use only when the user explicitly asks for 初版方案、源方案、方案源稿、Source Plan, initial delivery plan, source draft, or asks to synthesize, refine or audit later implementation or Contract-authoring Source from one draft or mixed inputs such as notes, product/technical documents, screenshots, diagrams or other attachments. Produce one self-contained Markdown Source Plan with complete input coverage, traceable direct/derived/delegated content, control-level UI detail when applicable, stable semantic keys, acceptance scenarios, non-goals, risks and unresolved decisions. Do not trigger for ordinary product discussion, routine coding, implementation work, Delivery Contract authoring or long-task execution.
4
4
  ---
5
5
 
6
6
  # Source Plan Authoring
7
7
 
8
8
  ## Objective
9
9
 
10
- Produce one high-fidelity, self-contained Markdown Source Plan from either a nearly finished plan or a sparse brief plus mixed supplied artifacts. Preserve the user's real intent, expand it to the detail needed by later `long-task-workflow` Contract authoring and make every added inference or delegated choice traceable.
11
-
12
- Record every product, technical and acceptance meaning that later work must not omit, change or silently add. For an in-scope user interface, reach page, region, control, state and feedback granularity. Prefer semantic completeness over template completeness.
10
+ Produce one high-fidelity, self-contained Markdown Source Plan from either a nearly finished plan or a sparse brief plus mixed supplied artifacts. Preserve the user's real intent, expand it to the detail needed by later `long-task-workflow` Contract authoring and make every added inference or delegated choice traceable.
11
+
12
+ Record every product, technical and acceptance meaning that later work must not omit, change or silently add. For an in-scope user interface, reach page, region, control, state and feedback granularity. Prefer semantic completeness over template completeness.
13
13
 
14
14
  ## Boundaries
15
15
 
16
16
  - Produce or revise one Markdown Source Plan. If it does not fit in one response, continue the same document instead of inventing extra Outcomes or plans.
17
- - Preserve the original meaning and every material qualifier from the user's discussion, research and every supplied artifact.
18
- - Do not require the user to pre-normalize inputs or restate content already available in an attachment.
17
+ - Preserve the original meaning and every material qualifier from the user's discussion, research and every supplied artifact.
18
+ - Do not require the user to pre-normalize inputs or restate content already available in an attachment.
19
19
  - Do not update `project_context/**` or treat the Source Plan as durable project Context.
20
20
  - Do not independently turn current repository implementation into product intent. If supplied repository or Context evidence is relevant, cite it and distinguish durable constraints from incidental code shape.
21
- - Do not bind owners, files, runners, verification inputs, proof surfaces or Assertion observations for a real repository. Later Contract authoring owns those bindings.
22
- - Do not generate Delivery Contract YAML, execute implementation, run Long-Task commands or declare work complete.
23
- - Do not make this recommended structure a mandatory input protocol for later work.
21
+ - Do not bind owners, files, runners, verification inputs, proof surfaces or Assertion observations for a real repository. Later Contract authoring owns those bindings.
22
+ - Do not generate Delivery Contract YAML, execute implementation, run Long-Task commands or declare work complete.
23
+ - Keep plan meaning separate from action authorization. A delegated recommendation may define the intended product or technical default, but payment, contracting, production release, destructive production mutation, a real permission grant, sensitive-data transmission or required legal/security/human approval remains an external confirmation.
24
+ - Do not make this recommended structure a mandatory input protocol for later work.
24
25
 
25
26
  ## Relationship To Other Skills
26
27
 
@@ -29,37 +30,49 @@ Record every product, technical and acceptance meaning that later work must not
29
30
  - It does not replace Contract Draft authoring inside `long-task-workflow`.
30
31
  - Its recommended structure is optional input guidance.
31
32
  - Use `context_product_plan` separately when a Tiny Context project needs product decisions classified and written as durable facts in `project_context/**`. This Skill does not replace or invoke that responsibility.
32
- - Use `long-task-workflow` later to read ordinary Source or a Source Plan with real Context/repository evidence, author one Delivery Contract, bind owners/paths/runners/proof, implement and run the Live Final Gate.
33
-
34
- ## Intake Modes And Source Coverage
35
-
36
- Infer the working mode without asking the user to choose it:
37
-
38
- - **Refinement mode:** preserve and improve one substantially complete plan.
39
- - **Synthesis mode:** turn a goal plus mixed notes, documents, images, diagrams, tables or examples into a new plan.
40
- - **Hybrid mode:** use an existing plan as the backbone and fill its gaps from the remaining artifacts.
41
-
42
- A short request is sufficient when it identifies the artifact roles, states the product or delivery goal, explains whether references are exact targets or inspiration and asks for synthesis, refinement or elaboration. Do not require a questionnaire or a pre-existing outline. Ask only when a supplied artifact cannot be accessed or when a blocking choice falls outside the delegated expansion boundary.
43
-
44
- Before authoring:
45
-
46
- 1. Assign every supplied artifact a stable input ID and inspect it with format-appropriate capabilities. Cover all pages, frames, screens, tables, diagrams, annotations and visible states that can carry material meaning; never silently sample a multi-part artifact.
47
- 2. Classify each input as user instruction, authoritative product requirement, authoritative technical constraint, existing plan, repository/Context evidence, reference or inspiration. User-stated precedence wins; otherwise report material conflicts as `DEC` instead of merging them silently.
48
- 3. For screenshots or visual references, inventory visible surfaces, regions, controls, content hierarchy, navigation cues and represented states. Treat them as inspiration rather than an exact reproduction target unless the user says otherwise; do not import unrelated branding, sample data or product scope.
49
- 4. Record an Input Inventory in the Source Plan with each input ID, role, authority, material content incorporated and any unreadable or intentionally unused portion. The inventory is traceability, not a new semantic type or authority.
50
- 5. Make the resulting plan self-contained: incorporate every material requirement or constraint into a keyed item. Keep an external artifact reference only when the artifact itself remains necessary for exact visual, legal or other non-textual comparison.
33
+ - Use `long-task-workflow` later to read ordinary Source or a Source Plan with real Context/repository evidence, author one Delivery Contract, bind owners/paths/runners/proof, implement and run the Live Final Gate.
34
+
35
+ ## Intake Modes And Source Coverage
36
+
37
+ Infer the working mode without asking the user to choose it:
38
+
39
+ - **Refinement mode:** preserve and improve one substantially complete plan.
40
+ - **Synthesis mode:** turn a goal plus mixed notes, documents, images, diagrams, tables or examples into a new plan.
41
+ - **Hybrid mode:** use an existing plan as the backbone and fill its gaps from the remaining artifacts.
42
+
43
+ A short request is sufficient when it identifies the artifact roles, states the product or delivery goal, explains whether references are exact targets or inspiration and asks for synthesis, refinement or elaboration. Do not require a fixed questionnaire or a pre-existing outline. Do not ask the user to approve a defensible recommended plan choice. Ask only when a supplied artifact cannot be accessed, authoritative inputs conflict, the user explicitly reserves a choice, a missing material preference could change the research or recommendation, or no defensible recommendation can be formed.
44
+
45
+ Before authoring:
46
+
47
+ 1. Assign every supplied artifact a stable input ID and inspect it with format-appropriate capabilities. Cover all pages, frames, screens, tables, diagrams, annotations and visible states that can carry material meaning; never silently sample a multi-part artifact.
48
+ 2. Classify each input as user instruction, authoritative product requirement, authoritative technical constraint, existing plan, repository/Context evidence, reference or inspiration. User-stated precedence wins; otherwise report material conflicts as `DEC` instead of merging them silently.
49
+ 3. For screenshots or visual references, inventory visible surfaces, regions, controls, content hierarchy, navigation cues and represented states. Treat them as inspiration rather than an exact reproduction target unless the user says otherwise; do not import unrelated branding, sample data or product scope.
50
+ 4. Record an Input Inventory in the Source Plan with each input ID, role, authority, material content incorporated and any unreadable or intentionally unused portion. The inventory is traceability, not a new semantic type or authority.
51
+ 5. Make the resulting plan self-contained: incorporate every material requirement or constraint into a keyed item. Keep an external artifact reference only when the artifact itself remains necessary for exact visual, legal or other non-textual comparison.
52
+
53
+ ## Preference And Research Gate
54
+
55
+ Before comparative research or a material product, technical, architecture or provider selection:
56
+
57
+ 1. Identify the decision criteria that could materially change the research scope, candidate set or recommendation. Common axes include quality or fidelity versus cost, delivery speed, reliability or support, privacy or compliance, control or vendor lock-in, operational burden, platform coverage and future extensibility.
58
+ 2. Treat a preference as known only when it follows from the user's words, a supplied authoritative artifact, project Context or another controlling constraint. Do not silently turn the author's own taste into user intent.
59
+ 3. If a material criterion is unknown or ambiguous, stop before comparative research or selection and ask the user one concise set of targeted questions about only the decision-changing axes. For example, ask whether quality or total cost should dominate when that answer would change which providers or technologies deserve investigation.
60
+ 4. Do not ask again when the preference is already available. Do not interrupt minor, reversible choices, or a choice with the same defensible recommendation across plausible preferences. This conditional gate is not a mandatory intake questionnaire.
61
+ 5. Once the preference envelope is clear, decide whether research is needed and how much. When a choice depends on current external capabilities, pricing, quotas, licensing, compatibility, regional availability, security posture or support, use current authoritative or primary sources and add them to the Input Inventory with their scope and retrieval date.
62
+
63
+ Preference clarification determines what outcome to optimize. It does not approve a purchase, contract, deployment, permission grant, data transfer or other real-world action.
51
64
 
52
65
  ## Authoring Workflow
53
66
 
54
- 1. Build the complete Input Inventory and extract every material statement, including constraints, exceptions, examples that change meaning and already-decided controls or recovery behavior.
55
- 2. Preserve direct requirements before reorganizing them. Never compress several distinct requirements into a broad capability statement that loses qualifiers.
56
- 3. Classify every material addition as `direct`, `derived`, `delegated`, evidence-backed repository/Context information, or `decision_required`.
57
- 4. Resolve the end-to-end user journey and applicable surfaces before enumerating their regions, controls, states and feedback.
58
- 5. Define Outcomes only where observable results can be independently judged and later mapped to Requirements and acceptance.
59
- 6. Assign stable semantic keys and explicit anchors to important items.
60
- 7. Write product requirements, applicable flows/states, controls, technical obligations, implementation hints and observable acceptance without hiding new semantics between types.
61
- 8. Trace every input to incorporated items or an explicit unused/unreadable disposition.
62
- 9. Run the completeness check, revise the same document and end with a compact readiness summary.
67
+ 1. Build the complete Input Inventory and extract every material statement, including constraints, exceptions, examples that change meaning and already-decided controls or recovery behavior.
68
+ 2. Preserve direct requirements before reorganizing them. Never compress several distinct requirements into a broad capability statement that loses qualifiers.
69
+ 3. Classify every material addition as `direct`, `derived`, `delegated`, evidence-backed repository/Context information, or `decision_required`.
70
+ 4. Resolve the end-to-end user journey and applicable surfaces before enumerating their regions, controls, states and feedback.
71
+ 5. Define Outcomes only where observable results can be independently judged and later mapped to Requirements and acceptance.
72
+ 6. Assign stable semantic keys and explicit anchors to important items.
73
+ 7. Write product requirements, applicable flows/states, controls, technical obligations, implementation hints and observable acceptance without hiding new semantics between types.
74
+ 8. Trace every input to incorporated items or an explicit unused/unreadable disposition.
75
+ 9. Run the completeness check, revise the same document and end with a compact readiness summary.
63
76
 
64
77
  ## Expansion Boundary
65
78
 
@@ -78,23 +91,25 @@ For every derived item:
78
91
  - state why the derivation is necessary;
79
92
  - confirm that it does not change user capability, business rules or product scope.
80
93
 
81
- Do not disguise one possible product choice as a necessary derivation.
82
-
83
- ### Delegated elaboration
84
-
85
- When the user explicitly asks the Skill to synthesize, refine, complete, flesh out or use its judgment, treat that as bounded authorization to make coherent, low-impact and reversible product choices needed by the stated goal. Do not stop for minor choices that a competent product author can resolve from the supplied evidence and familiar interaction conventions.
86
-
87
- Typical delegated choices include information hierarchy, screen grouping, navigation between already requested capabilities, control placement and labels, input validation implied by the data, non-destructive loading/empty/error/retry feedback, and representative content needed to make acceptance falsifiable.
88
-
89
- For every delegated item or tightly coupled group:
90
-
91
- - mark it `delegated`;
92
- - state `Delegated By`, citing the user's authoring instruction;
93
- - state `Basis`, citing the relevant input IDs, constraints or convention;
94
- - state why the choice is coherent and what product meaning it adds;
95
- - keep it within the stated goal and do not contradict a higher-authority input.
96
-
97
- Delegation does not authorize unsupported permissions or roles, destructive or irreversible behavior, pricing/quota/budget rules, legal or security policy, persistent-data retention, external automation, business thresholds, platform support scope or sample-versus-full-population scope. These remain `DEC` unless directly decided by an authoritative input.
94
+ Do not disguise one possible product choice as a necessary derivation.
95
+
96
+ ### Delegated elaboration
97
+
98
+ When the user explicitly asks the Skill to synthesize, refine, complete, flesh out or use its judgment, treat that as default plan-authoring delegation to make coherent product and technical choices needed by the stated goal. A recommendation is defensible only when material decision criteria are known and supplied evidence, project Context, established conventions or a conservative no-effect baseline supports the result. After the Preference And Research Gate is satisfied, adopt and record that recommendation instead of pausing for approval. High impact alone does not make a plan choice unresolved.
99
+
100
+ Typical delegated choices include information hierarchy, screen grouping, navigation between already requested capabilities, control placement and labels, input validation implied by the data, non-destructive loading/empty/error/retry feedback, representative content needed to make acceptance falsifiable, product defaults, thresholds, permission models, retention, platform scope and staged provider or automation policies when a defensible recommendation exists.
101
+
102
+ For every delegated item or tightly coupled group:
103
+
104
+ - mark it `delegated`;
105
+ - state `Delegated By`, citing the user's authoring instruction;
106
+ - state `Basis`, citing the relevant input IDs, constraints or convention;
107
+ - state why the choice is coherent and what product meaning it adds;
108
+ - keep it within the stated goal and do not contradict a higher-authority input.
109
+
110
+ For high-risk domains, prefer a conservative pre-authorization baseline when it still satisfies the stated goal: zero spend until approved, disabled production capability, least privilege, explicit opt-in, minimum justified retention, staging or POC before production, and no automated destructive behavior. Record the intended later capability separately from the gate that enables it. A conservative action gate does not substitute for an unknown preference that would change the intended product or technical choice.
111
+
112
+ Delegation authorizes plan meaning only. It never authorizes payment or purchase, signature or contract acceptance, production deployment or public release, destructive mutation of production or user data, granting real permissions, transmitting sensitive data, bypassing legal/security review, or substituting a plan for required POC, field, accessibility or human validation. Declare each applicable real-world gate as an `EXT` external confirmation and continue authoring without asking for plan approval.
98
113
 
99
114
  ### Repository or Context evidence
100
115
 
@@ -102,11 +117,11 @@ When supplied project evidence establishes an existing module boundary, state mo
102
117
 
103
118
  Leave real owner/path/binding/runner selection to later repository-aware Contract authoring.
104
119
 
105
- ### New product semantics
106
-
107
- Use a `DEC` item with status `decision_required` whenever more than one materially different choice remains and neither direct evidence nor the delegated elaboration boundary authorizes a choice.
108
-
109
- Never choose without a direct or recorded delegated basis:
120
+ ### New product semantics
121
+
122
+ Use a `DEC` item with status `decision_required` only when authoritative inputs conflict, the user explicitly reserves the choice, a material preference remains unknown after the targeted question, or no single defensible recommendation can be supported by the known preference envelope, available evidence, Context, established convention or a conservative no-effect default. Several possible options do not by themselves require a decision when the decision criteria are known: recommend one, record its delegated basis and keep any real high-risk action as `EXT`.
123
+
124
+ The following choices require an explicit direct or recorded delegated basis and may require a corresponding `EXT`; they are not automatic `DEC` items when a defensible recommendation exists:
110
125
 
111
126
  - a new user capability or changed business rule;
112
127
  - a default, threshold, range or metric;
@@ -117,7 +132,7 @@ Never choose without a direct or recorded delegated basis:
117
132
  - data persistence or retention behavior;
118
133
  - a product recovery path after failure;
119
134
  - sample versus full-population coverage;
120
- - a pricing, quota, budget or risk rule.
135
+ - a pricing, quota, budget or risk rule.
121
136
 
122
137
  ## Outcome Rules
123
138
 
@@ -177,11 +192,11 @@ Use only the types that apply.
177
192
 
178
193
  Keep `OBL` and `HINT` distinct: an `OBL` must be satisfied; a `HINT` may be replaced by another valid implementation.
179
194
 
180
- ## Product Surfaces, Controls And States
181
-
182
- Do not force a non-interface Source Plan to invent controls. For an in-scope interactive product, however, enumerate every user-visible surface and every material interactive control at control level; a broad feature or screen name is not enough.
183
-
184
- For each surface, state its purpose, entry and exit, persistent navigation, major regions, overlays or transient layers, and the Control keys it contains. Treat buttons, links, fields, selectors, tabs, toggles, menus, list or card actions, map or canvas gestures and other actionable elements as controls. Treat material status, validation, permission and recovery feedback as Control fields or independently keyed Requirements rather than decorative prose.
195
+ ## Product Surfaces, Controls And States
196
+
197
+ Do not force a non-interface Source Plan to invent controls. For an in-scope interactive product, however, enumerate every user-visible surface and every material interactive control at control level; a broad feature or screen name is not enough.
198
+
199
+ For each surface, state its purpose, entry and exit, persistent navigation, major regions, overlays or transient layers, and the Control keys it contains. Treat buttons, links, fields, selectors, tabs, toggles, menus, list or card actions, map or canvas gestures and other actionable elements as controls. Treat material status, validation, permission and recovery feedback as Control fields or independently keyed Requirements rather than decorative prose.
185
200
 
186
201
  Include a `CTRL` when:
187
202
 
@@ -189,9 +204,9 @@ Include a `CTRL` when:
189
204
  - its location, task or state changes product meaning;
190
205
  - leaving it open would permit materially different product designs.
191
206
 
192
- For each included control, state every independently decided field separately: `Surface`, `Region`, `Control type`, `Label/content`, `Location`, `User task`, `Visibility`, `Availability`, `Trigger`, `Input`, `Validation`, `Default`, `Interaction`, `Navigation/result`, `Loading`, `Empty`, `Success`, `Failure`, `Recovery`, `Permission`, `Feedback` and `Accessibility`. Use `not applicable` when a field was considered and genuinely does not apply; do not hide an undecided product choice behind that phrase.
193
-
194
- Give every decided Control field its own stable semantic meaning. Do not compress placement, behavior, state or feedback into one broad sentence when more than one field has been decided; later repository-aware authoring must be able to map each field independently. Do not claim exact visual styling, animation, copy or responsive behavior unless it is direct, evidence-backed or within recorded delegation.
207
+ For each included control, state every independently decided field separately: `Surface`, `Region`, `Control type`, `Label/content`, `Location`, `User task`, `Visibility`, `Availability`, `Trigger`, `Input`, `Validation`, `Default`, `Interaction`, `Navigation/result`, `Loading`, `Empty`, `Success`, `Failure`, `Recovery`, `Permission`, `Feedback` and `Accessibility`. Use `not applicable` when a field was considered and genuinely does not apply; do not hide an undecided product choice behind that phrase.
208
+
209
+ Give every decided Control field its own stable semantic meaning. Do not compress placement, behavior, state or feedback into one broad sentence when more than one field has been decided; later repository-aware authoring must be able to map each field independently. Do not claim exact visual styling, animation, copy or responsive behavior unless it is direct, evidence-backed or within recorded delegation.
195
210
 
196
211
  ## Acceptance Scenarios
197
212
 
@@ -199,7 +214,7 @@ Write `AC` items as observable behavior, not low-level test commands.
199
214
 
200
215
  Each `AC` represents exactly one acceptance scenario and explicitly names the `REQ`, `CTRL`, `OBL` and/or `NCOMP` keys it accepts. It contains one `Given`, one `When` and one `Then`; each may be multiline, but together they describe only one independently decidable scenario. Never label one AC as proof for several materially different success, failure, boundary or recovery scenarios; author separate ACs instead.
201
216
 
202
- For every important `REQ` and every material `CTRL` state, provide at least one of:
217
+ For every important `REQ` and every material `CTRL` state, provide at least one of:
203
218
 
204
219
  - a corresponding `AC`;
205
220
  - an `EXT`;
@@ -209,7 +224,7 @@ For every important `REQ` and every material `CTRL` state, provide at least one
209
224
 
210
225
  Cover the scenarios that actually exist: success, failure, boundary, recovery, permission, empty state, sample/full-population scope and forbidden results. Do not mechanically generate a fixed scenario set.
211
226
 
212
- Never introduce a product requirement for the first time inside an `AC`. Move hidden behavior, defaults, retention periods or recovery policies into a source-backed `REQ` or unresolved `DEC`.
227
+ Never introduce a product requirement for the first time inside an `AC`. Move hidden behavior, defaults, retention periods or recovery policies into a direct or delegated source-backed `REQ`, or into `DEC` only when no defensible recommendation exists.
213
228
 
214
229
  ## Risk And Advisory Boundaries
215
230
 
@@ -248,21 +263,21 @@ Write in the user's language unless requested otherwise.
248
263
  - Final observable results
249
264
  - Success boundary
250
265
 
251
- ## 2. Background, Current State And Problem
266
+ ## 2. Background, Current State And Problem
252
267
 
253
268
  - Current situation
254
269
  - Existing problem
255
270
  - Why this delivery is needed
256
- - Known constraints
257
-
258
- ## 3. Input Inventory And Interpretation
259
-
260
- - Input ID
261
- - Role and authority
262
- - Material content incorporated
263
- - Unreadable or intentionally unused content
264
-
265
- ## 4. Delivery Scope
271
+ - Known constraints
272
+
273
+ ## 3. Input Inventory And Interpretation
274
+
275
+ - Input ID
276
+ - Role and authority
277
+ - Material content incorporated
278
+ - Unreadable or intentionally unused content
279
+
280
+ ## 4. Delivery Scope
266
281
 
267
282
  ### In Scope
268
283
 
@@ -270,19 +285,19 @@ Write in the user's language unless requested otherwise.
270
285
 
271
286
  ### Forbidden Shortcuts
272
287
 
273
- ## 5. Product Surface Inventory
274
-
275
- - Surface purpose
276
- - Entry, exit and navigation
277
- - Regions, overlays and Control keys
278
-
279
- ## 6. Outcome Overview
288
+ ## 5. Product Surface Inventory
289
+
290
+ - Surface purpose
291
+ - Entry, exit and navigation
292
+ - Regions, overlays and Control keys
293
+
294
+ ## 6. Outcome Overview
280
295
 
281
296
  - Outcome key
282
297
  - Observable result
283
298
  - Dependencies
284
299
 
285
- ## 7. Outcomes
300
+ ## 7. Outcomes
286
301
 
287
302
  <a id="outcome.<outcome-key>"></a>
288
303
 
@@ -290,22 +305,22 @@ Write in the user's language unless requested otherwise.
290
305
 
291
306
  #### Observable Result
292
307
 
293
- #### Product Requirements
308
+ #### Product Requirements
294
309
 
295
310
  <a id="<outcome-key>.requirement.<requirement-key>"></a>
296
311
 
297
- - **REQ `<requirement-key>`**
298
- - Origin: direct | derived | delegated | evidence-backed
299
- - Source basis:
300
- - Requirement:
301
-
302
- #### Surface And Region Model
303
-
304
- - Surface:
305
- - Purpose:
306
- - Entry / exit:
307
- - Regions / overlays:
308
- - Included Control keys:
312
+ - **REQ `<requirement-key>`**
313
+ - Origin: direct | derived | delegated | evidence-backed
314
+ - Source basis:
315
+ - Requirement:
316
+
317
+ #### Surface And Region Model
318
+
319
+ - Surface:
320
+ - Purpose:
321
+ - Entry / exit:
322
+ - Regions / overlays:
323
+ - Included Control keys:
309
324
 
310
325
  #### User Flow And States
311
326
 
@@ -318,31 +333,31 @@ Write in the user's language unless requested otherwise.
318
333
 
319
334
  <a id="<outcome-key>.control.<control-key>"></a>
320
335
 
321
- - **CTRL `<control-key>`**
322
- - Origin: direct | derived | delegated | evidence-backed
323
- - Source basis:
324
- - Surface:
325
- - Region:
326
- - Control type:
327
- - Label/content:
328
- - Location:
329
- - User task:
330
- - Visibility:
331
- - Availability:
332
- - Trigger:
333
- - Input:
334
- - Validation:
335
- - Default:
336
- - Interaction:
337
- - Navigation/result:
338
- - Loading:
339
- - Empty:
340
- - Success:
341
- - Failure:
342
- - Recovery:
343
- - Permission:
344
- - Feedback:
345
- - Accessibility:
336
+ - **CTRL `<control-key>`**
337
+ - Origin: direct | derived | delegated | evidence-backed
338
+ - Source basis:
339
+ - Surface:
340
+ - Region:
341
+ - Control type:
342
+ - Label/content:
343
+ - Location:
344
+ - User task:
345
+ - Visibility:
346
+ - Availability:
347
+ - Trigger:
348
+ - Input:
349
+ - Validation:
350
+ - Default:
351
+ - Interaction:
352
+ - Navigation/result:
353
+ - Loading:
354
+ - Empty:
355
+ - Success:
356
+ - Failure:
357
+ - Recovery:
358
+ - Permission:
359
+ - Feedback:
360
+ - Accessibility:
346
361
 
347
362
  #### Technical Obligations And Boundaries
348
363
 
@@ -381,19 +396,19 @@ Write in the user's language unless requested otherwise.
381
396
  - Basis:
382
397
  - Consequence:
383
398
 
384
- ## 8. Cross-Outcome Constraints
385
-
386
- ## 9. External Confirmations
387
-
388
- ## 10. Source Traceability And Authoring Decisions
389
-
390
- - Item or group:
391
- - Origin: direct | derived | delegated | evidence-backed
392
- - Source / Derived From / Delegated By:
393
- - Basis and reason:
394
- - Changes product meaning: no for derived; yes or no for delegated
395
-
396
- ## 11. Decisions Required
399
+ ## 8. Cross-Outcome Constraints
400
+
401
+ ## 9. External Confirmations
402
+
403
+ ## 10. Source Traceability And Authoring Decisions
404
+
405
+ - Item or group:
406
+ - Origin: direct | derived | delegated | evidence-backed
407
+ - Source / Derived From / Delegated By:
408
+ - Basis and reason:
409
+ - Changes product meaning: no for derived; yes or no for delegated
410
+
411
+ ## 11. Decisions Required
397
412
 
398
413
  <a id="decision.<decision-key>"></a>
399
414
 
@@ -404,7 +419,7 @@ Write in the user's language unless requested otherwise.
404
419
  - Why it cannot be reliably derived:
405
420
  - Affected REQ / AC:
406
421
 
407
- ## 12. Completeness Check
422
+ ## 12. Completeness Check
408
423
 
409
424
  - Covered core requirements
410
425
  - Unresolved product semantics
@@ -418,40 +433,40 @@ Before returning the plan, verify:
418
433
 
419
434
  1. Every material original requirement is preserved.
420
435
  2. Distinct requirements were not collapsed into one vague Outcome.
421
- 3. Every supplied artifact appears in the Input Inventory with complete coverage or an explicit gap/disposition.
422
- 4. Every material input statement maps to a keyed plan item or an explicit unused/conflict disposition.
423
- 5. Every `REQ` and material `CTRL` state has an `AC`, `EXT`, `DEC` or explicit exception.
424
- 6. Every in-scope interactive surface has purpose, entry/exit, regions and contained Control keys.
425
- 7. Every material interactive control is independently enumerated with applicable placement, behavior, state, feedback and accessibility fields.
426
- 8. Every declared `CTRL` independently states Surface, Region, Control type, Label/content, Location, User task, Visibility, Availability, Trigger, Input, Validation, Default, Interaction, Navigation/result, Loading, Empty, Success, Failure, Recovery, Permission, Feedback and Accessibility.
427
- 9. Every `OBL` is mandatory rather than a suggestion.
428
- 10. No `AC` introduces undeclared product semantics.
429
- 11. Every derived item identifies its basis and changes no user capability, business rule or product scope.
430
- 12. Every delegated item identifies `Delegated By`, its evidence basis and the product meaning it adds.
431
- 13. Delegated choices stay within the low-impact reversible boundary; reserved or conflicting choices remain `DEC`.
432
- 14. Multiple reasonable choices outside recorded delegation remain decisions rather than silent model choices.
433
- 15. Reference or inspiration inputs are not treated as exact targets unless the user requested that authority.
434
- 16. Sample, framework, representative validation and full population are not confused.
435
- 17. Partial implementation is not worded as full completion.
436
- 18. Non-goals and forbidden shortcuts are explicit.
437
- 19. Risks concretely affect scope, verification or recovery rather than repeat a generic template.
438
- 20. No unsupported number, threshold, metric or conclusion appears.
439
- 21. Every `AC` names accepted `REQ`/`CTRL`/`OBL`/`NCOMP` keys and contains exactly one Given/When/Then scenario.
440
- 22. Every `NCOMP` is an explicit source meaning rather than a restated Requirement or non-goal.
441
- 23. Every `RISK` has one exact Fact, one Affected Outcome, Basis and Consequence; ambiguity is a `DEC`.
442
- 24. Every decided control field remains independently traceable instead of being compressed into an aggregate state sentence.
443
- 25. The document contains enough incorporated meaning for later Contract authoring without requiring the original conversation; any still-required external artifact is named explicitly.
436
+ 3. Every supplied artifact appears in the Input Inventory with complete coverage or an explicit gap/disposition.
437
+ 4. Every material input statement maps to a keyed plan item or an explicit unused/conflict disposition.
438
+ 5. Every `REQ` and material `CTRL` state has an `AC`, `EXT`, `DEC` or explicit exception.
439
+ 6. Every in-scope interactive surface has purpose, entry/exit, regions and contained Control keys.
440
+ 7. Every material interactive control is independently enumerated with applicable placement, behavior, state, feedback and accessibility fields.
441
+ 8. Every declared `CTRL` independently states Surface, Region, Control type, Label/content, Location, User task, Visibility, Availability, Trigger, Input, Validation, Default, Interaction, Navigation/result, Loading, Empty, Success, Failure, Recovery, Permission, Feedback and Accessibility.
442
+ 9. Every `OBL` is mandatory rather than a suggestion.
443
+ 10. No `AC` introduces undeclared product semantics.
444
+ 11. Every derived item identifies its basis and changes no user capability, business rule or product scope.
445
+ 12. Every delegated item identifies `Delegated By`, its evidence basis, the known material decision criteria and the product meaning it adds.
446
+ 13. Every delegated recommendation passed the Preference And Research Gate; current external claims use authoritative or primary sources, and any real high-risk action remains an explicit `EXT` rather than implied authorization.
447
+ 14. Every `DEC` is justified by conflicting authority, an explicitly user-reserved choice, a missing material preference or the absence of a defensible recommendation; high impact or multiple options with known criteria alone never create a pause.
448
+ 15. Reference or inspiration inputs are not treated as exact targets unless the user requested that authority.
449
+ 16. Sample, framework, representative validation and full population are not confused.
450
+ 17. Partial implementation is not worded as full completion.
451
+ 18. Non-goals and forbidden shortcuts are explicit.
452
+ 19. Risks concretely affect scope, verification or recovery rather than repeat a generic template.
453
+ 20. No unsupported number, threshold, metric or conclusion appears; every delegated value cites its evidence, known preference, convention or conservative-default basis.
454
+ 21. Every `AC` names accepted `REQ`/`CTRL`/`OBL`/`NCOMP` keys and contains exactly one Given/When/Then scenario.
455
+ 22. Every `NCOMP` is an explicit source meaning rather than a restated Requirement or non-goal.
456
+ 23. Every `RISK` has one exact Fact, one Affected Outcome, Basis and Consequence; ambiguity is a `DEC`.
457
+ 24. Every decided control field remains independently traceable instead of being compressed into an aggregate state sentence.
458
+ 25. The document contains enough incorporated meaning for later Contract authoring without requiring the original conversation; any still-required external artifact is named explicitly.
444
459
 
445
460
  Do not emit a matrix or machine gate. End with:
446
461
 
447
462
  ```text
448
- Completeness status:
449
- - Ready for Contract authoring: yes|no
450
- - Input coverage gaps: none|...
451
- - Surface/control coverage: complete|not applicable|...
452
- - Decisions required: DEC-...
453
- - Advisory implementation hints: HINT-...
454
- - Unbound project facts: ...
463
+ Completeness status:
464
+ - Ready for Contract authoring: yes|no
465
+ - Input coverage gaps: none|...
466
+ - Surface/control coverage: complete|not applicable|...
467
+ - Decisions required: DEC-...
468
+ - Advisory implementation hints: HINT-...
469
+ - Unbound project facts: ...
455
470
  ```
456
471
 
457
472
  ## Non-Goals