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.
- package/.codebase/API_CONTRACTS.md +12 -0
- package/.codebase/ARCHITECTURE.md +6 -0
- package/.codebase/CURRENT_STATE.md +6 -0
- package/.codebase/DEPENDENCY_GRAPH.md +14 -0
- package/.codebase/DOMAIN_MODELS.md +8 -0
- package/.codebase/EVOLUTION_PLAN.md +35 -0
- package/.codebase/KNOWN_PROBLEMS.md +6 -0
- package/.codebase/MODULE_INDEX.md +13 -0
- package/.codebase/PIPELINE_FLOW.md +14 -0
- package/.codebase/TEST_MATRIX.md +11 -0
- package/.codebase/UI_ROUTES.md +4 -0
- package/.codebase/context/backend-summary.md +4 -0
- package/.codebase/context/frontend-summary.md +4 -0
- package/.codebase/context/pipeline-summary.md +4 -0
- package/.codebase/context/providers-summary.md +4 -0
- package/.codebase/context/render-summary.md +4 -0
- package/.codebase/context/tests-summary.md +4 -0
- package/.codex/skills/ai-provider-skill/SKILL.md +46 -0
- package/.codex/skills/ai-provider-skill/agents/openai.yaml +7 -0
- package/.codex/skills/ai-provider-skill/checklists/checklist.md +9 -0
- package/.codex/skills/ai-provider-skill/examples/example.md +4 -0
- package/.codex/skills/ai-provider-skill/templates/provider-contract-template.md +9 -0
- package/.codex/skills/api-contract-skill/SKILL.md +46 -0
- package/.codex/skills/api-contract-skill/agents/openai.yaml +7 -0
- package/.codex/skills/api-contract-skill/checklists/checklist.md +8 -0
- package/.codex/skills/api-contract-skill/examples/example.md +4 -0
- package/.codex/skills/api-contract-skill/templates/api-contract-template.md +4 -0
- package/.codex/skills/architecture-skill/SKILL.md +46 -0
- package/.codex/skills/architecture-skill/agents/openai.yaml +7 -0
- package/.codex/skills/architecture-skill/checklists/checklist.md +8 -0
- package/.codex/skills/architecture-skill/examples/example.md +4 -0
- package/.codex/skills/architecture-skill/templates/architecture-decision-template.md +14 -0
- package/.codex/skills/codebase-map-skill/SKILL.md +46 -0
- package/.codex/skills/codebase-map-skill/agents/openai.yaml +7 -0
- package/.codex/skills/codebase-map-skill/checklists/checklist.md +7 -0
- package/.codex/skills/codebase-map-skill/examples/example.md +4 -0
- package/.codex/skills/codebase-map-skill/templates/map-update-template.md +8 -0
- package/.codex/skills/design-spec-skill/SKILL.md +46 -0
- package/.codex/skills/design-spec-skill/agents/openai.yaml +7 -0
- package/.codex/skills/design-spec-skill/checklists/checklist.md +7 -0
- package/.codex/skills/design-spec-skill/examples/example.md +4 -0
- package/.codex/skills/design-spec-skill/templates/design-spec-template.md +9 -0
- package/.codex/skills/docs-skill/SKILL.md +46 -0
- package/.codex/skills/docs-skill/agents/openai.yaml +7 -0
- package/.codex/skills/docs-skill/checklists/checklist.md +7 -0
- package/.codex/skills/docs-skill/examples/example.md +4 -0
- package/.codex/skills/docs-skill/templates/docs-update-template.md +8 -0
- package/.codex/skills/{project-genesis-harness → genesis-harness}/SKILL.md +43 -4
- package/.codex/skills/genesis-harness/agents/openai.yaml +9 -0
- package/.codex/skills/genesis-harness/checklists/checklist.md +10 -0
- package/.codex/skills/genesis-harness/examples/example.md +4 -0
- package/.codex/skills/genesis-harness/templates/harness-workflow-template.md +10 -0
- package/.codex/skills/genesis-new-design/SKILL.md +95 -0
- package/.codex/skills/genesis-new-design/agents/openai.yaml +4 -0
- package/.codex/skills/genesis-new-design/checklists/checklist.md +8 -0
- package/.codex/skills/genesis-new-design/examples/example.md +4 -0
- package/.codex/skills/genesis-new-design/templates/new-design-template.md +9 -0
- package/.codex/skills/genesis-upgrade-design/SKILL.md +97 -0
- package/.codex/skills/genesis-upgrade-design/agents/openai.yaml +4 -0
- package/.codex/skills/genesis-upgrade-design/checklists/checklist.md +8 -0
- package/.codex/skills/genesis-upgrade-design/examples/example.md +4 -0
- package/.codex/skills/genesis-upgrade-design/templates/upgrade-design-template.md +9 -0
- package/.codex/skills/harness-engineering-skill/SKILL.md +45 -0
- package/.codex/skills/harness-engineering-skill/agents/openai.yaml +7 -0
- package/.codex/skills/harness-engineering-skill/checklists/checklist.md +8 -0
- package/.codex/skills/harness-engineering-skill/examples/example.md +4 -0
- package/.codex/skills/harness-engineering-skill/templates/harness-change-template.md +8 -0
- package/.codex/skills/pipeline-orchestration-skill/SKILL.md +46 -0
- package/.codex/skills/pipeline-orchestration-skill/agents/openai.yaml +7 -0
- package/.codex/skills/pipeline-orchestration-skill/checklists/checklist.md +12 -0
- package/.codex/skills/pipeline-orchestration-skill/examples/example.md +4 -0
- package/.codex/skills/pipeline-orchestration-skill/templates/orchestration-template.md +12 -0
- package/.codex/skills/planning-skill/SKILL.md +46 -0
- package/.codex/skills/planning-skill/agents/openai.yaml +7 -0
- package/.codex/skills/planning-skill/checklists/checklist.md +8 -0
- package/.codex/skills/planning-skill/examples/example.md +4 -0
- package/.codex/skills/planning-skill/templates/plan-template.md +11 -0
- package/.codex/skills/release-skill/SKILL.md +46 -0
- package/.codex/skills/release-skill/agents/openai.yaml +7 -0
- package/.codex/skills/release-skill/checklists/checklist.md +8 -0
- package/.codex/skills/release-skill/examples/example.md +4 -0
- package/.codex/skills/release-skill/templates/release-checklist-template.md +9 -0
- package/.codex/skills/research-skill/SKILL.md +46 -0
- package/.codex/skills/research-skill/agents/openai.yaml +7 -0
- package/.codex/skills/research-skill/checklists/checklist.md +7 -0
- package/.codex/skills/research-skill/examples/example.md +4 -0
- package/.codex/skills/research-skill/templates/research-note-template.md +9 -0
- package/.codex/skills/ui-ux-test-skill/SKILL.md +46 -0
- package/.codex/skills/ui-ux-test-skill/agents/openai.yaml +7 -0
- package/.codex/skills/ui-ux-test-skill/checklists/checklist.md +8 -0
- package/.codex/skills/ui-ux-test-skill/examples/example.md +4 -0
- package/.codex/skills/ui-ux-test-skill/templates/playwright-test-template.md +4 -0
- package/.codex-plugin/plugin.json +13 -11
- package/README.md +164 -181
- package/bin/genesis-harness.js +124 -79
- package/contracts/agents/CharacterBibleAgent/error.json +1 -0
- package/contracts/agents/CharacterBibleAgent/example.json +1 -0
- package/contracts/agents/CharacterBibleAgent/request.json +1 -0
- package/contracts/agents/CharacterBibleAgent/response.json +1 -0
- package/contracts/agents/CharacterBibleAgent/schema.json +1 -0
- package/contracts/agents/ImageGenerationAgent/error.json +1 -0
- package/contracts/agents/ImageGenerationAgent/example.json +1 -0
- package/contracts/agents/ImageGenerationAgent/request.json +1 -0
- package/contracts/agents/ImageGenerationAgent/response.json +1 -0
- package/contracts/agents/ImageGenerationAgent/schema.json +1 -0
- package/contracts/agents/PipelineOrchestrator/error.json +1 -0
- package/contracts/agents/PipelineOrchestrator/example.json +1 -0
- package/contracts/agents/PipelineOrchestrator/request.json +1 -0
- package/contracts/agents/PipelineOrchestrator/response.json +1 -0
- package/contracts/agents/PipelineOrchestrator/schema.json +1 -0
- package/contracts/agents/PromptGenerationAgent/error.json +1 -0
- package/contracts/agents/PromptGenerationAgent/example.json +1 -0
- package/contracts/agents/PromptGenerationAgent/request.json +1 -0
- package/contracts/agents/PromptGenerationAgent/response.json +1 -0
- package/contracts/agents/PromptGenerationAgent/schema.json +1 -0
- package/contracts/agents/RenderAgent/error.json +1 -0
- package/contracts/agents/RenderAgent/example.json +1 -0
- package/contracts/agents/RenderAgent/request.json +1 -0
- package/contracts/agents/RenderAgent/response.json +1 -0
- package/contracts/agents/RenderAgent/schema.json +1 -0
- package/contracts/agents/ScenePlanningAgent/error.json +1 -0
- package/contracts/agents/ScenePlanningAgent/example.json +1 -0
- package/contracts/agents/ScenePlanningAgent/request.json +1 -0
- package/contracts/agents/ScenePlanningAgent/response.json +1 -0
- package/contracts/agents/ScenePlanningAgent/schema.json +1 -0
- package/contracts/agents/ScreenplayAgent/error.json +1 -0
- package/contracts/agents/ScreenplayAgent/example.json +1 -0
- package/contracts/agents/ScreenplayAgent/request.json +1 -0
- package/contracts/agents/ScreenplayAgent/response.json +1 -0
- package/contracts/agents/ScreenplayAgent/schema.json +1 -0
- package/contracts/agents/StoryAnalysisAgent/error.json +1 -0
- package/contracts/agents/StoryAnalysisAgent/example.json +1 -0
- package/contracts/agents/StoryAnalysisAgent/request.json +1 -0
- package/contracts/agents/StoryAnalysisAgent/response.json +1 -0
- package/contracts/agents/StoryAnalysisAgent/schema.json +1 -0
- package/contracts/agents/SubtitleGenerationAgent/error.json +1 -0
- package/contracts/agents/SubtitleGenerationAgent/example.json +1 -0
- package/contracts/agents/SubtitleGenerationAgent/request.json +1 -0
- package/contracts/agents/SubtitleGenerationAgent/response.json +1 -0
- package/contracts/agents/SubtitleGenerationAgent/schema.json +1 -0
- package/contracts/agents/VoiceGenerationAgent/error.json +1 -0
- package/contracts/agents/VoiceGenerationAgent/example.json +1 -0
- package/contracts/agents/VoiceGenerationAgent/request.json +1 -0
- package/contracts/agents/VoiceGenerationAgent/response.json +1 -0
- package/contracts/agents/VoiceGenerationAgent/schema.json +1 -0
- package/contracts/api/README.md +4 -0
- package/contracts/api/endpoint-template/error.json +7 -0
- package/contracts/api/endpoint-template/example.json +11 -0
- package/contracts/api/endpoint-template/request.json +7 -0
- package/contracts/api/endpoint-template/response.json +6 -0
- package/contracts/api/endpoint-template/schema.json +9 -0
- package/contracts/events/README.md +4 -0
- package/contracts/events/event-template/error.json +4 -0
- package/contracts/events/event-template/example.json +6 -0
- package/contracts/events/event-template/request.json +6 -0
- package/contracts/events/event-template/response.json +3 -0
- package/contracts/events/event-template/schema.json +8 -0
- package/contracts/ui/README.md +4 -0
- package/contracts/ui/screen-template/error.json +4 -0
- package/contracts/ui/screen-template/example.json +7 -0
- package/contracts/ui/screen-template/request.json +4 -0
- package/contracts/ui/screen-template/response.json +4 -0
- package/contracts/ui/screen-template/schema.json +8 -0
- package/fixtures/agents/agent-fixture-template.md +14 -0
- package/fixtures/api/api-fixture-template.md +14 -0
- package/fixtures/images/image-fixture-template.md +14 -0
- package/fixtures/pipeline/pipeline-fixture-template.md +14 -0
- package/fixtures/render/render-fixture-template.md +14 -0
- package/fixtures/tts/tts-fixture-template.md +14 -0
- package/fixtures/videos/video-fixture-template.md +14 -0
- package/observability/agent-runs/agent-run-template.md +22 -0
- package/observability/decision-logs/decision-log-template.md +18 -0
- package/observability/failures/failure-template.md +18 -0
- package/package.json +8 -2
- package/playwright/e2e/e2e-template.md +4 -0
- package/playwright/fixtures/ui-fixture-template.md +4 -0
- package/playwright/smoke/smoke-template.md +4 -0
- package/playwright/visual/visual-regression-template.md +4 -0
- package/scripts/install.sh +64 -39
- package/scripts/run-evals.sh +61 -22
- package/scripts/uninstall.sh +40 -20
- package/scripts/verify.sh +234 -55
- package/tests/contracts/contract-template.test.md +10 -0
- package/tests/fixtures/fixture-index.md +4 -0
- package/tests/integration/integration-template.test.md +4 -0
- package/tests/unit/unit-template.test.md +4 -0
- package/.codex/skills/project-genesis-harness/agents/openai.yaml +0 -9
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/planning-schema.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/quality-rubric.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/research-rubric.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/references/workflows.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/agents-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/api-docs-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/architecture-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/audit-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/bug-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/check-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/conventions-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/decision-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/design-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/escalation-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/feature-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/integrations-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/journeys-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/lessons-learned-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/observability-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/phase-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/pitfalls-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/planning-tree-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/project-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/quality-score-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/requirements-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/research-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/review-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/spec-changelog-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/stack-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/resources/verification-template.md +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-architecture-boundaries.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-docs-sync.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-no-debug-logs.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-required-planning-files.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-spec-changelog.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/check-task-tracking.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/create-adr.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/create-bug.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/create-feature.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/detect-stack.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/init-planning.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/list-changed-files.sh +0 -0
- /package/.codex/skills/{project-genesis-harness → genesis-harness}/scripts/run-verification.sh +0 -0
- /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,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,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
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "genesis-skill-set",
|
|
3
3
|
"version": "0.1.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Genesis harness skill system for Codex test-first, contract-first, memory-aware autonomous workflows.",
|
|
5
5
|
"author": {
|
|
6
|
-
"name": "
|
|
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": "
|
|
19
|
-
"shortDescription": "
|
|
20
|
-
"longDescription": "A Codex plugin that installs the
|
|
21
|
-
"developerName": "
|
|
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 $
|
|
29
|
-
"Use $
|
|
30
|
-
"Use $
|
|
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
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
### From npm
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
npm install -g codex-genesis-harness@latest
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
The package auto-installs
|
|
16
|
-
|
|
17
|
-
```txt
|
|
18
|
-
~/.agents/skills
|
|
19
|
-
~/.codex/skills
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
You can also manage
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
```sh
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
npm
|
|
141
|
-
npm run
|
|
142
|
-
npm run
|
|
143
|
-
npm
|
|
144
|
-
npm
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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.
|