specfact-cli 0.52.3__py3-none-any.whl → 0.53.2__py3-none-any.whl
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.
- specfact_cli/__init__.py +1 -1
- specfact_cli/requirements/__init__.py +2 -0
- specfact_cli/requirements/context.py +31 -1
- specfact_cli/requirements/importers.py +210 -17
- {specfact_cli-0.52.3.dist-info → specfact_cli-0.53.2.dist-info}/METADATA +1 -1
- {specfact_cli-0.52.3.dist-info → specfact_cli-0.53.2.dist-info}/RECORD +9 -9
- {specfact_cli-0.52.3.dist-info → specfact_cli-0.53.2.dist-info}/WHEEL +0 -0
- {specfact_cli-0.52.3.dist-info → specfact_cli-0.53.2.dist-info}/entry_points.txt +0 -0
- {specfact_cli-0.52.3.dist-info → specfact_cli-0.53.2.dist-info}/licenses/LICENSE +0 -0
specfact_cli/__init__.py
CHANGED
|
@@ -10,6 +10,7 @@ from specfact_cli.requirements.context import (
|
|
|
10
10
|
inspect_requirement_context_coverage,
|
|
11
11
|
load_requirements_from_bundle,
|
|
12
12
|
normalize_requirement_records,
|
|
13
|
+
requires_native_openspec_validation,
|
|
13
14
|
validate_requirement_context,
|
|
14
15
|
)
|
|
15
16
|
from specfact_cli.requirements.importers import import_openspec_change, import_speckit_feature
|
|
@@ -27,5 +28,6 @@ __all__ = [
|
|
|
27
28
|
"inspect_requirement_context_coverage",
|
|
28
29
|
"load_requirements_from_bundle",
|
|
29
30
|
"normalize_requirement_records",
|
|
31
|
+
"requires_native_openspec_validation",
|
|
30
32
|
"validate_requirement_context",
|
|
31
33
|
]
|
|
@@ -215,6 +215,30 @@ def _resolve_requirement_profile(
|
|
|
215
215
|
return effective_profile, resolved.values
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
@beartype
|
|
219
|
+
@require(_optional_profile_supported, "profile must be a supported requirements profile when provided")
|
|
220
|
+
@require(_project_root_supported, "project_root must be a Path when provided")
|
|
221
|
+
@ensure(lambda result: isinstance(result, bool), "result must be a boolean")
|
|
222
|
+
def requires_native_openspec_validation(
|
|
223
|
+
*,
|
|
224
|
+
profile: RequirementContextValidationProfile | None = None,
|
|
225
|
+
project_root: Path | None = None,
|
|
226
|
+
) -> bool:
|
|
227
|
+
"""Return whether layered policy requires native OpenSpec validation."""
|
|
228
|
+
effective_profile, resolved_config = _resolve_requirement_profile(profile, project_root)
|
|
229
|
+
validation_tier = _PROFILE_RESOLUTION_ALIASES.get(effective_profile, effective_profile)
|
|
230
|
+
validation_value = resolved_config.get("validation")
|
|
231
|
+
if not isinstance(validation_value, Mapping):
|
|
232
|
+
return validation_tier == "enterprise"
|
|
233
|
+
validation = cast(Mapping[str, object], validation_value)
|
|
234
|
+
openspec_value = validation.get("openspec")
|
|
235
|
+
if not isinstance(openspec_value, Mapping):
|
|
236
|
+
return validation_tier == "enterprise"
|
|
237
|
+
openspec = cast(Mapping[str, object], openspec_value)
|
|
238
|
+
configured = openspec.get("require_native_validation")
|
|
239
|
+
return configured if isinstance(configured, bool) else validation_tier == "enterprise"
|
|
240
|
+
|
|
241
|
+
|
|
218
242
|
def _is_imported_requirement(requirement: RequirementInput) -> bool:
|
|
219
243
|
return any(
|
|
220
244
|
source.source_type in {RequirementSourceType.OPENSPEC_CHANGE, RequirementSourceType.SPECKIT_SPEC}
|
|
@@ -439,7 +463,13 @@ def _import_gate_violations(
|
|
|
439
463
|
if not _is_imported_requirement(requirement):
|
|
440
464
|
continue
|
|
441
465
|
identities.setdefault(requirement.requirement_id, set()).update(
|
|
442
|
-
source.locator
|
|
466
|
+
source.locator
|
|
467
|
+
for source in requirement.sources
|
|
468
|
+
if source.source_type
|
|
469
|
+
in {
|
|
470
|
+
RequirementSourceType.OPENSPEC_CHANGE,
|
|
471
|
+
RequirementSourceType.SPECKIT_SPEC,
|
|
472
|
+
}
|
|
443
473
|
)
|
|
444
474
|
scenario_violation = _scenario_unverified_violation(requirement, severity=severity)
|
|
445
475
|
if scenario_violation:
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import hashlib
|
|
6
|
+
import json
|
|
6
7
|
import re
|
|
8
|
+
import subprocess
|
|
7
9
|
from pathlib import Path
|
|
8
10
|
from typing import cast
|
|
9
11
|
|
|
@@ -23,6 +25,8 @@ from specfact_cli.requirements.context import (
|
|
|
23
25
|
RequirementContextDiagnostic,
|
|
24
26
|
RequirementContextDiagnosticSeverity,
|
|
25
27
|
RequirementContextImportResult,
|
|
28
|
+
RequirementContextValidationProfile,
|
|
29
|
+
requires_native_openspec_validation,
|
|
26
30
|
)
|
|
27
31
|
|
|
28
32
|
|
|
@@ -30,12 +34,24 @@ _DEFAULT_OPENSPEC_SCHEMA = "spec-driven"
|
|
|
30
34
|
_OPENSPEC_REQUIREMENT_PATTERN = re.compile(r"^### Requirement:\s+.+$", re.MULTILINE)
|
|
31
35
|
_OPENSPEC_SCENARIO_PATTERN = re.compile(r"^#### Scenario:\s+.+$", re.MULTILINE)
|
|
32
36
|
_SPECKIT_TITLE_PATTERN = re.compile(r"^# Feature Specification:\s+.+$", re.MULTILINE)
|
|
33
|
-
_SPECKIT_REQUIREMENT_PATTERN = re.compile(r"^\s*-?\s*\*\*FR-\d+\*\*:\s*System MUST\s
|
|
37
|
+
_SPECKIT_REQUIREMENT_PATTERN = re.compile(r"^\s*-?\s*\*\*FR-\d+\*\*:\s*System MUST\s+(?P<text>.+?)\s*$", re.MULTILINE)
|
|
34
38
|
_SPECKIT_CUSTOMIZATION_ROOTS = (
|
|
35
39
|
Path(".specify/templates/overrides"),
|
|
36
40
|
Path(".specify/presets"),
|
|
37
41
|
Path(".specify/extensions"),
|
|
38
42
|
)
|
|
43
|
+
_OPENSPEC_VALIDATOR_TIMEOUT_SECONDS = 10
|
|
44
|
+
_SPECKIT_TEMPLATE_MARKERS = (
|
|
45
|
+
"# Feature Specification: [FEATURE NAME]",
|
|
46
|
+
"**Feature Branch**: `[###-feature-name]`",
|
|
47
|
+
'**Input**: User description: "$ARGUMENTS"',
|
|
48
|
+
"### User Story 1 - [Brief Title] (Priority: P1)",
|
|
49
|
+
"[Describe this user journey in plain language]",
|
|
50
|
+
"- **FR-001**: System MUST [specific capability,",
|
|
51
|
+
)
|
|
52
|
+
_SPECKIT_NEEDS_CLARIFICATION_MARKER = "[NEEDS CLARIFICATION:"
|
|
53
|
+
_SPECKIT_USER_STORY_PATTERN = re.compile(r"^### User Story\s+\d+\s+-\s+.+$", re.MULTILINE)
|
|
54
|
+
_SPECKIT_SECTION_PATTERN = re.compile(r"^#{1,3}\s+", re.MULTILINE)
|
|
39
55
|
|
|
40
56
|
|
|
41
57
|
def _slug(value: str) -> str:
|
|
@@ -87,13 +103,45 @@ def _scenario_rules(requirement_id: str, content: str) -> list[BusinessRule]:
|
|
|
87
103
|
return rules
|
|
88
104
|
|
|
89
105
|
|
|
90
|
-
def
|
|
106
|
+
def _speckit_user_story_blocks(content: str) -> list[str]:
|
|
107
|
+
"""Return the content of explicitly headed Spec Kit user stories."""
|
|
108
|
+
matches = list(_SPECKIT_USER_STORY_PATTERN.finditer(content))
|
|
109
|
+
blocks: list[str] = []
|
|
110
|
+
for match in matches:
|
|
111
|
+
following_section = _SPECKIT_SECTION_PATTERN.search(content, match.end())
|
|
112
|
+
end = following_section.start() if following_section else len(content)
|
|
113
|
+
blocks.append(content[match.start() : end])
|
|
114
|
+
return blocks
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
def _speckit_has_substantive_requirement(content: str) -> bool:
|
|
118
|
+
"""Return whether a supported FR entry contains completed, non-template text."""
|
|
119
|
+
return any(
|
|
120
|
+
"[" not in match.group("text") and "]" not in match.group("text")
|
|
121
|
+
for match in _SPECKIT_REQUIREMENT_PATTERN.finditer(content)
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def _speckit_rules(
|
|
126
|
+
requirement_id: str,
|
|
127
|
+
content: str,
|
|
128
|
+
*,
|
|
129
|
+
source_requirement_id: str | None = None,
|
|
130
|
+
) -> list[BusinessRule]:
|
|
91
131
|
rules: list[BusinessRule] = []
|
|
92
132
|
pattern = re.compile(
|
|
93
133
|
r"\*\*Given\*\*\s+(.+?),\s*\*\*When\*\*\s+(.+?),\s*\*\*Then\*\*\s+(.+?)(?=\n|$)",
|
|
94
134
|
re.IGNORECASE,
|
|
95
135
|
)
|
|
96
|
-
|
|
136
|
+
story_blocks = _speckit_user_story_blocks(content)
|
|
137
|
+
if source_requirement_id is not None:
|
|
138
|
+
story_blocks = [
|
|
139
|
+
block
|
|
140
|
+
for block in story_blocks
|
|
141
|
+
if re.search(rf"\b{re.escape(source_requirement_id)}\b", block, re.IGNORECASE)
|
|
142
|
+
]
|
|
143
|
+
story_content = "\n".join(story_blocks)
|
|
144
|
+
for index, match in enumerate(pattern.finditer(story_content), start=1):
|
|
97
145
|
rules.append(
|
|
98
146
|
BusinessRule(
|
|
99
147
|
rule_id=f"{requirement_id}:scenario-{index}",
|
|
@@ -136,6 +184,24 @@ def _unsupported_source_result(
|
|
|
136
184
|
)
|
|
137
185
|
|
|
138
186
|
|
|
187
|
+
def _readiness_error_result(
|
|
188
|
+
source: Path,
|
|
189
|
+
source_type: RequirementSourceType,
|
|
190
|
+
code: str,
|
|
191
|
+
message: str,
|
|
192
|
+
) -> RequirementContextImportResult:
|
|
193
|
+
return RequirementContextImportResult(
|
|
194
|
+
diagnostics=[
|
|
195
|
+
RequirementContextDiagnostic(
|
|
196
|
+
severity=RequirementContextDiagnosticSeverity.ERROR,
|
|
197
|
+
code=code,
|
|
198
|
+
message=message,
|
|
199
|
+
source_locator=str(source),
|
|
200
|
+
)
|
|
201
|
+
]
|
|
202
|
+
)
|
|
203
|
+
|
|
204
|
+
|
|
139
205
|
def _load_schema_name(path: Path) -> str | None:
|
|
140
206
|
try:
|
|
141
207
|
if not path.is_file():
|
|
@@ -166,7 +232,14 @@ def _openspec_compatibility_error(change_dir: Path, spec_paths: list[Path]) -> R
|
|
|
166
232
|
"OpenSpec change has no default-profile spec.md artifact to import.",
|
|
167
233
|
)
|
|
168
234
|
for spec_path in spec_paths:
|
|
169
|
-
|
|
235
|
+
try:
|
|
236
|
+
content = spec_path.read_text(encoding="utf-8")
|
|
237
|
+
except (OSError, UnicodeDecodeError):
|
|
238
|
+
return _unsupported_source_result(
|
|
239
|
+
spec_path,
|
|
240
|
+
RequirementSourceType.OPENSPEC_CHANGE,
|
|
241
|
+
"OpenSpec artifact cannot be read as UTF-8 under the default evidence import profile.",
|
|
242
|
+
)
|
|
170
243
|
if not (_OPENSPEC_REQUIREMENT_PATTERN.search(content) and _OPENSPEC_SCENARIO_PATTERN.search(content)):
|
|
171
244
|
return _unsupported_source_result(
|
|
172
245
|
spec_path,
|
|
@@ -205,18 +278,123 @@ def _speckit_compatibility_error(
|
|
|
205
278
|
return None
|
|
206
279
|
|
|
207
280
|
|
|
281
|
+
def _speckit_readiness_error(spec_path: Path, content: str) -> RequirementContextImportResult | None:
|
|
282
|
+
if not _SPECKIT_TITLE_PATTERN.search(content):
|
|
283
|
+
return None
|
|
284
|
+
if any(marker in content for marker in _SPECKIT_TEMPLATE_MARKERS) or _SPECKIT_NEEDS_CLARIFICATION_MARKER in content:
|
|
285
|
+
return _readiness_error_result(
|
|
286
|
+
spec_path,
|
|
287
|
+
RequirementSourceType.SPECKIT_SPEC,
|
|
288
|
+
"incomplete-source-template",
|
|
289
|
+
"Spec Kit source still contains a supported official scaffold placeholder.",
|
|
290
|
+
)
|
|
291
|
+
if not _speckit_has_substantive_requirement(content):
|
|
292
|
+
return _readiness_error_result(
|
|
293
|
+
spec_path,
|
|
294
|
+
RequirementSourceType.SPECKIT_SPEC,
|
|
295
|
+
"source-incomplete",
|
|
296
|
+
"Spec Kit source has no substantive Functional Requirement.",
|
|
297
|
+
)
|
|
298
|
+
if not _speckit_rules("readiness", content):
|
|
299
|
+
return _readiness_error_result(
|
|
300
|
+
spec_path,
|
|
301
|
+
RequirementSourceType.SPECKIT_SPEC,
|
|
302
|
+
"source-incomplete",
|
|
303
|
+
"Spec Kit source has no recognized user-story acceptance scenario.",
|
|
304
|
+
)
|
|
305
|
+
return None
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
def _openspec_native_validation_error(
|
|
309
|
+
change_dir: Path,
|
|
310
|
+
*,
|
|
311
|
+
profile: RequirementContextValidationProfile | None,
|
|
312
|
+
project_root: Path | None,
|
|
313
|
+
) -> RequirementContextImportResult | None:
|
|
314
|
+
if not requires_native_openspec_validation(profile=profile, project_root=project_root):
|
|
315
|
+
return None
|
|
316
|
+
try:
|
|
317
|
+
completed = subprocess.run(
|
|
318
|
+
["openspec", "validate", change_dir.name, "--strict", "--json"],
|
|
319
|
+
cwd=change_dir.parents[2],
|
|
320
|
+
capture_output=True,
|
|
321
|
+
check=False,
|
|
322
|
+
text=True,
|
|
323
|
+
timeout=_OPENSPEC_VALIDATOR_TIMEOUT_SECONDS,
|
|
324
|
+
)
|
|
325
|
+
except FileNotFoundError:
|
|
326
|
+
return _readiness_error_result(
|
|
327
|
+
change_dir,
|
|
328
|
+
RequirementSourceType.OPENSPEC_CHANGE,
|
|
329
|
+
"upstream-validator-unavailable",
|
|
330
|
+
"Required native OpenSpec validator is unavailable.",
|
|
331
|
+
)
|
|
332
|
+
except (OSError, subprocess.TimeoutExpired):
|
|
333
|
+
return _readiness_error_result(
|
|
334
|
+
change_dir,
|
|
335
|
+
RequirementSourceType.OPENSPEC_CHANGE,
|
|
336
|
+
"source-invalid",
|
|
337
|
+
"Required native OpenSpec validation did not complete successfully.",
|
|
338
|
+
)
|
|
339
|
+
try:
|
|
340
|
+
payload = json.loads(completed.stdout)
|
|
341
|
+
except json.JSONDecodeError:
|
|
342
|
+
payload = None
|
|
343
|
+
if completed.returncode != 0 or not _native_openspec_result_valid(payload, change_dir.name):
|
|
344
|
+
return _readiness_error_result(
|
|
345
|
+
change_dir,
|
|
346
|
+
RequirementSourceType.OPENSPEC_CHANGE,
|
|
347
|
+
"source-invalid",
|
|
348
|
+
"Required native OpenSpec validation reported the source invalid.",
|
|
349
|
+
)
|
|
350
|
+
return None
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
def _native_openspec_result_valid(payload: object, change_name: str) -> bool:
|
|
354
|
+
if not isinstance(payload, dict):
|
|
355
|
+
return False
|
|
356
|
+
result = cast(dict[str, object], payload)
|
|
357
|
+
items = result.get("items")
|
|
358
|
+
if not isinstance(items, list):
|
|
359
|
+
return False
|
|
360
|
+
return any(
|
|
361
|
+
isinstance(item, dict)
|
|
362
|
+
and cast(dict[str, object], item).get("id") == change_name
|
|
363
|
+
and cast(dict[str, object], item).get("valid") is True
|
|
364
|
+
for item in items
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
|
|
208
368
|
def _import_result_has_requirements(result: RequirementContextImportResult) -> bool:
|
|
209
369
|
return all(isinstance(record, RequirementInput) for record in result.requirements)
|
|
210
370
|
|
|
211
371
|
|
|
212
372
|
@require(lambda change_dir: isinstance(change_dir, Path), "change_dir must be a Path")
|
|
373
|
+
@require(lambda profile: profile is None or isinstance(profile, str), "profile must be text when provided")
|
|
374
|
+
@require(
|
|
375
|
+
lambda project_root: project_root is None or isinstance(project_root, Path),
|
|
376
|
+
"project_root must be a Path when provided",
|
|
377
|
+
)
|
|
213
378
|
@ensure(_import_result_has_requirements)
|
|
214
379
|
@beartype
|
|
215
|
-
def import_openspec_change(
|
|
380
|
+
def import_openspec_change(
|
|
381
|
+
change_dir: Path,
|
|
382
|
+
*,
|
|
383
|
+
profile: RequirementContextValidationProfile | None = None,
|
|
384
|
+
project_root: Path | None = None,
|
|
385
|
+
) -> RequirementContextImportResult:
|
|
216
386
|
"""Normalize one native OpenSpec change directory without modifying it."""
|
|
217
387
|
if not change_dir.is_dir():
|
|
218
388
|
return _missing_source_result(change_dir, RequirementSourceType.OPENSPEC_CHANGE)
|
|
219
389
|
|
|
390
|
+
native_validation_error = _openspec_native_validation_error(
|
|
391
|
+
change_dir,
|
|
392
|
+
profile=profile,
|
|
393
|
+
project_root=project_root,
|
|
394
|
+
)
|
|
395
|
+
if native_validation_error:
|
|
396
|
+
return native_validation_error
|
|
397
|
+
|
|
220
398
|
spec_paths = sorted((change_dir / "specs").glob("*/spec.md"))
|
|
221
399
|
compatibility_error = _openspec_compatibility_error(change_dir, spec_paths)
|
|
222
400
|
if compatibility_error:
|
|
@@ -229,15 +407,16 @@ def import_openspec_change(change_dir: Path) -> RequirementContextImportResult:
|
|
|
229
407
|
for spec_path in spec_paths:
|
|
230
408
|
parsed = parser.parse_change_spec_delta(spec_path)
|
|
231
409
|
if parsed is None:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
410
|
+
return RequirementContextImportResult(
|
|
411
|
+
diagnostics=[
|
|
412
|
+
RequirementContextDiagnostic(
|
|
413
|
+
severity=RequirementContextDiagnosticSeverity.ERROR,
|
|
414
|
+
code="source-missing",
|
|
415
|
+
message="OpenSpec delta specification could not be read.",
|
|
416
|
+
source_locator=str(spec_path),
|
|
417
|
+
)
|
|
418
|
+
]
|
|
239
419
|
)
|
|
240
|
-
continue
|
|
241
420
|
content = str(parsed.get("raw_content", ""))
|
|
242
421
|
capability = spec_path.parent.name
|
|
243
422
|
source = RequirementSourceReference(
|
|
@@ -278,7 +457,17 @@ def import_speckit_feature(feature_dir: Path) -> RequirementContextImportResult:
|
|
|
278
457
|
if not feature_dir.is_dir() or not spec_path.is_file():
|
|
279
458
|
return _missing_source_result(feature_dir, RequirementSourceType.SPECKIT_SPEC)
|
|
280
459
|
|
|
281
|
-
|
|
460
|
+
try:
|
|
461
|
+
content = spec_path.read_text(encoding="utf-8")
|
|
462
|
+
except (OSError, UnicodeDecodeError):
|
|
463
|
+
return _unsupported_source_result(
|
|
464
|
+
spec_path,
|
|
465
|
+
RequirementSourceType.SPECKIT_SPEC,
|
|
466
|
+
"Spec Kit artifact cannot be read as UTF-8 under the default evidence import profile.",
|
|
467
|
+
)
|
|
468
|
+
readiness_error = _speckit_readiness_error(spec_path, content)
|
|
469
|
+
if readiness_error:
|
|
470
|
+
return readiness_error
|
|
282
471
|
compatibility_error = _speckit_compatibility_error(feature_dir, spec_path, content)
|
|
283
472
|
if compatibility_error:
|
|
284
473
|
return compatibility_error
|
|
@@ -302,7 +491,7 @@ def import_speckit_feature(feature_dir: Path) -> RequirementContextImportResult:
|
|
|
302
491
|
diagnostics.append(
|
|
303
492
|
RequirementContextDiagnostic(
|
|
304
493
|
severity=RequirementContextDiagnosticSeverity.WARNING,
|
|
305
|
-
code="source-
|
|
494
|
+
code="source-malformed",
|
|
306
495
|
message="Spec Kit requirement entry is not a mapping.",
|
|
307
496
|
source_locator=str(spec_path),
|
|
308
497
|
record_index=index,
|
|
@@ -315,7 +504,7 @@ def import_speckit_feature(feature_dir: Path) -> RequirementContextImportResult:
|
|
|
315
504
|
diagnostics.append(
|
|
316
505
|
RequirementContextDiagnostic(
|
|
317
506
|
severity=RequirementContextDiagnosticSeverity.WARNING,
|
|
318
|
-
code="source-
|
|
507
|
+
code="source-malformed",
|
|
319
508
|
message="Spec Kit requirement entry has no text.",
|
|
320
509
|
source_locator=str(spec_path),
|
|
321
510
|
record_index=index,
|
|
@@ -333,7 +522,11 @@ def import_speckit_feature(feature_dir: Path) -> RequirementContextImportResult:
|
|
|
333
522
|
title=summary[:1].upper() + summary[1:],
|
|
334
523
|
summary=summary,
|
|
335
524
|
sources=[source],
|
|
336
|
-
business_rules=_speckit_rules(
|
|
525
|
+
business_rules=_speckit_rules(
|
|
526
|
+
requirement_id,
|
|
527
|
+
content,
|
|
528
|
+
source_requirement_id=f"FR-{index + 1:03d}",
|
|
529
|
+
),
|
|
337
530
|
)
|
|
338
531
|
)
|
|
339
532
|
return RequirementContextImportResult(requirements=requirements, diagnostics=diagnostics)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: specfact-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.53.2
|
|
4
4
|
Summary: AI-bloat defense CLI for Python teams. Run deterministic code review, cleanup forecasts, and spec/contract evidence for AI-assisted and brownfield delivery.
|
|
5
5
|
Project-URL: Homepage, https://github.com/nold-ai/specfact-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/nold-ai/specfact-cli.git
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
specfact_cli/__init__.py,sha256=
|
|
1
|
+
specfact_cli/__init__.py,sha256=tMcHrgGfuvvAxAW-JAOfmarc0wcnvaH0Wb-5SmBnkys,2764
|
|
2
2
|
specfact_cli/__main__.py,sha256=EpP5xlutNYI5AuMlMw8fGt1TywZUR1-CXHpzpWKyNuo,141
|
|
3
3
|
specfact_cli/cli.py,sha256=GRsW3xTJh1pPJl7VpshvPT6YiHgJMMsKt7lE94ZcrAA,53151
|
|
4
4
|
specfact_cli/evidence.py,sha256=51UTnikb2WY_wktg4D_-1jH9YR4WKXG-aZ6NkL_10lU,2924
|
|
@@ -157,9 +157,9 @@ specfact_cli/registry/module_packages.py,sha256=jpyxc5tPwitHDWXtJyqdy18W7EVvHNxd
|
|
|
157
157
|
specfact_cli/registry/module_security.py,sha256=RfKJmkR9sdBXP7q1YBsK1Io-ys0vhHshhPR06uk5TjM,4517
|
|
158
158
|
specfact_cli/registry/module_state.py,sha256=zBMPrjJOhTBZmSY7tur5gOABcRgXZWf_qpOL9iIRRLY,3463
|
|
159
159
|
specfact_cli/registry/registry.py,sha256=FnQz9-jkiQ1f1e9YjfOZ_Rx7yRVj_mhKQuvoCgmSA78,6856
|
|
160
|
-
specfact_cli/requirements/__init__.py,sha256=
|
|
161
|
-
specfact_cli/requirements/context.py,sha256=
|
|
162
|
-
specfact_cli/requirements/importers.py,sha256=
|
|
160
|
+
specfact_cli/requirements/__init__.py,sha256=f8zWVNT6s59dS2rd5p7fI3AyGEOJbV1syQLzhGrxJ0A,1096
|
|
161
|
+
specfact_cli/requirements/context.py,sha256=mCblpFsJURJrWJ7JNyh4uML2St7RXxeZQc-lio5mgRM,23626
|
|
162
|
+
specfact_cli/requirements/importers.py,sha256=HaP8qDLIBy32m6ipg0IqaVC8p6SSV2HBHyfb2dVeqlw,20483
|
|
163
163
|
specfact_cli/resources/semgrep/async.yml,sha256=pz4xuPx7_CAEAwN-iq1zyc8srcid3GYtl7exsr1_5k8,8232
|
|
164
164
|
specfact_cli/resources/semgrep/code-quality.yml,sha256=Nx-E2XuShwioUJhG-JvjEgOMPU9FuNr7H-VCCjKia30,7749
|
|
165
165
|
specfact_cli/resources/semgrep/feature-detection.yml,sha256=6nZ6sqVtAmGWZxgZYJwu_YNv59xIYgRJsM-5ZtFxXUw,21538
|
|
@@ -293,8 +293,8 @@ specfact_cli/resources/templates/policies/kanban.yaml,sha256=9jt7YYfZ8e8aB5skY2D
|
|
|
293
293
|
specfact_cli/resources/templates/policies/mixed.yaml,sha256=-fkrT-TLKLTBzjKeKr8bEJHFC-nh1TlyLOEFfgRdSi8,243
|
|
294
294
|
specfact_cli/resources/templates/policies/safe.yaml,sha256=uiwe5_ABvaU4nmq6rsLUn8zRotkBITItPUsdPZPTHTw,157
|
|
295
295
|
specfact_cli/resources/templates/policies/scrum.yaml,sha256=6FHYOntkjCxHAn-ga14IQzA1PvYUJgxfLsEQYtWJILM,188
|
|
296
|
-
specfact_cli-0.
|
|
297
|
-
specfact_cli-0.
|
|
298
|
-
specfact_cli-0.
|
|
299
|
-
specfact_cli-0.
|
|
300
|
-
specfact_cli-0.
|
|
296
|
+
specfact_cli-0.53.2.dist-info/METADATA,sha256=1jo25R5wwphnjMaqK3ZBU78mjYFW_tcz9OmJwcgYDTM,25946
|
|
297
|
+
specfact_cli-0.53.2.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
298
|
+
specfact_cli-0.53.2.dist-info/entry_points.txt,sha256=pwDD5Ttu6AF3p3T05M4G0aR2BELFyUu3214kjMRGEow,96
|
|
299
|
+
specfact_cli-0.53.2.dist-info/licenses/LICENSE,sha256=nWX_6oozyEFlF3mDaSWyBD9HLpyLRmCYYqdcgoVOrOk,11361
|
|
300
|
+
specfact_cli-0.53.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|