specfact-cli 0.52.3__py3-none-any.whl → 0.53.5__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 CHANGED
@@ -76,6 +76,6 @@ def _install_progressive_disclosure() -> None:
76
76
  # keeps missing-command and missing-parameter UX consistent outside the root CLI too.
77
77
  _install_progressive_disclosure()
78
78
 
79
- __version__ = "0.52.3"
79
+ __version__ = "0.53.5"
80
80
 
81
81
  __all__ = ["__version__"]
@@ -1,5 +1,5 @@
1
1
  name: module-registry
2
- version: 0.1.32
2
+ version: 0.1.33
3
3
  commands:
4
4
  - module
5
5
  category: core
@@ -17,5 +17,5 @@ publisher:
17
17
  description: 'Manage modules: search, list, show, install, and upgrade.'
18
18
  license: Apache-2.0
19
19
  integrity:
20
- checksum: sha256:a707de59cb2a706bad96a30415b693df0905cc67edf9238c0e9d601cc5b6af70
21
- signature: GREOnCQAXmZvwN0s+2T6wwhPFTYiDchy/V7uut9uMHZjevK7ZDBxbTPZJhGjb1ndX7pkaL+/TfyNOuh/9AUDDw==
20
+ checksum: sha256:42672d1ec701d5854f39434bcd1b80b20cdad36aeb04574334ad8227ca6e8422
21
+ signature: RZDbDR7X3eutmY113HXoqFEPz54wWBwcVobahSa9430lQTkyf10d51kzKWx/x65Ds2wkG1w5DoJ4WzEC3NS1AA==
@@ -15,7 +15,6 @@ from typing import Annotated, Any, cast
15
15
  import typer
16
16
  import yaml
17
17
  from beartype import beartype
18
- from click.exceptions import Exit as ClickExit
19
18
  from icontract import ensure, require
20
19
  from packaging.version import InvalidVersion, Version
21
20
  from rich.console import Console
@@ -651,7 +650,7 @@ def uninstall(
651
650
  stripped = module_name.strip()
652
651
  try:
653
652
  _uninstall_single_module(stripped, scope, repo)
654
- except ClickExit as exc:
653
+ except typer.Exit as exc:
655
654
  if exc.exit_code not in (0, None):
656
655
  failed = True
657
656
  if failed:
@@ -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 for source in requirement.sources
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+.+$", re.MULTILINE)
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 _speckit_rules(requirement_id: str, content: str) -> list[BusinessRule]:
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
- for index, match in enumerate(pattern.finditer(content), start=1):
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
- content = spec_path.read_text(encoding="utf-8")
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(change_dir: Path) -> RequirementContextImportResult:
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
- diagnostics.append(
233
- RequirementContextDiagnostic(
234
- severity=RequirementContextDiagnosticSeverity.ERROR,
235
- code="source-missing",
236
- message="OpenSpec delta specification could not be read.",
237
- source_locator=str(spec_path),
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
- content = spec_path.read_text(encoding="utf-8")
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-missing",
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-missing",
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(requirement_id, content),
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.52.3
3
+ Version: 0.53.5
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
@@ -224,7 +224,7 @@ Classifier: Topic :: Software Development :: Testing
224
224
  Requires-Python: >=3.11
225
225
  Requires-Dist: azure-identity>=1.17.1
226
226
  Requires-Dist: beartype>=0.22.4
227
- Requires-Dist: click<8.2,>=8.1.8
227
+ Requires-Dist: click<9,>=8.3.3
228
228
  Requires-Dist: commentjson>=0.9.0
229
229
  Requires-Dist: cryptography>=43.0.0
230
230
  Requires-Dist: gitpython>=3.1.45
@@ -234,13 +234,14 @@ Requires-Dist: jinja2>=3.1.6
234
234
  Requires-Dist: jsonschema>=4.23.0
235
235
  Requires-Dist: networkx>=3.4.2
236
236
  Requires-Dist: packaging>=24.0
237
+ Requires-Dist: pycparser!=3.0.*,>=2.22
237
238
  Requires-Dist: pydantic>=2.12.3
238
239
  Requires-Dist: pyyaml>=6.0.3
239
240
  Requires-Dist: questionary>=2.0.1
240
241
  Requires-Dist: requests>=2.32.3
241
242
  Requires-Dist: rich<16.0.0,>=13.5.2
242
243
  Requires-Dist: ruamel-yaml>=0.18.16
243
- Requires-Dist: typer<0.24,>=0.20.0
244
+ Requires-Dist: typer<1,>=0.24.0
244
245
  Requires-Dist: typing-extensions>=4.15.0
245
246
  Requires-Dist: watchdog>=6.0.0
246
247
  Provides-Extra: contracts
@@ -248,34 +249,41 @@ Requires-Dist: crosshair-tool>=0.0.97; extra == 'contracts'
248
249
  Requires-Dist: hypothesis>=6.142.4; extra == 'contracts'
249
250
  Provides-Extra: dev
250
251
  Requires-Dist: bandit>=1.7.0; extra == 'dev'
251
- Requires-Dist: basedpyright>=1.32.1; extra == 'dev'
252
252
  Requires-Dist: beartype>=0.22.4; extra == 'dev'
253
+ Requires-Dist: build>=1.2.2; extra == 'dev'
254
+ Requires-Dist: coverage[toml]>=7.7.1; extra == 'dev'
253
255
  Requires-Dist: crosshair-tool>=0.0.97; extra == 'dev'
254
256
  Requires-Dist: graphviz>=0.20.1; extra == 'dev'
257
+ Requires-Dist: hatchling==1.28.0; extra == 'dev'
255
258
  Requires-Dist: hypothesis>=6.142.4; extra == 'dev'
256
259
  Requires-Dist: icontract>=2.7.1; extra == 'dev'
257
260
  Requires-Dist: isort>=7.0.0; extra == 'dev'
261
+ Requires-Dist: mutmut>=3.3.1; extra == 'dev'
258
262
  Requires-Dist: pip-audit>=2.0.0; extra == 'dev'
259
263
  Requires-Dist: pip-licenses>=4.0.0; extra == 'dev'
260
264
  Requires-Dist: pip-tools>=7.5.1; extra == 'dev'
265
+ Requires-Dist: pipx>=1.7.1; extra == 'dev'
266
+ Requires-Dist: pre-commit>=4.0.1; extra == 'dev'
261
267
  Requires-Dist: pycg==0.0.7; extra == 'dev'
262
- Requires-Dist: pylint>=4.0.2; extra == 'dev'
263
268
  Requires-Dist: pytest-asyncio>=1.2.0; extra == 'dev'
264
269
  Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
265
270
  Requires-Dist: pytest-mock>=3.15.1; extra == 'dev'
271
+ Requires-Dist: pytest-timeout>=2.3.1; extra == 'dev'
266
272
  Requires-Dist: pytest-xdist>=3.8.0; extra == 'dev'
267
273
  Requires-Dist: pytest>=8.4.2; extra == 'dev'
268
274
  Requires-Dist: radon>=6.0.1; extra == 'dev'
269
275
  Requires-Dist: ruff>=0.14.2; extra == 'dev'
270
- Requires-Dist: semgrep>=1.144.0; extra == 'dev'
271
- Requires-Dist: setuptools<82,>=69.0.0; extra == 'dev'
276
+ Requires-Dist: semgrep>=1.171.0; extra == 'dev'
277
+ Requires-Dist: setuptools<84,>=83.0.0; extra == 'dev'
272
278
  Requires-Dist: tomlkit>=0.13.3; extra == 'dev'
279
+ Requires-Dist: twine>=6.1.0; extra == 'dev'
273
280
  Requires-Dist: types-pyyaml>=6.0.12.20250516; extra == 'dev'
281
+ Requires-Dist: yamllint>=1.37.1; extra == 'dev'
274
282
  Provides-Extra: enhanced-analysis
275
283
  Requires-Dist: graphviz>=0.20.1; extra == 'enhanced-analysis'
276
284
  Requires-Dist: pycg==0.0.7; extra == 'enhanced-analysis'
277
285
  Provides-Extra: scanning
278
- Requires-Dist: semgrep>=1.144.0; extra == 'scanning'
286
+ Requires-Dist: semgrep>=1.171.0; extra == 'scanning'
279
287
  Provides-Extra: telemetry
280
288
  Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.27.0; extra == 'telemetry'
281
289
  Requires-Dist: opentelemetry-sdk>=1.27.0; extra == 'telemetry'
@@ -322,7 +330,7 @@ Running Radon complexity checks...
322
330
  Running Semgrep rules...
323
331
  Running AST clean-code checks...
324
332
  Running basedpyright type checks...
325
- Running pylint checks...
333
+ Running Ruff lint policy checks...
326
334
  Running contract checks...
327
335
  Running targeted tests and coverage...
328
336
 
@@ -1,4 +1,4 @@
1
- specfact_cli/__init__.py,sha256=nl4udXmBs_BjzLQcrAYNaBDunkzbWt2LHHpP3ArNy90,2764
1
+ specfact_cli/__init__.py,sha256=Bqm0A3xavdc96sTTgYbP7S9ewL1IpUeLw192_9bjsEc,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
@@ -127,10 +127,10 @@ specfact_cli/modules/init/src/__init__.py,sha256=hCfRT0VH7kl70Rm_jHlNFlCLerJoI8I
127
127
  specfact_cli/modules/init/src/app.py,sha256=laUNKmpNqrFl1Jab3bBYICAaq3GUsj5hN5yjVFYAjvE,107
128
128
  specfact_cli/modules/init/src/commands.py,sha256=iU5J-0qbIjd36USQu9E6bigfS6M9sySVZq9vQQpN_Qg,30632
129
129
  specfact_cli/modules/init/src/first_run_selection.py,sha256=HONyTI6mUghwkZsKnivg1G7TObxRDubaW7XDVbBAxN4,23364
130
- specfact_cli/modules/module_registry/module-package.yaml,sha256=iV9YB6TaE3yIuADP-3ymn9YlBy-NzNI4YsMTdJLjXDQ,699
130
+ specfact_cli/modules/module_registry/module-package.yaml,sha256=u1w9T0uOHRJtWsqFMD0_YXl_E86B9v0ThWttHW8C3-0,699
131
131
  specfact_cli/modules/module_registry/src/__init__.py,sha256=Y97pOZc6y1DLxUBSHeh15AQ-sWCrg67ESyUNI5NRShY,42
132
132
  specfact_cli/modules/module_registry/src/app.py,sha256=sAKRXfaJNVM22rA952DFpG-12c8dazEb_zBQuc1KCF0,351
133
- specfact_cli/modules/module_registry/src/commands.py,sha256=Fpn6LggGGfyEbTcSDZMOds7NHre74neez4TyizJkkZI,61742
133
+ specfact_cli/modules/module_registry/src/commands.py,sha256=KBAjFan7eEaircnzEXZJ-TN5Yyrdjww7AlNsV0Xc3rU,61696
134
134
  specfact_cli/modules/upgrade/module-package.yaml,sha256=TtgHUVBEW7sIsJPuv6F486iUGgM4T4B4i65l-zoMRFU,647
135
135
  specfact_cli/modules/upgrade/src/__init__.py,sha256=hCfRT0VH7kl70Rm_jHlNFlCLerJoI8InHi7OS74WIL8,39
136
136
  specfact_cli/modules/upgrade/src/app.py,sha256=lOeaPyWumUuuWbmOTZB7ZbdmvKjDzma0B8fTU976Z00,113
@@ -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=zTqn6HrNS95Dl8FpsJe6qeQT8LM6zamRbyLQKqoMIo4,1012
161
- specfact_cli/requirements/context.py,sha256=O5R2btyCC9xn3Ypqrev1EF-P5qeMChcSG-lFPga3cns,22180
162
- specfact_cli/requirements/importers.py,sha256=_WziYtDQ0fRma25pzjaPPYgUhsfe8wfFpj5hu5x_eSo,13344
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.52.3.dist-info/METADATA,sha256=o1esXWZ7mkpw9ntEZ38ZfqOYo-atji3EQJ3Si9HSHis,25946
297
- specfact_cli-0.52.3.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
298
- specfact_cli-0.52.3.dist-info/entry_points.txt,sha256=pwDD5Ttu6AF3p3T05M4G0aR2BELFyUu3214kjMRGEow,96
299
- specfact_cli-0.52.3.dist-info/licenses/LICENSE,sha256=nWX_6oozyEFlF3mDaSWyBD9HLpyLRmCYYqdcgoVOrOk,11361
300
- specfact_cli-0.52.3.dist-info/RECORD,,
296
+ specfact_cli-0.53.5.dist-info/METADATA,sha256=zlar6YSKIyR2mN0zMM1Xjnrg_0ghJv1gyWNiVmmJN4g,26321
297
+ specfact_cli-0.53.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
298
+ specfact_cli-0.53.5.dist-info/entry_points.txt,sha256=pwDD5Ttu6AF3p3T05M4G0aR2BELFyUu3214kjMRGEow,96
299
+ specfact_cli-0.53.5.dist-info/licenses/LICENSE,sha256=nWX_6oozyEFlF3mDaSWyBD9HLpyLRmCYYqdcgoVOrOk,11361
300
+ specfact_cli-0.53.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.31.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any