codd-dev 1.7.0__tar.gz → 1.7.1__tar.gz
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.
- {codd_dev-1.7.0 → codd_dev-1.7.1}/.gitignore +1 -1
- {codd_dev-1.7.0 → codd_dev-1.7.1}/PKG-INFO +10 -2
- {codd_dev-1.7.0 → codd_dev-1.7.1}/README.md +9 -1
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/assembler.py +41 -9
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/cli.py +6 -2
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/generator.py +5 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/implementer.py +48 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/planner.py +10 -0
- codd_dev-1.7.1/docs/requirements/README.md +17 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/pyproject.toml +1 -1
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/build-1.4.2.dist-info/licenses/LICENSE +0 -20
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/certifi-2026.2.25.dist-info/licenses/LICENSE +0 -20
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/cffi-2.0.0.dist-info/licenses/LICENSE +0 -23
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/charset_normalizer-3.4.7.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/cryptography-46.0.6.dist-info/licenses/LICENSE +0 -3
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/id-1.6.1.dist-info/licenses/LICENSE +0 -202
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/jaraco.classes-3.4.0.dist-info/LICENSE +0 -17
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/jaraco_context-6.1.2.dist-info/licenses/LICENSE +0 -18
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/jaraco_functools-4.4.0.dist-info/licenses/LICENSE +0 -18
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/jeepney-0.9.0.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/keyring-25.7.0.dist-info/licenses/LICENSE +0 -18
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/markdown_it_py-4.0.0.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/mdurl-0.1.2.dist-info/LICENSE +0 -46
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/more_itertools-11.0.1.dist-info/licenses/LICENSE +0 -19
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/nh3-0.3.4.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/packaging-26.0.dist-info/licenses/LICENSE +0 -3
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/certifi/LICENSE +0 -20
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/distro/LICENSE +0 -202
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/packaging/LICENSE +0 -3
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/pkg_resources/LICENSE +0 -17
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/platformdirs/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/pygments/LICENSE +0 -25
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/requests/LICENSE +0 -175
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/resolvelib/LICENSE +0 -13
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/rich/LICENSE +0 -19
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/tomli/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/tomli_w/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip/_vendor/truststore/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/certifi/LICENSE +0 -20
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/distro/LICENSE +0 -202
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/packaging/LICENSE +0 -3
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pkg_resources/LICENSE +0 -17
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/platformdirs/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pygments/LICENSE +0 -25
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/pyproject_hooks/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/requests/LICENSE +0 -175
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/resolvelib/LICENSE +0 -13
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/rich/LICENSE +0 -19
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/tomli_w/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pip-26.0.1.dist-info/licenses/src/pip/_vendor/truststore/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pycparser-3.0.dist-info/licenses/LICENSE +0 -27
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pygments-2.20.0.dist-info/licenses/LICENSE +0 -25
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pyproject_hooks-1.2.0.dist-info/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pytest-9.0.2.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +0 -20
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/readme_renderer-44.0.dist-info/LICENSE +0 -174
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/requests-2.33.1.dist-info/licenses/LICENSE +0 -175
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/requests_toolbelt-1.0.0.dist-info/LICENSE +0 -13
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/rfc3986-2.0.0.dist-info/LICENSE +0 -13
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/rich-14.3.3.dist-info/licenses/LICENSE +0 -19
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/secretstorage-3.5.0.dist-info/licenses/LICENSE +0 -25
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/tree_sitter-0.25.2.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/tree_sitter_java-0.23.5.dist-info/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/tree_sitter_python-0.25.0.dist-info/licenses/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/tree_sitter_typescript-0.23.2.dist-info/LICENSE +0 -21
- codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/twine-6.2.0.dist-info/licenses/LICENSE +0 -174
- codd_dev-1.7.0/LICENSE +0 -21
- {codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/codd_dev-0.2.0a5.dist-info/licenses → codd_dev-1.7.1}/LICENSE +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/__init__.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/bridge.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/clustering.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/config.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/contracts.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/defaults.yaml +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/e2e_runner.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/env_refs.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/extract_ai.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/extractor.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/fixer.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/graph.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/hooks/__init__.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/hooks/pre-commit +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/inheritance.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/mcp_server.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/measure.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/parsing.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/policy.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/propagate.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/propagator.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/repair_slice.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/require.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/require_plugins.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/restore.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/scanner.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/schema_refs.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/synth.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/codd.yaml.tmpl +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/conventions.yaml.tmpl +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/data_dependencies.yaml.tmpl +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/doc_links.yaml.tmpl +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/extracted/api-contract.md.j2 +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/extracted/architecture-overview.md.j2 +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/extracted/module-detail.md.j2 +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/extracted/schema-design.md.j2 +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/extracted/system-context.md.j2 +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/gitignore.tmpl +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/templates/overrides.yaml.tmpl +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/traceability.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/validator.py +0 -0
- {codd_dev-1.7.0 → codd_dev-1.7.1}/codd/wiring.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codd-dev
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.1
|
|
4
4
|
Summary: CoDD: Coherence-Driven Development — cross-artifact change impact analysis
|
|
5
5
|
Project-URL: Homepage, https://github.com/yohey-w/codd-dev
|
|
6
6
|
Project-URL: Repository, https://github.com/yohey-w/codd-dev
|
|
@@ -49,7 +49,7 @@ Description-Content-Type: text/markdown
|
|
|
49
49
|
</p>
|
|
50
50
|
|
|
51
51
|
<p align="center">
|
|
52
|
-
<a href="README_ja.md">日本語</a> | English
|
|
52
|
+
<a href="README_ja.md">日本語</a> | English | <a href="README_zh.md">中文</a>
|
|
53
53
|
</p>
|
|
54
54
|
|
|
55
55
|
---
|
|
@@ -750,6 +750,14 @@ If CoDD can't manage itself, it shouldn't manage your project.
|
|
|
750
750
|
- [Zenn: Harness as Code — A Guide to CoDD #3 Bug Fixing with CoDD extract (SWE-bench)](https://zenn.dev/shio_shoppaize/articles/codd-swebench-pilot?locale=en)
|
|
751
751
|
- [Zenn: CoDD deep-dive](https://zenn.dev/shio_shoppaize/articles/shogun-codd-coherence?locale=en)
|
|
752
752
|
|
|
753
|
+
## Sponsors
|
|
754
|
+
|
|
755
|
+
<a href="https://github.com/sponsors/yohey-w">
|
|
756
|
+
<img src="https://img.shields.io/badge/Sponsor-%E2%9D%A4-ea4aaa?style=for-the-badge&logo=github-sponsors" alt="Sponsor">
|
|
757
|
+
</a>
|
|
758
|
+
|
|
759
|
+
Your sponsorship keeps CoDD free and funds continued development. See [sponsor tiers](https://github.com/sponsors/yohey-w).
|
|
760
|
+
|
|
753
761
|
## License
|
|
754
762
|
|
|
755
763
|
MIT
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
14
|
-
<a href="README_ja.md">日本語</a> | English
|
|
14
|
+
<a href="README_ja.md">日本語</a> | English | <a href="README_zh.md">中文</a>
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -712,6 +712,14 @@ If CoDD can't manage itself, it shouldn't manage your project.
|
|
|
712
712
|
- [Zenn: Harness as Code — A Guide to CoDD #3 Bug Fixing with CoDD extract (SWE-bench)](https://zenn.dev/shio_shoppaize/articles/codd-swebench-pilot?locale=en)
|
|
713
713
|
- [Zenn: CoDD deep-dive](https://zenn.dev/shio_shoppaize/articles/shogun-codd-coherence?locale=en)
|
|
714
714
|
|
|
715
|
+
## Sponsors
|
|
716
|
+
|
|
717
|
+
<a href="https://github.com/sponsors/yohey-w">
|
|
718
|
+
<img src="https://img.shields.io/badge/Sponsor-%E2%9D%A4-ea4aaa?style=for-the-badge&logo=github-sponsors" alt="Sponsor">
|
|
719
|
+
</a>
|
|
720
|
+
|
|
721
|
+
Your sponsorship keeps CoDD free and funds continued development. See [sponsor tiers](https://github.com/sponsors/yohey-w).
|
|
722
|
+
|
|
715
723
|
## License
|
|
716
724
|
|
|
717
725
|
MIT
|
|
@@ -6,8 +6,11 @@ from dataclasses import dataclass
|
|
|
6
6
|
from pathlib import Path
|
|
7
7
|
from typing import Any
|
|
8
8
|
|
|
9
|
+
import warnings
|
|
10
|
+
|
|
9
11
|
import codd.generator as generator_module
|
|
10
12
|
from codd.generator import _load_project_config, _normalize_conventions
|
|
13
|
+
from codd.implementer import get_task_slugs_by_sprint
|
|
11
14
|
from codd.scanner import _extract_frontmatter, build_document_node_path_map
|
|
12
15
|
|
|
13
16
|
|
|
@@ -79,7 +82,11 @@ def _collect_design_documents(project_root: Path, config: dict[str, Any]) -> lis
|
|
|
79
82
|
|
|
80
83
|
|
|
81
84
|
def _collect_generated_fragments(project_root: Path, config: dict[str, Any]) -> list[dict[str, str]]:
|
|
82
|
-
"""Collect all generated code fragments from src/generated/sprint_N/.
|
|
85
|
+
"""Collect all generated code fragments from src/generated/sprint_N/.
|
|
86
|
+
|
|
87
|
+
Cross-references against the implementation plan to detect orphan fragments
|
|
88
|
+
from renamed or deleted tasks. Orphans are excluded with a warning.
|
|
89
|
+
"""
|
|
83
90
|
source_dirs = config.get("scan", {}).get("source_dirs", ["src/"])
|
|
84
91
|
generated_base = None
|
|
85
92
|
for src_dir in source_dirs:
|
|
@@ -94,19 +101,44 @@ def _collect_generated_fragments(project_root: Path, config: dict[str, Any]) ->
|
|
|
94
101
|
if not generated_base.is_dir():
|
|
95
102
|
return []
|
|
96
103
|
|
|
104
|
+
# Load valid task slugs from implementation plan for orphan detection
|
|
105
|
+
valid_slugs = get_task_slugs_by_sprint(project_root)
|
|
106
|
+
|
|
107
|
+
code_extensions = (".ts", ".tsx", ".js", ".jsx", ".py", ".go", ".java", ".css")
|
|
97
108
|
fragments = []
|
|
98
109
|
for sprint_dir in sorted(generated_base.iterdir()):
|
|
99
110
|
if not sprint_dir.is_dir() or not sprint_dir.name.startswith("sprint_"):
|
|
100
111
|
continue
|
|
112
|
+
|
|
113
|
+
# Identify orphan task directories
|
|
114
|
+
orphan_dirs: set[str] = set()
|
|
115
|
+
if valid_slugs and sprint_dir.name in valid_slugs:
|
|
116
|
+
expected = valid_slugs[sprint_dir.name]
|
|
117
|
+
for child in sprint_dir.iterdir():
|
|
118
|
+
if child.is_dir() and child.name not in expected:
|
|
119
|
+
orphan_dirs.add(child.name)
|
|
120
|
+
warnings.warn(
|
|
121
|
+
f"Orphan fragment directory '{sprint_dir.name}/{child.name}' "
|
|
122
|
+
f"does not match any task in the implementation plan. Skipping.",
|
|
123
|
+
stacklevel=2,
|
|
124
|
+
)
|
|
125
|
+
|
|
101
126
|
for code_file in sorted(sprint_dir.rglob("*")):
|
|
102
|
-
if code_file.is_file()
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
127
|
+
if not code_file.is_file() or code_file.suffix not in code_extensions:
|
|
128
|
+
continue
|
|
129
|
+
|
|
130
|
+
# Skip files under orphan task directories
|
|
131
|
+
rel_to_sprint = code_file.relative_to(sprint_dir)
|
|
132
|
+
if rel_to_sprint.parts and rel_to_sprint.parts[0] in orphan_dirs:
|
|
133
|
+
continue
|
|
134
|
+
|
|
135
|
+
rel_path = code_file.relative_to(project_root)
|
|
136
|
+
content = code_file.read_text(encoding="utf-8")
|
|
137
|
+
fragments.append({
|
|
138
|
+
"sprint_dir": sprint_dir.name,
|
|
139
|
+
"path": str(rel_path),
|
|
140
|
+
"content": content,
|
|
141
|
+
})
|
|
110
142
|
|
|
111
143
|
return fragments
|
|
112
144
|
|
|
@@ -494,20 +494,24 @@ def propagate(diff: str, path: str, update: bool, verify: bool, do_commit: bool,
|
|
|
494
494
|
@click.option("--sprint", required=True, type=click.IntRange(min=1), help="Sprint number to implement")
|
|
495
495
|
@click.option("--path", default=".", help="Project root directory")
|
|
496
496
|
@click.option("--task", default=None, help="Generate only one task by task ID or title match")
|
|
497
|
+
@click.option("--clean", is_flag=True, default=False, help="Remove existing sprint output before re-generating")
|
|
497
498
|
@click.option(
|
|
498
499
|
"--ai-cmd",
|
|
499
500
|
default=None,
|
|
500
501
|
help="Override AI CLI command (defaults to codd.yaml ai_command or merged CoDD defaults)",
|
|
501
502
|
)
|
|
502
|
-
def implement(sprint: int, path: str, task: str | None, ai_cmd: str | None):
|
|
503
|
+
def implement(sprint: int, path: str, task: str | None, clean: bool, ai_cmd: str | None):
|
|
503
504
|
"""Generate implementation code for a specific sprint."""
|
|
504
505
|
from codd.implementer import implement_sprint
|
|
505
506
|
|
|
506
507
|
project_root = Path(path).resolve()
|
|
507
508
|
codd_dir = _require_codd_dir(project_root)
|
|
508
509
|
|
|
510
|
+
if clean:
|
|
511
|
+
click.echo(f"Cleaning src/generated/sprint_{sprint}/ ...")
|
|
512
|
+
|
|
509
513
|
try:
|
|
510
|
-
results = implement_sprint(project_root, sprint, task=task, ai_command=ai_cmd)
|
|
514
|
+
results = implement_sprint(project_root, sprint, task=task, ai_command=ai_cmd, clean=clean)
|
|
511
515
|
except (FileNotFoundError, ValueError) as exc:
|
|
512
516
|
click.echo(f"Error: {exc}")
|
|
513
517
|
raise SystemExit(1)
|
|
@@ -481,6 +481,11 @@ def _build_generation_prompt(
|
|
|
481
481
|
if doc_type == "test":
|
|
482
482
|
lines.extend(
|
|
483
483
|
[
|
|
484
|
+
"",
|
|
485
|
+
"Design-to-test traceability (CRITICAL):",
|
|
486
|
+
"- Before defining test scenarios, enumerate ALL verifiable behaviors from the dependency design documents. A verifiable behavior is any system action, state transition, or output that the design specifies and that can be asserted in a test.",
|
|
487
|
+
"- Every verifiable behavior must map to at least one test scenario — if a design document specifies a transition chain (e.g. action → intermediate state → final state), each link in the chain requires a separate assertion.",
|
|
488
|
+
"- Include a traceability section in the test document that lists each verifiable behavior and its corresponding test scenario(s). Flag any behavior that lacks coverage.",
|
|
484
489
|
"",
|
|
485
490
|
"E2E Test Generation Meta-Prompt section rules:",
|
|
486
491
|
"- The final section '## E2E Test Generation Meta-Prompt' serves as a machine-readable instruction for `codd propagate` to auto-generate E2E tests.",
|
|
@@ -125,16 +125,64 @@ class ImplementationResult:
|
|
|
125
125
|
generated_files: list[Path]
|
|
126
126
|
|
|
127
127
|
|
|
128
|
+
def get_task_slugs_by_sprint(project_root: Path) -> dict[str, set[str]]:
|
|
129
|
+
"""Return mapping of sprint dir names to valid task directory names.
|
|
130
|
+
|
|
131
|
+
Used by assembler to detect orphan fragments from renamed/deleted tasks.
|
|
132
|
+
Returns empty dict if implementation plan is not found.
|
|
133
|
+
"""
|
|
134
|
+
config = _load_project_config(project_root)
|
|
135
|
+
try:
|
|
136
|
+
plan = _load_implementation_plan(project_root, config)
|
|
137
|
+
except (FileNotFoundError, ValueError):
|
|
138
|
+
return {}
|
|
139
|
+
|
|
140
|
+
num_sprints = count_sprints(project_root)
|
|
141
|
+
result: dict[str, set[str]] = {}
|
|
142
|
+
for sprint_num in range(1, num_sprints + 1):
|
|
143
|
+
tasks = _select_tasks(plan, sprint_num, None)
|
|
144
|
+
sprint_key = f"sprint_{sprint_num}"
|
|
145
|
+
slugs: set[str] = set()
|
|
146
|
+
for t in tasks:
|
|
147
|
+
slug = PurePosixPath(t.output_dir).name
|
|
148
|
+
slugs.add(slug)
|
|
149
|
+
result[sprint_key] = slugs
|
|
150
|
+
|
|
151
|
+
return result
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def _clean_sprint_output(project_root: Path, config: dict[str, Any], sprint: int) -> None:
|
|
155
|
+
"""Remove all generated files for a sprint before re-generation."""
|
|
156
|
+
import shutil
|
|
157
|
+
|
|
158
|
+
source_dirs = config.get("scan", {}).get("source_dirs", ["src/"])
|
|
159
|
+
for src_dir in source_dirs:
|
|
160
|
+
sprint_dir = project_root / src_dir / "generated" / f"sprint_{sprint}"
|
|
161
|
+
if sprint_dir.is_dir():
|
|
162
|
+
shutil.rmtree(sprint_dir)
|
|
163
|
+
return
|
|
164
|
+
|
|
165
|
+
# Fallback default path
|
|
166
|
+
sprint_dir = project_root / "src" / "generated" / f"sprint_{sprint}"
|
|
167
|
+
if sprint_dir.is_dir():
|
|
168
|
+
shutil.rmtree(sprint_dir)
|
|
169
|
+
|
|
170
|
+
|
|
128
171
|
def implement_sprint(
|
|
129
172
|
project_root: Path,
|
|
130
173
|
sprint: int,
|
|
131
174
|
*,
|
|
132
175
|
task: str | None = None,
|
|
133
176
|
ai_command: str | None = None,
|
|
177
|
+
clean: bool = False,
|
|
134
178
|
) -> list[ImplementationResult]:
|
|
135
179
|
"""Generate code for one sprint from implementation plan context."""
|
|
136
180
|
project_root = project_root.resolve()
|
|
137
181
|
config = _load_project_config(project_root)
|
|
182
|
+
|
|
183
|
+
if clean:
|
|
184
|
+
_clean_sprint_output(project_root, config, sprint)
|
|
185
|
+
|
|
138
186
|
plan = _load_implementation_plan(project_root, config)
|
|
139
187
|
selected_tasks = _select_tasks(plan, sprint, task)
|
|
140
188
|
if not selected_tasks:
|
|
@@ -333,10 +333,14 @@ def _build_plan_init_prompt(config: dict[str, Any], requirement_documents: list[
|
|
|
333
333
|
project_name = project.get("name") or "(unknown)"
|
|
334
334
|
language = project.get("language") or "(unknown)"
|
|
335
335
|
|
|
336
|
+
frameworks = project.get("frameworks") or []
|
|
337
|
+
frameworks_str = ", ".join(frameworks) if frameworks else "(none)"
|
|
338
|
+
|
|
336
339
|
lines = [
|
|
337
340
|
"You are initializing CoDD wave_config from requirement documents.",
|
|
338
341
|
f"Project name: {project_name}",
|
|
339
342
|
f"Primary language: {language}",
|
|
343
|
+
f"Detected/configured frameworks: {frameworks_str}",
|
|
340
344
|
"Configured doc_dirs: " + (", ".join(str(item) for item in doc_dirs) if doc_dirs else "(none)"),
|
|
341
345
|
"",
|
|
342
346
|
"MECE Document Structure (7 categories):",
|
|
@@ -358,6 +362,7 @@ def _build_plan_init_prompt(config: dict[str, Any], requirement_documents: list[
|
|
|
358
362
|
"- Extract conventions from the requirement documents for these categories:",
|
|
359
363
|
" security constraints (tenant isolation, authentication, authorization, auditability),",
|
|
360
364
|
" technical constraints (required stack, forbidden libraries, mandated integrations),",
|
|
365
|
+
" framework implicit conventions (routing patterns, directory-to-URL mapping rules, middleware semantics, ORM conventions, build-tool behaviors — any framework-specific rule that the framework enforces silently and that generated code must respect),",
|
|
361
366
|
" legal/regulatory requirements (privacy, GDPR, APPI, contractual obligations), and",
|
|
362
367
|
" non-functional requirements (SLA, latency, throughput, availability, recovery thresholds).",
|
|
363
368
|
"- Assign the relevant conventions to each artifact entry. Use conventions: [] only when an artifact truly has no release-blocking constraints.",
|
|
@@ -482,12 +487,16 @@ def _build_brownfield_plan_init_prompt(
|
|
|
482
487
|
project_name = project.get("name") or "(unknown)"
|
|
483
488
|
language = project.get("language") or "(unknown)"
|
|
484
489
|
|
|
490
|
+
frameworks = project.get("frameworks") or []
|
|
491
|
+
frameworks_str = ", ".join(frameworks) if frameworks else "(none)"
|
|
492
|
+
|
|
485
493
|
lines = [
|
|
486
494
|
"You are initializing CoDD wave_config for a BROWNFIELD project from extracted documents.",
|
|
487
495
|
"These extracted documents were generated by 'codd extract' from existing source code.",
|
|
488
496
|
"Your job is to create a V-Model design document plan that covers the existing codebase.",
|
|
489
497
|
f"Project name: {project_name}",
|
|
490
498
|
f"Primary language: {language}",
|
|
499
|
+
f"Detected/configured frameworks: {frameworks_str}",
|
|
491
500
|
"Configured doc_dirs: " + (", ".join(str(item) for item in doc_dirs) if doc_dirs else "(none)"),
|
|
492
501
|
"",
|
|
493
502
|
"MECE Document Structure (7 categories):",
|
|
@@ -506,6 +515,7 @@ def _build_brownfield_plan_init_prompt(
|
|
|
506
515
|
"- Use the extracted document node_ids in depends_on to trace back to the source analysis.",
|
|
507
516
|
"- Insert detailed design documents for complex modules or module groups.",
|
|
508
517
|
"- conventions are release-blocking constraints. Extract them from the patterns detected in the extracted documents (e.g., authentication, database models, API routes).",
|
|
518
|
+
"- When frameworks are detected, also extract framework implicit conventions (routing patterns, directory-to-URL mapping rules, middleware semantics, ORM conventions, build-tool behaviors — any framework-specific rule that the framework enforces silently and that generated code must respect).",
|
|
509
519
|
"- Do not add extracted documents themselves to wave_config — they are inputs, not outputs.",
|
|
510
520
|
"- Keep output paths under docs/design/, docs/detailed_design/, docs/plan/, docs/governance/, docs/test/, docs/operations/, or docs/infra/.",
|
|
511
521
|
"- Set dependencies so earlier waves unlock later waves in a realistic order.",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CoDD Requirements — 整備中
|
|
2
|
+
|
|
3
|
+
これらの要件定義書は `codd extract` による自動生成出力です。
|
|
4
|
+
人間によるレビューは未実施のため、内容の正確性は保証されません。
|
|
5
|
+
|
|
6
|
+
- **confidence: 0.65** = 機械生成デフォルト(未レビュー)
|
|
7
|
+
- **confidence: 1.0** にするには全 [speculative] 項目の確認が必要
|
|
8
|
+
|
|
9
|
+
## 未解決の確認事項
|
|
10
|
+
|
|
11
|
+
- [ ] バージョン不整合(`.codd_version: 0.2.0` vs `pyproject.toml: 1.7.0`)
|
|
12
|
+
- [ ] テストカバレッジ0%モジュール(generator, validator, planner, FeatureCluster)
|
|
13
|
+
- [ ] clustering confidence定数の妥当性(0.3, 0.4, 0.1, 0.2)
|
|
14
|
+
- [ ] Java/SQL tree-sitter対応状況
|
|
15
|
+
- [ ] `codd fix` システムプロンプト問題
|
|
16
|
+
- [ ] contracts substring false positive
|
|
17
|
+
- [ ] [speculative] 12件、矛盾6件、カバレッジ欠落8件の精査
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright © 2019 Filipe Laíns <filipe.lains@gmail.com>
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
|
4
|
-
copy of this software and associated documentation files (the "Software"),
|
|
5
|
-
to deal in the Software without restriction, including without limitation
|
|
6
|
-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
7
|
-
and/or sell copies of the Software, and to permit persons to whom the
|
|
8
|
-
Software is furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice (including the next
|
|
11
|
-
paragraph) shall be included in all copies or substantial portions of the
|
|
12
|
-
Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
17
|
-
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
19
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
20
|
-
DEALINGS IN THE SOFTWARE.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
This package contains a modified version of ca-bundle.crt:
|
|
2
|
-
|
|
3
|
-
ca-bundle.crt -- Bundle of CA Root Certificates
|
|
4
|
-
|
|
5
|
-
This is a bundle of X.509 certificates of public Certificate Authorities
|
|
6
|
-
(CA). These were automatically extracted from Mozilla's root certificates
|
|
7
|
-
file (certdata.txt). This file can be found in the mozilla source tree:
|
|
8
|
-
https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt
|
|
9
|
-
It contains the certificates in PEM format and therefore
|
|
10
|
-
can be directly used with curl / libcurl / php_curl, or with
|
|
11
|
-
an Apache+mod_ssl webserver for SSL client authentication.
|
|
12
|
-
Just configure this file as the SSLCACertificateFile.#
|
|
13
|
-
|
|
14
|
-
***** BEGIN LICENSE BLOCK *****
|
|
15
|
-
This Source Code Form is subject to the terms of the Mozilla Public License,
|
|
16
|
-
v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
|
|
17
|
-
one at http://mozilla.org/MPL/2.0/.
|
|
18
|
-
|
|
19
|
-
***** END LICENSE BLOCK *****
|
|
20
|
-
@(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Except when otherwise stated (look for LICENSE files in directories or
|
|
3
|
-
information at the beginning of each file) all software and
|
|
4
|
-
documentation is licensed as follows:
|
|
5
|
-
|
|
6
|
-
MIT No Attribution
|
|
7
|
-
|
|
8
|
-
Permission is hereby granted, free of charge, to any person
|
|
9
|
-
obtaining a copy of this software and associated documentation
|
|
10
|
-
files (the "Software"), to deal in the Software without
|
|
11
|
-
restriction, including without limitation the rights to use,
|
|
12
|
-
copy, modify, merge, publish, distribute, sublicense, and/or
|
|
13
|
-
sell copies of the Software, and to permit persons to whom the
|
|
14
|
-
Software is furnished to do so.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
17
|
-
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
19
|
-
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
22
|
-
DEALINGS IN THE SOFTWARE.
|
|
23
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 TAHRI Ahmed R.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
codd_dev-1.7.0/.venv-scanonly-209d2/lib/python3.12/site-packages/id-1.6.1.dist-info/licenses/LICENSE
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2010 - 2023 Holger Krekel and others
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
-
so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|