feat(task-022): expand discovery coverage

This commit is contained in:
2026-06-04 07:42:48 +01:00
parent a0b28e7d8d
commit c72ad6995e
8 changed files with 341 additions and 25 deletions
+26
View File
@@ -59,6 +59,28 @@ CONTEXT_MAP = {
("context/architecture.md", "## Deployment Architecture", "body"),
("context/infrastructure-context.md", None, "append"),
],
"Q-011": [ # Who owns and directs the project, and what are its organisational goals?
("context/company-context.md", "## Mission", "body"),
("context/project-brief.md", "## Target Audience", "body"),
],
"Q-012": [ # What is the technology stack, repository structure, and architecture approach?
("context/development-context.md", "## Tech Stack", "body"),
("context/development-context.md", "## Coding Standards", "body"),
("context/architecture.md", "## Overview", "body"),
("context/architecture.md", "## Core Components", "body"),
],
"Q-013": [ # Where is it hosted, which environments exist, and what are the security requirements?
("context/infrastructure-context.md", "## Hosting", "body"),
("context/infrastructure-context.md", "## Environments", "body"),
("context/infrastructure-context.md", "## Monitoring & Alerting", "body"),
("context/infrastructure-context.md", "## Security", "body"),
],
"Q-014": [ # What agent and developer workflow tools, constraints, and guidelines apply?
("context/agent-guidelines.md", "## Purpose", "body"),
("context/agent-guidelines.md", "## Preferred Tools", "body"),
("context/repository-context.md", "## Purpose", "body"),
("context/repository-context.md", "## Contributing", "body"),
],
}
@@ -201,6 +223,10 @@ def _write_table_row(target, section_header, answer):
"What must not happen?",
"How will we test it?",
"How will it be deployed?",
"Who owns and directs the project, and what are its organisational goals?",
"What is the technology stack, repository structure, and architecture approach?",
"Where is it hosted, which environments exist, and what are the security requirements?",
"What agent and developer workflow tools, constraints, and guidelines apply?",
]
question_text = all_questions[int(q_num) - 1] if int(q_num) <= len(all_questions) else answer["question"]
+4
View File
@@ -13,6 +13,10 @@ CORE_QUESTIONS = [
"What must not happen?",
"How will we test it?",
"How will it be deployed?",
"Who owns and directs the project, and what are its organisational goals?",
"What is the technology stack, repository structure, and architecture approach?",
"Where is it hosted, which environments exist, and what are the security requirements?",
"What agent and developer workflow tools, constraints, and guidelines apply?",
]
CONTEXT_FILES: dict[str, str] = {