codex-genesis-harness 0.1.0
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/.codex/skills/project-genesis-harness/SKILL.md +727 -0
- package/.codex/skills/project-genesis-harness/agents/openai.yaml +9 -0
- package/.codex/skills/project-genesis-harness/references/planning-schema.md +35 -0
- package/.codex/skills/project-genesis-harness/references/quality-rubric.md +21 -0
- package/.codex/skills/project-genesis-harness/references/research-rubric.md +41 -0
- package/.codex/skills/project-genesis-harness/references/workflows.md +33 -0
- package/.codex/skills/project-genesis-harness/resources/agents-template.md +27 -0
- package/.codex/skills/project-genesis-harness/resources/api-docs-template.md +32 -0
- package/.codex/skills/project-genesis-harness/resources/architecture-template.md +30 -0
- package/.codex/skills/project-genesis-harness/resources/audit-template.md +26 -0
- package/.codex/skills/project-genesis-harness/resources/bug-template.md +34 -0
- package/.codex/skills/project-genesis-harness/resources/check-template.md +21 -0
- package/.codex/skills/project-genesis-harness/resources/conventions-template.md +42 -0
- package/.codex/skills/project-genesis-harness/resources/decision-template.md +33 -0
- package/.codex/skills/project-genesis-harness/resources/design-template.md +26 -0
- package/.codex/skills/project-genesis-harness/resources/escalation-template.md +21 -0
- package/.codex/skills/project-genesis-harness/resources/feature-template.md +49 -0
- package/.codex/skills/project-genesis-harness/resources/integrations-template.md +32 -0
- package/.codex/skills/project-genesis-harness/resources/journeys-template.md +13 -0
- package/.codex/skills/project-genesis-harness/resources/lessons-learned-template.md +12 -0
- package/.codex/skills/project-genesis-harness/resources/observability-template.md +34 -0
- package/.codex/skills/project-genesis-harness/resources/phase-template.md +34 -0
- package/.codex/skills/project-genesis-harness/resources/pitfalls-template.md +22 -0
- package/.codex/skills/project-genesis-harness/resources/planning-tree-template.md +39 -0
- package/.codex/skills/project-genesis-harness/resources/project-template.md +38 -0
- package/.codex/skills/project-genesis-harness/resources/quality-score-template.md +11 -0
- package/.codex/skills/project-genesis-harness/resources/requirements-template.md +26 -0
- package/.codex/skills/project-genesis-harness/resources/research-template.md +26 -0
- package/.codex/skills/project-genesis-harness/resources/review-template.md +22 -0
- package/.codex/skills/project-genesis-harness/resources/spec-changelog-template.md +6 -0
- package/.codex/skills/project-genesis-harness/resources/stack-template.md +33 -0
- package/.codex/skills/project-genesis-harness/resources/verification-template.md +26 -0
- package/.codex/skills/project-genesis-harness/scripts/check-architecture-boundaries.sh +23 -0
- package/.codex/skills/project-genesis-harness/scripts/check-docs-sync.sh +24 -0
- package/.codex/skills/project-genesis-harness/scripts/check-no-debug-logs.sh +21 -0
- package/.codex/skills/project-genesis-harness/scripts/check-required-planning-files.sh +46 -0
- package/.codex/skills/project-genesis-harness/scripts/check-spec-changelog.sh +24 -0
- package/.codex/skills/project-genesis-harness/scripts/check-task-tracking.sh +25 -0
- package/.codex/skills/project-genesis-harness/scripts/create-adr.sh +74 -0
- package/.codex/skills/project-genesis-harness/scripts/create-bug.sh +160 -0
- package/.codex/skills/project-genesis-harness/scripts/create-feature.sh +217 -0
- package/.codex/skills/project-genesis-harness/scripts/detect-stack.sh +26 -0
- package/.codex/skills/project-genesis-harness/scripts/init-planning.sh +719 -0
- package/.codex/skills/project-genesis-harness/scripts/list-changed-files.sh +12 -0
- package/.codex/skills/project-genesis-harness/scripts/run-verification.sh +47 -0
- package/.codex/skills/project-genesis-harness/scripts/update-state.sh +33 -0
- package/.codex-plugin/plugin.json +35 -0
- package/LICENSE +22 -0
- package/README.md +181 -0
- package/VERSION +2 -0
- package/bin/genesis-harness.js +164 -0
- package/package.json +37 -0
- package/scripts/install.sh +69 -0
- package/scripts/run-evals.sh +52 -0
- package/scripts/uninstall.sh +52 -0
- package/scripts/verify.sh +109 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Project Genesis Harness"
|
|
3
|
+
short_description: "Plan, track, verify, and review projects"
|
|
4
|
+
brand_color: "#2563EB"
|
|
5
|
+
default_prompt: "Use $project-genesis-harness to initialize planning and operate this repository with test-first workflows."
|
|
6
|
+
|
|
7
|
+
policy:
|
|
8
|
+
allow_implicit_invocation: true
|
|
9
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Planning Schema Reference
|
|
2
|
+
|
|
3
|
+
Use this file when creating or auditing `.planning/`.
|
|
4
|
+
|
|
5
|
+
## Core Files
|
|
6
|
+
|
|
7
|
+
- `PROJECT.md`: product identity, users, value, scope, out of scope, constraints, assumptions, milestone, success criteria.
|
|
8
|
+
- `REQUIREMENTS.md`: functional requirements, non-functional requirements, user stories, acceptance criteria, edge cases, unknowns.
|
|
9
|
+
- `ROADMAP.md`: milestones, phases, dependencies, status, phase acceptance criteria.
|
|
10
|
+
- `STATE.md`: current phase, active feature or bug, last task, next task, blockers, latest verification.
|
|
11
|
+
- `STACK.md`: language, framework, runtime, database, package manager, tests, lint/typecheck, deployment, local commands.
|
|
12
|
+
- `ARCHITECTURE.md`: architecture, boundaries, data flow, dependency direction, service boundaries, principles, forbidden patterns.
|
|
13
|
+
- `DESIGN.md`: UX principles, screens, components, state management, accessibility, constraints.
|
|
14
|
+
- `API_DOCS.md`: endpoints, examples, errors, auth, versioning.
|
|
15
|
+
- `INTEGRATIONS.md`: services, SDKs, environment variables, secrets, failure handling, fallback behavior, limits.
|
|
16
|
+
- `CONVENTIONS.md`: naming, folders, style, errors, logging, testing, API, security, patterns to follow and avoid.
|
|
17
|
+
- `PITFALLS.md`: common mistakes, risky areas, fragile dependencies, warnings.
|
|
18
|
+
- `LESSONS_LEARNED.md`: bug lessons with root cause, failed assumption, correct pattern, prevention, changed files, verification.
|
|
19
|
+
- `SPEC_CHANGELOG.md`: every spec-affecting change.
|
|
20
|
+
- `QUALITY_SCORE.md`: quality rubric scores and next actions.
|
|
21
|
+
|
|
22
|
+
## Required Subtrees
|
|
23
|
+
|
|
24
|
+
- `diagrams/`
|
|
25
|
+
- `research/`
|
|
26
|
+
- `decisions/`
|
|
27
|
+
- `phases/`
|
|
28
|
+
- `features/`
|
|
29
|
+
- `bugs/`
|
|
30
|
+
- `audits/`
|
|
31
|
+
- `checks/`
|
|
32
|
+
- `quick/`
|
|
33
|
+
- `codebase/`
|
|
34
|
+
- `templates/`
|
|
35
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Quality Rubric
|
|
2
|
+
|
|
3
|
+
Use this file when updating `.planning/QUALITY_SCORE.md`.
|
|
4
|
+
|
|
5
|
+
| Score | Meaning |
|
|
6
|
+
|---:|---|
|
|
7
|
+
| 0 | Unknown, absent, or not evaluated |
|
|
8
|
+
| 2 | Known major gaps with no mitigation |
|
|
9
|
+
| 4 | Basic structure exists but is inconsistent or mostly manual |
|
|
10
|
+
| 6 | Working baseline with known gaps and follow-up tasks |
|
|
11
|
+
| 8 | Strong, verified, documented, and mostly automated |
|
|
12
|
+
| 10 | Mature, automated, documented, reviewed, and low-risk |
|
|
13
|
+
|
|
14
|
+
## Areas
|
|
15
|
+
|
|
16
|
+
- Architecture: module boundaries, dependency direction, diagrams, ADRs, forbidden patterns.
|
|
17
|
+
- Tests: regression coverage, smoke tests, edge cases, failing-first evidence, repeatability.
|
|
18
|
+
- Docs Sync: behavior docs, changelog entries, impact matrix compliance.
|
|
19
|
+
- Security: auth, secrets, data protection, dependency risk, destructive-operation safeguards.
|
|
20
|
+
- Maintainability: naming, duplication, dead code, conventions, module size, refactor risk.
|
|
21
|
+
- Observability: logs, metrics, traces, errors, health checks, debug commands, inspection workflow.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Research Rubric
|
|
2
|
+
|
|
3
|
+
Use this file before planning or implementing non-trivial work.
|
|
4
|
+
|
|
5
|
+
## Required Evidence
|
|
6
|
+
|
|
7
|
+
| Evidence | Required? | Notes |
|
|
8
|
+
|---|---:|---|
|
|
9
|
+
| Local code paths | Yes | Include file paths or commands. |
|
|
10
|
+
| Similar existing patterns | Yes | Prefer repo conventions over new abstractions. |
|
|
11
|
+
| Official docs | When available | Cite URL or doc name and date checked. |
|
|
12
|
+
| Reputable external examples | When useful | Do not copy architecture blindly. |
|
|
13
|
+
| Unknowns | Yes | Record gaps instead of inventing facts. |
|
|
14
|
+
|
|
15
|
+
## Output Format
|
|
16
|
+
|
|
17
|
+
```md
|
|
18
|
+
## Research: <topic>
|
|
19
|
+
|
|
20
|
+
Date:
|
|
21
|
+
Question:
|
|
22
|
+
|
|
23
|
+
## Local Evidence
|
|
24
|
+
|
|
25
|
+
| File / Command | Finding | Impact |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
|
|
28
|
+
## External Evidence
|
|
29
|
+
|
|
30
|
+
| Source | Date Checked | Finding | Impact |
|
|
31
|
+
|---|---|---|---|
|
|
32
|
+
|
|
33
|
+
## Decision Impact
|
|
34
|
+
|
|
35
|
+
- [ ] TBD
|
|
36
|
+
|
|
37
|
+
## Confidence / Gaps
|
|
38
|
+
|
|
39
|
+
- [ ] TBD
|
|
40
|
+
```
|
|
41
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Workflow Reference
|
|
2
|
+
|
|
3
|
+
Use this file when the requested work is a feature, bug fix, plan, audit, review, or status check.
|
|
4
|
+
|
|
5
|
+
## Command Mapping
|
|
6
|
+
|
|
7
|
+
| Intent | Workflow |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Initialize planning | `/init` |
|
|
10
|
+
| Add behavior | `/new-feature` |
|
|
11
|
+
| Fix regression | `/fix-bug` |
|
|
12
|
+
| Plan without implementing | `/plan` |
|
|
13
|
+
| Inspect quality and drift | `/audit` |
|
|
14
|
+
| Review changed files | `/review` |
|
|
15
|
+
| Summarize current state | `/status` |
|
|
16
|
+
|
|
17
|
+
## Readiness Gate
|
|
18
|
+
|
|
19
|
+
- [ ] Intent is confirmed.
|
|
20
|
+
- [ ] Required planning docs are read.
|
|
21
|
+
- [ ] Local codebase evidence is recorded.
|
|
22
|
+
- [ ] External research is cited or marked unavailable.
|
|
23
|
+
- [ ] Impact, tests, docs, diagrams, and rollback are known.
|
|
24
|
+
- [ ] Escalation risks are resolved.
|
|
25
|
+
|
|
26
|
+
## Completion Gate
|
|
27
|
+
|
|
28
|
+
- [ ] Verification passed.
|
|
29
|
+
- [ ] Docs were synchronized or declared unnecessary.
|
|
30
|
+
- [ ] Tracking files were updated.
|
|
31
|
+
- [ ] Changed files were reviewed.
|
|
32
|
+
- [ ] Unnecessary files, debug logs, and unrelated changes were removed.
|
|
33
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# AGENTS.md
|
|
2
|
+
|
|
3
|
+
This repository uses the Project Genesis Harness.
|
|
4
|
+
|
|
5
|
+
Before doing feature work, bug fixes, refactors, or architecture changes, read:
|
|
6
|
+
|
|
7
|
+
1. `.planning/SUMMARY.md`
|
|
8
|
+
2. `.planning/STATE.md`
|
|
9
|
+
3. `.planning/PROJECT.md`
|
|
10
|
+
4. `.planning/REQUIREMENTS.md`
|
|
11
|
+
5. `.planning/STACK.md`
|
|
12
|
+
6. `.planning/ARCHITECTURE.md`
|
|
13
|
+
7. `.planning/CONVENTIONS.md`
|
|
14
|
+
8. `.planning/PITFALLS.md`
|
|
15
|
+
9. `.planning/LESSONS_LEARNED.md`
|
|
16
|
+
|
|
17
|
+
For new features, create a folder under `.planning/features/`.
|
|
18
|
+
For bug fixes, create a folder under `.planning/bugs/`.
|
|
19
|
+
For major decisions, create an ADR under `.planning/decisions/`.
|
|
20
|
+
|
|
21
|
+
Do not claim completion unless:
|
|
22
|
+
|
|
23
|
+
- verification passed
|
|
24
|
+
- docs were synchronized
|
|
25
|
+
- task tracking was updated
|
|
26
|
+
- changed files were reviewed
|
|
27
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# API Docs
|
|
2
|
+
|
|
3
|
+
## Endpoints
|
|
4
|
+
|
|
5
|
+
| Method | Path | Purpose | Auth |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| TBD | TBD | TBD | TBD |
|
|
8
|
+
|
|
9
|
+
## Request Examples
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Response Examples
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Error Format
|
|
22
|
+
|
|
23
|
+
TBD
|
|
24
|
+
|
|
25
|
+
## Auth Requirements
|
|
26
|
+
|
|
27
|
+
TBD
|
|
28
|
+
|
|
29
|
+
## Versioning Rules
|
|
30
|
+
|
|
31
|
+
TBD
|
|
32
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
## High-Level Architecture
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Module Boundaries
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Data Flow
|
|
12
|
+
|
|
13
|
+
TBD
|
|
14
|
+
|
|
15
|
+
## Dependency Direction
|
|
16
|
+
|
|
17
|
+
TBD
|
|
18
|
+
|
|
19
|
+
## Service Boundaries
|
|
20
|
+
|
|
21
|
+
TBD
|
|
22
|
+
|
|
23
|
+
## System Design Principles
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
27
|
+
## Forbidden Architecture Patterns
|
|
28
|
+
|
|
29
|
+
- [ ] TBD
|
|
30
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Audit
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
- [ ] architecture drift
|
|
6
|
+
- [ ] docs freshness
|
|
7
|
+
- [ ] dead code
|
|
8
|
+
- [ ] duplicated logic
|
|
9
|
+
- [ ] dependency risk
|
|
10
|
+
- [ ] security risk
|
|
11
|
+
- [ ] missing tests
|
|
12
|
+
- [ ] missing diagrams
|
|
13
|
+
- [ ] stale decisions
|
|
14
|
+
- [ ] stale feature tasks
|
|
15
|
+
- [ ] stale phase tasks
|
|
16
|
+
|
|
17
|
+
## Findings
|
|
18
|
+
|
|
19
|
+
| Severity | Area | Finding | Follow-Up Task |
|
|
20
|
+
|---|---|---|---|
|
|
21
|
+
| TBD | TBD | TBD | TBD |
|
|
22
|
+
|
|
23
|
+
## Quality Score Updates
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Bug
|
|
2
|
+
|
|
3
|
+
## Report
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Reproduction
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Root Cause
|
|
12
|
+
|
|
13
|
+
TBD
|
|
14
|
+
|
|
15
|
+
## Test Contract
|
|
16
|
+
|
|
17
|
+
- [ ] Regression test or verification must fail before the fix.
|
|
18
|
+
- [ ] Regression test or verification must pass after the fix.
|
|
19
|
+
|
|
20
|
+
## Tasks
|
|
21
|
+
|
|
22
|
+
- [ ] Read PITFALLS.md
|
|
23
|
+
- [ ] Read LESSONS_LEARNED.md
|
|
24
|
+
- [ ] Reproduce bug
|
|
25
|
+
- [ ] Identify root cause
|
|
26
|
+
- [ ] Write regression test or verification
|
|
27
|
+
- [ ] Fix bug
|
|
28
|
+
- [ ] Run verification
|
|
29
|
+
- [ ] Update LESSONS_LEARNED.md
|
|
30
|
+
- [ ] Update docs if behavior changed
|
|
31
|
+
- [ ] Review changed files
|
|
32
|
+
- [ ] Update STATE.md
|
|
33
|
+
- [ ] Update SPEC_CHANGELOG.md if needed
|
|
34
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Conventions
|
|
2
|
+
|
|
3
|
+
## Naming
|
|
4
|
+
|
|
5
|
+
- [ ] TBD
|
|
6
|
+
|
|
7
|
+
## Folders
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Code Style
|
|
12
|
+
|
|
13
|
+
- [ ] TBD
|
|
14
|
+
|
|
15
|
+
## Error Handling
|
|
16
|
+
|
|
17
|
+
- [ ] TBD
|
|
18
|
+
|
|
19
|
+
## Logging
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
23
|
+
## Testing
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
27
|
+
## API
|
|
28
|
+
|
|
29
|
+
- [ ] TBD
|
|
30
|
+
|
|
31
|
+
## Security
|
|
32
|
+
|
|
33
|
+
- [ ] TBD
|
|
34
|
+
|
|
35
|
+
## Patterns To Follow
|
|
36
|
+
|
|
37
|
+
- [ ] TBD
|
|
38
|
+
|
|
39
|
+
## Patterns To Avoid
|
|
40
|
+
|
|
41
|
+
- [ ] TBD
|
|
42
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# ADR: Title
|
|
2
|
+
|
|
3
|
+
Status: Proposed
|
|
4
|
+
Date:
|
|
5
|
+
|
|
6
|
+
## Context
|
|
7
|
+
|
|
8
|
+
TBD
|
|
9
|
+
|
|
10
|
+
## Decision
|
|
11
|
+
|
|
12
|
+
TBD
|
|
13
|
+
|
|
14
|
+
## Alternatives Considered
|
|
15
|
+
|
|
16
|
+
- [ ] TBD
|
|
17
|
+
|
|
18
|
+
## Consequences
|
|
19
|
+
|
|
20
|
+
- [ ] TBD
|
|
21
|
+
|
|
22
|
+
## Risks
|
|
23
|
+
|
|
24
|
+
- [ ] TBD
|
|
25
|
+
|
|
26
|
+
## Mitigation
|
|
27
|
+
|
|
28
|
+
- [ ] TBD
|
|
29
|
+
|
|
30
|
+
## Verification Evidence
|
|
31
|
+
|
|
32
|
+
TBD
|
|
33
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Design
|
|
2
|
+
|
|
3
|
+
## UX Principles
|
|
4
|
+
|
|
5
|
+
- [ ] TBD
|
|
6
|
+
|
|
7
|
+
## Screens / Pages
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Component Conventions
|
|
12
|
+
|
|
13
|
+
- [ ] TBD
|
|
14
|
+
|
|
15
|
+
## State Management Rules
|
|
16
|
+
|
|
17
|
+
- [ ] TBD
|
|
18
|
+
|
|
19
|
+
## Accessibility Notes
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
23
|
+
## Design Constraints
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Escalation
|
|
2
|
+
|
|
3
|
+
Codex must stop and ask the user when:
|
|
4
|
+
|
|
5
|
+
- [!] product requirement conflicts
|
|
6
|
+
- [!] security decision is ambiguous
|
|
7
|
+
- [!] public API breaking change is required
|
|
8
|
+
- [!] destructive database migration is required
|
|
9
|
+
- [!] credentials or secrets are missing
|
|
10
|
+
- [!] cost/performance tradeoff is unclear
|
|
11
|
+
- [!] legal/compliance concern exists
|
|
12
|
+
- [!] user intent is ambiguous
|
|
13
|
+
- [!] implementation would delete user data
|
|
14
|
+
- [!] implementation requires paid external service setup
|
|
15
|
+
|
|
16
|
+
## Escalation Log
|
|
17
|
+
|
|
18
|
+
| Date/Time | Reason | Decision Needed | Resolution |
|
|
19
|
+
|---|---|---|---|
|
|
20
|
+
| TBD | TBD | TBD | TBD |
|
|
21
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Feature
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## User Story
|
|
8
|
+
|
|
9
|
+
As a TBD, I want TBD so that TBD.
|
|
10
|
+
|
|
11
|
+
## Expected Behavior
|
|
12
|
+
|
|
13
|
+
- [ ] TBD
|
|
14
|
+
|
|
15
|
+
## Edge Cases
|
|
16
|
+
|
|
17
|
+
- [ ] TBD
|
|
18
|
+
|
|
19
|
+
## Out Of Scope
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
23
|
+
## Acceptance Criteria
|
|
24
|
+
|
|
25
|
+
- [ ] TBD
|
|
26
|
+
|
|
27
|
+
## Tasks
|
|
28
|
+
|
|
29
|
+
- [ ] Read required planning docs
|
|
30
|
+
- [ ] Read PITFALLS.md
|
|
31
|
+
- [ ] Read LESSONS_LEARNED.md
|
|
32
|
+
- [ ] Research existing codebase patterns
|
|
33
|
+
- [ ] Research best practices
|
|
34
|
+
- [ ] Create or update Mermaid diagram
|
|
35
|
+
- [ ] Write SPEC.md
|
|
36
|
+
- [ ] Write IMPACT.md
|
|
37
|
+
- [ ] Write PLAN.md
|
|
38
|
+
- [ ] Write TEST_CONTRACT.md
|
|
39
|
+
- [ ] Add failing tests or verification
|
|
40
|
+
- [ ] Implement feature
|
|
41
|
+
- [ ] Run verification
|
|
42
|
+
- [ ] Update docs
|
|
43
|
+
- [ ] Review changed files
|
|
44
|
+
- [ ] Remove unnecessary files/code
|
|
45
|
+
- [ ] Update STATE.md
|
|
46
|
+
- [ ] Update FEATURE_INDEX.md
|
|
47
|
+
- [ ] Update SPEC_CHANGELOG.md
|
|
48
|
+
- [ ] Mark completed tasks
|
|
49
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Integrations
|
|
2
|
+
|
|
3
|
+
## External Services
|
|
4
|
+
|
|
5
|
+
- [ ] TBD
|
|
6
|
+
|
|
7
|
+
## SDKs / Packages
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Environment Variables
|
|
12
|
+
|
|
13
|
+
| Name | Purpose | Required | Notes |
|
|
14
|
+
|---|---|---:|---|
|
|
15
|
+
| TBD | TBD | TBD | TBD |
|
|
16
|
+
|
|
17
|
+
## Secrets Required
|
|
18
|
+
|
|
19
|
+
- [ ] TBD
|
|
20
|
+
|
|
21
|
+
## Failure Handling
|
|
22
|
+
|
|
23
|
+
- [ ] TBD
|
|
24
|
+
|
|
25
|
+
## Fallback Behavior
|
|
26
|
+
|
|
27
|
+
- [ ] TBD
|
|
28
|
+
|
|
29
|
+
## Rate Limits
|
|
30
|
+
|
|
31
|
+
- [ ] TBD
|
|
32
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Observability
|
|
2
|
+
|
|
3
|
+
## Logs
|
|
4
|
+
|
|
5
|
+
- [ ] TBD
|
|
6
|
+
|
|
7
|
+
## Metrics
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Traces
|
|
12
|
+
|
|
13
|
+
- [ ] TBD
|
|
14
|
+
|
|
15
|
+
## Error Reporting
|
|
16
|
+
|
|
17
|
+
- [ ] TBD
|
|
18
|
+
|
|
19
|
+
## Health Checks
|
|
20
|
+
|
|
21
|
+
- [ ] TBD
|
|
22
|
+
|
|
23
|
+
## Debug Commands
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
# TBD
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Local Inspection Commands
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
# TBD
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Phase Plan
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
TBD
|
|
6
|
+
|
|
7
|
+
## Scope
|
|
8
|
+
|
|
9
|
+
- [ ] TBD
|
|
10
|
+
|
|
11
|
+
## Dependencies
|
|
12
|
+
|
|
13
|
+
- [ ] TBD
|
|
14
|
+
|
|
15
|
+
## Tasks
|
|
16
|
+
|
|
17
|
+
- [ ] Read required planning docs
|
|
18
|
+
- [ ] Research codebase patterns
|
|
19
|
+
- [ ] Define test contract
|
|
20
|
+
- [ ] Implement planned work
|
|
21
|
+
- [ ] Run verification
|
|
22
|
+
- [ ] Update docs
|
|
23
|
+
- [ ] Review changed files
|
|
24
|
+
|
|
25
|
+
## Acceptance Criteria
|
|
26
|
+
|
|
27
|
+
- [ ] TBD
|
|
28
|
+
|
|
29
|
+
## Verification
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
# TBD
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Planning Tree Template
|
|
2
|
+
|
|
3
|
+
```txt
|
|
4
|
+
.planning/
|
|
5
|
+
├── PROJECT.md
|
|
6
|
+
├── REQUIREMENTS.md
|
|
7
|
+
├── ROADMAP.md
|
|
8
|
+
├── STATE.md
|
|
9
|
+
├── STACK.md
|
|
10
|
+
├── ARCHITECTURE.md
|
|
11
|
+
├── DESIGN.md
|
|
12
|
+
├── API_DOCS.md
|
|
13
|
+
├── INTEGRATIONS.md
|
|
14
|
+
├── CONVENTIONS.md
|
|
15
|
+
├── PITFALLS.md
|
|
16
|
+
├── LESSONS_LEARNED.md
|
|
17
|
+
├── SPEC_CHANGELOG.md
|
|
18
|
+
├── FEATURE_INDEX.md
|
|
19
|
+
├── CHANGE_IMPACT_MATRIX.md
|
|
20
|
+
├── QUALITY_SCORE.md
|
|
21
|
+
├── ESCALATION.md
|
|
22
|
+
├── OBSERVABILITY.md
|
|
23
|
+
├── SMOKE_TESTS.md
|
|
24
|
+
├── JOURNEYS.md
|
|
25
|
+
├── SUMMARY.md
|
|
26
|
+
├── config.json
|
|
27
|
+
├── diagrams/
|
|
28
|
+
├── research/
|
|
29
|
+
├── decisions/
|
|
30
|
+
├── phases/
|
|
31
|
+
├── features/
|
|
32
|
+
├── bugs/
|
|
33
|
+
├── audits/
|
|
34
|
+
├── checks/
|
|
35
|
+
├── quick/
|
|
36
|
+
├── codebase/
|
|
37
|
+
└── templates/
|
|
38
|
+
```
|
|
39
|
+
|