feat(task-023): improve generated context quality
This commit is contained in:
@@ -129,7 +129,7 @@ Maps to:
|
||||
| Context File | Section | Guidance |
|
||||
|---|---|---|
|
||||
| `context/development-context.md` | `## Build & Test` | Document test framework, test execution commands, and local setup steps. |
|
||||
| `TEST_PLAN.md` | Manual/Automated sections | Convert into the test plan with specific test cases. Each discovery answer becomes one or more test entries. |
|
||||
| `context/agent-guidelines.md` | `## Testing Preferences` (append) | Add a new section describing how tests should be written, run, and verified. Do **not** map testing answers into Timeline / Milestones sections in other files. |
|
||||
|
||||
### Q-010 — How will it be deployed?
|
||||
|
||||
@@ -147,6 +147,7 @@ Maps to:
|
||||
| Context File | Section | Guidance |
|
||||
|---|---|---|
|
||||
| `context/company-context.md` | `## Mission` | Record the organisation's core mission, vision, or strategic goals that relate to this project. If no company-level mission exists, record the team's purpose. |
|
||||
| `context/company-context.md` | `## Products & Services` (append) | Add a new section describing the company's products and services if the answer includes them. |
|
||||
| `context/project-brief.md` | `## Target Audience` | Restate in project-specific terms — who will use or benefit from the final product? |
|
||||
|
||||
### Q-012 — What is the technology stack, repository structure, and architecture approach?
|
||||
@@ -157,6 +158,7 @@ Maps to:
|
||||
|---|---|---|
|
||||
| `context/development-context.md` | `## Tech Stack` | Extract languages, frameworks, libraries, tooling, and build/test tools. Record each as a distinct item. |
|
||||
| `context/development-context.md` | `## Coding Standards` | Note any style conventions, naming patterns, linters, formatters, or agreed-upon patterns. If none exist, note "TBD". |
|
||||
| `context/repository-context.md` | `## Dependencies` (append) | Add a new section describing project dependencies if not yet documented. |
|
||||
| `context/architecture.md` | `## Overview` | Record high-level design principles, architectural patterns (e.g., monolith, microservices), and key design decisions. |
|
||||
| `context/architecture.md` | `## Core Components` | List the main modules, services, or packages and their responsibilities. Use bullet points for each component. |
|
||||
|
||||
@@ -196,10 +198,10 @@ This matrix provides a quick-reference view of all mappings. "Primary" means the
|
||||
| Q-006 | Systems to connect to? | architecture.md, infrastructure-context.md | decisions.md |
|
||||
| Q-007 | What are the risks? | risks.md, open-questions.md | — |
|
||||
| Q-008 | What must not happen? | assumptions.md, decisions.md | open-questions.md |
|
||||
| Q-009 | How will we test it? | development-context.md, TEST_PLAN.md | — |
|
||||
| Q-009 | How will we test it? | development-context.md, agent-guidelines.md | — |
|
||||
| Q-010 | How will it be deployed? | architecture.md, infrastructure-context.md | — |
|
||||
| Q-011 | Who owns and directs the project? What are its organisational goals? | company-context.md, project-brief.md | — |
|
||||
| Q-012 | What is the technology stack, repository structure, architecture approach? | development-context.md, architecture.md | — |
|
||||
| Q-012 | What is the technology stack, repository structure, architecture approach? | development-context.md, repository-context.md, architecture.md | — |
|
||||
| Q-013 | Where is it hosted, which environments exist, and what are the security requirements? | infrastructure-context.md | — |
|
||||
| Q-014 | What agent and developer workflow tools, constraints, and guidelines apply? | agent-guidelines.md, repository-context.md | — |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user