theslopmachine 0.4.0 → 0.4.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.
Files changed (42) hide show
  1. package/MANUAL.md +3 -3
  2. package/README.md +36 -12
  3. package/RELEASE.md +9 -7
  4. package/assets/agents/developer.md +51 -250
  5. package/assets/agents/slopmachine.md +253 -401
  6. package/assets/skills/beads-operations/SKILL.md +44 -38
  7. package/assets/skills/clarification-gate/SKILL.md +79 -14
  8. package/assets/skills/developer-session-lifecycle/SKILL.md +97 -35
  9. package/assets/skills/{development-guidance-v2 → development-guidance}/SKILL.md +9 -6
  10. package/assets/skills/{evaluation-triage-v2 → evaluation-triage}/SKILL.md +43 -4
  11. package/assets/skills/final-evaluation-orchestration/SKILL.md +44 -40
  12. package/assets/skills/{hardening-gate-v2 → hardening-gate}/SKILL.md +3 -3
  13. package/assets/skills/{integrated-verification-v2 → integrated-verification}/SKILL.md +6 -5
  14. package/assets/skills/{owner-evidence-discipline-v2 → owner-evidence-discipline}/SKILL.md +3 -3
  15. package/assets/skills/planning-gate/SKILL.md +32 -11
  16. package/assets/skills/{planning-guidance-v2 → planning-guidance}/SKILL.md +29 -9
  17. package/assets/skills/{remediation-guidance-v2 → remediation-guidance}/SKILL.md +3 -3
  18. package/assets/skills/{report-output-discipline-v2 → report-output-discipline}/SKILL.md +3 -3
  19. package/assets/skills/retrospective-analysis/SKILL.md +91 -0
  20. package/assets/skills/scaffold-guidance/SKILL.md +81 -0
  21. package/assets/skills/{session-rollover-v2 → session-rollover}/SKILL.md +3 -3
  22. package/assets/skills/submission-packaging/SKILL.md +163 -197
  23. package/assets/skills/verification-gates/SKILL.md +69 -81
  24. package/assets/slopmachine/templates/AGENTS.md +77 -101
  25. package/assets/slopmachine/{workflow-init-v2.js → workflow-init.js} +2 -2
  26. package/package.json +23 -23
  27. package/src/constants.js +12 -21
  28. package/src/init.js +38 -29
  29. package/src/install.js +123 -23
  30. package/assets/agents/developer-v2.md +0 -86
  31. package/assets/agents/slopmachine-v2.md +0 -219
  32. package/assets/skills/beads-operations-v2/SKILL.md +0 -82
  33. package/assets/skills/clarification-gate-v2/SKILL.md +0 -74
  34. package/assets/skills/developer-session-lifecycle-v2/SKILL.md +0 -148
  35. package/assets/skills/final-evaluation-orchestration-v2/SKILL.md +0 -57
  36. package/assets/skills/get-overlays/SKILL.md +0 -228
  37. package/assets/skills/planning-gate-v2/SKILL.md +0 -91
  38. package/assets/skills/scaffold-guidance-v2/SKILL.md +0 -57
  39. package/assets/skills/submission-packaging-v2/SKILL.md +0 -142
  40. package/assets/skills/verification-gates-v2/SKILL.md +0 -102
  41. package/assets/slopmachine/templates/AGENTS-v2.md +0 -55
  42. package/assets/slopmachine/tracker-init.js +0 -104
@@ -1,20 +1,49 @@
1
1
  ---
2
2
  name: submission-packaging
3
- description: Final delivery packaging checklist and artifact assembly rules for repo-cwd blueprint-driven projects. Use only during the submission packaging phase.
3
+ description: Submission packaging and final closure rules for slopmachine.
4
4
  ---
5
5
 
6
6
  # Submission Packaging
7
7
 
8
- Use this skill only when the project has already passed integrated verification, hardening, and the final evaluation/remediation loop closely enough to qualify for packaging.
8
+ Use this skill only during `P10 Submission Packaging`.
9
9
 
10
- ## Usage rules
10
+ ## Canonical package documents
11
11
 
12
- - Load this skill only in the submission packaging phase.
13
- - Treat it as internal packaging guidance, not developer-visible workflow text.
14
- - Do not use it to justify skipping verification or evaluation gates.
15
- - Packaging is not cleanup theater. Preserve required evidence and remove only local junk, caches, and accidental noise.
16
- - Do not declare packaging complete early.
17
- - Packaging is incomplete until every required step in this skill has been executed and every required artifact path has been verified to exist.
12
+ The canonical package documents under `~/slopmachine/` are:
13
+
14
+ 1. `~/slopmachine/backend-evaluation-prompt.md`
15
+ 2. `~/slopmachine/frontend-evaluation-prompt.md`
16
+ 3. `~/slopmachine/document-completeness.md`
17
+ 4. `~/slopmachine/engineering-results.md`
18
+ 5. `~/slopmachine/implementation-comparison.md`
19
+ 6. `~/slopmachine/quality-document.md`
20
+
21
+ Usage split:
22
+
23
+ - the two evaluation prompt files are used only for evaluation runs
24
+ - the other four files are used during submission packaging to generate the final submission documents
25
+
26
+ Do not invent alternate template sources when these canonical package documents exist.
27
+
28
+ Packaging document mapping:
29
+
30
+ - `~/slopmachine/document-completeness.md` feeds the delivery-completeness and hard-threshold packaging outputs
31
+ - `~/slopmachine/quality-document.md` feeds the engineering-and-architecture packaging output
32
+ - `~/slopmachine/engineering-results.md` feeds the engineering-details-and-professionalism packaging output
33
+ - `~/slopmachine/implementation-comparison.md` feeds the prompt-understanding-and-adaptability packaging output
34
+ - the aesthetics packaging output is based on actual delivered UI evidence, screenshots, and the real shipped product state; use the implementation-comparison and other package docs only as supporting context when relevant
35
+
36
+ ## Core rules
37
+
38
+ - enter `P10` before packaging work begins
39
+ - keep packaging work inside the formal phase window
40
+ - package from an already-clean state instead of compensating for avoidable earlier drift
41
+ - treat formal workflow closure failures as real packaging failures
42
+ - treat this as internal packaging guidance, not developer-visible workflow text
43
+ - do not use it to justify skipping verification or evaluation gates
44
+ - packaging is not cleanup theater; preserve required evidence and remove only local junk, caches, and accidental noise
45
+ - do not declare packaging complete early
46
+ - packaging is incomplete until every required step in this skill has been executed and every required artifact path has been verified to exist
18
47
  - do not stop packaging for approval, status confirmation, or handoff once this phase has begun; continue until the package is complete
19
48
 
20
49
  ## Completion discipline
@@ -27,11 +56,11 @@ Use this skill only when the project has already passed integrated verification,
27
56
 
28
57
  ## Packaging goals
29
58
 
30
- - produce the exact required delivery structure
31
- - make the package reviewable and reproducible
32
- - keep development docs separate from final generated submission artifacts
33
- - include the required docs, metadata, submission artifacts, evidence, and session artifacts
34
- - exclude local-only junk, transient noise, and secret material
59
+ - assemble the required final structure
60
+ - preserve required evidence
61
+ - exclude local-only junk and secret material
62
+ - export session and trajectory artifacts correctly
63
+ - make the final package easy to review
35
64
 
36
65
  ## Required final structure
37
66
 
@@ -50,15 +79,11 @@ The final submission layout in the parent project root must be:
50
79
  - relocated screenshots and proof materials needed for submission review
51
80
  - current working directory delivered as parent-root `repo/`
52
81
  - `../sessions/`
82
+ - `develop-N.json`
83
+ - `bugfix-N.json`
53
84
  - `../metadata.json`
54
- - `../session.json`
55
- - `../session-N.json` when multiple exported sessions exist
56
- - `../trajectory.json`
57
- - `../trajectory-N.json` when multiple trajectories exist
58
85
  - parent-root `../.tmp/` directory moved out of current `.tmp/` when it exists
59
86
 
60
- Do not treat `.ai/` as part of the final submission structure unless the user explicitly changes that requirement later.
61
-
62
87
  ## Required packaging actions
63
88
 
64
89
  - verify the root package structure matches the blueprint exactly
@@ -68,43 +93,55 @@ Do not treat `.ai/` as part of the final submission structure unless the user ex
68
93
  - verify parent-root `../docs/test-coverage.md` exists and reflects the final delivered verification coverage
69
94
  - verify parent-root `../docs/questions.md` exists from the accepted clarification/question record when applicable
70
95
  - create parent-root `../submission/` for final generated submission artifacts and reviewer-facing proof
96
+ - use these exact `~/slopmachine/` document templates as the packaging reference sources:
97
+ - `~/slopmachine/document-completeness.md`
98
+ - `~/slopmachine/engineering-results.md`
99
+ - `~/slopmachine/implementation-comparison.md`
100
+ - `~/slopmachine/quality-document.md`
71
101
  - ensure `README.md` matches the delivered codebase, functionality, runtime steps, and test steps, stays friendly to a junior developer, and does not reference the external docs set in `../docs/`
72
- - include `run_tests.sh`
73
- - relocate evaluation artifacts into parent-root `../submission/`, including:
74
- - backend evaluation report
75
- - frontend evaluation report
102
+ - include `./run_tests.sh` and any supporting runner logic it needs to execute the project's broad test path from a clean environment
103
+ - relocate evaluation artifacts into parent-root `../submission/`
76
104
  - relocate screenshots and proof materials relevant to runtime behavior and major flows into parent-root `../submission/`
77
- - gather required screenshots from test-output or artifact directories and relocate them into parent-root `../submission/` during packaging
78
- - include exported session artifacts at the parent project root using the naming rules:
79
- - `../session.json` for a single exported session
80
- - `../session-N.json` when multiple exported sessions exist
81
- - include trajectory artifacts at the parent project root using the naming rules:
82
- - `../trajectory.json` for a single trajectory
83
- - `../trajectory-N.json` when multiple trajectories exist
84
- - preserve parent-root `../sessions/` as the session artifact directory for any additional exported conversation traces the package needs to retain
85
- - include any required package/tree proof or delivery evidence
105
+ - preserve parent-root `../sessions/` as the session artifact directory for converted workflow session exports
106
+ - export all tracked workflow sessions before generating the final submission documents
107
+ - after the session exports are complete, use the last evaluation session recorded in metadata when generating the final submission report content so the report answers can come from cached evaluation context instead of rebuilding that context from scratch
86
108
 
87
109
  ## Session export sequence
88
110
 
89
- For the developer session, run these exact steps:
111
+ This export sequence must happen first in packaging, before final submission documents are generated.
112
+
113
+ Export every tracked workflow session from metadata.
90
114
 
91
- - this sequence is mandatory
92
- - do not skip, reorder, or replace these commands with approximations
93
- - if one of these commands fails, stop and fix the export pipeline before continuing packaging
94
- - do not proceed to later packaging steps until the export, strip, and trajectory conversion steps have all succeeded
115
+ For each tracked session:
95
116
 
96
- 1. `opencode export <developer-session-id> > ../session-export.json`
97
- 2. `python3 ~/utils/strip_session_parent.py ../session-export.json --output ../session.json`
98
- 3. `python3 ~/utils/convert_ai_session.py -i ../session.json -o ../trajectory.json`
117
+ 1. `opencode export <session-id> > ../session-export-<label>.json`
118
+ 2. `python3 ~/utils/strip_session_parent.py ../session-export-<label>.json --output ../session-clean-<label>.json`
119
+ 3. `python3 ~/utils/convert_ai_session.py -i ../session-clean-<label>.json -o ../sessions/<final-name>.json`
120
+
121
+ Naming rule for converted files under `../sessions/`:
122
+
123
+ - development-phase sessions become `develop-N.json`
124
+ - hardening or remediation sessions become `bugfix-N.json`
99
125
 
100
126
  After those steps:
101
127
 
102
- - keep the cleaned final exported session as parent-root `../session.json` unless multiple exports require `../session-N.json`
103
- - keep the generated final trajectory as parent-root `../trajectory.json` unless multiple trajectories require `../trajectory-N.json`
104
- - treat parent-root `../session-export.json` as a temporary packaging intermediate
105
- - treat parent-root `../session.json` and `../trajectory.json` as final package artifacts unless numbering rules require the `-N` variants
106
- - immediately verify that all expected directories and required files exist before running any later packaging scripts
107
- - if the required utilities or output files are missing, packaging is not ready to continue
128
+ - verify every planned developer session has been exported and converted before continuing packaging
129
+ - keep the converted session outputs in `../sessions/` using the naming rules above
130
+ - treat the `../session-export-*.json` and `../session-clean-*.json` files as temporary packaging intermediates unless the package contract later says otherwise
131
+ - if the required utilities, metadata session ids, or output files are missing, packaging is not ready to continue
132
+ - only after these exports are complete may you generate the final submission documents
133
+
134
+ ## Final report generation order
135
+
136
+ After all session exports are complete:
137
+
138
+ 1. recover the last evaluation session id from metadata
139
+ 2. use that last evaluation session to answer the final submission-document questions from its cached context
140
+ 3. generate the required final submission documents from that evaluation context plus the canonical `~/slopmachine/` reference files
141
+
142
+ Do not start generating the final submission documents before the session exports are complete.
143
+ Do not create a new evaluation session for final report generation if the last evaluation session is still available.
144
+ If the last evaluation session id is missing or unusable, stop and repair metadata/session recovery before continuing packaging.
108
145
 
109
146
  ## Required file moves
110
147
 
@@ -113,168 +150,112 @@ After those steps:
113
150
  - after preserving parent-root `../.tmp/`, collect the relevant evaluation reports and proof artifacts from it into parent-root `../submission/`
114
151
  - collect screenshots and other required proof materials from repo-local runtime/output directories into parent-root `../submission/`
115
152
  - after relocation, the final submission should not require digging through repo-local output directories to find evidence
116
- - find required screenshots in their generated locations and move or copy them into parent-root `../submission/` so reviewers do not have to inspect e2e artifact directories manually
117
- - keep screenshot filenames clear enough that the referenced runtime page, flow, or evidence purpose is understandable from the file name or nearby document reference
153
+ - keep screenshot filenames clear enough that the referenced runtime page, flow, or evidence purpose is understandable
118
154
 
119
155
  ## Repo cleanup rules
120
156
 
121
- Clean the current working directory that will be delivered as parent-root `repo/` before final submission.
122
-
123
- Remove runtime, editor, cache, tooling noise, generated artifacts, and environment junk recursively anywhere in the delivered repo tree, such as:
124
-
125
- - `.git/`
126
- - `.opencode/`
127
- - `.codex/`
128
- - `.vscode/`
129
- - `.env`
130
- - `.env.local`
131
- - `.env.example`
132
- - other env-file variants
133
- - `__pycache__/`
134
- - `.pytest_cache/`
135
- - `node_modules/`
136
- - `.venv/`
137
- - `.net/`
138
- - `playwright-report/`
139
- - `test-results/`
140
- - `dist/` or similar generated build output when not part of the delivered runtime contract
141
- - generated screenshots, reports, and proof artifacts that have already been relocated into parent-root `../submission/`
142
- - `AGENTS.md`
143
- - similar environment-dependent or local-only directories
144
-
157
+ - remove runtime, editor, cache, tooling noise, generated artifacts, and environment junk recursively anywhere in the delivered repo tree
158
+ - do not remove required evidence just because it looks noisy
159
+ - remove `.git/`, `.opencode/`, `.codex/`, `.vscode/`, env-file variants, caches, `node_modules/`, build outputs not part of delivery, raw test artifact directories once evidence is relocated, and repo-local `AGENTS.md`
145
160
  - if repo-local `.tmp/` existed, do not delete it before preserving it as parent-root `../.tmp/`
146
-
147
- - this cleanup is recursive; do not leave forbidden directories or generated junk buried deeper in the repo hierarchy after required artifacts have been moved out
148
-
149
- Product attachment packaging is not allowed.
150
-
151
- Do not include environment-dependent local runtime content in the delivered package.
161
+ - the cleanup is recursive; do not leave forbidden directories or generated junk buried deeper in the repo hierarchy after required artifacts have been moved out
152
162
 
153
163
  ## Validation checklist
154
164
 
155
165
  - confirm the final package contains what reviewers actually need to inspect the project
156
166
  - confirm docs describe delivered behavior, not planned or aspirational behavior
157
167
  - confirm parent-root `../docs/test-coverage.md` explains the tested flows, coverage boundaries, and how the evaluator should interpret the coverage evidence
158
- - confirm generated submission documents exist under parent-root `../submission/` and correspond to the final qualified state, not an older revision
159
- - confirm evaluation reports and screenshots have been relocated into parent-root `../submission/` and correspond to the final qualified state, not an older revision
168
+ - confirm generated submission documents exist under parent-root `../submission/` and correspond to the final qualified state
169
+ - confirm evaluation reports and screenshots have been relocated into parent-root `../submission/`
160
170
  - confirm shared project docs live in parent-root `../docs/` and any accidental repo-local `docs/` copy has been removed from the delivered tree
161
- - confirm repo-local evidence directories have been harvested so required reports and screenshots now live in parent-root `../submission/`
162
171
  - confirm required screenshots have been relocated into parent-root `../submission/`
163
- - confirm parent-root metadata fields are populated correctly:
164
- - `prompt`
165
- - `project_type`
166
- - `frontend_language`
167
- - `backend_language`
168
- - `database`
169
- - `session_id`
170
- - `frontend_framework`
171
- - `backend_framework`
172
- - confirm session export naming rules are followed:
173
- - parent-root `../session.json`
174
- - parent-root `../session-N.json` when multiple exported sessions exist
175
- - parent-root `../trajectory.json`
176
- - parent-root `../trajectory-N.json` when multiple trajectories exist
172
+ - confirm parent-root metadata fields are populated correctly
173
+ - confirm session export naming rules are followed under `../sessions/`:
174
+ - `develop-N.json` for development-phase sessions
175
+ - `bugfix-N.json` for hardening/remediation sessions
177
176
 
178
177
  ## Submission artifact and response contract
179
178
 
180
- Use parent-root `../submission/` for the file-based final generated submission artifacts.
181
-
182
- Keep the generated content tied to the real delivered project, not generic template text.
183
-
184
- Use real screenshots from the delivered product and real project evidence.
185
-
186
- The packaging-stage outputs are two kinds only:
179
+ - use parent-root `../submission/` for file-based final generated submission artifacts
180
+ - keep the generated content tied to the real delivered project, not generic template text
181
+ - use real screenshots from the delivered product and real project evidence
182
+ - generate the submission documents from the four canonical `~/slopmachine/` packaging reference files rather than ad hoc freeform output
183
+ - the packaging-stage outputs are `FILE` outputs under `../submission/` plus `PARAGRAPH` outputs in the final packaging-stage response
187
184
 
188
- - `FILE` outputs: create the specified file under parent-root `../submission/`
189
- - `PARAGRAPH` outputs: answer directly in the final packaging-stage response instead of creating a file
185
+ ### Required FILE outputs
190
186
 
191
- Create these file outputs:
187
+ Create these exact `FILE` outputs under parent-root `../submission/`:
192
188
 
193
189
  1. `FILE` -> `../submission/self-test-results-hard-threshold.md`
194
- - Can the delivered product actually run and be verified, including error pages and successful running pages.
195
- - Include the relevant working app screenshots.
190
+ - based primarily on `~/slopmachine/document-completeness.md` plus actual runtime/test evidence
191
+ - answer whether the delivered product can actually run and be verified
192
+ - include both successful running paths and important failure or error behavior when relevant
193
+ - include the relevant working-app screenshots or equivalent platform artifacts
194
+
196
195
  2. `FILE` -> `../submission/self-test-status-delivery-completeness.md`
197
- - Do the delivered deliverables fully cover the core requirements explicitly stated in the prompt.
198
- - Does the delivered product possess a basic delivery form from 0 to 1 rather than partial functionality, schematic implementation, or code snippets.
199
- - If unable, provide a specific reason.
196
+ - based primarily on `~/slopmachine/document-completeness.md`
197
+ - answer whether the delivered output fully covers the core requirements explicitly stated in the prompt
198
+ - answer whether the delivered product has a basic 0-to-1 delivery shape rather than a partial feature, schematic implementation, tutorial sample, or code fragment
199
+ - if not, give the specific reason
200
+
200
201
  3. `FILE` -> `../submission/self-assessment-engineering-and-architecture-quality.md`
201
- - Based on `~/quality-document.md`.
202
- - Does the delivered product employ a reasonable engineering structure and modular division under the current problem.
203
- - Does the delivered product demonstrate basic maintainability and scalability rather than a temporary or stacked implementation.
204
- - Include a screenshot of the current working directory folder structure that will be delivered as `repo/`.
202
+ - based primarily on `~/slopmachine/quality-document.md`
203
+ - answer whether the delivered product uses a reasonable engineering structure and modular division for the current problem
204
+ - answer whether the delivered product demonstrates basic maintainability and extensibility rather than a temporary or stacked implementation
205
+ - include a screenshot of the current working directory folder structure that will be delivered as `repo/`
206
+
205
207
  4. `FILE` -> `../submission/self-test-results-engineering-details-and-professionalism.md`
206
- - Cover these exact checks:
207
- - Error handling: all APIs return standard HTTP codes and JSON error format
208
- - Logging: key flows have structured logs
209
- - Input validation: all body/query/path params validated
210
- - No secrets/keys in config files
211
- - No `node_modules` / `.venv` committed
212
- - No `console.log("here")` debug statements left in code
208
+ - based primarily on `~/slopmachine/engineering-results.md`
209
+ - cover these exact checks using selected-stack equivalents when the project type changes the exact surface:
210
+ - error handling: API-bearing or platform-equivalent interfaces return appropriate structured errors and user-safe behavior
211
+ - logging: key flows have useful troubleshooting-oriented logs or platform-equivalent diagnostics
212
+ - input validation: important body/query/path/CLI/form/event inputs are validated as applicable to the project type
213
+ - no secrets or keys are committed in config or source files
214
+ - no dependency directories such as `node_modules`, `.venv`, or platform-equivalent local dependency trees are committed
215
+ - no obvious leftover debug statements such as `console.log("here")`, `print("debug")`, or platform-equivalent temporary debugging output remain in shipped code
216
+
213
217
  5. `FILE` -> `../submission/self-test-results-prompt-understanding-and-adaptability.md`
214
- - Explain whether the delivered product accurately understands and responds to business objectives, use cases, and implicit constraints in the prompt rather than merely mechanically implementing presentation-layer technical requirements.
218
+ - based primarily on `~/slopmachine/implementation-comparison.md`
219
+ - explain whether the delivered product accurately understands and responds to business objectives, use cases, and implicit constraints in the prompt rather than mechanically implementing surface-level technical features
220
+
215
221
  6. `FILE` -> `../submission/self-test-results-aesthetics.md`
216
- - Fullstack or pure frontend only.
217
- - Does the visual and interaction of the delivered product fit the scene and is the design aesthetically pleasing.
218
- - If not applicable, write `Not Applicable`.
219
- - If aesthetically unappealing, provide a specific reason.
220
-
221
- In the final packaging-stage response, include these paragraph outputs in order:
222
-
223
- 1. `PARAGRAPH` -> Hard threshold explanation
224
- - Whether the delivered product can actually be operated and verified.
225
- - Whether the delivered product significantly deviates from the prompt topic.
226
- 2. `PARAGRAPH` -> Delivery completeness statement
227
- - Whether the delivered deliverables fully cover the core prompt requirements.
228
- - Whether the delivered product has a real 0-to-1 delivery form rather than partial or schematic output.
229
- - If unable, provide a specific reason.
230
- 3. `PARAGRAPH` -> Engineering and architecture quality statement
231
- 4. `PARAGRAPH` -> Engineering details and professionalism description
232
- - Error handling: all APIs return standard HTTP codes plus JSON error format.
233
- - Logging: key flows have structured logs.
234
- - Input validation: all body/query/path parameters validated.
235
- - No secrets or keys in config files.
236
- - No `node_modules` or `.venv` committed.
237
- - No `console.log("here")` debug statements left in code.
238
- 5. `PARAGRAPH` -> Prompt requirements understanding and adaptability explanation
239
- - Whether the delivered product accurately understands and responds to business objectives, use cases, and implicit constraints in the prompt rather than merely implementing presentation-layer technical requirements.
240
- 6. `PARAGRAPH` -> Aesthetics assessment
241
- - Fullstack or pure frontend only.
242
- - Whether the visual and interaction of the delivered product fit the scene and are aesthetically pleasing.
243
- - If not applicable, state `Not Applicable`.
244
- - If aesthetically unappealing, provide a specific reason.
222
+ - frontend/fullstack/mobile/desktop UI-bearing projects only
223
+ - based primarily on actual delivered UI evidence, screenshots, and the real shipped product state
224
+ - answer whether the visual design and interaction quality fit the actual use case and are aesthetically credible
225
+ - if not applicable, write `Not Applicable`
226
+ - if aesthetically weak, provide the specific reason
245
227
 
246
- Store supporting screenshots and reviewer-facing proof in `../submission/`, including:
228
+ ### Required PARAGRAPH outputs
247
229
 
248
- - repo file structure screenshot
249
- - working app screenshots
250
- - relocated evaluation reports
251
- - other proof artifacts referenced by the generated submission files
230
+ In the final packaging-stage response, include these `PARAGRAPH` outputs in this exact order:
252
231
 
253
- ## Cleanliness rules
232
+ 1. `PARAGRAPH` -> Hard-threshold explanation
233
+ - whether the delivered product can actually be operated and verified
234
+ - whether the delivered product significantly deviates from the prompt topic
254
235
 
255
- - remove caches, temp outputs, build junk, editor noise, and accidental local files that are not part of the package contract
256
- - do not remove required evidence just because it looks noisy
257
- - verify no local secret files or sensitive values are included in the final package
258
- - verify no `.env` or env-file variant exists anywhere in the delivered repo tree or related package artifacts
259
- - verify the delivered package can be started from scratch without any preexisting `.env` file; if runtime env-file generation is part of the stack, it must be generated ephemerally from Docker-provided variables rather than shipped as a package artifact
260
- - verify frontend screenshots do not show demo/debug/setup leakage
261
- - verify evaluation rebuttal notes, if any, remain attached to the relevant evaluation reports
262
- - verify the final package does not include pointless tests or artifacts whose only purpose was to assert documentation-directory existence
263
- - verify that required submission artifacts and evidence are centralized under parent-root `../submission/` rather than scattered across repo-local output directories
264
- - do not leave required screenshots stranded only inside raw e2e artifact directories
265
-
266
- ## Optional final archive
267
-
268
- - after packaging is complete, you may create a parent-root zip archive for handoff review
269
- - if you do, the archive should include the final delivered structures and exports only
270
- - because final submission artifacts now live under `../submission/`, include it alongside the other delivered paths
271
- - recommended parent-root archive contents are:
272
- - `docs/`
273
- - `submission/`
274
- - `repo/`
275
- - `session*.json`
276
- - `sessions/`
277
- - `trajectory*.json`
236
+ 2. `PARAGRAPH` -> Delivery-completeness statement
237
+ - whether the delivered output fully covers the core prompt requirements
238
+ - whether the delivered product has a real 0-to-1 delivery shape rather than partial or schematic output
239
+ - if not, provide the specific reason
240
+
241
+ 3. `PARAGRAPH` -> Engineering-and-architecture quality statement
242
+
243
+ 4. `PARAGRAPH` -> Engineering-details-and-professionalism description
244
+ - error handling
245
+ - logging or equivalent diagnostics
246
+ - input validation
247
+ - no committed secrets or keys
248
+ - no committed dependency directories such as `node_modules` or `.venv`
249
+ - no leftover debug statements
250
+
251
+ 5. `PARAGRAPH` -> Prompt-understanding-and-adaptability explanation
252
+ - whether the delivered product accurately understands and responds to business objectives, use cases, and implicit constraints in the prompt rather than merely implementing presentation-layer technical requirements
253
+
254
+ 6. `PARAGRAPH` -> Aesthetics assessment
255
+ - UI-bearing projects only
256
+ - whether the visual and interaction quality fit the actual use case and are aesthetically credible
257
+ - if not applicable, state `Not Applicable`
258
+ - if aesthetically weak, provide the specific reason
278
259
 
279
260
  ## Final packaging verification
280
261
 
@@ -282,19 +263,4 @@ Store supporting screenshots and reviewer-facing proof in `../submission/`, incl
282
263
  - confirm the package is coherent as a delivered submission, not just a working repo snapshot
283
264
  - confirm the final git checkpoint can be created cleanly for the packaged state
284
265
  - if packaging reveals a real defect or missing artifact, fix it before closing the phase
285
-
286
- ## Required completion checklist
287
-
288
- Do not close packaging until all of these are true:
289
-
290
- - final docs exist in parent-root `../docs/`
291
- - any accidental repo-local `docs/` copy no longer remains in the delivered repo tree
292
- - parent-root `../metadata.json` exists and is populated correctly
293
- - parent-root `../session.json` or `../session-N.json` exists as required
294
- - parent-root `../trajectory.json` or `../trajectory-N.json` exists as required
295
- - parent-root `../sessions/` exists
296
- - generated submission files exist under parent-root `../submission/`
297
- - evaluation reports are present under parent-root `../submission/`
298
- - required screenshots and proof materials are present under parent-root `../submission/`
299
- - delivered repo no longer contains forbidden junk directories
300
- - final structure matches the required layout exactly
266
+ - do not close packaging until all required docs, exports, submission files, screenshots, and cleanup conditions are satisfied