@karthikrajkumar.kannan/get-things-done 1.0.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/LICENSE +21 -0
- package/README.md +237 -0
- package/agents/backward/gtd-accuracy-verifier.md +198 -0
- package/agents/backward/gtd-api-doc-writer.md +130 -0
- package/agents/backward/gtd-api-extractor.md +128 -0
- package/agents/backward/gtd-architecture-analyzer.md +144 -0
- package/agents/backward/gtd-capacity-writer.md +123 -0
- package/agents/backward/gtd-codebase-mapper.md +274 -0
- package/agents/backward/gtd-completeness-auditor.md +129 -0
- package/agents/backward/gtd-data-flow-tracer.md +104 -0
- package/agents/backward/gtd-dependency-analyzer.md +98 -0
- package/agents/backward/gtd-diagram-generator.md +152 -0
- package/agents/backward/gtd-hld-writer.md +123 -0
- package/agents/backward/gtd-lld-writer.md +126 -0
- package/agents/backward/gtd-pattern-detector.md +111 -0
- package/agents/backward/gtd-performance-profiler.md +93 -0
- package/agents/backward/gtd-runbook-writer.md +126 -0
- package/agents/backward/gtd-security-scanner.md +106 -0
- package/agents/backward/gtd-sysdesign-writer.md +137 -0
- package/agents/backward/gtd-tdd-writer.md +125 -0
- package/agents/forward/gtd-code-reviewer.md +130 -0
- package/agents/forward/gtd-debugger.md +133 -0
- package/agents/forward/gtd-deployer.md +110 -0
- package/agents/forward/gtd-executor.md +110 -0
- package/agents/forward/gtd-phase-researcher.md +114 -0
- package/agents/forward/gtd-plan-checker.md +132 -0
- package/agents/forward/gtd-planner.md +136 -0
- package/agents/forward/gtd-project-researcher.md +106 -0
- package/agents/forward/gtd-research-synthesizer.md +99 -0
- package/agents/forward/gtd-roadmapper.md +126 -0
- package/agents/forward/gtd-test-runner.md +119 -0
- package/agents/forward/gtd-verifier.md +115 -0
- package/agents/sync/gtd-alignment-auditor.md +222 -0
- package/agents/sync/gtd-drift-detector.md +222 -0
- package/agents/sync/gtd-reconciliation-planner.md +194 -0
- package/bin/gtd-tools.cjs +89 -0
- package/bin/install.js +164 -0
- package/commands/gtd/backward/analyze.md +42 -0
- package/commands/gtd/backward/create-all.md +32 -0
- package/commands/gtd/backward/create-api-docs.md +33 -0
- package/commands/gtd/backward/create-capacity.md +33 -0
- package/commands/gtd/backward/create-hld.md +33 -0
- package/commands/gtd/backward/create-lld.md +33 -0
- package/commands/gtd/backward/create-runbook.md +33 -0
- package/commands/gtd/backward/create-sysdesign.md +33 -0
- package/commands/gtd/backward/create-tdd.md +33 -0
- package/commands/gtd/backward/diff.md +22 -0
- package/commands/gtd/backward/doc-status.md +24 -0
- package/commands/gtd/backward/review-docs.md +22 -0
- package/commands/gtd/backward/scan.md +32 -0
- package/commands/gtd/backward/update-docs.md +30 -0
- package/commands/gtd/backward/verify-docs.md +28 -0
- package/commands/gtd/forward/add-phase.md +28 -0
- package/commands/gtd/forward/autonomous.md +28 -0
- package/commands/gtd/forward/code-review.md +28 -0
- package/commands/gtd/forward/complete-milestone.md +28 -0
- package/commands/gtd/forward/debug.md +28 -0
- package/commands/gtd/forward/discuss-phase.md +29 -0
- package/commands/gtd/forward/execute-phase.md +28 -0
- package/commands/gtd/forward/fast.md +28 -0
- package/commands/gtd/forward/new-milestone.md +28 -0
- package/commands/gtd/forward/new-project.md +29 -0
- package/commands/gtd/forward/next.md +28 -0
- package/commands/gtd/forward/plan-phase.md +29 -0
- package/commands/gtd/forward/progress.md +28 -0
- package/commands/gtd/forward/quick.md +28 -0
- package/commands/gtd/forward/ship.md +28 -0
- package/commands/gtd/forward/verify-work.md +28 -0
- package/commands/gtd/sync/audit.md +27 -0
- package/commands/gtd/sync/drift.md +27 -0
- package/commands/gtd/sync/reconcile.md +27 -0
- package/commands/gtd/sync/sync.md +27 -0
- package/commands/gtd/utility/health.md +53 -0
- package/commands/gtd/utility/help.md +61 -0
- package/commands/gtd/utility/map-codebase.md +27 -0
- package/commands/gtd/utility/settings.md +65 -0
- package/commands/gtd/utility/status.md +57 -0
- package/contexts/analysis.md +26 -0
- package/contexts/execution.md +35 -0
- package/contexts/planning.md +33 -0
- package/contexts/research.md +26 -0
- package/contexts/review.md +27 -0
- package/contexts/writing.md +29 -0
- package/hooks/gtd-check-update.js +37 -0
- package/hooks/gtd-context-monitor.js +32 -0
- package/hooks/gtd-prompt-guard.js +35 -0
- package/hooks/gtd-statusline.js +32 -0
- package/lib/agent-skills.cjs +130 -0
- package/lib/analysis.cjs +242 -0
- package/lib/config.cjs +255 -0
- package/lib/deploy.cjs +222 -0
- package/lib/diff-engine.cjs +245 -0
- package/lib/docs.cjs +243 -0
- package/lib/drift-engine.cjs +202 -0
- package/lib/file-ops.cjs +106 -0
- package/lib/frontmatter.cjs +100 -0
- package/lib/git.cjs +137 -0
- package/lib/init.cjs +370 -0
- package/lib/installer-core.cjs +197 -0
- package/lib/installers/augment.cjs +62 -0
- package/lib/installers/claude.cjs +89 -0
- package/lib/installers/cline.cjs +96 -0
- package/lib/installers/codex.cjs +63 -0
- package/lib/installers/copilot.cjs +62 -0
- package/lib/installers/cursor.cjs +62 -0
- package/lib/installers/gemini.cjs +62 -0
- package/lib/installers/opencode.cjs +62 -0
- package/lib/installers/windsurf.cjs +62 -0
- package/lib/phase.cjs +206 -0
- package/lib/roadmap.cjs +156 -0
- package/lib/scale-adapter.cjs +192 -0
- package/lib/security.cjs +243 -0
- package/lib/state.cjs +320 -0
- package/lib/template.cjs +218 -0
- package/lib/test-runner.cjs +202 -0
- package/package.json +76 -0
- package/references/agent-contracts.md +157 -0
- package/references/analysis-patterns.md +138 -0
- package/references/context-budget.md +148 -0
- package/references/diagram-conventions.md +88 -0
- package/references/document-standards.md +60 -0
- package/references/framework-signatures.md +609 -0
- package/references/gate-prompts.md +239 -0
- package/references/language-analyzers.md +227 -0
- package/references/planning-config.md +125 -0
- package/references/questioning.md +142 -0
- package/references/verification-patterns.md +67 -0
- package/templates/backward/api-docs/standard.md +42 -0
- package/templates/backward/capacity/standard.md +50 -0
- package/templates/backward/formats/compliance-guide.md +45 -0
- package/templates/backward/hld/standard.md +62 -0
- package/templates/backward/lld/standard.md +63 -0
- package/templates/backward/runbook/standard.md +50 -0
- package/templates/backward/system-design/standard.md +64 -0
- package/templates/backward/tdd/compliance.md +146 -0
- package/templates/backward/tdd/enterprise.md +134 -0
- package/templates/backward/tdd/standard.md +88 -0
- package/templates/backward/tdd/startup.md +51 -0
- package/templates/forward/context.md +65 -0
- package/templates/forward/phase-prompt.md +109 -0
- package/templates/forward/project.md +71 -0
- package/templates/forward/requirements.md +74 -0
- package/templates/forward/research/ARCHITECTURE.md +118 -0
- package/templates/forward/research/FEATURES.md +95 -0
- package/templates/forward/research/PITFALLS.md +106 -0
- package/templates/forward/research/STACK.md +80 -0
- package/templates/forward/research/SUMMARY.md +86 -0
- package/templates/forward/roadmap.md +72 -0
- package/workflows/backward/analyze-codebase.md +123 -0
- package/workflows/backward/create-all.md +53 -0
- package/workflows/backward/generate-document.md +182 -0
- package/workflows/backward/incremental-update.md +71 -0
- package/workflows/backward/review-document.md +102 -0
- package/workflows/backward/scan-codebase.md +111 -0
- package/workflows/backward/verify-document.md +79 -0
- package/workflows/forward/add-phase.md +29 -0
- package/workflows/forward/autonomous.md +62 -0
- package/workflows/forward/code-review.md +78 -0
- package/workflows/forward/complete-milestone.md +45 -0
- package/workflows/forward/debug.md +78 -0
- package/workflows/forward/deploy-local.md +51 -0
- package/workflows/forward/discuss-phase.md +89 -0
- package/workflows/forward/execute-phase.md +138 -0
- package/workflows/forward/fast.md +64 -0
- package/workflows/forward/new-milestone.md +61 -0
- package/workflows/forward/new-project.md +126 -0
- package/workflows/forward/next.md +49 -0
- package/workflows/forward/plan-phase.md +100 -0
- package/workflows/forward/progress.md +37 -0
- package/workflows/forward/quick.md +65 -0
- package/workflows/forward/ship.md +40 -0
- package/workflows/forward/test-phase.md +47 -0
- package/workflows/forward/verify-work.md +52 -0
- package/workflows/sync/audit.md +110 -0
- package/workflows/sync/detect-drift.md +122 -0
- package/workflows/sync/reconcile.md +113 -0
- package/workflows/sync/sync.md +150 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# Dream Extraction: Questioning Philosophy
|
|
2
|
+
|
|
3
|
+
> Reference document for the forward pipeline questioning agent.
|
|
4
|
+
> Goal: Surface the user's VISION, not just a feature list.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Core Principle
|
|
9
|
+
|
|
10
|
+
The user has a dream, not a spec. Your job is to help them articulate what they see in their head. Requirements emerge from understanding the dream -- never start with requirements.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Product Type Detection
|
|
15
|
+
|
|
16
|
+
Before asking detailed questions, classify the project type to calibrate your approach.
|
|
17
|
+
|
|
18
|
+
| Signal | Product Type | Question Style |
|
|
19
|
+
|--------|-------------|----------------|
|
|
20
|
+
| "I want to build an app that..." | Consumer product | Focus on UX, users, emotions |
|
|
21
|
+
| "We need a system that..." | Internal tool | Focus on workflow, integrations, data |
|
|
22
|
+
| "I want a site for..." | Content/marketing | Focus on audience, tone, conversion |
|
|
23
|
+
| "I need an API that..." | Developer tool | Focus on contracts, DX, performance |
|
|
24
|
+
| "I want to automate..." | Automation/script | Focus on triggers, reliability, edge cases |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Question Categories
|
|
29
|
+
|
|
30
|
+
### 1. Scope & Vision
|
|
31
|
+
|
|
32
|
+
Purpose: Understand the boundaries and ambition level.
|
|
33
|
+
|
|
34
|
+
- "What does the finished thing look like when someone first uses it?"
|
|
35
|
+
- "What is the ONE thing it absolutely must do well?"
|
|
36
|
+
- "What would make you proud to show this to someone?"
|
|
37
|
+
- "Is this a weekend project or something you want to grow?"
|
|
38
|
+
|
|
39
|
+
### 2. Users & Audience
|
|
40
|
+
|
|
41
|
+
Purpose: Ground the vision in real people.
|
|
42
|
+
|
|
43
|
+
- "Who is the first person that will use this (besides you)?"
|
|
44
|
+
- "What are they doing RIGHT BEFORE they open your app?"
|
|
45
|
+
- "What problem goes away when they use it?"
|
|
46
|
+
- "How technical are your users?"
|
|
47
|
+
|
|
48
|
+
### 3. Technical Preferences
|
|
49
|
+
|
|
50
|
+
Purpose: Detect existing opinions and constraints.
|
|
51
|
+
|
|
52
|
+
- "Do you have a language or framework preference?"
|
|
53
|
+
- "Is there existing code or infrastructure this needs to fit into?"
|
|
54
|
+
- "Any services you already pay for (hosting, databases, auth)?"
|
|
55
|
+
- "Do you have strong opinions about any technology choices?"
|
|
56
|
+
|
|
57
|
+
### 4. UX & Design
|
|
58
|
+
|
|
59
|
+
Purpose: Understand aesthetic and interaction expectations.
|
|
60
|
+
|
|
61
|
+
- "Can you name an app or site that FEELS like what you want?"
|
|
62
|
+
- "Is this mobile-first, desktop-first, or both?"
|
|
63
|
+
- "Minimal and clean, or feature-rich and powerful?"
|
|
64
|
+
- "Any colors, fonts, or visual styles you are drawn to?"
|
|
65
|
+
|
|
66
|
+
### 5. Constraints & Boundaries
|
|
67
|
+
|
|
68
|
+
Purpose: Identify hard limits early.
|
|
69
|
+
|
|
70
|
+
- "What is your budget for hosting and services?"
|
|
71
|
+
- "When do you need this working?"
|
|
72
|
+
- "Are there compliance or privacy requirements?"
|
|
73
|
+
- "What should this explicitly NOT do?"
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## The "Anything Else?" Pattern
|
|
78
|
+
|
|
79
|
+
After covering the categories above, always ask one open-ended closing question:
|
|
80
|
+
|
|
81
|
+
> "Is there anything else about this project that feels important but I have not asked about?"
|
|
82
|
+
|
|
83
|
+
This catches:
|
|
84
|
+
- Unstated assumptions the user holds
|
|
85
|
+
- Emotional priorities (speed, elegance, simplicity)
|
|
86
|
+
- Prior bad experiences they want to avoid
|
|
87
|
+
- Constraints they forgot to mention
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## Auto-Mode Extraction
|
|
92
|
+
|
|
93
|
+
When the user provides a long initial description, extract answers to the categories above without re-asking. Only ask about gaps.
|
|
94
|
+
|
|
95
|
+
**Process:**
|
|
96
|
+
1. Parse the user input against all 5 categories
|
|
97
|
+
2. Mark each category as: `covered`, `partial`, `missing`
|
|
98
|
+
3. For `covered` categories: confirm your understanding in a single sentence
|
|
99
|
+
4. For `partial` categories: ask ONE targeted follow-up
|
|
100
|
+
5. For `missing` categories: ask the most important question from that category
|
|
101
|
+
|
|
102
|
+
**Example mapping:**
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
User says: "I want a task manager with tags, built in React, deployed on Vercel"
|
|
106
|
+
|
|
107
|
+
Category status:
|
|
108
|
+
- Scope & Vision: partial (what, but not why or success criteria)
|
|
109
|
+
- Users: missing
|
|
110
|
+
- Technical: covered (React + Vercel)
|
|
111
|
+
- UX: missing
|
|
112
|
+
- Constraints: partial (platform chosen, but no timeline/budget)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Adaptive Depth
|
|
118
|
+
|
|
119
|
+
| User Response Style | Adjust To |
|
|
120
|
+
|--------------------|-----------|
|
|
121
|
+
| Short, terse answers | Ask fewer, more specific questions |
|
|
122
|
+
| Long, detailed answers | Summarize and confirm, skip redundant questions |
|
|
123
|
+
| Uncertain / "I don't know" | Offer 2-3 concrete options to choose from |
|
|
124
|
+
| Opinionated / decisive | Record the decision, move quickly to next topic |
|
|
125
|
+
| Contradictory answers | Gently surface the contradiction, ask which they prefer |
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Output Format
|
|
130
|
+
|
|
131
|
+
After extraction, produce a structured brief:
|
|
132
|
+
|
|
133
|
+
```markdown
|
|
134
|
+
## Dream Brief
|
|
135
|
+
- **Vision:** [one sentence]
|
|
136
|
+
- **Users:** [who]
|
|
137
|
+
- **Core Feature:** [the ONE thing]
|
|
138
|
+
- **Tech Preferences:** [stated preferences]
|
|
139
|
+
- **Constraints:** [hard limits]
|
|
140
|
+
- **Style:** [aesthetic/UX direction]
|
|
141
|
+
- **Open Items:** [unanswered questions]
|
|
142
|
+
```
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Verification Patterns Reference
|
|
2
|
+
|
|
3
|
+
> Methodology for verifying generated document accuracy.
|
|
4
|
+
> Used by `gtd-accuracy-verifier` and `gtd-completeness-auditor`.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## What is a Verifiable Claim?
|
|
9
|
+
|
|
10
|
+
A **verifiable claim** is a factual statement that can be checked against the codebase:
|
|
11
|
+
|
|
12
|
+
| Verifiable | Example | How to Check |
|
|
13
|
+
|-----------|---------|--------------|
|
|
14
|
+
| ✓ Yes | "Auth handled in src/middleware/auth.js" | Check file exists and contains auth logic |
|
|
15
|
+
| ✓ Yes | "Uses Express 4.21" | Check package.json |
|
|
16
|
+
| ✓ Yes | "5 REST endpoints" | Count route definitions |
|
|
17
|
+
| ✓ Yes | "PostgreSQL via Prisma" | Check prisma/schema.prisma |
|
|
18
|
+
| ✗ No | "This is a well-designed system" | Opinion — cannot verify |
|
|
19
|
+
| ✗ No | "Handles high traffic" | No performance data to check |
|
|
20
|
+
| ✗ No | "Should be refactored" | Recommendation — not a claim |
|
|
21
|
+
|
|
22
|
+
## Confidence Score Methodology
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
confidence = verified_claims / (total_claims - unverifiable_claims) × 100
|
|
26
|
+
|
|
27
|
+
Ratings:
|
|
28
|
+
95-100% → Excellent — document is highly trustworthy
|
|
29
|
+
90-95% → Good — minor corrections needed
|
|
30
|
+
80-90% → Acceptable — review flagged sections
|
|
31
|
+
70-80% → Needs revision — significant inaccuracies
|
|
32
|
+
Below 70% → Unreliable — recommend regeneration with /gtd-analyze --force
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Common False Positive Patterns
|
|
36
|
+
|
|
37
|
+
These patterns LOOK like errors but are often legitimate — verify carefully:
|
|
38
|
+
|
|
39
|
+
1. **File path with different extension** — `auth.js` vs `auth.ts` (transpilation)
|
|
40
|
+
2. **Version ranges** — "Express ^4.18" in package.json, doc says "Express 4.21" (resolved version)
|
|
41
|
+
3. **Generated files** — Paths in `dist/` or `.next/` may not exist until build
|
|
42
|
+
4. **Aliased imports** — `@/lib/auth` may resolve to `src/lib/auth.ts`
|
|
43
|
+
5. **Workspace paths** — Monorepo paths may include package prefix
|
|
44
|
+
|
|
45
|
+
## Verification Priority
|
|
46
|
+
|
|
47
|
+
When time-constrained, verify in this priority order:
|
|
48
|
+
|
|
49
|
+
1. **File paths** — Most common error, easiest to check
|
|
50
|
+
2. **Dependency versions** — Frequently hallucinated with wrong minor/patch
|
|
51
|
+
3. **API endpoints** — Route paths and methods must be exact
|
|
52
|
+
4. **Code snippets** — Most expensive to verify but most impactful if wrong
|
|
53
|
+
5. **Architecture claims** — Hardest to verify definitively
|
|
54
|
+
|
|
55
|
+
## Per-Section Verification Depth
|
|
56
|
+
|
|
57
|
+
| Document Type | High-Scrutiny Sections | Lower-Scrutiny Sections |
|
|
58
|
+
|--------------|----------------------|------------------------|
|
|
59
|
+
| TDD | Architecture, API Design, Data Model | Executive Summary, Limitations |
|
|
60
|
+
| HLD | Subsystems, Integrations | Design Decisions |
|
|
61
|
+
| LLD | Module Specs, Signatures, Queries | Overview |
|
|
62
|
+
| API Docs | Endpoints, Examples, Auth | Overview, Rate Limits |
|
|
63
|
+
| System Design | Architecture, Security, Deployment | Evolution |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
*End of Verification Patterns Reference*
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: api-docs
|
|
3
|
+
format: standard
|
|
4
|
+
sections: 6
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# API Documentation: {{project_name}}
|
|
8
|
+
|
|
9
|
+
**Version:** {{doc_version}}
|
|
10
|
+
**Date:** {{generation_date}}
|
|
11
|
+
**Commit:** {{git_commit}}
|
|
12
|
+
**Generated by:** GTD v{{gtd_version}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. Overview and Base URL
|
|
17
|
+
|
|
18
|
+
{{api_overview}}
|
|
19
|
+
|
|
20
|
+
## 2. Authentication
|
|
21
|
+
|
|
22
|
+
{{api_authentication}}
|
|
23
|
+
|
|
24
|
+
## 3. Endpoint Reference
|
|
25
|
+
|
|
26
|
+
{{api_endpoints}}
|
|
27
|
+
|
|
28
|
+
## 4. Request/Response Examples
|
|
29
|
+
|
|
30
|
+
{{api_examples}}
|
|
31
|
+
|
|
32
|
+
## 5. Error Codes
|
|
33
|
+
|
|
34
|
+
{{api_errors}}
|
|
35
|
+
|
|
36
|
+
## 6. Rate Limiting and Pagination
|
|
37
|
+
|
|
38
|
+
{{api_limits}}
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
*Generated by [Get Things Done](https://github.com/get-things-done/get-things-done)*
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: capacity
|
|
3
|
+
format: standard
|
|
4
|
+
sections: 8
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Capacity Plan: {{project_name}}
|
|
8
|
+
|
|
9
|
+
**Version:** {{doc_version}}
|
|
10
|
+
**Date:** {{generation_date}}
|
|
11
|
+
**Commit:** {{git_commit}}
|
|
12
|
+
**Generated by:** GTD v{{gtd_version}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. System Profile
|
|
17
|
+
|
|
18
|
+
{{cap_system_profile}}
|
|
19
|
+
|
|
20
|
+
## 2. Resource Requirements
|
|
21
|
+
|
|
22
|
+
{{cap_resource_requirements}}
|
|
23
|
+
|
|
24
|
+
## 3. Performance Characteristics
|
|
25
|
+
|
|
26
|
+
{{cap_performance}}
|
|
27
|
+
|
|
28
|
+
## 4. Scaling Strategy
|
|
29
|
+
|
|
30
|
+
{{cap_scaling}}
|
|
31
|
+
|
|
32
|
+
## 5. Database Capacity
|
|
33
|
+
|
|
34
|
+
{{cap_database}}
|
|
35
|
+
|
|
36
|
+
## 6. Infrastructure Costs
|
|
37
|
+
|
|
38
|
+
{{cap_infrastructure}}
|
|
39
|
+
|
|
40
|
+
## 7. Bottleneck Analysis
|
|
41
|
+
|
|
42
|
+
{{cap_bottlenecks}}
|
|
43
|
+
|
|
44
|
+
## 8. Growth Projections
|
|
45
|
+
|
|
46
|
+
{{cap_growth}}
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
*Generated by [Get Things Done](https://github.com/get-things-done/get-things-done)*
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Compliance Format Guide
|
|
2
|
+
|
|
3
|
+
> How to use GTD's compliance document format for SOC 2, ISO 27001, and HIPAA audits.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/gtd-create-tdd --format compliance
|
|
9
|
+
/gtd-create-all --format compliance
|
|
10
|
+
/gtd-audit --compliance soc2
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What Compliance Format Adds
|
|
14
|
+
|
|
15
|
+
| Standard Section | Compliance Addition |
|
|
16
|
+
|-----------------|-------------------|
|
|
17
|
+
| Data Model | Data Classification Matrix (PII, PHI, financial) |
|
|
18
|
+
| Auth Design | Authorization Matrix (RBAC/ABAC mapping) |
|
|
19
|
+
| Security | Encryption & Key Management section |
|
|
20
|
+
| Logging | Audit trail with tamper protection |
|
|
21
|
+
| Dependencies | Supply chain risk assessment |
|
|
22
|
+
| Testing | Security testing section (SAST, DAST, pen test) |
|
|
23
|
+
| New Section | SOC 2 controls mapping |
|
|
24
|
+
| New Section | ISO 27001 Annex A controls |
|
|
25
|
+
| New Section | Risk assessment with residual risk |
|
|
26
|
+
| New Section | Business continuity / disaster recovery |
|
|
27
|
+
|
|
28
|
+
## SOC 2 Trust Service Criteria Covered
|
|
29
|
+
|
|
30
|
+
- **Security (CC):** Network, access controls, encryption
|
|
31
|
+
- **Availability (A):** BCDR, monitoring, SLAs
|
|
32
|
+
- **Processing Integrity (PI):** Audit logging, data validation
|
|
33
|
+
- **Confidentiality (C):** Data classification, encryption at rest/transit
|
|
34
|
+
- **Privacy (P):** PII handling, retention policies
|
|
35
|
+
|
|
36
|
+
## ISO 27001 Annex A Controls Mapped
|
|
37
|
+
|
|
38
|
+
The compliance format automatically maps to relevant Annex A controls:
|
|
39
|
+
- A.8: Asset management (data classification)
|
|
40
|
+
- A.9: Access control (auth matrix)
|
|
41
|
+
- A.10: Cryptography (encryption section)
|
|
42
|
+
- A.12: Operations security (deployment, monitoring)
|
|
43
|
+
- A.14: System development (testing, dependencies)
|
|
44
|
+
- A.16: Incident management (audit logging)
|
|
45
|
+
- A.17: Business continuity (BCDR)
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: hld
|
|
3
|
+
format: standard
|
|
4
|
+
sections: 8
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# High-Level Design: {{project_name}}
|
|
8
|
+
|
|
9
|
+
**Version:** {{doc_version}}
|
|
10
|
+
**Date:** {{generation_date}}
|
|
11
|
+
**Commit:** {{git_commit}}
|
|
12
|
+
**Generated by:** GTD v{{gtd_version}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. System Overview
|
|
17
|
+
|
|
18
|
+
{{hld_system_overview}}
|
|
19
|
+
|
|
20
|
+
## 2. Architecture and Patterns
|
|
21
|
+
|
|
22
|
+
{{hld_architecture}}
|
|
23
|
+
|
|
24
|
+
{{#has_diagrams}}
|
|
25
|
+
### Architecture Diagram
|
|
26
|
+
|
|
27
|
+
{{hld_architecture_diagram}}
|
|
28
|
+
{{/has_diagrams}}
|
|
29
|
+
|
|
30
|
+
## 3. Major Subsystems
|
|
31
|
+
|
|
32
|
+
{{hld_subsystems}}
|
|
33
|
+
|
|
34
|
+
## 4. Data Flow
|
|
35
|
+
|
|
36
|
+
{{hld_data_flow}}
|
|
37
|
+
|
|
38
|
+
{{#has_diagrams}}
|
|
39
|
+
### Data Flow Diagram
|
|
40
|
+
|
|
41
|
+
{{hld_data_flow_diagram}}
|
|
42
|
+
{{/has_diagrams}}
|
|
43
|
+
|
|
44
|
+
## 5. Integration Points
|
|
45
|
+
|
|
46
|
+
{{hld_integrations}}
|
|
47
|
+
|
|
48
|
+
## 6. Deployment Model
|
|
49
|
+
|
|
50
|
+
{{hld_deployment}}
|
|
51
|
+
|
|
52
|
+
## 7. Cross-Cutting Concerns
|
|
53
|
+
|
|
54
|
+
{{hld_cross_cutting}}
|
|
55
|
+
|
|
56
|
+
## 8. Key Design Decisions
|
|
57
|
+
|
|
58
|
+
{{hld_decisions}}
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
*Generated by [Get Things Done](https://github.com/get-things-done/get-things-done)*
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: lld
|
|
3
|
+
format: standard
|
|
4
|
+
sections: 10
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Low-Level Design: {{project_name}}
|
|
8
|
+
|
|
9
|
+
**Version:** {{doc_version}}
|
|
10
|
+
**Date:** {{generation_date}}
|
|
11
|
+
**Commit:** {{git_commit}}
|
|
12
|
+
**Generated by:** GTD v{{gtd_version}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. Module Overview
|
|
17
|
+
|
|
18
|
+
{{lld_module_overview}}
|
|
19
|
+
|
|
20
|
+
## 2. Module Specifications
|
|
21
|
+
|
|
22
|
+
{{lld_module_specs}}
|
|
23
|
+
|
|
24
|
+
## 3. Class and Function Signatures
|
|
25
|
+
|
|
26
|
+
{{lld_signatures}}
|
|
27
|
+
|
|
28
|
+
## 4. Data Structures and Schemas
|
|
29
|
+
|
|
30
|
+
{{lld_data_structures}}
|
|
31
|
+
|
|
32
|
+
## 5. Algorithm Details
|
|
33
|
+
|
|
34
|
+
{{lld_algorithms}}
|
|
35
|
+
|
|
36
|
+
## 6. API Endpoint Specifications
|
|
37
|
+
|
|
38
|
+
{{#has_api}}
|
|
39
|
+
{{lld_api_specs}}
|
|
40
|
+
{{/has_api}}
|
|
41
|
+
{{^has_api}}
|
|
42
|
+
Not applicable.
|
|
43
|
+
{{/has_api}}
|
|
44
|
+
|
|
45
|
+
## 7. Database Query Patterns
|
|
46
|
+
|
|
47
|
+
{{lld_query_patterns}}
|
|
48
|
+
|
|
49
|
+
## 8. Error Handling Specifications
|
|
50
|
+
|
|
51
|
+
{{lld_error_handling}}
|
|
52
|
+
|
|
53
|
+
## 9. Configuration and Environment
|
|
54
|
+
|
|
55
|
+
{{lld_configuration}}
|
|
56
|
+
|
|
57
|
+
## 10. Module Dependency Graph
|
|
58
|
+
|
|
59
|
+
{{lld_dependency_graph}}
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
*Generated by [Get Things Done](https://github.com/get-things-done/get-things-done)*
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: runbook
|
|
3
|
+
format: standard
|
|
4
|
+
sections: 8
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Operations Runbook: {{project_name}}
|
|
8
|
+
|
|
9
|
+
**Version:** {{doc_version}}
|
|
10
|
+
**Date:** {{generation_date}}
|
|
11
|
+
**Commit:** {{git_commit}}
|
|
12
|
+
**Generated by:** GTD v{{gtd_version}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. Service Overview
|
|
17
|
+
|
|
18
|
+
{{rb_service_overview}}
|
|
19
|
+
|
|
20
|
+
## 2. Deployment Procedure
|
|
21
|
+
|
|
22
|
+
{{rb_deployment}}
|
|
23
|
+
|
|
24
|
+
## 3. Configuration Reference
|
|
25
|
+
|
|
26
|
+
{{rb_configuration}}
|
|
27
|
+
|
|
28
|
+
## 4. Health Checks and Monitoring
|
|
29
|
+
|
|
30
|
+
{{rb_monitoring}}
|
|
31
|
+
|
|
32
|
+
## 5. Common Issues and Troubleshooting
|
|
33
|
+
|
|
34
|
+
{{rb_troubleshooting}}
|
|
35
|
+
|
|
36
|
+
## 6. Incident Response
|
|
37
|
+
|
|
38
|
+
{{rb_incident_response}}
|
|
39
|
+
|
|
40
|
+
## 7. Backup and Recovery
|
|
41
|
+
|
|
42
|
+
{{rb_backup}}
|
|
43
|
+
|
|
44
|
+
## 8. Access and Permissions
|
|
45
|
+
|
|
46
|
+
{{rb_access}}
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
*Generated by [Get Things Done](https://github.com/get-things-done/get-things-done)*
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: system-design
|
|
3
|
+
format: standard
|
|
4
|
+
sections: 10
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# System Design: {{project_name}}
|
|
8
|
+
|
|
9
|
+
**Version:** {{doc_version}}
|
|
10
|
+
**Date:** {{generation_date}}
|
|
11
|
+
**Commit:** {{git_commit}}
|
|
12
|
+
**Generated by:** GTD v{{gtd_version}}
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 1. System Architecture
|
|
17
|
+
|
|
18
|
+
{{sd_architecture}}
|
|
19
|
+
|
|
20
|
+
## 2. Component Interactions
|
|
21
|
+
|
|
22
|
+
{{sd_interactions}}
|
|
23
|
+
|
|
24
|
+
{{#has_diagrams}}
|
|
25
|
+
### Component Diagram
|
|
26
|
+
|
|
27
|
+
{{sd_component_diagram}}
|
|
28
|
+
{{/has_diagrams}}
|
|
29
|
+
|
|
30
|
+
## 3. Data Architecture
|
|
31
|
+
|
|
32
|
+
{{sd_data_architecture}}
|
|
33
|
+
|
|
34
|
+
## 4. Pipeline and State Machine
|
|
35
|
+
|
|
36
|
+
{{sd_pipeline}}
|
|
37
|
+
|
|
38
|
+
## 5. API and Protocol Design
|
|
39
|
+
|
|
40
|
+
{{sd_api_design}}
|
|
41
|
+
|
|
42
|
+
## 6. Security Architecture
|
|
43
|
+
|
|
44
|
+
{{sd_security}}
|
|
45
|
+
|
|
46
|
+
## 7. Deployment and Infrastructure
|
|
47
|
+
|
|
48
|
+
{{sd_deployment}}
|
|
49
|
+
|
|
50
|
+
## 8. Reliability and Fault Tolerance
|
|
51
|
+
|
|
52
|
+
{{sd_reliability}}
|
|
53
|
+
|
|
54
|
+
## 9. Observability
|
|
55
|
+
|
|
56
|
+
{{sd_observability}}
|
|
57
|
+
|
|
58
|
+
## 10. Evolution and Extensibility
|
|
59
|
+
|
|
60
|
+
{{sd_evolution}}
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
*Generated by [Get Things Done](https://github.com/get-things-done/get-things-done)*
|