codex-genesis-harness 0.1.5 → 0.1.7
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/ARCHITECTURE_REVIEW_COMPLETE.md +216 -216
- package/.codebase/CURRENT_STATE.md +8 -2
- package/.codebase/FILE_NAMING_CLARIFICATION.md +161 -161
- package/.codebase/HARNESS_COMPLETENESS_AUDIT.md +613 -613
- package/.codebase/IMPLEMENTATION_COMPLETE.md +429 -429
- package/.codebase/IMPLEMENTATION_HANDOFF.md +351 -351
- package/.codebase/IMPROVEMENTS_SUMMARY.md +419 -419
- package/.codebase/PHASE3_SKILLS_NAMING_COMPLETE.md +292 -292
- package/.codebase/PHASE_DEPENDENCY_MAP.md +486 -486
- package/.codebase/QUICK_START_SPEC_IMPACT.md +456 -456
- package/.codebase/README.md +139 -139
- package/.codebase/RECOVERY_POINTS.md +83 -438
- package/.codebase/beads.json +16 -0
- package/.codex/skills/genesis-ai-provider/SKILL.md +1 -1
- package/.codex/skills/genesis-api-contract/SKILL.md +1 -1
- package/.codex/skills/genesis-api-sync/SKILL.md +354 -354
- package/.codex/skills/genesis-api-sync/checklists/api-sync-checklist.md +101 -101
- package/.codex/skills/genesis-api-sync/templates/api-change-template.md +257 -257
- package/.codex/skills/genesis-architecture/SKILL.md +1 -1
- package/.codex/skills/genesis-codebase-map/SKILL.md +1 -1
- package/.codex/skills/genesis-debug-guide/SKILL.md +479 -479
- package/.codex/skills/genesis-debug-guide/checklists/flaky-test-investigation.md +339 -339
- package/.codex/skills/genesis-debug-guide/checklists/production-bug-debug.md +210 -210
- package/.codex/skills/genesis-debug-guide/checklists/test-failure-debug.md +158 -158
- package/.codex/skills/genesis-debug-guide/observability/debug-commands.md +365 -365
- package/.codex/skills/genesis-debug-guide/playbooks/unit-test-failures.md +289 -289
- package/.codex/skills/genesis-debug-guide/templates/debug-investigation-log.md +288 -288
- package/.codex/skills/genesis-design-spec/SKILL.md +3 -3
- package/.codex/skills/genesis-docs-automation/SKILL.md +1003 -1003
- package/.codex/skills/genesis-docs-automation/checklists/docs-validation.md +359 -359
- package/.codex/skills/genesis-docs-automation/checklists/spec-alignment.md +312 -312
- package/.codex/skills/genesis-docs-automation/observability/docs-tracking.md +382 -382
- package/.codex/skills/genesis-docs-automation/playbooks/auto-update-flow.md +851 -851
- package/.codex/skills/genesis-docs-automation/playbooks/changelog-generation.md +491 -491
- package/.codex/skills/genesis-docs-automation/templates/changelog-entry-template.md +187 -187
- package/.codex/skills/genesis-docs-automation/templates/handoff-template.md +297 -297
- package/.codex/skills/genesis-harness/SKILL.md +1428 -1427
- package/.codex/skills/genesis-harness/agents/openai.yaml +7 -7
- package/.codex/skills/genesis-harness/checklists/bug-fix-qa.md +169 -169
- package/.codex/skills/genesis-harness/checklists/new-feature-qa.md +157 -157
- package/.codex/skills/genesis-harness/checklists/refactor-qa.md +216 -216
- package/.codex/skills/genesis-harness/checklists/requirements-validation.md +211 -211
- package/.codex/skills/genesis-harness/references/planning-schema.md +35 -35
- package/.codex/skills/genesis-harness/references/quality-rubric.md +21 -21
- package/.codex/skills/genesis-harness/references/research-rubric.md +41 -41
- package/.codex/skills/genesis-harness/references/workflows.md +33 -33
- package/.codex/skills/genesis-harness/resources/agents-template.md +27 -27
- package/.codex/skills/genesis-harness/resources/api-docs-template.md +32 -32
- package/.codex/skills/genesis-harness/resources/architecture-template.md +30 -30
- package/.codex/skills/genesis-harness/resources/audit-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/bug-template.md +34 -34
- package/.codex/skills/genesis-harness/resources/change-impact-matrix-template.md +204 -204
- package/.codex/skills/genesis-harness/resources/check-template.md +21 -21
- package/.codex/skills/genesis-harness/resources/conventions-template.md +42 -42
- package/.codex/skills/genesis-harness/resources/decision-template.md +33 -33
- package/.codex/skills/genesis-harness/resources/design-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/escalation-template.md +21 -21
- package/.codex/skills/genesis-harness/resources/feature-template.md +49 -49
- package/.codex/skills/genesis-harness/resources/foundation-phase-template.md +131 -131
- package/.codex/skills/genesis-harness/resources/integrations-template.md +32 -32
- package/.codex/skills/genesis-harness/resources/journeys-template.md +13 -13
- package/.codex/skills/genesis-harness/resources/lessons-learned-template.md +12 -12
- package/.codex/skills/genesis-harness/resources/observability-template.md +34 -34
- package/.codex/skills/genesis-harness/resources/phase-00-foundation-template.md +76 -76
- package/.codex/skills/genesis-harness/resources/phase-template.md +34 -34
- package/.codex/skills/genesis-harness/resources/pitfalls-template.md +22 -22
- package/.codex/skills/genesis-harness/resources/planning-tree-template.md +39 -39
- package/.codex/skills/genesis-harness/resources/post-implementation-guide.md +347 -347
- package/.codex/skills/genesis-harness/resources/project-template.md +38 -38
- package/.codex/skills/genesis-harness/resources/quality-score-template.md +11 -11
- package/.codex/skills/genesis-harness/resources/requirements-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/research-template.md +26 -26
- package/.codex/skills/genesis-harness/resources/review-template.md +22 -22
- package/.codex/skills/genesis-harness/resources/spec-changelog-template.md +6 -6
- package/.codex/skills/genesis-harness/resources/stack-template.md +33 -33
- package/.codex/skills/genesis-harness/resources/verification-template.md +26 -26
- package/.codex/skills/genesis-harness/scripts/check-architecture-boundaries.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-docs-sync.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-no-debug-logs.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-required-planning-files.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-spec-changelog.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/check-task-tracking.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/compact-context.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/create-adr.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/create-bug.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/create-feature.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/detect-stack.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/init-planning.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/list-changed-files.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/offload-log.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/run-verification.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/run-verify-loop.sh +0 -0
- package/.codex/skills/genesis-harness/scripts/update-state.sh +0 -0
- package/.codex/skills/genesis-harness-engineering/SKILL.md +1 -1
- package/.codex/skills/genesis-new-design/SKILL.md +2 -1
- package/.codex/skills/genesis-new-design/agents/openai.yaml +3 -3
- package/.codex/skills/genesis-observability-automation/checklists/.gitkeep +0 -0
- package/.codex/skills/genesis-observability-automation/observability/.gitkeep +0 -0
- package/.codex/skills/genesis-observability-automation/playbooks/.gitkeep +0 -0
- package/.codex/skills/genesis-observability-automation/templates/.gitkeep +0 -0
- package/.codex/skills/genesis-pipeline-orchestration/SKILL.md +1 -1
- package/.codex/skills/genesis-planning/SKILL.md +26 -1
- package/.codex/skills/genesis-planning/checklists/mvp-readiness.md +18 -0
- package/.codex/skills/genesis-planning/examples/5-phase-roadmap-example.md +43 -0
- package/.codex/skills/genesis-planning/templates/phase-1-core.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-2-auth.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-3-features.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-4-integrations.md +17 -0
- package/.codex/skills/genesis-planning/templates/phase-5-readiness.md +17 -0
- package/.codex/skills/genesis-release/SKILL.md +24 -1
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/checklists/post-deployment-verification.md +274 -274
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/checklists/pre-release-validation.md +220 -220
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/observability/release-tracking.md +253 -253
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/playbooks/canary-deployment-orchestration.md +472 -472
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/playbooks/semantic-versioning-automation.md +494 -494
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/templates/deployment-strategy-template.md +303 -303
- package/.codex/skills/{genesis-release-orchestration → genesis-release}/templates/release-runbook-template.md +420 -420
- package/.codex/skills/genesis-research-first/SKILL.md +237 -237
- package/.codex/skills/genesis-research-first/templates/.gitkeep +0 -0
- package/.codex/skills/genesis-spec-propagation/SKILL.md +534 -534
- package/.codex/skills/genesis-spec-propagation/checklists/phase-update-verification.md +384 -384
- package/.codex/skills/genesis-spec-propagation/checklists/spec-change-detection.md +257 -257
- package/.codex/skills/genesis-spec-propagation/observability/propagation-tracking.md +373 -373
- package/.codex/skills/genesis-spec-propagation/playbooks/breaking-change-propagation.md +692 -692
- package/.codex/skills/genesis-spec-propagation/playbooks/feature-change-propagation.md +434 -434
- package/.codex/skills/genesis-spec-propagation/templates/migration-guide-template.md +407 -407
- package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/SKILL.md +1 -1
- package/.codex/skills/genesis-upgrade-design/agents/openai.yaml +3 -3
- package/.codex/skills/spec-impact-engine/SKILL.md +504 -504
- package/.codex/skills/spec-impact-engine/detect-spec-changes.sh +0 -0
- package/.codex-plugin/plugin.json +19 -19
- package/CHANGELOG.md +56 -0
- package/LICENSE +22 -22
- package/README.EN.md +780 -730
- package/README.VI.md +772 -723
- package/README.md +102 -247
- package/VERSION +2 -2
- package/bin/genesis-harness.js +695 -92
- package/package.json +9 -3
- package/scripts/README.md +342 -342
- package/scripts/compact-context.sh +0 -0
- package/scripts/contract_integrity_gate.js +83 -0
- package/scripts/detect-changes.sh +0 -0
- package/scripts/healing_telemetry.js +118 -0
- package/scripts/install.sh +5 -6
- package/scripts/offload-log.sh +0 -0
- package/scripts/prompt_sentinel.js +84 -0
- package/scripts/run-evals.sh +20 -24
- package/scripts/run-verify-loop.sh +11 -0
- package/scripts/spec_visual_sync.js +157 -0
- package/scripts/test_generator.js +142 -0
- package/scripts/transition_state.sh +0 -0
- package/scripts/uninstall.sh +2 -5
- package/scripts/validation_gates.sh +40 -1
- package/scripts/verify.sh +6 -61
- package/tests/unit/contract_integrity_gate.test.js +74 -0
- package/tests/unit/healing_telemetry.test.js +58 -0
- package/tests/unit/prompt_sentinel.test.js +50 -0
- package/tests/unit/spec_visual_sync.test.js +77 -0
- package/tests/unit/test_generator.test.js +62 -0
- package/.codex/skills/genesis-docs/SKILL.md +0 -46
- package/.codex/skills/genesis-docs/agents/openai.yaml +0 -7
- package/.codex/skills/genesis-release-orchestration/SKILL.md +0 -653
- package/.codex/skills/genesis-release-orchestration/agents/openai.yaml +0 -7
- package/.codex/skills/genesis-research/SKILL.md +0 -46
- package/.codex/skills/genesis-research/agents/openai.yaml +0 -7
- /package/.codex/skills/{genesis-docs/checklists/checklist.md → genesis-docs-automation/checklists/manual-docs-checklist.md} +0 -0
- /package/.codex/skills/{genesis-docs/examples/example.md → genesis-docs-automation/examples/manual-docs-example.md} +0 -0
- /package/.codex/skills/{genesis-docs → genesis-docs-automation}/templates/docs-update-template.md +0 -0
- /package/.codex/skills/{genesis-state-machine/SKILL.md → genesis-harness/references/state-machine.md} +0 -0
- /package/.codex/skills/{genesis-release-orchestration/examples/example.md → genesis-release/examples/orchestration-example.md} +0 -0
- /package/.codex/skills/{genesis-research → genesis-research-first}/checklists/checklist.md +0 -0
- /package/.codex/skills/{genesis-research/examples/example.md → genesis-research-first/examples/manual-research-example.md} +0 -0
- /package/.codex/skills/{genesis-research → genesis-research-first}/templates/research-note-template.md +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/agents/openai.yaml +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/checklists/checklist.md +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/examples/example.md +0 -0
- /package/.codex/skills/{ui-ux-test-skill → genesis-ui-ux-test}/templates/playwright-test-template.md +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# Project
|
|
2
|
-
|
|
3
|
-
## What This Project Is
|
|
4
|
-
|
|
5
|
-
TBD
|
|
6
|
-
|
|
7
|
-
## Target Users
|
|
8
|
-
|
|
9
|
-
TBD
|
|
10
|
-
|
|
11
|
-
## Core Value
|
|
12
|
-
|
|
13
|
-
TBD
|
|
14
|
-
|
|
15
|
-
## Product Scope
|
|
16
|
-
|
|
17
|
-
- [ ] TBD
|
|
18
|
-
|
|
19
|
-
## Out Of Scope
|
|
20
|
-
|
|
21
|
-
- [ ] TBD
|
|
22
|
-
|
|
23
|
-
## Constraints
|
|
24
|
-
|
|
25
|
-
- [ ] TBD
|
|
26
|
-
|
|
27
|
-
## Assumptions
|
|
28
|
-
|
|
29
|
-
- [ ] TBD
|
|
30
|
-
|
|
31
|
-
## Current Milestone
|
|
32
|
-
|
|
33
|
-
TBD
|
|
34
|
-
|
|
35
|
-
## Success Criteria
|
|
36
|
-
|
|
37
|
-
- [ ] TBD
|
|
38
|
-
|
|
1
|
+
# Project
|
|
2
|
+
|
|
3
|
+
## What This Project Is
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Target Users
|
|
8
|
+
|
|
9
|
+
TBD
|
|
10
|
+
|
|
11
|
+
## Core Value
|
|
12
|
+
|
|
13
|
+
TBD
|
|
14
|
+
|
|
15
|
+
## Product Scope
|
|
16
|
+
|
|
17
|
+
- [ ] TBD
|
|
18
|
+
|
|
19
|
+
## Out Of Scope
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
23
|
+
## Constraints
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
27
|
+
## Assumptions
|
|
28
|
+
|
|
29
|
+
- [ ] TBD
|
|
30
|
+
|
|
31
|
+
## Current Milestone
|
|
32
|
+
|
|
33
|
+
TBD
|
|
34
|
+
|
|
35
|
+
## Success Criteria
|
|
36
|
+
|
|
37
|
+
- [ ] TBD
|
|
38
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# Quality Score
|
|
2
|
-
|
|
3
|
-
| Area | Score | Issues | Next Action |
|
|
4
|
-
|---|---:|---|---|
|
|
5
|
-
| Architecture | 0/10 | TBD | TBD |
|
|
6
|
-
| Tests | 0/10 | TBD | TBD |
|
|
7
|
-
| Docs Sync | 0/10 | TBD | TBD |
|
|
8
|
-
| Security | 0/10 | TBD | TBD |
|
|
9
|
-
| Maintainability | 0/10 | TBD | TBD |
|
|
10
|
-
| Observability | 0/10 | TBD | TBD |
|
|
11
|
-
|
|
1
|
+
# Quality Score
|
|
2
|
+
|
|
3
|
+
| Area | Score | Issues | Next Action |
|
|
4
|
+
|---|---:|---|---|
|
|
5
|
+
| Architecture | 0/10 | TBD | TBD |
|
|
6
|
+
| Tests | 0/10 | TBD | TBD |
|
|
7
|
+
| Docs Sync | 0/10 | TBD | TBD |
|
|
8
|
+
| Security | 0/10 | TBD | TBD |
|
|
9
|
+
| Maintainability | 0/10 | TBD | TBD |
|
|
10
|
+
| Observability | 0/10 | TBD | TBD |
|
|
11
|
+
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# Requirements
|
|
2
|
-
|
|
3
|
-
## Functional Requirements
|
|
4
|
-
|
|
5
|
-
- [ ] TBD
|
|
6
|
-
|
|
7
|
-
## Non-Functional Requirements
|
|
8
|
-
|
|
9
|
-
- [ ] TBD
|
|
10
|
-
|
|
11
|
-
## User Stories
|
|
12
|
-
|
|
13
|
-
- [ ] As a user, I want TBD so that TBD.
|
|
14
|
-
|
|
15
|
-
## Acceptance Criteria
|
|
16
|
-
|
|
17
|
-
- [ ] TBD
|
|
18
|
-
|
|
19
|
-
## Edge Cases
|
|
20
|
-
|
|
21
|
-
- [ ] TBD
|
|
22
|
-
|
|
23
|
-
## Known Unknowns
|
|
24
|
-
|
|
25
|
-
- [ ] TBD
|
|
26
|
-
|
|
1
|
+
# Requirements
|
|
2
|
+
|
|
3
|
+
## Functional Requirements
|
|
4
|
+
|
|
5
|
+
- [ ] TBD
|
|
6
|
+
|
|
7
|
+
## Non-Functional Requirements
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## User Stories
|
|
12
|
+
|
|
13
|
+
- [ ] As a user, I want TBD so that TBD.
|
|
14
|
+
|
|
15
|
+
## Acceptance Criteria
|
|
16
|
+
|
|
17
|
+
- [ ] TBD
|
|
18
|
+
|
|
19
|
+
## Edge Cases
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
23
|
+
## Known Unknowns
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# Research
|
|
2
|
-
|
|
3
|
-
## Question
|
|
4
|
-
|
|
5
|
-
TBD
|
|
6
|
-
|
|
7
|
-
## Local Codebase Findings
|
|
8
|
-
|
|
9
|
-
- [ ] TBD
|
|
10
|
-
|
|
11
|
-
## External Findings
|
|
12
|
-
|
|
13
|
-
- [ ] TBD
|
|
14
|
-
|
|
15
|
-
## Sources
|
|
16
|
-
|
|
17
|
-
- TBD
|
|
18
|
-
|
|
19
|
-
## Decision Impact
|
|
20
|
-
|
|
21
|
-
TBD
|
|
22
|
-
|
|
23
|
-
## Risks
|
|
24
|
-
|
|
25
|
-
- [ ] TBD
|
|
26
|
-
|
|
1
|
+
# Research
|
|
2
|
+
|
|
3
|
+
## Question
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Local Codebase Findings
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## External Findings
|
|
12
|
+
|
|
13
|
+
- [ ] TBD
|
|
14
|
+
|
|
15
|
+
## Sources
|
|
16
|
+
|
|
17
|
+
- TBD
|
|
18
|
+
|
|
19
|
+
## Decision Impact
|
|
20
|
+
|
|
21
|
+
TBD
|
|
22
|
+
|
|
23
|
+
## Risks
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# Review
|
|
2
|
-
|
|
3
|
-
## Changed Files Reviewed
|
|
4
|
-
|
|
5
|
-
- [ ] TBD
|
|
6
|
-
|
|
7
|
-
## Findings
|
|
8
|
-
|
|
9
|
-
| Severity | File | Issue | Required Action |
|
|
10
|
-
|---|---|---|---|
|
|
11
|
-
| TBD | TBD | TBD | TBD |
|
|
12
|
-
|
|
13
|
-
## Cleanup Performed
|
|
14
|
-
|
|
15
|
-
- [ ] Removed unnecessary files/code
|
|
16
|
-
- [ ] Removed debug logs
|
|
17
|
-
- [ ] Removed unrelated changes
|
|
18
|
-
|
|
19
|
-
## Residual Risks
|
|
20
|
-
|
|
21
|
-
- [ ] TBD
|
|
22
|
-
|
|
1
|
+
# Review
|
|
2
|
+
|
|
3
|
+
## Changed Files Reviewed
|
|
4
|
+
|
|
5
|
+
- [ ] TBD
|
|
6
|
+
|
|
7
|
+
## Findings
|
|
8
|
+
|
|
9
|
+
| Severity | File | Issue | Required Action |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| TBD | TBD | TBD | TBD |
|
|
12
|
+
|
|
13
|
+
## Cleanup Performed
|
|
14
|
+
|
|
15
|
+
- [ ] Removed unnecessary files/code
|
|
16
|
+
- [ ] Removed debug logs
|
|
17
|
+
- [ ] Removed unrelated changes
|
|
18
|
+
|
|
19
|
+
## Residual Risks
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Spec Changelog
|
|
2
|
-
|
|
3
|
-
| Date/Time | Change | Reason | Impacted Docs | Impacted Tests | Migration Notes |
|
|
4
|
-
|---|---|---|---|---|---|
|
|
5
|
-
| TBD | Initial harness setup | Project initialization | TBD | TBD | TBD |
|
|
6
|
-
|
|
1
|
+
# Spec Changelog
|
|
2
|
+
|
|
3
|
+
| Date/Time | Change | Reason | Impacted Docs | Impacted Tests | Migration Notes |
|
|
4
|
+
|---|---|---|---|---|---|
|
|
5
|
+
| TBD | Initial harness setup | Project initialization | TBD | TBD | TBD |
|
|
6
|
+
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# Stack
|
|
2
|
-
|
|
3
|
-
## Detected Stack
|
|
4
|
-
|
|
5
|
-
Language:
|
|
6
|
-
Framework:
|
|
7
|
-
Runtime:
|
|
8
|
-
Database:
|
|
9
|
-
Package manager:
|
|
10
|
-
Test framework:
|
|
11
|
-
Lint:
|
|
12
|
-
Typecheck:
|
|
13
|
-
Build:
|
|
14
|
-
Deployment:
|
|
15
|
-
|
|
16
|
-
## Version Constraints
|
|
17
|
-
|
|
18
|
-
- [ ] TBD
|
|
19
|
-
|
|
20
|
-
## Local Development Commands
|
|
21
|
-
|
|
22
|
-
```sh
|
|
23
|
-
# start
|
|
24
|
-
# test
|
|
25
|
-
# lint
|
|
26
|
-
# typecheck
|
|
27
|
-
# build
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Tooling Gaps
|
|
31
|
-
|
|
32
|
-
- [ ] TBD
|
|
33
|
-
|
|
1
|
+
# Stack
|
|
2
|
+
|
|
3
|
+
## Detected Stack
|
|
4
|
+
|
|
5
|
+
Language:
|
|
6
|
+
Framework:
|
|
7
|
+
Runtime:
|
|
8
|
+
Database:
|
|
9
|
+
Package manager:
|
|
10
|
+
Test framework:
|
|
11
|
+
Lint:
|
|
12
|
+
Typecheck:
|
|
13
|
+
Build:
|
|
14
|
+
Deployment:
|
|
15
|
+
|
|
16
|
+
## Version Constraints
|
|
17
|
+
|
|
18
|
+
- [ ] TBD
|
|
19
|
+
|
|
20
|
+
## Local Development Commands
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
# start
|
|
24
|
+
# test
|
|
25
|
+
# lint
|
|
26
|
+
# typecheck
|
|
27
|
+
# build
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Tooling Gaps
|
|
31
|
+
|
|
32
|
+
- [ ] TBD
|
|
33
|
+
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# Verification
|
|
2
|
-
|
|
3
|
-
## Test Contract
|
|
4
|
-
|
|
5
|
-
- [ ] Normal input/output
|
|
6
|
-
- [ ] Edge cases
|
|
7
|
-
- [ ] Invalid inputs
|
|
8
|
-
- [ ] Expected errors
|
|
9
|
-
- [ ] Acceptance tests
|
|
10
|
-
|
|
11
|
-
## Commands
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
# TBD
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Results
|
|
18
|
-
|
|
19
|
-
| Command | Result | Evidence |
|
|
20
|
-
|---|---|---|
|
|
21
|
-
| TBD | TBD | TBD |
|
|
22
|
-
|
|
23
|
-
## Manual Verification
|
|
24
|
-
|
|
25
|
-
- [ ] TBD
|
|
26
|
-
|
|
1
|
+
# Verification
|
|
2
|
+
|
|
3
|
+
## Test Contract
|
|
4
|
+
|
|
5
|
+
- [ ] Normal input/output
|
|
6
|
+
- [ ] Edge cases
|
|
7
|
+
- [ ] Invalid inputs
|
|
8
|
+
- [ ] Expected errors
|
|
9
|
+
- [ ] Acceptance tests
|
|
10
|
+
|
|
11
|
+
## Commands
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
# TBD
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Results
|
|
18
|
+
|
|
19
|
+
| Command | Result | Evidence |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| TBD | TBD | TBD |
|
|
22
|
+
|
|
23
|
+
## Manual Verification
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: harness-engineering
|
|
2
|
+
name: genesis-harness-engineering
|
|
3
3
|
description: "Evolve the Codex harness itself: verification loops, repository memory, test-first scaffolds, resumability, observability, and autonomous workflow reliability. Use for changes to this repository's skill system or harness architecture."
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ Use when building a new web page, app screen, dashboard, tool, landing page, or
|
|
|
17
17
|
Do not use for redesigning existing UI without first preserving behavior; use `genesis-upgrade-design` instead.
|
|
18
18
|
|
|
19
19
|
## Inputs required
|
|
20
|
-
Product intent, target users, primary workflow, stack details, route or entry point, state list, and visual
|
|
20
|
+
Product intent, target users, primary workflow, stack details, route or entry point, state list, visual constraints, and the generated visual contract image `mockup.png` (which MUST be loaded via the `view_file` tool to inspect layouts, color choices, and dimensions before coding).
|
|
21
21
|
|
|
22
22
|
## Outputs required
|
|
23
23
|
Implemented UI, UI contract, fixtures, responsive states, visual verification, and docs or memory updates.
|
|
@@ -55,6 +55,7 @@ If visual output fails, capture screenshot evidence, update the fixture or contr
|
|
|
55
55
|
|
|
56
56
|
2. Define the design intent from the request:
|
|
57
57
|
- Identify audience, product category, primary task, density, tone, and constraints.
|
|
58
|
+
- Proactively inspect `mockup.png` using the `view_file` tool to absorb the visual direction, color system, and placement details.
|
|
58
59
|
- Choose one clear visual direction and commit to it across typography, color, spacing, surfaces, iconography, and motion.
|
|
59
60
|
- For tools, dashboards, and operational apps, prioritize scanning, repeated use, compact controls, and predictable navigation over decorative hero layouts.
|
|
60
61
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Genesis New Design"
|
|
3
|
-
short_description: "
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Genesis New Design"
|
|
3
|
+
short_description: "— Thiết kế giao diện Web hiện đại, cao cấp"
|
|
4
4
|
default_prompt: "Use $genesis-new-design to design and build a premium frontend web experience."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: pipeline-orchestration
|
|
2
|
+
name: genesis-pipeline-orchestration
|
|
3
3
|
description: Run end-to-end Codex harness orchestration phases from repository analysis through tests, fixtures, implementation, contracts, memory, docs, and change summaries. Use for autonomous multi-phase work.
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: planning
|
|
2
|
+
name: genesis-planning
|
|
3
3
|
description: Create decision-complete plans for Codex harness work, including tests, fixtures, contracts, memory updates, verification, and recovery. Use for new features, refactors, bug fixes, audits, or multi-phase autonomous work.
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -44,3 +44,28 @@ Planning implementation before tests, omitting fixtures, and leaving verificatio
|
|
|
44
44
|
## Recovery workflow
|
|
45
45
|
If a plan becomes invalid, update the failing test and fixture first, then revise phases.
|
|
46
46
|
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 🏗️ 5-Phase MVP Roadmap Standards
|
|
50
|
+
|
|
51
|
+
When decomposing large-scale features or initializing new project modules, you must enforce the **5-Phase MVP Roadmap Standard** using the provided templates:
|
|
52
|
+
|
|
53
|
+
1. **Phase 1: Core Foundation & Base Setup** (Templates: `phase-1-core.md`, `phase-2-auth.md`)
|
|
54
|
+
- Establish environment skeletons, base CLI arguments, dependency configurations, and contract JSON structures.
|
|
55
|
+
- Core DB migrations, model schemes, and basic configurations.
|
|
56
|
+
2. **Phase 2: Contract-First & Skeletal Tests** (Template: `phase-3-features.md`)
|
|
57
|
+
- Compile exhaustive contract endpoints (`contracts/api/`) and mock fixture skeletons (`fixtures/api/`).
|
|
58
|
+
- Auto-generate test skeletons in `tests/integration/` (RED state).
|
|
59
|
+
3. **Phase 3: Logic Implementation & Self-Healing** (Template: `phase-3-features.md`)
|
|
60
|
+
- Implement minimal code handlers, controllers, or service endpoints.
|
|
61
|
+
- Execute closed-loop Verify-Fix cycles autonomously until all tests turn GREEN.
|
|
62
|
+
4. **Phase 4: Multi-Agent & External Integrations** (Template: `phase-4-integrations.md`)
|
|
63
|
+
- Wire up external components, API sync triggers, or media providers.
|
|
64
|
+
5. **Phase 5: E2E Visual QA & Release Readiness** (Template: `phase-5-readiness.md`)
|
|
65
|
+
- Execute full Playwright E2E smoke tests, visual regression checks, and packaging checklists.
|
|
66
|
+
|
|
67
|
+
### Related Planning Assets
|
|
68
|
+
* **Checklist**: `checklists/mvp-readiness.md`
|
|
69
|
+
* **Example**: `examples/5-phase-roadmap-example.md`
|
|
70
|
+
* **Templates**: `templates/phase-1-core.md`, `phase-2-auth.md`, `phase-3-features.md`, `phase-4-integrations.md`, `phase-5-readiness.md`
|
|
71
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# MVP Phase Planning Readiness Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist to ensure all 5 phases of the MVP are fully defined and ready to proceed.
|
|
4
|
+
|
|
5
|
+
## Scope & Boundaries
|
|
6
|
+
- [ ] Has the product target audience been clearly defined?
|
|
7
|
+
- [ ] Is the absolute minimum viable feature set (and what is explicitly OUT of scope) documented?
|
|
8
|
+
- [ ] Are success metrics defined for each of the 5 phases?
|
|
9
|
+
|
|
10
|
+
## Technical Feasibility
|
|
11
|
+
- [ ] Is the technology stack fully decided, including database models and cloud providers?
|
|
12
|
+
- [ ] Are all third-party integrations identified, along with keys/credential requirements?
|
|
13
|
+
- [ ] Are testing and validation tools decided and functional locally?
|
|
14
|
+
|
|
15
|
+
## Phase Definition Alignment
|
|
16
|
+
- [ ] Do Phase 1 (Core) database schemas align with Phase 3 (Features) functional requirements?
|
|
17
|
+
- [ ] Are security and authorization scopes in Phase 2 prepared to handle Phase 3 routes?
|
|
18
|
+
- [ ] Are Phase 5 deployment and observability targets fully defined?
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Example: 5-Phase MVP Roadmap for "TaskFlow SaaS"
|
|
2
|
+
|
|
3
|
+
This is an example roadmap representing a completed planning output for a TaskFlow SaaS application.
|
|
4
|
+
|
|
5
|
+
## ROADMAP Overview
|
|
6
|
+
|
|
7
|
+
- [x] Phase 0: Foundation & Project Planning (Complete)
|
|
8
|
+
- [ ] Phase 1: Foundation & API Core (Target: 2026-06-15)
|
|
9
|
+
- [ ] Phase 2: Authentication & Security (Target: 2026-06-22)
|
|
10
|
+
- [ ] Phase 3: Core MVP Features (Target: 2026-07-06)
|
|
11
|
+
- [ ] Phase 4: Third-Party Integrations (Target: 2026-07-15)
|
|
12
|
+
- [ ] Phase 5: Production Readiness & Observability (Target: 2026-07-22)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Detailed Phase Definition
|
|
17
|
+
|
|
18
|
+
### Phase 1: Foundation & API Core
|
|
19
|
+
- **Database ERD**: Users, Tasks, Workspaces, Comments tables.
|
|
20
|
+
- **API Contracts**:
|
|
21
|
+
- `POST /api/v1/workspaces`
|
|
22
|
+
- `GET /api/v1/workspaces/:id/tasks`
|
|
23
|
+
- **Verification**: SQL schema migrates successfully; mock endpoints return JSON schemas.
|
|
24
|
+
|
|
25
|
+
### Phase 2: Authentication & Security
|
|
26
|
+
- **Auth Provider**: Firebase Auth integration.
|
|
27
|
+
- **Route Guards**: All `/api/v1/workspaces` routes require a valid Bearer token.
|
|
28
|
+
- **Verification**: Request without header returns HTTP 401; request with valid token returns HTTP 200.
|
|
29
|
+
|
|
30
|
+
### Phase 3: Core MVP Features
|
|
31
|
+
- **Functional Flow**: Create workspace, invite user, add task, comment on task.
|
|
32
|
+
- **Frontend Views**: Dashboard, Workspace page, Task Details modal.
|
|
33
|
+
- **Verification**: Playwright e2e test logs in user, creates task, and verifies task appears in UI list.
|
|
34
|
+
|
|
35
|
+
### Phase 4: Third-Party Integrations
|
|
36
|
+
- **Payment Gateway**: Stripe subscription billing.
|
|
37
|
+
- **Notifications**: Sendgrid transactional email alerts.
|
|
38
|
+
- **Verification**: Stripe webhook registers subscription renewal event correctly; email triggers on task assignment.
|
|
39
|
+
|
|
40
|
+
### Phase 5: Production Readiness & Observability
|
|
41
|
+
- **Health Checks**: `/health`, `/readiness` checks DB + Stripe connectivity.
|
|
42
|
+
- **Monitoring**: Prom-client registers HTTP request latency histograms.
|
|
43
|
+
- **Verification**: Grafana dashboard imports JSON config successfully; Promtool validates alert rules.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Phase 1: Foundation & API Core
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Establish the backend foundation, database schemas, and robust API contracts for the MVP. No UI code is written in this phase.
|
|
5
|
+
|
|
6
|
+
## Tasks
|
|
7
|
+
- [ ] Research and design database models/tables
|
|
8
|
+
- [ ] Define initial schemas (JSON Schemas, SQL Migrations)
|
|
9
|
+
- [ ] Create API contract files under `contracts/api/`
|
|
10
|
+
- [ ] Implement foundational database access layer and initial repository patterns
|
|
11
|
+
- [ ] Build mock API endpoints verifying request/response formats
|
|
12
|
+
- [ ] Implement and verify initial API contract tests
|
|
13
|
+
|
|
14
|
+
## Success Criteria
|
|
15
|
+
- All database models are defined and migrated.
|
|
16
|
+
- API endpoints return successfully with mock/fixture data matching contracts.
|
|
17
|
+
- Verification tests pass successfully.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Phase 2: Authentication & Security
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Secure the application with user authentication, role-based access control, and route guards.
|
|
5
|
+
|
|
6
|
+
## Tasks
|
|
7
|
+
- [ ] Research stack-specific auth mechanisms (JWT, session, Firebase Auth, etc.)
|
|
8
|
+
- [ ] Configure environment variables for token secrets/keys
|
|
9
|
+
- [ ] Implement Sign-Up, Sign-In, and Sign-Out endpoints and helpers
|
|
10
|
+
- [ ] Implement authorization middleware / route guards
|
|
11
|
+
- [ ] Write integration tests verifying authenticated vs unauthenticated access
|
|
12
|
+
- [ ] Implement secure CORS and headers setup
|
|
13
|
+
|
|
14
|
+
## Success Criteria
|
|
15
|
+
- User registration and login flow works correctly.
|
|
16
|
+
- Protected API routes return appropriate HTTP 401/403 errors when unauthenticated.
|
|
17
|
+
- All auth unit and integration tests pass successfully.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Phase 3: Core MVP Features
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Implement the main functional value proposition of the MVP.
|
|
5
|
+
|
|
6
|
+
## Tasks
|
|
7
|
+
- [ ] Answer checklists/new-feature-qa.md for the core workflows
|
|
8
|
+
- [ ] Plan and outline database updates for core features
|
|
9
|
+
- [ ] Implement core backend business logic, validation rules, and algorithms
|
|
10
|
+
- [ ] Create UI components and pages required for the MVP journeys
|
|
11
|
+
- [ ] Wire up frontend components to backend API services
|
|
12
|
+
- [ ] Write integration and end-to-end user journey tests
|
|
13
|
+
|
|
14
|
+
## Success Criteria
|
|
15
|
+
- User can successfully complete the primary business journey end-to-end.
|
|
16
|
+
- Data is correctly persisted, modified, and queried from the database.
|
|
17
|
+
- Core business tests pass with >80% code coverage.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Phase 4: Third-Party Integrations
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
Integrate required external services (payment gateways, notification APIs, email delivery, or background queues).
|
|
5
|
+
|
|
6
|
+
## Tasks
|
|
7
|
+
- [ ] Research external API capabilities, quotas, and SDKs
|
|
8
|
+
- [ ] Create robust client wrappers with rate-limiting and retry logic
|
|
9
|
+
- [ ] Implement local mock/stub fixtures for external service testing
|
|
10
|
+
- [ ] Implement background workers / queues for asynchronous processes
|
|
11
|
+
- [ ] Implement email / notification sending events and templates
|
|
12
|
+
- [ ] Write integration tests verifying third-party callback/webhook handlers
|
|
13
|
+
|
|
14
|
+
## Success Criteria
|
|
15
|
+
- External API calls are successfully handled and tested using mock fixtures.
|
|
16
|
+
- Background jobs run, retry, and log failures cleanly.
|
|
17
|
+
- Webhooks are securely verified and processed.
|