codex-genesis-harness 0.1.0 → 0.1.1

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 (231) hide show
  1. package/.codebase/API_CONTRACTS.md +12 -0
  2. package/.codebase/ARCHITECTURE.md +6 -0
  3. package/.codebase/CURRENT_STATE.md +6 -0
  4. package/.codebase/DEPENDENCY_GRAPH.md +14 -0
  5. package/.codebase/DOMAIN_MODELS.md +8 -0
  6. package/.codebase/EVOLUTION_PLAN.md +35 -0
  7. package/.codebase/KNOWN_PROBLEMS.md +6 -0
  8. package/.codebase/MODULE_INDEX.md +13 -0
  9. package/.codebase/PIPELINE_FLOW.md +14 -0
  10. package/.codebase/TEST_MATRIX.md +11 -0
  11. package/.codebase/UI_ROUTES.md +4 -0
  12. package/.codebase/context/backend-summary.md +4 -0
  13. package/.codebase/context/frontend-summary.md +4 -0
  14. package/.codebase/context/pipeline-summary.md +4 -0
  15. package/.codebase/context/providers-summary.md +4 -0
  16. package/.codebase/context/render-summary.md +4 -0
  17. package/.codebase/context/tests-summary.md +4 -0
  18. package/.codex/skills/ai-provider-skill/SKILL.md +46 -0
  19. package/.codex/skills/ai-provider-skill/agents/openai.yaml +7 -0
  20. package/.codex/skills/ai-provider-skill/checklists/checklist.md +9 -0
  21. package/.codex/skills/ai-provider-skill/examples/example.md +4 -0
  22. package/.codex/skills/ai-provider-skill/templates/provider-contract-template.md +9 -0
  23. package/.codex/skills/api-contract-skill/SKILL.md +46 -0
  24. package/.codex/skills/api-contract-skill/agents/openai.yaml +7 -0
  25. package/.codex/skills/api-contract-skill/checklists/checklist.md +8 -0
  26. package/.codex/skills/api-contract-skill/examples/example.md +4 -0
  27. package/.codex/skills/api-contract-skill/templates/api-contract-template.md +4 -0
  28. package/.codex/skills/architecture-skill/SKILL.md +46 -0
  29. package/.codex/skills/architecture-skill/agents/openai.yaml +7 -0
  30. package/.codex/skills/architecture-skill/checklists/checklist.md +8 -0
  31. package/.codex/skills/architecture-skill/examples/example.md +4 -0
  32. package/.codex/skills/architecture-skill/templates/architecture-decision-template.md +14 -0
  33. package/.codex/skills/codebase-map-skill/SKILL.md +46 -0
  34. package/.codex/skills/codebase-map-skill/agents/openai.yaml +7 -0
  35. package/.codex/skills/codebase-map-skill/checklists/checklist.md +7 -0
  36. package/.codex/skills/codebase-map-skill/examples/example.md +4 -0
  37. package/.codex/skills/codebase-map-skill/templates/map-update-template.md +8 -0
  38. package/.codex/skills/design-spec-skill/SKILL.md +46 -0
  39. package/.codex/skills/design-spec-skill/agents/openai.yaml +7 -0
  40. package/.codex/skills/design-spec-skill/checklists/checklist.md +7 -0
  41. package/.codex/skills/design-spec-skill/examples/example.md +4 -0
  42. package/.codex/skills/design-spec-skill/templates/design-spec-template.md +9 -0
  43. package/.codex/skills/docs-skill/SKILL.md +46 -0
  44. package/.codex/skills/docs-skill/agents/openai.yaml +7 -0
  45. package/.codex/skills/docs-skill/checklists/checklist.md +7 -0
  46. package/.codex/skills/docs-skill/examples/example.md +4 -0
  47. package/.codex/skills/docs-skill/templates/docs-update-template.md +8 -0
  48. package/.codex/skills/{project-genesis-harness → genesis-harness}/SKILL.md +43 -4
  49. package/.codex/skills/genesis-harness/agents/openai.yaml +9 -0
  50. package/.codex/skills/genesis-harness/checklists/checklist.md +10 -0
  51. package/.codex/skills/genesis-harness/examples/example.md +4 -0
  52. package/.codex/skills/genesis-harness/templates/harness-workflow-template.md +10 -0
  53. package/.codex/skills/genesis-new-design/SKILL.md +95 -0
  54. package/.codex/skills/genesis-new-design/agents/openai.yaml +4 -0
  55. package/.codex/skills/genesis-new-design/checklists/checklist.md +8 -0
  56. package/.codex/skills/genesis-new-design/examples/example.md +4 -0
  57. package/.codex/skills/genesis-new-design/templates/new-design-template.md +9 -0
  58. package/.codex/skills/genesis-upgrade-design/SKILL.md +97 -0
  59. package/.codex/skills/genesis-upgrade-design/agents/openai.yaml +4 -0
  60. package/.codex/skills/genesis-upgrade-design/checklists/checklist.md +8 -0
  61. package/.codex/skills/genesis-upgrade-design/examples/example.md +4 -0
  62. package/.codex/skills/genesis-upgrade-design/templates/upgrade-design-template.md +9 -0
  63. package/.codex/skills/harness-engineering-skill/SKILL.md +45 -0
  64. package/.codex/skills/harness-engineering-skill/agents/openai.yaml +7 -0
  65. package/.codex/skills/harness-engineering-skill/checklists/checklist.md +8 -0
  66. package/.codex/skills/harness-engineering-skill/examples/example.md +4 -0
  67. package/.codex/skills/harness-engineering-skill/templates/harness-change-template.md +8 -0
  68. package/.codex/skills/pipeline-orchestration-skill/SKILL.md +46 -0
  69. package/.codex/skills/pipeline-orchestration-skill/agents/openai.yaml +7 -0
  70. package/.codex/skills/pipeline-orchestration-skill/checklists/checklist.md +12 -0
  71. package/.codex/skills/pipeline-orchestration-skill/examples/example.md +4 -0
  72. package/.codex/skills/pipeline-orchestration-skill/templates/orchestration-template.md +12 -0
  73. package/.codex/skills/planning-skill/SKILL.md +46 -0
  74. package/.codex/skills/planning-skill/agents/openai.yaml +7 -0
  75. package/.codex/skills/planning-skill/checklists/checklist.md +8 -0
  76. package/.codex/skills/planning-skill/examples/example.md +4 -0
  77. package/.codex/skills/planning-skill/templates/plan-template.md +11 -0
  78. package/.codex/skills/release-skill/SKILL.md +46 -0
  79. package/.codex/skills/release-skill/agents/openai.yaml +7 -0
  80. package/.codex/skills/release-skill/checklists/checklist.md +8 -0
  81. package/.codex/skills/release-skill/examples/example.md +4 -0
  82. package/.codex/skills/release-skill/templates/release-checklist-template.md +9 -0
  83. package/.codex/skills/research-skill/SKILL.md +46 -0
  84. package/.codex/skills/research-skill/agents/openai.yaml +7 -0
  85. package/.codex/skills/research-skill/checklists/checklist.md +7 -0
  86. package/.codex/skills/research-skill/examples/example.md +4 -0
  87. package/.codex/skills/research-skill/templates/research-note-template.md +9 -0
  88. package/.codex/skills/ui-ux-test-skill/SKILL.md +46 -0
  89. package/.codex/skills/ui-ux-test-skill/agents/openai.yaml +7 -0
  90. package/.codex/skills/ui-ux-test-skill/checklists/checklist.md +8 -0
  91. package/.codex/skills/ui-ux-test-skill/examples/example.md +4 -0
  92. package/.codex/skills/ui-ux-test-skill/templates/playwright-test-template.md +4 -0
  93. package/.codex-plugin/plugin.json +13 -11
  94. package/README.md +164 -181
  95. package/bin/genesis-harness.js +124 -79
  96. package/contracts/agents/CharacterBibleAgent/error.json +1 -0
  97. package/contracts/agents/CharacterBibleAgent/example.json +1 -0
  98. package/contracts/agents/CharacterBibleAgent/request.json +1 -0
  99. package/contracts/agents/CharacterBibleAgent/response.json +1 -0
  100. package/contracts/agents/CharacterBibleAgent/schema.json +1 -0
  101. package/contracts/agents/ImageGenerationAgent/error.json +1 -0
  102. package/contracts/agents/ImageGenerationAgent/example.json +1 -0
  103. package/contracts/agents/ImageGenerationAgent/request.json +1 -0
  104. package/contracts/agents/ImageGenerationAgent/response.json +1 -0
  105. package/contracts/agents/ImageGenerationAgent/schema.json +1 -0
  106. package/contracts/agents/PipelineOrchestrator/error.json +1 -0
  107. package/contracts/agents/PipelineOrchestrator/example.json +1 -0
  108. package/contracts/agents/PipelineOrchestrator/request.json +1 -0
  109. package/contracts/agents/PipelineOrchestrator/response.json +1 -0
  110. package/contracts/agents/PipelineOrchestrator/schema.json +1 -0
  111. package/contracts/agents/PromptGenerationAgent/error.json +1 -0
  112. package/contracts/agents/PromptGenerationAgent/example.json +1 -0
  113. package/contracts/agents/PromptGenerationAgent/request.json +1 -0
  114. package/contracts/agents/PromptGenerationAgent/response.json +1 -0
  115. package/contracts/agents/PromptGenerationAgent/schema.json +1 -0
  116. package/contracts/agents/RenderAgent/error.json +1 -0
  117. package/contracts/agents/RenderAgent/example.json +1 -0
  118. package/contracts/agents/RenderAgent/request.json +1 -0
  119. package/contracts/agents/RenderAgent/response.json +1 -0
  120. package/contracts/agents/RenderAgent/schema.json +1 -0
  121. package/contracts/agents/ScenePlanningAgent/error.json +1 -0
  122. package/contracts/agents/ScenePlanningAgent/example.json +1 -0
  123. package/contracts/agents/ScenePlanningAgent/request.json +1 -0
  124. package/contracts/agents/ScenePlanningAgent/response.json +1 -0
  125. package/contracts/agents/ScenePlanningAgent/schema.json +1 -0
  126. package/contracts/agents/ScreenplayAgent/error.json +1 -0
  127. package/contracts/agents/ScreenplayAgent/example.json +1 -0
  128. package/contracts/agents/ScreenplayAgent/request.json +1 -0
  129. package/contracts/agents/ScreenplayAgent/response.json +1 -0
  130. package/contracts/agents/ScreenplayAgent/schema.json +1 -0
  131. package/contracts/agents/StoryAnalysisAgent/error.json +1 -0
  132. package/contracts/agents/StoryAnalysisAgent/example.json +1 -0
  133. package/contracts/agents/StoryAnalysisAgent/request.json +1 -0
  134. package/contracts/agents/StoryAnalysisAgent/response.json +1 -0
  135. package/contracts/agents/StoryAnalysisAgent/schema.json +1 -0
  136. package/contracts/agents/SubtitleGenerationAgent/error.json +1 -0
  137. package/contracts/agents/SubtitleGenerationAgent/example.json +1 -0
  138. package/contracts/agents/SubtitleGenerationAgent/request.json +1 -0
  139. package/contracts/agents/SubtitleGenerationAgent/response.json +1 -0
  140. package/contracts/agents/SubtitleGenerationAgent/schema.json +1 -0
  141. package/contracts/agents/VoiceGenerationAgent/error.json +1 -0
  142. package/contracts/agents/VoiceGenerationAgent/example.json +1 -0
  143. package/contracts/agents/VoiceGenerationAgent/request.json +1 -0
  144. package/contracts/agents/VoiceGenerationAgent/response.json +1 -0
  145. package/contracts/agents/VoiceGenerationAgent/schema.json +1 -0
  146. package/contracts/api/README.md +4 -0
  147. package/contracts/api/endpoint-template/error.json +7 -0
  148. package/contracts/api/endpoint-template/example.json +11 -0
  149. package/contracts/api/endpoint-template/request.json +7 -0
  150. package/contracts/api/endpoint-template/response.json +6 -0
  151. package/contracts/api/endpoint-template/schema.json +9 -0
  152. package/contracts/events/README.md +4 -0
  153. package/contracts/events/event-template/error.json +4 -0
  154. package/contracts/events/event-template/example.json +6 -0
  155. package/contracts/events/event-template/request.json +6 -0
  156. package/contracts/events/event-template/response.json +3 -0
  157. package/contracts/events/event-template/schema.json +8 -0
  158. package/contracts/ui/README.md +4 -0
  159. package/contracts/ui/screen-template/error.json +4 -0
  160. package/contracts/ui/screen-template/example.json +7 -0
  161. package/contracts/ui/screen-template/request.json +4 -0
  162. package/contracts/ui/screen-template/response.json +4 -0
  163. package/contracts/ui/screen-template/schema.json +8 -0
  164. package/fixtures/agents/agent-fixture-template.md +14 -0
  165. package/fixtures/api/api-fixture-template.md +14 -0
  166. package/fixtures/images/image-fixture-template.md +14 -0
  167. package/fixtures/pipeline/pipeline-fixture-template.md +14 -0
  168. package/fixtures/render/render-fixture-template.md +14 -0
  169. package/fixtures/tts/tts-fixture-template.md +14 -0
  170. package/fixtures/videos/video-fixture-template.md +14 -0
  171. package/observability/agent-runs/agent-run-template.md +22 -0
  172. package/observability/decision-logs/decision-log-template.md +18 -0
  173. package/observability/failures/failure-template.md +18 -0
  174. package/package.json +8 -2
  175. package/playwright/e2e/e2e-template.md +4 -0
  176. package/playwright/fixtures/ui-fixture-template.md +4 -0
  177. package/playwright/smoke/smoke-template.md +4 -0
  178. package/playwright/visual/visual-regression-template.md +4 -0
  179. package/scripts/install.sh +64 -39
  180. package/scripts/run-evals.sh +61 -22
  181. package/scripts/uninstall.sh +40 -20
  182. package/scripts/verify.sh +234 -55
  183. package/tests/contracts/contract-template.test.md +10 -0
  184. package/tests/fixtures/fixture-index.md +4 -0
  185. package/tests/integration/integration-template.test.md +4 -0
  186. package/tests/unit/unit-template.test.md +4 -0
  187. package/.codex/skills/project-genesis-harness/agents/openai.yaml +0 -9
  188. /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/planning-schema.md +0 -0
  189. /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/quality-rubric.md +0 -0
  190. /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/research-rubric.md +0 -0
  191. /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/workflows.md +0 -0
  192. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/agents-template.md +0 -0
  193. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/api-docs-template.md +0 -0
  194. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/architecture-template.md +0 -0
  195. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/audit-template.md +0 -0
  196. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/bug-template.md +0 -0
  197. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/check-template.md +0 -0
  198. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/conventions-template.md +0 -0
  199. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/decision-template.md +0 -0
  200. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/design-template.md +0 -0
  201. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/escalation-template.md +0 -0
  202. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/feature-template.md +0 -0
  203. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/integrations-template.md +0 -0
  204. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/journeys-template.md +0 -0
  205. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/lessons-learned-template.md +0 -0
  206. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/observability-template.md +0 -0
  207. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/phase-template.md +0 -0
  208. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/pitfalls-template.md +0 -0
  209. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/planning-tree-template.md +0 -0
  210. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/project-template.md +0 -0
  211. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/quality-score-template.md +0 -0
  212. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/requirements-template.md +0 -0
  213. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/research-template.md +0 -0
  214. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/review-template.md +0 -0
  215. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/spec-changelog-template.md +0 -0
  216. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/stack-template.md +0 -0
  217. /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/verification-template.md +0 -0
  218. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-architecture-boundaries.sh +0 -0
  219. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-docs-sync.sh +0 -0
  220. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-no-debug-logs.sh +0 -0
  221. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-required-planning-files.sh +0 -0
  222. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-spec-changelog.sh +0 -0
  223. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-task-tracking.sh +0 -0
  224. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/create-adr.sh +0 -0
  225. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/create-bug.sh +0 -0
  226. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/create-feature.sh +0 -0
  227. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/detect-stack.sh +0 -0
  228. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/init-planning.sh +0 -0
  229. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/list-changed-files.sh +0 -0
  230. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/run-verification.sh +0 -0
  231. /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/update-state.sh +0 -0
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: release-skill
3
+ description: Prepare Codex harness package releases with version checks, package dry-runs, npm publish readiness, release notes, verification evidence, and rollback notes. Use before publishing or tagging releases.
4
+ ---
5
+
6
+ # Release Skill
7
+
8
+ ## Purpose
9
+ Ensure package releases are verified, reproducible, and reversible.
10
+
11
+ ## When to use
12
+ Use before npm publish, version bumps, release notes, or release automation changes.
13
+
14
+ ## When NOT to use
15
+ Do not use for local-only edits that will not be packaged or released.
16
+
17
+ ## Inputs required
18
+ Target version, changed files, verification output, package contents, and publish credentials status.
19
+
20
+ ## Outputs required
21
+ Release checklist, package dry-run evidence, release notes, known risks, and rollback instructions.
22
+
23
+ ## Required tests
24
+ Run verify, eval, package dry-run, and CLI smoke tests.
25
+
26
+ ## Required fixtures
27
+ Update release fixtures or package content expectations when packaging changes.
28
+
29
+ ## Required contract updates
30
+ Update public contract docs when release changes CLI or skill behavior.
31
+
32
+ ## Required codebase map updates
33
+ Update current state and known problems after release preparation.
34
+
35
+ ## Token saving rules
36
+ Read package metadata and release memory first; do not re-scan unchanged skill bodies.
37
+
38
+ ## Acceptance criteria
39
+ Tarball contents are correct and release notes explain behavior, tests, and risks.
40
+
41
+ ## Common mistakes
42
+ Publishing cache files, missing executable scripts, and omitting npm 2FA/token readiness.
43
+
44
+ ## Recovery workflow
45
+ If publish fails, capture error, update known problems, do not change version until root cause is fixed.
46
+
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: "Release Skill"
3
+ short_description: "Prepare verified npm releases"
4
+ default_prompt: "Use $release-skill to verify package contents and release readiness."
5
+ policy:
6
+ allow_implicit_invocation: true
7
+
@@ -0,0 +1,8 @@
1
+ # Release Checklist
2
+
3
+ - [ ] Verify passed.
4
+ - [ ] Evals passed.
5
+ - [ ] Pack dry-run inspected.
6
+ - [ ] Version confirmed.
7
+ - [ ] Publish credentials ready.
8
+
@@ -0,0 +1,4 @@
1
+ # Example
2
+
3
+ Before `npm publish`, run verify, eval, pack dry-run, inspect tarball contents, then document publish risks.
4
+
@@ -0,0 +1,9 @@
1
+ # Release Checklist Template
2
+
3
+ ## Version
4
+ ## Verification
5
+ ## Package Contents
6
+ ## Release Notes
7
+ ## Risks
8
+ ## Rollback
9
+
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: research-skill
3
+ description: Run local and external research for Codex harness decisions with source attribution, repository evidence, assumptions, and reusable research notes. Use before adopting APIs, SDKs, architecture patterns, or uncertain implementation approaches.
4
+ ---
5
+
6
+ # Research Skill
7
+
8
+ ## Purpose
9
+ Ground decisions in repository evidence and current authoritative sources.
10
+
11
+ ## When to use
12
+ Use when facts may be stale, external APIs are involved, or implementation direction is uncertain.
13
+
14
+ ## When NOT to use
15
+ Do not use when local code already answers the question and no external fact is needed.
16
+
17
+ ## Inputs required
18
+ Research question, decision needed, local files, external source constraints, and acceptance criteria.
19
+
20
+ ## Outputs required
21
+ Research note with local evidence, external citations, recommendation, rejected options, and follow-up tests.
22
+
23
+ ## Required tests
24
+ Translate research into failing tests or contract checks before implementation.
25
+
26
+ ## Required fixtures
27
+ Create fixtures for researched API examples or edge cases.
28
+
29
+ ## Required contract updates
30
+ Update contracts if research changes public behavior or schemas.
31
+
32
+ ## Required codebase map updates
33
+ Update memory files with durable conclusions and source dates.
34
+
35
+ ## Token saving rules
36
+ Search targeted files first; summarize sources and avoid pasting long excerpts.
37
+
38
+ ## Acceptance criteria
39
+ Decision is supported by evidence and converted into testable work.
40
+
41
+ ## Common mistakes
42
+ Researching broadly without a decision, trusting stale docs, and failing to encode findings in tests.
43
+
44
+ ## Recovery workflow
45
+ If research conflicts, prefer primary sources, document uncertainty, and choose the smallest reversible test.
46
+
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: "Research Skill"
3
+ short_description: "Ground harness decisions in evidence"
4
+ default_prompt: "Use $research-skill to gather evidence before choosing an implementation path."
5
+ policy:
6
+ allow_implicit_invocation: true
7
+
@@ -0,0 +1,7 @@
1
+ # Research Checklist
2
+
3
+ - [ ] Local evidence checked.
4
+ - [ ] Primary sources used.
5
+ - [ ] Recommendation testable.
6
+ - [ ] Memory updated.
7
+
@@ -0,0 +1,4 @@
1
+ # Example
2
+
3
+ Research a provider SDK version, capture official docs, then create a contract fixture for the expected response.
4
+
@@ -0,0 +1,9 @@
1
+ # Research Note Template
2
+
3
+ ## Question
4
+ ## Local Evidence
5
+ ## External Evidence
6
+ ## Recommendation
7
+ ## Rejected Options
8
+ ## Tests To Add
9
+
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: ui-ux-test-skill
3
+ description: Create UI smoke, e2e, interaction, validation, API synchronization, and visual regression tests before frontend changes. Use for screens, flows, forms, dashboards, and UI regressions.
4
+ ---
5
+
6
+ # UI UX Test Skill
7
+
8
+ ## Purpose
9
+ Make UI quality measurable through Playwright and fixture-backed tests.
10
+
11
+ ## When to use
12
+ Use before implementing or upgrading UI routes, states, interactions, or visual behavior.
13
+
14
+ ## When NOT to use
15
+ Do not use for non-UI changes.
16
+
17
+ ## Inputs required
18
+ Route, role, viewport, API fixture, user actions, expected UI states, and visual references.
19
+
20
+ ## Outputs required
21
+ Playwright test plan, fixtures, visual regression expectations, and API sync assertions.
22
+
23
+ ## Required tests
24
+ Load, interaction, validation, API synchronization, and visual regression tests.
25
+
26
+ ## Required fixtures
27
+ Create route fixtures under `playwright/fixtures/`.
28
+
29
+ ## Required contract updates
30
+ Update `contracts/ui/` for every changed screen state.
31
+
32
+ ## Required codebase map updates
33
+ Update `.codebase/UI_ROUTES.md` and `TEST_MATRIX.md`.
34
+
35
+ ## Token saving rules
36
+ Read UI route map and fixture first; inspect only the route and components under test.
37
+
38
+ ## Acceptance criteria
39
+ The UI has automated coverage for key workflows and visual states.
40
+
41
+ ## Common mistakes
42
+ Testing only page load, skipping mobile, and ignoring API synchronization.
43
+
44
+ ## Recovery workflow
45
+ If visual tests are flaky, stabilize fixtures and selectors before changing assertions.
46
+
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: "UI UX Test Skill"
3
+ short_description: "Create UI and visual regression tests"
4
+ default_prompt: "Use $ui-ux-test-skill to create Playwright tests before UI changes."
5
+ policy:
6
+ allow_implicit_invocation: true
7
+
@@ -0,0 +1,8 @@
1
+ # UI Test Checklist
2
+
3
+ - [ ] Load test.
4
+ - [ ] Interaction test.
5
+ - [ ] Validation test.
6
+ - [ ] API sync test.
7
+ - [ ] Visual regression test.
8
+
@@ -0,0 +1,4 @@
1
+ # Example
2
+
3
+ Test dashboard load, filter interaction, validation message, API response sync, and desktop/mobile screenshots.
4
+
@@ -0,0 +1,4 @@
1
+ # Playwright Test Template
2
+
3
+ Use `playwright/e2e`, `playwright/smoke`, `playwright/visual`, and `playwright/fixtures`.
4
+
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "project-genesis-harness",
2
+ "name": "genesis-skill-set",
3
3
  "version": "0.1.0",
4
- "description": "Codex project operating harness for planning, tracking, verification, docs sync, and reviews.",
4
+ "description": "Genesis harness skill system for Codex test-first, contract-first, memory-aware autonomous workflows.",
5
5
  "author": {
6
- "name": "Project Genesis Harness"
6
+ "name": "Genesis Skill Set"
7
7
  },
8
8
  "license": "MIT",
9
9
  "keywords": [
@@ -11,23 +11,25 @@
11
11
  "skill",
12
12
  "planning",
13
13
  "verification",
14
- "engineering"
14
+ "engineering",
15
+ "design",
16
+ "frontend"
15
17
  ],
16
18
  "skills": "./.codex/skills/",
17
19
  "interface": {
18
- "displayName": "Project Genesis Harness",
19
- "shortDescription": "Planning and verification harness for Codex",
20
- "longDescription": "A Codex plugin that installs the project-genesis-harness skill for disciplined project initialization, feature planning, bug workflows, documentation synchronization, verification, audits, and completion reports.",
21
- "developerName": "Project Genesis Harness",
20
+ "displayName": "Genesis Skill Set",
21
+ "shortDescription": "Test-first, contract-first Codex harness skills",
22
+ "longDescription": "A Codex plugin that installs the Genesis harness skill system: planning, architecture, codebase mapping, design specs, API contracts, UI tests, AI provider reliability, pipeline orchestration, research, docs, release workflows, repository memory, contracts, fixtures, Playwright templates, observability templates, and frontend design skills.",
23
+ "developerName": "Genesis Skill Set",
22
24
  "category": "Productivity",
23
25
  "capabilities": [
24
26
  "Write",
25
27
  "Review"
26
28
  ],
27
29
  "defaultPrompt": [
28
- "Use $project-genesis-harness and run /init.",
29
- "Use $project-genesis-harness to plan this feature.",
30
- "Use $project-genesis-harness to audit this repo."
30
+ "Use $genesis-harness and run /init.",
31
+ "Use $pipeline-orchestration-skill to run the full test-first harness workflow.",
32
+ "Use $api-contract-skill to create endpoint contracts and tests before implementation."
31
33
  ],
32
34
  "brandColor": "#2563EB"
33
35
  }
package/README.md CHANGED
@@ -1,181 +1,164 @@
1
- # Project Genesis Harness
2
-
3
- Project Genesis Harness is a Codex skill that turns Codex into a project operating harness: planning first, repository inspection, task tracking, test-first implementation, docs synchronization, architecture decisions, Mermaid diagrams, audits, and completion reports.
4
-
5
- ## Install
6
-
7
- ### From npm
8
-
9
- After the package is published to npm:
10
-
11
- ```sh
12
- npm install -g codex-genesis-harness@latest
13
- ```
14
-
15
- The package auto-installs the Codex skill into:
16
-
17
- ```txt
18
- ~/.agents/skills/project-genesis-harness
19
- ~/.codex/skills/project-genesis-harness
20
- ```
21
-
22
- You can also manage it manually:
23
-
24
- ```sh
25
- genesis-harness install
26
- genesis-harness verify
27
- genesis-harness uninstall
28
- ```
29
-
30
- Install only one target:
31
-
32
- ```sh
33
- genesis-harness install --target agents
34
- genesis-harness install --target legacy
35
- genesis-harness install --target both
36
- ```
37
-
38
- To skip auto-install during npm installation:
39
-
40
- ```sh
41
- GENESIS_HARNESS_SKIP_POSTINSTALL=1 npm install -g codex-genesis-harness@latest
42
- ```
43
-
44
- ### From Git
45
-
46
- Clone or download this repository, then run:
47
-
48
- ```sh
49
- ./scripts/install.sh
50
- ```
51
-
52
- By default, the installer copies the skill to:
53
-
54
- ```txt
55
- ~/.agents/skills/project-genesis-harness
56
- ~/.codex/skills/project-genesis-harness
57
- ```
58
-
59
- If you use a custom Codex home:
60
-
61
- ```sh
62
- CODEX_HOME=/path/to/.codex ./scripts/install.sh
63
- ```
64
-
65
- If you use a custom modern skills home:
66
-
67
- ```sh
68
- GENESIS_HARNESS_HOME=/path/to/.agents ./scripts/install.sh
69
- ```
70
-
71
- ## Verify
72
-
73
- ```sh
74
- ./scripts/verify.sh
75
- ```
76
-
77
- Verify an installed copy:
78
-
79
- ```sh
80
- ./scripts/verify.sh ~/.codex/skills/project-genesis-harness
81
- ```
82
-
83
- ## Uninstall
84
-
85
- ```sh
86
- ./scripts/uninstall.sh
87
- ```
88
-
89
- ## Use
90
-
91
- After installing, invoke the skill in Codex when working in a project:
92
-
93
- ```txt
94
- Use $project-genesis-harness and run /init.
95
- ```
96
-
97
- The skill supports:
98
-
99
- - `/init`
100
- - `/new-feature <description>`
101
- - `/fix-bug <description>`
102
- - `/plan <description>`
103
- - `/audit`
104
- - `/review`
105
- - `/status`
106
-
107
- ## What Gets Installed
108
-
109
- ```txt
110
- .codex/skills/project-genesis-harness/
111
- ├── SKILL.md
112
- ├── agents/openai.yaml
113
- ├── resources/
114
- └── scripts/
115
- ```
116
-
117
- The skill itself can initialize a target project with a `.planning/` knowledge base after the project brief is confirmed.
118
-
119
- ## Plugin Metadata
120
-
121
- This repository includes:
122
-
123
- ```txt
124
- .codex-plugin/plugin.json
125
- ```
126
-
127
- The plugin manifest points Codex-compatible plugin tooling at the packaged skill under `.codex/skills/`.
128
-
129
- ## Publish To npm
130
-
131
- The npm package name is:
132
-
133
- ```txt
134
- codex-genesis-harness
135
- ```
136
-
137
- Publish flow:
138
-
139
- ```sh
140
- npm login
141
- npm run verify
142
- npm run eval
143
- npm run pack:check
144
- npm version patch
145
- npm publish --access public
146
- ```
147
-
148
- The package is intentionally unscoped so it can be published by the token owner without requiring a pre-created npm organization or scope.
149
-
150
- ## GitHub Actions npm Publish
151
-
152
- This repository includes `.github/workflows/publish-npm.yml`.
153
-
154
- On every push to `main`, the workflow:
155
-
156
- 1. runs `npm run verify`
157
- 2. runs `npm run eval`
158
- 3. runs `npm run pack:check`
159
- 4. derives a unique CI version like `0.1.0-ci.123.1`
160
- 5. publishes `codex-genesis-harness` to npm with the `latest` tag
161
-
162
- Required GitHub secret:
163
-
164
- ```txt
165
- NPM_TOKEN
166
- ```
167
-
168
- Create it from npm with publish permission for `codex-genesis-harness`, then add it under:
169
-
170
- ```txt
171
- GitHub repo -> Settings -> Secrets and variables -> Actions -> New repository secret
172
- ```
173
-
174
- If GitHub Actions fails with `npm ERR! code E403` during `npm publish`, npm accepted the token format but rejected the publish authorization. Fix the npm-side credentials before re-running the workflow:
175
-
176
- 1. Confirm the token belongs to an npm account that owns `codex-genesis-harness`, or can create the package if this is the first publish.
177
- 2. Prefer an npm automation token with publish rights for CI. Granular tokens must include package write access.
178
- 3. If the package name is already owned by another account or organization, either transfer/grant access on npm or rename/scope the package in `package.json`.
179
- 4. Replace the GitHub `NPM_TOKEN` secret after rotating the token.
180
-
181
- The workflow validates `NPM_TOKEN` and package visibility before running the expensive verification and publish steps so credential problems fail with an actionable error.
1
+ # Project Genesis Harness
2
+
3
+ Project Genesis Harness packages the Genesis Codex harness skill system: test-first development, contract-first workflows, repository memory, codebase awareness, token-efficient operation, UI/API synchronization, AI pipeline reliability, and multi-session continuity.
4
+
5
+ ## Install
6
+
7
+ ### From npm
8
+
9
+ Install the latest published package globally:
10
+
11
+ ```sh
12
+ npm install -g codex-genesis-harness@latest
13
+ ```
14
+
15
+ The package auto-installs all Genesis skills into:
16
+
17
+ ```txt
18
+ ~/.agents/skills/<skill-name>
19
+ ~/.codex/skills/<skill-name>
20
+ ```
21
+
22
+ You can also manage them manually:
23
+
24
+ ```sh
25
+ genesis-harness install
26
+ genesis-harness verify
27
+ genesis-harness uninstall
28
+ ```
29
+
30
+ Install only one target:
31
+
32
+ ```sh
33
+ genesis-harness install --target agents
34
+ genesis-harness install --target legacy
35
+ genesis-harness install --target both
36
+ ```
37
+
38
+ To skip auto-install during npm installation:
39
+
40
+ ```sh
41
+ GENESIS_HARNESS_SKIP_POSTINSTALL=1 npm install -g codex-genesis-harness@latest
42
+ ```
43
+
44
+ ### From Git
45
+
46
+ Clone or download this repository, then run:
47
+
48
+ ```sh
49
+ ./scripts/install.sh
50
+ ```
51
+
52
+ If you use custom homes:
53
+
54
+ ```sh
55
+ CODEX_HOME=/path/to/.codex ./scripts/install.sh
56
+ GENESIS_HARNESS_HOME=/path/to/.agents ./scripts/install.sh
57
+ ```
58
+
59
+ ## Verify
60
+
61
+ ```sh
62
+ ./scripts/verify.sh
63
+ ./scripts/run-evals.sh
64
+ npm run pack:check
65
+ ```
66
+
67
+ Verify an installed copy:
68
+
69
+ ```sh
70
+ ./scripts/verify.sh ~/.codex/skills
71
+ ```
72
+
73
+ ## Use
74
+
75
+ After installing, invoke the skills in Codex:
76
+
77
+ ```txt
78
+ Use $genesis-harness and run /init.
79
+ Use $pipeline-orchestration-skill to run the full test-first harness workflow.
80
+ Use $api-contract-skill to create endpoint contracts and tests before implementation.
81
+ Use $genesis-new-design to design and build a premium frontend web experience.
82
+ Use $genesis-upgrade-design to improve the existing UI without changing behavior.
83
+ ```
84
+
85
+ `genesis-harness` supports:
86
+
87
+ - `/init`
88
+ - `/new-feature <description>`
89
+ - `/fix-bug <description>`
90
+ - `/plan <description>`
91
+ - `/audit`
92
+ - `/review`
93
+ - `/status`
94
+
95
+ ## What Gets Installed
96
+
97
+ ```txt
98
+ .codex/skills/
99
+ genesis-harness/
100
+ genesis-new-design/
101
+ genesis-upgrade-design/
102
+ architecture-skill/
103
+ planning-skill/
104
+ codebase-map-skill/
105
+ design-spec-skill/
106
+ api-contract-skill/
107
+ ui-ux-test-skill/
108
+ harness-engineering-skill/
109
+ ai-provider-skill/
110
+ pipeline-orchestration-skill/
111
+ research-skill/
112
+ docs-skill/
113
+ release-skill/
114
+ .codebase/
115
+ contracts/
116
+ fixtures/
117
+ tests/
118
+ playwright/
119
+ observability/
120
+ ```
121
+
122
+ Each skill includes `SKILL.md`, `agents/openai.yaml`, `templates/`, `examples/`, and `checklists/`. The memory, contracts, fixtures, tests, Playwright, and observability folders provide reusable harness templates for downstream projects.
123
+
124
+ ## Package Metadata
125
+
126
+ The npm package name is:
127
+
128
+ ```txt
129
+ codex-genesis-harness
130
+ ```
131
+
132
+ The plugin manifest at `.codex-plugin/plugin.json` points Codex-compatible plugin tooling at the packaged Genesis skill system under `.codex/skills/`.
133
+
134
+ ## Publish To npm
135
+
136
+ Publish flow:
137
+
138
+ ```sh
139
+ npm login
140
+ npm run verify
141
+ npm run eval
142
+ npm run pack:check
143
+ npm version patch
144
+ npm publish --access public
145
+ ```
146
+
147
+ The package is intentionally unscoped so it can be published by the token owner without requiring a pre-created npm organization or scope.
148
+
149
+ ## GitHub Actions npm Publish
150
+
151
+ This repository includes `.github/workflows/publish-npm.yml`.
152
+
153
+ Required GitHub secret:
154
+
155
+ ```txt
156
+ NPM_TOKEN
157
+ ```
158
+
159
+ If GitHub Actions fails with `npm ERR! code E403` during `npm publish`, npm accepted the token format but rejected the publish authorization. Fix the npm-side credentials before re-running the workflow:
160
+
161
+ 1. Confirm the token belongs to an npm account that owns `codex-genesis-harness`, or can create the package if this is the first publish.
162
+ 2. Prefer an npm automation token with publish rights for CI. Granular tokens must include package write access.
163
+ 3. If the package name is already owned by another account or organization, either transfer/grant access on npm or rename/scope the package in `package.json`.
164
+ 4. Replace the GitHub `NPM_TOKEN` secret after rotating the token.