Skip to content

Commit 84b8c5e

Browse files
committed
Rename task/ to tasks/ and update all references
- Renamed task/task.yaml to tasks/tasks.yaml for consistency - Updated README.md references from task/task.yaml to tasks/tasks.yaml - Updated directory structure documentation from task/ to tasks/ - Updated tasks/README.md to reference correct filename - Fixed various linting issues in test files - All tests still pass (78/78)
1 parent ef566a6 commit 84b8c5e

File tree

11 files changed

+14
-22
lines changed

11 files changed

+14
-22
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The project specification, plan, and task breakdown are defined in YAML files:
4545

4646
- [Specification](./specs/spec.yaml)
4747
- [Plan](./plan/plan.yaml)
48-
- [Tasks](./task/task.yaml)
48+
- [Tasks](./tasks/tasks.yaml)
4949

5050
---
5151

@@ -145,7 +145,7 @@ If you would like to contribute to the documentation, please submit a pull reque
145145
```
146146
📁 specs/ → Project specification
147147
📁 plan/ → High-level plan
148-
📁 task/ → Task breakdown
148+
📁 tasks/ → Task breakdown
149149
📁 config/ → YAML config for models, prompts, logging
150150
📁 data/ → Prompts, embeddings, and other dynamic content
151151
📁 examples/ → Minimal scripts to test key features
@@ -210,7 +210,7 @@ If you would like to contribute to the documentation, please submit a pull reque
210210

211211
- `specs/spec.yaml` – System specification
212212
- `plan/plan.yaml` – Roadmap & phases
213-
- `task/task.yaml` – Task breakdown with dependencies
213+
- `tasks/tasks.yaml` – Task breakdown with dependencies
214214
- `requirements.txt` – Core package dependencies for the project.
215215
- `requirements-dev.txt` - Dependencies for development and testing.
216216
- `requirements-docs.txt` - Dependencies for generating documentation.

examples/deepagent_demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
- Run the agent with a session ID to demonstrate conversational memory.
88
"""
99

10-
import os
1110
import sys
1211
from pathlib import Path
1312

examples/parser_demo.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from parsers import PlantUMLParser, MermaidParser, DrawIOParser
1616
from parsers.database import DiagramDatabase, get_diagram_statistics
17-
from parsers.base_parser import DiagramType
1817

1918

2019
def create_sample_diagrams():
@@ -150,7 +149,7 @@ def main():
150149
print(f" ❌ Error: {e}")
151150

152151
# Show database statistics
153-
print(f"\n📈 Database Statistics")
152+
print("\n📈 Database Statistics")
154153
print("-" * 30)
155154

156155
all_diagrams = db.get_all_diagrams()
@@ -166,7 +165,7 @@ def main():
166165
print(f" - Element types: {list(stats['element_type_counts'].keys())}")
167166

168167
# Demonstrate search functionality
169-
print(f"\n🔍 Search Examples")
168+
print("\n🔍 Search Examples")
170169
print("-" * 30)
171170

172171
# Search by element type
@@ -178,8 +177,8 @@ def main():
178177
total_tagged = sum(len(results) for results in tag_results.values())
179178
print(f" 🏷️ Found {total_tagged} tagged items")
180179

181-
print(f"\n✅ Demo completed successfully!")
182-
print(f"💾 Database saved as: demo_diagrams.db")
180+
print("\n✅ Demo completed successfully!")
181+
print("💾 Database saved as: demo_diagrams.db")
183182

184183

185184
if __name__ == "__main__":

task/README.md renamed to tasks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains detailed task breakdowns in YAML format.
44

55
## Files
66

7-
- `task.yaml` - Individual tasks with dependencies, assignees, and acceptance criteria
7+
- `tasks.yaml` - Individual tasks with dependencies, assignees, and acceptance criteria
88

99
## Task Structure
1010

File renamed without changes.

test/e2e/test_parser_workflow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import unittest
22
import os
3-
import subprocess
43

54
class TestParserWorkflow(unittest.TestCase):
65
"""

test/unit/parsers/test_database.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
import pytest
66
import tempfile
77
import os
8-
from pathlib import Path
98

10-
from src.parsers.database.models import DiagramDatabase, DiagramRecord, ElementRecord, RelationshipRecord
9+
from src.parsers.database.models import DiagramDatabase
1110
from src.parsers.database.utils import (
1211
export_diagram_to_json, get_diagram_statistics, find_orphaned_elements,
1312
validate_diagram_integrity
@@ -117,7 +116,7 @@ def test_search_elements_by_type(self):
117116
elements=[element1, element2]
118117
)
119118

120-
diagram_id = self.db.store_diagram(diagram)
119+
self.db.store_diagram(diagram)
121120

122121
# Search for classes
123122
class_elements = self.db.search_elements_by_type("class")
@@ -155,7 +154,7 @@ def test_search_by_tags(self):
155154
tags=["system", "core"]
156155
)
157156

158-
diagram_id = self.db.store_diagram(diagram)
157+
self.db.store_diagram(diagram)
159158

160159
# Search by tag
161160
results = self.db.search_by_tags(["api"])

test/unit/parsers/test_mermaid_parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
Tests for Mermaid parser.
33
"""
44

5-
import pytest
65
from src.parsers.mermaid_parser import MermaidParser
7-
from src.parsers.base_parser import DiagramType, ElementType, ParseError
6+
from src.parsers.base_parser import DiagramType, ElementType
87

98

109
class TestMermaidParser:

test/unit/parsers/test_plantuml_parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
Tests for PlantUML parser.
33
"""
44

5-
import pytest
65
from src.parsers.plantuml_parser import PlantUMLParser
7-
from src.parsers.base_parser import DiagramType, ElementType, ParseError
6+
from src.parsers.base_parser import DiagramType, ElementType
87

98

109
class TestPlantUMLParser:

test/unit/test_deepagent.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import pytest
21
from src.agents import deepagent
32

43
def test_sdlcflexibleagent_dry_run():

0 commit comments

Comments
 (0)