specfact-cli 0.47.6__py3-none-any.whl → 0.48.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 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.47.6"
79
+ __version__ = "0.48.2"
80
80
 
81
81
  __all__ = ["__version__"]
@@ -1986,7 +1986,7 @@ class AdoAdapter(BridgeAdapter, BacklogAdapterMixin, BacklogAdapter):
1986
1986
  return cast(
1987
1987
  Any,
1988
1988
  self._request_with_retry(
1989
- lambda: requests.post(url, **request_kwargs),
1989
+ lambda: requests.post(url, **request_kwargs), # nosec B113 - request_kwargs always includes timeout.
1990
1990
  retry_on_ambiguous_transport=retry_on_ambiguous_transport,
1991
1991
  ),
1992
1992
  )
@@ -2129,7 +2129,7 @@ class AdoAdapter(BridgeAdapter, BacklogAdapterMixin, BacklogAdapter):
2129
2129
  change_id_escaped = change_id.replace("'", "''")
2130
2130
  wiql = {
2131
2131
  "query": (
2132
- "Select [System.Id] From WorkItems "
2132
+ "Select [System.Id] From WorkItems " # nosec B608 - WIQL uses escaped literals, not SQL.
2133
2133
  f"Where [System.TeamProject] = '{project_escaped}' "
2134
2134
  f"And [System.Description] Contains 'OpenSpec Change Proposal: `{change_id_escaped}`'"
2135
2135
  )
@@ -90,7 +90,7 @@ class PersonaExporter:
90
90
  self.project_templates_dir = project_templates_dir
91
91
 
92
92
  # Create Jinja2 environment with fallback support
93
- self.env = Environment(
93
+ self.env = Environment( # nosec B701 - exports trusted Markdown templates, not HTML.
94
94
  loader=FileSystemLoader(
95
95
  [str(self.templates_dir)] + ([str(self.project_templates_dir)] if project_templates_dir else [])
96
96
  ),
@@ -33,7 +33,7 @@ class PlanGenerator:
33
33
  templates_dir = Path(__file__).parent.parent.parent.parent / "resources" / "templates"
34
34
 
35
35
  self.templates_dir = Path(templates_dir)
36
- self.env = Environment(
36
+ self.env = Environment( # nosec B701 - generates trusted text/YAML workflow templates, not HTML.
37
37
  loader=FileSystemLoader(self.templates_dir),
38
38
  # Must be False: trim_blocks removes the newline after {% endraw %}, merging `if:` with `run:`.
39
39
  trim_blocks=False,
@@ -32,7 +32,7 @@ class ProtocolGenerator:
32
32
  templates_dir = Path(__file__).parent.parent.parent.parent / "resources" / "templates"
33
33
 
34
34
  self.templates_dir = Path(templates_dir)
35
- self.env = Environment(
35
+ self.env = Environment( # nosec B701 - generates trusted protocol Markdown, not HTML.
36
36
  loader=FileSystemLoader(self.templates_dir),
37
37
  trim_blocks=True,
38
38
  lstrip_blocks=True,
@@ -43,7 +43,7 @@ class ReportGenerator:
43
43
  templates_dir = Path(__file__).parent.parent.parent.parent / "resources" / "templates"
44
44
 
45
45
  self.templates_dir = Path(templates_dir)
46
- self.env = Environment(
46
+ self.env = Environment( # nosec B701 - generates trusted validation reports, not HTML.
47
47
  loader=FileSystemLoader(self.templates_dir),
48
48
  trim_blocks=True,
49
49
  lstrip_blocks=True,
@@ -38,7 +38,7 @@ class WorkflowGenerator:
38
38
  templates_dir = Path(__file__).parent.parent.parent.parent / "resources" / "templates"
39
39
 
40
40
  self.templates_dir = Path(templates_dir)
41
- self.env = Environment(
41
+ self.env = Environment( # nosec B701 - generates trusted text/YAML workflow templates, not HTML.
42
42
  loader=FileSystemLoader(self.templates_dir),
43
43
  # Must be False: trim_blocks removes the newline after {% endraw %}, merging `if:` with `run:`.
44
44
  trim_blocks=False,
@@ -1,5 +1,5 @@
1
1
  name: init
2
- version: 0.1.37
2
+ version: 0.1.41
3
3
  commands:
4
4
  - init
5
5
  category: core
@@ -17,5 +17,5 @@ publisher:
17
17
  description: Initialize SpecFact workspace and bootstrap local configuration.
18
18
  license: Apache-2.0
19
19
  integrity:
20
- checksum: sha256:8741e8fa3408bd38e7d65d0784a25466369955dd9f16f1981a52c0e1550afbe0
21
- signature: kPAMdqpcAr92gr+DwxWibXfD0mgCLSb78EwGzoXH3fHct7xss8zt/SFvJLVZ0qkYHA8/4Nu6ls0iihRN9DXhCw==
20
+ checksum: sha256:7ad9c0b623f52a55b45f35adf9576bea1fd47edcd3005ed2354188a6a6ea20f5
21
+ signature: 7ED3ulYnu2VsJvPN/rEVLFHdVdBoiqJg1a8kR1FpWTmz9ZILrT/+NYq3CtnwGIvZscD/8CEBLBqKt1+0fCqZCQ==
@@ -48,14 +48,7 @@ from specfact_cli.utils.ide_setup import (
48
48
  )
49
49
 
50
50
 
51
- VALID_PROFILES: frozenset[str] = frozenset(
52
- {
53
- "solo-developer",
54
- "backlog-team",
55
- "api-first-team",
56
- "enterprise-full-stack",
57
- }
58
- )
51
+ VALID_PROFILES: frozenset[str] = frozenset(first_run_selection.get_valid_profile_names())
59
52
  PROFILE_BUNDLES: dict[str, list[str]] = first_run_selection.PROFILE_PRESETS
60
53
 
61
54
  install_bundles_for_init = first_run_selection.install_bundles_for_init
@@ -709,6 +702,21 @@ def init_ide(
709
702
  console.print(f"[green]Updated VS Code settings:[/green] {settings_path}")
710
703
 
711
704
 
705
+ def _write_profile_config_or_exit(repo_path: Path, profile: str) -> None:
706
+ try:
707
+ first_run_selection.write_profile_config(repo_path, profile)
708
+ except ValueError as e:
709
+ console.print(f"[red]Error:[/red] {e}")
710
+ raise typer.Exit(1) from e
711
+
712
+
713
+ def _apply_explicit_profile_or_install(repo_path: Path, profile: str | None, install: str | None) -> list[str]:
714
+ enabled_module_ids = _apply_profile_or_install_bundles(profile, install)
715
+ if profile is not None:
716
+ _write_profile_config_or_exit(repo_path, profile)
717
+ return enabled_module_ids
718
+
719
+
712
720
  @app.callback(invoke_without_command=True)
713
721
  @require(lambda repo: _is_valid_repo_path(repo), "Repo path must exist and be directory")
714
722
  @ensure(lambda result: result is None, "Command should return None")
@@ -725,7 +733,10 @@ def init(
725
733
  profile: str | None = typer.Option(
726
734
  None,
727
735
  "--profile",
728
- help="First-run profile preset: solo-developer, backlog-team, api-first-team, enterprise-full-stack",
736
+ help=(
737
+ "Validation tier or legacy workflow preset: solo, startup, mid_size, enterprise, "
738
+ "solo-developer, backlog-team, api-first-team, enterprise-full-stack"
739
+ ),
729
740
  ),
730
741
  install: str | None = typer.Option(
731
742
  None,
@@ -750,7 +761,7 @@ def init(
750
761
 
751
762
  enabled_module_ids: list[str] = []
752
763
  if profile is not None or install is not None:
753
- enabled_module_ids = _apply_profile_or_install_bundles(profile, install)
764
+ enabled_module_ids = _apply_explicit_profile_or_install(repo_path, profile, install)
754
765
  elif is_first_run(user_root=INIT_USER_MODULES_ROOT) and is_non_interactive():
755
766
  console.print(
756
767
  "[red]Error:[/red] In CI/CD (non-interactive) mode, first-run init requires "
@@ -3,10 +3,13 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import os
6
+ from collections.abc import Mapping
7
+ from copy import deepcopy
6
8
  from dataclasses import dataclass
7
9
  from pathlib import Path
8
- from typing import Any
10
+ from typing import Any, cast
9
11
 
12
+ import yaml
10
13
  from beartype import beartype
11
14
  from icontract import ensure, require
12
15
 
@@ -25,8 +28,118 @@ PROFILE_PRESETS: dict[str, list[str]] = {
25
28
  "specfact-spec",
26
29
  "specfact-govern",
27
30
  ],
31
+ "solo": ["specfact-codebase", "specfact-code-review"],
32
+ "startup": ["specfact-project", "specfact-backlog", "specfact-codebase", "specfact-code-review"],
33
+ "mid_size": ["specfact-project", "specfact-backlog", "specfact-codebase", "specfact-spec", "specfact-code-review"],
34
+ "enterprise": [
35
+ "specfact-project",
36
+ "specfact-backlog",
37
+ "specfact-codebase",
38
+ "specfact-spec",
39
+ "specfact-govern",
40
+ "specfact-code-review",
41
+ ],
42
+ }
43
+
44
+ VALIDATION_TIER_PROFILES: tuple[str, ...] = ("solo", "startup", "mid_size", "enterprise")
45
+
46
+ LEGACY_PROFILE_TO_VALIDATION_TIER: dict[str, str] = {
47
+ "solo-developer": "solo",
48
+ "backlog-team": "startup",
49
+ "api-first-team": "mid_size",
50
+ "enterprise-full-stack": "enterprise",
51
+ }
52
+
53
+
54
+ def _canonical_module_ids(bundle_ids: list[str]) -> list[str]:
55
+ return [f"nold-ai/{bundle_id}" for bundle_id in bundle_ids]
56
+
57
+
58
+ _PROFILE_DEFAULTS: dict[str, dict[str, Any]] = {
59
+ "solo": {
60
+ "profile": "solo",
61
+ "validation": {
62
+ "severity": "advisory",
63
+ "policy_mode": "advisory",
64
+ "evidence_persistence": "local",
65
+ },
66
+ "clean_code": {
67
+ "mode": "advisory",
68
+ },
69
+ "modules": {
70
+ "enabled": _canonical_module_ids(PROFILE_PRESETS["solo"]),
71
+ },
72
+ "requirements_schema": {
73
+ "required_fields": ["id", "title", "acceptance"],
74
+ },
75
+ },
76
+ "startup": {
77
+ "profile": "startup",
78
+ "validation": {
79
+ "severity": "mixed",
80
+ "policy_mode": "mixed",
81
+ "evidence_persistence": "repo",
82
+ },
83
+ "clean_code": {
84
+ "mode": "advisory_then_mixed",
85
+ },
86
+ "modules": {
87
+ "enabled": _canonical_module_ids(PROFILE_PRESETS["startup"]),
88
+ },
89
+ "requirements_schema": {
90
+ "required_fields": ["id", "title", "owner", "acceptance"],
91
+ },
92
+ },
93
+ "mid_size": {
94
+ "profile": "mid_size",
95
+ "validation": {
96
+ "severity": "mixed",
97
+ "policy_mode": "mixed",
98
+ "evidence_persistence": "repo",
99
+ },
100
+ "clean_code": {
101
+ "mode": "mixed",
102
+ },
103
+ "modules": {
104
+ "enabled": _canonical_module_ids(PROFILE_PRESETS["mid_size"]),
105
+ },
106
+ "requirements_schema": {
107
+ "required_fields": ["id", "title", "owner", "acceptance", "trace_links"],
108
+ },
109
+ },
110
+ "enterprise": {
111
+ "profile": "enterprise",
112
+ "validation": {
113
+ "severity": "hard",
114
+ "policy_mode": "hard",
115
+ "evidence_persistence": "required",
116
+ },
117
+ "clean_code": {
118
+ "mode": "hard",
119
+ },
120
+ "modules": {
121
+ "enabled": _canonical_module_ids(PROFILE_PRESETS["enterprise"]),
122
+ },
123
+ "requirements_schema": {
124
+ "required_fields": [
125
+ "id",
126
+ "title",
127
+ "owner",
128
+ "acceptance",
129
+ "trace_links",
130
+ "risk_classification",
131
+ "exception_evidence",
132
+ ],
133
+ },
134
+ },
28
135
  }
29
136
 
137
+ _RESERVED_CONFIG_KEYS: frozenset[str] = frozenset({"source_annotations", "profile_warnings"})
138
+ _PROFILE_GENERATED_CONFIG_KEYS: frozenset[str] = frozenset(
139
+ {"validation", "clean_code", "modules", "requirements_schema"}
140
+ )
141
+ _POLICY_STRENGTH: dict[str, int] = {"advisory": 1, "advisory_then_mixed": 2, "mixed": 3, "hard": 4}
142
+
30
143
  _INSTALL_ALL_BUNDLES: tuple[str, ...] = (
31
144
  "specfact-project",
32
145
  "specfact-backlog",
@@ -53,6 +166,8 @@ BUNDLE_ALIAS_TO_CANONICAL: dict[str, str] = {
53
166
  "backlog": "specfact-backlog",
54
167
  "codebase": "specfact-codebase",
55
168
  "code": "specfact-codebase",
169
+ "code-review": "specfact-code-review",
170
+ "code_review": "specfact-code-review",
56
171
  "spec": "specfact-spec",
57
172
  "govern": "specfact-govern",
58
173
  }
@@ -83,6 +198,15 @@ BUNDLE_DISPLAY: dict[str, str] = {
83
198
  }
84
199
 
85
200
 
201
+ @dataclass(frozen=True)
202
+ class ResolvedProfileConfig:
203
+ """Resolved profile config with source annotations for each winning value."""
204
+
205
+ values: dict[str, Any]
206
+ sources: dict[str, Any]
207
+ warnings: list[str]
208
+
209
+
86
210
  def _emit_init_bundle_progress() -> bool:
87
211
  """Return True when init should print progress (suppressed during pytest)."""
88
212
  return os.environ.get("PYTEST_CURRENT_TEST") is None
@@ -107,6 +231,160 @@ def _expand_bundle_install_order(bundle_ids: list[str]) -> list[str]:
107
231
  return to_install
108
232
 
109
233
 
234
+ def _normalize_profile_key(profile: str) -> str:
235
+ key = profile.strip().lower()
236
+ return "mid_size" if key in {"mid-size", "mid_size"} else key
237
+
238
+
239
+ @require(lambda profile: isinstance(profile, str) and profile.strip() != "", "profile must be non-empty string")
240
+ @ensure(lambda result: result in VALIDATION_TIER_PROFILES, "result must be a validation tier")
241
+ @beartype
242
+ def resolve_validation_tier(profile: str) -> str:
243
+ """Map a validation tier or legacy workflow preset to a validation config tier."""
244
+ key = profile.strip().lower()
245
+ normalized = _normalize_profile_key(profile)
246
+ if normalized in VALIDATION_TIER_PROFILES:
247
+ return normalized
248
+ if key in LEGACY_PROFILE_TO_VALIDATION_TIER:
249
+ return LEGACY_PROFILE_TO_VALIDATION_TIER[key]
250
+ valid = ", ".join(get_valid_profile_names())
251
+ raise ValueError(f"Unknown profile {profile!r}. Valid profiles: {valid}")
252
+
253
+
254
+ def _source_tree(value: Any, source: str) -> Any:
255
+ if isinstance(value, Mapping):
256
+ return {str(key): _source_tree(child, source) for key, child in value.items()}
257
+ return source
258
+
259
+
260
+ def _merge_config_layer(target: dict[str, Any], sources: dict[str, Any], layer: Mapping[str, Any], source: str) -> None:
261
+ for raw_key, raw_value in layer.items():
262
+ key = str(raw_key)
263
+ if key in _RESERVED_CONFIG_KEYS:
264
+ continue
265
+ value = deepcopy(raw_value)
266
+ if isinstance(value, Mapping) and isinstance(target.get(key), dict):
267
+ existing_source = sources.get(key)
268
+ if not isinstance(existing_source, dict):
269
+ sources[key] = {}
270
+ _merge_config_layer(target[key], sources[key], value, source)
271
+ continue
272
+ target[key] = value
273
+ sources[key] = _source_tree(value, source)
274
+
275
+
276
+ def _extract_policy_value(layer: Mapping[str, Any] | None, key: str) -> str | None:
277
+ if not layer:
278
+ return None
279
+ validation = layer.get("validation")
280
+ if not isinstance(validation, Mapping):
281
+ return None
282
+ validation_values: dict[str, Any] = {str(raw_key): raw_value for raw_key, raw_value in validation.items()}
283
+ value = validation_values.get(key)
284
+ return value if isinstance(value, str) else None
285
+
286
+
287
+ def _local_policy_weakened(org_baseline: Mapping[str, Any] | None, developer_local: Mapping[str, Any] | None) -> bool:
288
+ for key in ("severity", "policy_mode"):
289
+ org_value = _extract_policy_value(org_baseline, key)
290
+ local_value = _extract_policy_value(developer_local, key)
291
+ if org_value is None or local_value is None:
292
+ continue
293
+ if _POLICY_STRENGTH.get(local_value, 0) < _POLICY_STRENGTH.get(org_value, 0):
294
+ return True
295
+ return False
296
+
297
+
298
+ @require(lambda profile: isinstance(profile, str) and profile.strip() != "", "profile must be non-empty string")
299
+ @ensure(lambda result: isinstance(result, ResolvedProfileConfig), "result must be a resolved profile config")
300
+ @beartype
301
+ def resolve_profile_config(
302
+ profile: str,
303
+ *,
304
+ org_baseline: Mapping[str, Any] | None = None,
305
+ repo_overlay: Mapping[str, Any] | None = None,
306
+ developer_local: Mapping[str, Any] | None = None,
307
+ ) -> ResolvedProfileConfig:
308
+ """Resolve profile defaults, org baseline, repo overlay, and developer-local config layers."""
309
+ tier = resolve_validation_tier(profile)
310
+ values: dict[str, Any] = {}
311
+ sources: dict[str, Any] = {}
312
+ _merge_config_layer(values, sources, _PROFILE_DEFAULTS[tier], f"profile:{tier}")
313
+ for layer, source in (
314
+ (org_baseline, "org_baseline"),
315
+ (repo_overlay, "repo_overlay"),
316
+ (developer_local, "developer_local"),
317
+ ):
318
+ if layer:
319
+ _merge_config_layer(values, sources, layer, source)
320
+
321
+ warnings: list[str] = []
322
+ if _local_policy_weakened(org_baseline, developer_local):
323
+ warnings.append("developer_local weakens org validation policy")
324
+ return ResolvedProfileConfig(values=values, sources=sources, warnings=warnings)
325
+
326
+
327
+ def _read_yaml_mapping(path: Path) -> dict[str, Any]:
328
+ if not path.exists():
329
+ return {}
330
+ raw = yaml.safe_load(path.read_text(encoding="utf-8")) or {}
331
+ if not isinstance(raw, dict):
332
+ raise ValueError(f"Config file must contain a mapping: {path}")
333
+ return raw
334
+
335
+
336
+ def _source_tree_contains_profile(value: Any) -> bool:
337
+ if isinstance(value, str):
338
+ return value.startswith("profile:")
339
+ if isinstance(value, Mapping):
340
+ return any(_source_tree_contains_profile(child) for child in value.values())
341
+ return False
342
+
343
+
344
+ def _repo_overlay_without_generated_profile_values(raw_overlay: Mapping[str, Any]) -> dict[str, Any]:
345
+ overlay = {str(key): deepcopy(value) for key, value in raw_overlay.items()}
346
+ overlay.pop("profile", None)
347
+ source_annotations = overlay.pop("source_annotations", {})
348
+ overlay.pop("profile_warnings", None)
349
+ if not isinstance(source_annotations, Mapping):
350
+ return overlay
351
+ sources_by_key = {str(key): cast(Any, value) for key, value in source_annotations.items()}
352
+ for key in _PROFILE_GENERATED_CONFIG_KEYS:
353
+ if _source_tree_contains_profile(sources_by_key.get(key)):
354
+ overlay.pop(key, None)
355
+ return overlay
356
+
357
+
358
+ @require(lambda repo_path: isinstance(repo_path, Path), "repo_path must be Path")
359
+ @require(lambda profile: isinstance(profile, str) and profile.strip() != "", "profile must be non-empty string")
360
+ @ensure(lambda result: isinstance(result, ResolvedProfileConfig), "result must be a resolved profile config")
361
+ @beartype
362
+ def write_profile_config(repo_path: Path, profile: str) -> ResolvedProfileConfig:
363
+ """Write `.specfact/config.yaml` for the selected profile with source annotations."""
364
+ specfact_dir = repo_path / ".specfact"
365
+ config_path = specfact_dir / "config.yaml"
366
+ local_path = specfact_dir / "config.local.yaml"
367
+ org_path = Path.home() / ".specfact" / "config.yaml"
368
+
369
+ repo_overlay = _repo_overlay_without_generated_profile_values(_read_yaml_mapping(config_path))
370
+ resolved = resolve_profile_config(
371
+ profile,
372
+ org_baseline=_read_yaml_mapping(org_path),
373
+ repo_overlay=repo_overlay,
374
+ developer_local=_read_yaml_mapping(local_path),
375
+ )
376
+
377
+ payload = deepcopy(resolved.values)
378
+ payload["profile"] = resolve_validation_tier(profile)
379
+ payload["source_annotations"] = resolved.sources
380
+ if resolved.warnings:
381
+ payload["profile_warnings"] = resolved.warnings
382
+
383
+ specfact_dir.mkdir(parents=True, exist_ok=True)
384
+ config_path.write_text(yaml.safe_dump(payload, sort_keys=False, allow_unicode=False), encoding="utf-8")
385
+ return resolved
386
+
387
+
110
388
  @dataclass
111
389
  class _InitBundleInstallDeps:
112
390
  root: Path
@@ -235,7 +513,7 @@ def _process_one_bundle_install_row(bid: str, deps: _InitBundleInstallDeps) -> N
235
513
  @beartype
236
514
  def resolve_profile_bundles(profile: str) -> list[str]:
237
515
  """Resolve a profile name to the list of canonical bundle ids to install."""
238
- key = profile.strip().lower()
516
+ key = _normalize_profile_key(profile)
239
517
  if key not in PROFILE_PRESETS:
240
518
  valid = ", ".join(sorted(PROFILE_PRESETS))
241
519
  raise ValueError(f"Unknown profile {profile!r}. Valid profiles: {valid}")
@@ -1,5 +1,5 @@
1
1
  name: module-registry
2
- version: 0.1.26
2
+ version: 0.1.32
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:52a65869fb3d2d36910308c954e0ba199cb1c73f24136ee0d4aa7254f0996a22
21
- signature: Uo2eJ40HiWBqe77N8gjiDg7zGhsvJE/hN82+Jcto7yUoqbH7bidLw9DfVQ0CrJfgM9Y0XHAUS1+LMyPr1jAaBg==
20
+ checksum: sha256:a707de59cb2a706bad96a30415b693df0905cc67edf9238c0e9d601cc5b6af70
21
+ signature: GREOnCQAXmZvwN0s+2T6wwhPFTYiDchy/V7uut9uMHZjevK7ZDBxbTPZJhGjb1ndX7pkaL+/TfyNOuh/9AUDDw==
@@ -16,7 +16,7 @@ import typer
16
16
  import yaml
17
17
  from beartype import beartype
18
18
  from click.exceptions import Exit as ClickExit
19
- from icontract import require
19
+ from icontract import ensure, require
20
20
  from packaging.version import InvalidVersion, Version
21
21
  from rich.console import Console
22
22
  from rich.table import Table
@@ -54,13 +54,21 @@ from specfact_cli.registry.module_packages import get_discovered_modules_for_sta
54
54
  from specfact_cli.registry.module_security import ensure_publisher_trusted, is_official_publisher
55
55
  from specfact_cli.registry.module_state import read_modules_state, write_modules_state
56
56
  from specfact_cli.registry.registry import CommandRegistry
57
- from specfact_cli.runtime import is_non_interactive
57
+ from specfact_cli.runtime import is_non_interactive, refresh_loaded_module_consoles
58
58
 
59
59
 
60
60
  app = typer.Typer(help="Manage marketplace modules")
61
61
  console = Console()
62
62
 
63
63
 
64
+ @app.callback()
65
+ @beartype
66
+ @ensure(lambda result: result is None, "module registry callback returns None")
67
+ def module_registry_callback() -> None:
68
+ """Prepare invocation-local output streams for direct module command tests."""
69
+ refresh_loaded_module_consoles()
70
+
71
+
64
72
  def _module_upgrade_show_spinner() -> bool:
65
73
  """Rich Live/spinner breaks some tests; mirror ``utils.progress`` test-mode detection."""
66
74
  return os.environ.get("TEST_MODE") != "true" and os.environ.get("PYTEST_CURRENT_TEST") is None
@@ -386,10 +394,10 @@ def _install_one(module_id: str, params: _InstallOneParams) -> bool:
386
394
  except Exception as exc:
387
395
  console.print(f"[red]Failed installing {normalized}: {exc}[/red]")
388
396
  return False
389
- console.print(f"[green]Installed[/green] {normalized} -> {installed_path}")
397
+ typer.echo(f"Installed {normalized} -> {installed_path}")
390
398
  publisher = _publisher_from_module_id(normalized)
391
399
  if is_official_publisher(publisher):
392
- console.print(f"Verified: official ({publisher})")
400
+ typer.echo(f"Verified: official ({publisher})")
393
401
  return True
394
402
 
395
403
 
@@ -127,15 +127,18 @@ def _collect_constraints(modules: list[ModulePackageMetadata]) -> list[str]:
127
127
  seen: set[str] = set()
128
128
  for meta in modules:
129
129
  for d in meta.pip_dependencies or []:
130
- if d.strip() and d not in seen:
131
- constraints.append(d.strip())
132
- seen.add(d)
130
+ normalized = d.strip()
131
+ if normalized and normalized not in seen:
132
+ constraints.append(normalized)
133
+ seen.add(normalized)
133
134
  for vd in meta.pip_dependencies_versioned or []:
134
- spec = vd.version_specifier or ""
135
- s = f"{vd.name}{spec}" if spec else vd.name
136
- if s not in seen:
137
- constraints.append(s)
138
- seen.add(s)
135
+ name = vd.name.strip()
136
+ spec = (vd.version_specifier or "").strip()
137
+ s = f"{name}{spec}" if spec else name
138
+ normalized = s.strip()
139
+ if normalized and normalized not in seen:
140
+ constraints.append(normalized)
141
+ seen.add(normalized)
139
142
  return constraints
140
143
 
141
144
 
@@ -825,7 +825,7 @@ def _extract_marketplace_archive(archive_path: Path, extract_root: Path) -> None
825
825
  try:
826
826
  archive.extractall(path=extract_root, members=members, filter="data")
827
827
  except TypeError:
828
- archive.extractall(path=extract_root, members=members)
828
+ archive.extractall(path=extract_root, members=members) # nosec B202 - members were validated above.
829
829
 
830
830
 
831
831
  def _load_first_extracted_module_manifest(extract_root: Path) -> tuple[Path, dict[str, Any]]:
specfact_cli/telemetry.py CHANGED
@@ -14,6 +14,7 @@ import json
14
14
  import logging
15
15
  import os
16
16
  import sys
17
+ import tempfile
17
18
  import time
18
19
  from collections.abc import MutableMapping
19
20
  from contextlib import contextmanager, suppress
@@ -677,6 +678,11 @@ def test_telemetry_settings_from_env_property() -> None:
677
678
  assert isinstance(settings.opt_in_source, str)
678
679
 
679
680
 
681
+ def _crosshair_temp_log_path() -> Path:
682
+ """Return a unique local telemetry log path for property tests."""
683
+ return Path(tempfile.gettempdir()) / f"test_telemetry-{uuid4().hex}.log"
684
+
685
+
680
686
  @beartype
681
687
  @require(lambda enabled: isinstance(enabled, bool), "enabled must be a bool")
682
688
  def test_telemetry_manager_init_property(enabled: bool) -> None:
@@ -685,7 +691,7 @@ def test_telemetry_manager_init_property(enabled: bool) -> None:
685
691
  enabled=enabled,
686
692
  endpoint=None,
687
693
  headers={},
688
- local_path=Path("/tmp/test_telemetry.log"),
694
+ local_path=_crosshair_temp_log_path(),
689
695
  debug=False,
690
696
  opt_in_source="disabled",
691
697
  )
@@ -752,7 +758,7 @@ def test_telemetry_manager_normalize_value_property(value: Any) -> None:
752
758
  @require(lambda event: isinstance(event, Mapping), "event must be a Mapping")
753
759
  def test_telemetry_manager_write_local_event_property(event: Mapping[str, Any]) -> None:
754
760
  """CrossHair property test for TelemetryManager._write_local_event."""
755
- manager = TelemetryManager(TelemetrySettings(enabled=False, local_path=Path("/tmp/test_telemetry.log")))
761
+ manager = TelemetryManager(TelemetrySettings(enabled=False, local_path=_crosshair_temp_log_path()))
756
762
  # This test verifies the function doesn't raise exceptions
757
763
  # Actual file writing is tested in integration tests
758
764
  with suppress(OSError): # Expected in some test environments
@@ -763,7 +769,7 @@ def test_telemetry_manager_write_local_event_property(event: Mapping[str, Any])
763
769
  @require(lambda event: isinstance(event, MutableMapping), "event must be a MutableMapping")
764
770
  def test_telemetry_manager_emit_event_property(event: MutableMapping[str, Any]) -> None:
765
771
  """CrossHair property test for TelemetryManager._emit_event."""
766
- manager = TelemetryManager(TelemetrySettings(enabled=False, local_path=Path("/tmp/test_telemetry.log")))
772
+ manager = TelemetryManager(TelemetrySettings(enabled=False, local_path=_crosshair_temp_log_path()))
767
773
  manager._emit_event(event)
768
774
  assert manager._last_event is not None
769
775
  assert isinstance(manager._last_event, dict)
@@ -779,7 +785,7 @@ def test_telemetry_manager_track_command_property(command: str, initial_metadata
779
785
  """CrossHair property test for TelemetryManager.track_command."""
780
786
  if not command or len(command) == 0:
781
787
  return # Skip invalid inputs
782
- manager = TelemetryManager(TelemetrySettings(enabled=True, local_path=Path("/tmp/test_telemetry.log")))
788
+ manager = TelemetryManager(TelemetrySettings(enabled=True, local_path=_crosshair_temp_log_path()))
783
789
  try:
784
790
  with manager.track_command(command, initial_metadata) as record:
785
791
  assert callable(record)
@@ -52,7 +52,7 @@ def suggest_next_steps(repo_path: Path, context: ProjectContext | None = None) -
52
52
 
53
53
  # Analysis suggestions
54
54
  if context.has_plan and context.contract_coverage < 0.5:
55
- suggestions.append("specfact analyze --bundle <name> # Analyze contract coverage")
55
+ suggestions.append("specfact code analyze contracts --bundle <name> # Analyze contract coverage")
56
56
  suggestions.append("specfact code import --repo . <name> # Update the project bundle from code")
57
57
 
58
58
  # Specmatic integration suggestions
@@ -95,8 +95,8 @@ def suggest_fixes(error_message: str, context: ProjectContext | None = None) ->
95
95
 
96
96
  # Contract validation errors
97
97
  if "contract" in error_lower and ("violation" in error_lower or "invalid" in error_lower):
98
- suggestions.append("specfact analyze --bundle <name> # Analyze contract violations")
99
- suggestions.append("specfact repro --bundle <name> # Run validation suite")
98
+ suggestions.append("specfact code analyze contracts --bundle <name> # Analyze contract violations")
99
+ suggestions.append("specfact code repro --repo . # Run validation suite")
100
100
 
101
101
  # Specmatic errors
102
102
  if "specmatic" in error_lower or "openapi" in error_lower:
@@ -126,7 +126,7 @@ def suggest_improvements(context: ProjectContext) -> list[str]:
126
126
 
127
127
  # Low contract coverage
128
128
  if context.contract_coverage < 0.3:
129
- suggestions.append("specfact analyze --bundle <name> # Identify missing contracts")
129
+ suggestions.append("specfact code analyze contracts --bundle <name> # Identify missing contracts")
130
130
  suggestions.append("specfact code import --repo . <name> # Extract contracts from code")
131
131
 
132
132
  # Missing OpenAPI specs
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: specfact-cli
3
- Version: 0.47.6
3
+ Version: 0.48.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,10 +1,10 @@
1
- specfact_cli/__init__.py,sha256=Pr_YuiGSDCX2soGovLHD4gTEg1gxwyr14l57UHpRv_4,2764
1
+ specfact_cli/__init__.py,sha256=T-PnD8QbK4vSRTj5J_c5wvngcQDPQQjm8edqWjp27fc,2764
2
2
  specfact_cli/__main__.py,sha256=EpP5xlutNYI5AuMlMw8fGt1TywZUR1-CXHpzpWKyNuo,141
3
3
  specfact_cli/cli.py,sha256=IlAtbxyaLxhj2FCteq7P1GRxME4nl_3OiRb3gY9gKDw,53060
4
4
  specfact_cli/runtime.py,sha256=4tEcOsz2bE6-KuZF5nuHvHuwinO7l8fNAGzrra9pNrc,13474
5
- specfact_cli/telemetry.py,sha256=HcF6Vbv43X39fcYOg8GTuBOcGaYlc15ZoSr_Dq9Aro0,30893
5
+ specfact_cli/telemetry.py,sha256=LS34mq8jIJPcXFCm9SgLRjDUe7Ks41fPWvZmD6PXcVM,31079
6
6
  specfact_cli/adapters/__init__.py,sha256=phzCwBSYzkXSLA6nIZan_EyInGNJ4SedmdRuAp3hyho,932
7
- specfact_cli/adapters/ado.py,sha256=uC-jHUqLtRTlWQtGVw4OCskV5V9euzCmD7O8DdFqd7o,163279
7
+ specfact_cli/adapters/ado.py,sha256=gLsiEjnwfXWTpWVcL2GgitJOLny7d6KtzXnqdQYK-Ds,163388
8
8
  specfact_cli/adapters/backlog_base.py,sha256=CLsFDKhxxQeU00Tqj2glKiRn-eBPmAQ4S5J9BV_9geA,26167
9
9
  specfact_cli/adapters/base.py,sha256=NMYNCzze8klSGYVU5QuAmum0joBooKP8wBhh3jg7HEg,8813
10
10
  specfact_cli/adapters/github.py,sha256=MWEp34ckuCPW1cstP4u01k9zwBgXIDiJ4ADtC6SQn-s,143039
@@ -72,13 +72,13 @@ specfact_cli/enrichers/plan_enricher.py,sha256=ejwLrBgFp-eomACYFRdvpPRU-iATArC_6
72
72
  specfact_cli/generators/__init__.py,sha256=l0yBBgmOhdRYywFIvKNeQdRQ_kOJOTfFKJmZtqTyC5s,570
73
73
  specfact_cli/generators/contract_generator.py,sha256=m8U_iIFLSdBEPyTSZ-j0-PpZPpHyGcFgUszDLhSZg3E,15492
74
74
  specfact_cli/generators/openapi_extractor.py,sha256=S7yQIcdjlQXla0s9QIHiFLA9mO3LGQXLeb_h6u-k-uM,56133
75
- specfact_cli/generators/persona_exporter.py,sha256=u07EBgwAeEJ84kt12xPAgn0xswER1DqWw8f3MtSOEAY,18559
76
- specfact_cli/generators/plan_generator.py,sha256=ASzjfhbjLPZhF-bOGaRImX9quC2gQ7hhD2wNyzc9xBY,5017
77
- specfact_cli/generators/protocol_generator.py,sha256=FPWQIBLbK5Vuc8lWzFm7OJCzfOnu5cfqMKf6sXVOmng,4392
78
- specfact_cli/generators/report_generator.py,sha256=j3icmmnED_oOeRS1hy3m3efB91VvEu81htUZsa88Dko,8339
75
+ specfact_cli/generators/persona_exporter.py,sha256=pXFT-TCGzLMxnL2AI_5Relix2zq-rxDGZIUc6ygG_uU,18621
76
+ specfact_cli/generators/plan_generator.py,sha256=smEW6LahAkkN6-31sZQpGkpyjMm_tpQoTW8z83bkr-I,5091
77
+ specfact_cli/generators/protocol_generator.py,sha256=YLsVINiow9Jxee6rQ00J7N1SuFf2-D7cdvPEQ5Hu45Y,4455
78
+ specfact_cli/generators/report_generator.py,sha256=1nhQ9n3qid1Jq_GGRN5PUgS8otdJqsl7dpau7KifErg,8403
79
79
  specfact_cli/generators/task_generator.py,sha256=Zjz8GiOkM1MRRt21wgRfo5z13rd8U4UH4P4EnvqDn5c,16565
80
80
  specfact_cli/generators/test_to_openapi.py,sha256=cWxvkIJpJwxn4Kg6EYg1drUT6nH-UF74sEa7girNcoM,20355
81
- specfact_cli/generators/workflow_generator.py,sha256=qHtJHXqd1JHlcJcDx9e1WPfvc_cM7UGAHzY9lqxqPaw,5203
81
+ specfact_cli/generators/workflow_generator.py,sha256=LsACS_uhv7RujbL_MUotBYFjn_VXdm-tGsSg9t5URBI,5277
82
82
  specfact_cli/groups/__init__.py,sha256=Bgx5Rx1XJ8Sl96dbc78rNlagM3jZRWFH_CBo3zFM9Xk,440
83
83
  specfact_cli/groups/codebase_group.py,sha256=cWbODxdPXp-A6DhQBVyoylO3TA4S5b4zSEyGupDi1Zw,1176
84
84
  specfact_cli/groups/govern_group.py,sha256=YNyOuuRBCUVJyHef0EhUwAD2CkPlEhosGj-T1dSJSes,1177
@@ -119,15 +119,15 @@ specfact_cli/modes/router.py,sha256=VK9kk3US-agR6rF7fVB5EY5MyHjTKzFTTApwOVx-BCk,
119
119
  specfact_cli/modules/__init__.py,sha256=jcxpCTLc1M4TFNN80MOyhzegG4QTkHbRPJb6UK33hVg,112
120
120
  specfact_cli/modules/_bundle_import.py,sha256=KfaNZoNvS1N8dVrUdxpx5sI6clxq590e0x1V0LRCBdY,1602
121
121
  specfact_cli/modules/module_io_shim.py,sha256=gNUVuzuvCf2cyQb8UK5-eG4QHZkrig0MPl7Y7VfbThA,3423
122
- specfact_cli/modules/init/module-package.yaml,sha256=XJSB9sxF-Ri03nLTRwATL4d4U6pN8a4cVjZnMQ6JX64,688
122
+ specfact_cli/modules/init/module-package.yaml,sha256=h8q1cyXldQZ9cclLKb6PfFsmIfMtgu3DjobGvqvaegA,688
123
123
  specfact_cli/modules/init/src/__init__.py,sha256=hCfRT0VH7kl70Rm_jHlNFlCLerJoI8InHi7OS74WIL8,39
124
124
  specfact_cli/modules/init/src/app.py,sha256=laUNKmpNqrFl1Jab3bBYICAaq3GUsj5hN5yjVFYAjvE,107
125
- specfact_cli/modules/init/src/commands.py,sha256=z5HLWOyTGSy8GZ3mFwzRHK9ohuxaAoXMP2147QK2sMQ,30032
126
- specfact_cli/modules/init/src/first_run_selection.py,sha256=nt7TS9gbQzUoSv8UXipunIo6A3IZS3JQWidyjDdvci4,12729
127
- specfact_cli/modules/module_registry/module-package.yaml,sha256=BMSKtkoNdVbXhPA2lnDZ3w33yAOL3Ed3WqTj0g1HRKk,699
125
+ specfact_cli/modules/init/src/commands.py,sha256=iU5J-0qbIjd36USQu9E6bigfS6M9sySVZq9vQQpN_Qg,30632
126
+ specfact_cli/modules/init/src/first_run_selection.py,sha256=tcog19C2avEkIuY0VQRbclmH8BR_uwzzEw432zeG0As,23126
127
+ specfact_cli/modules/module_registry/module-package.yaml,sha256=iV9YB6TaE3yIuADP-3ymn9YlBy-NzNI4YsMTdJLjXDQ,699
128
128
  specfact_cli/modules/module_registry/src/__init__.py,sha256=Y97pOZc6y1DLxUBSHeh15AQ-sWCrg67ESyUNI5NRShY,42
129
129
  specfact_cli/modules/module_registry/src/app.py,sha256=sAKRXfaJNVM22rA952DFpG-12c8dazEb_zBQuc1KCF0,351
130
- specfact_cli/modules/module_registry/src/commands.py,sha256=M1-nklcd1s_gr_Z-kv6KZvSfikbq3EJwLJZbupaS6i4,61455
130
+ specfact_cli/modules/module_registry/src/commands.py,sha256=Fpn6LggGGfyEbTcSDZMOds7NHre74neez4TyizJkkZI,61742
131
131
  specfact_cli/modules/upgrade/module-package.yaml,sha256=TtgHUVBEW7sIsJPuv6F486iUGgM4T4B4i65l-zoMRFU,647
132
132
  specfact_cli/modules/upgrade/src/__init__.py,sha256=hCfRT0VH7kl70Rm_jHlNFlCLerJoI8InHi7OS74WIL8,39
133
133
  specfact_cli/modules/upgrade/src/app.py,sha256=lOeaPyWumUuuWbmOTZB7ZbdmvKjDzma0B8fTU976Z00,113
@@ -140,7 +140,7 @@ specfact_cli/registry/bootstrap.py,sha256=-XwVbpjgutpSaIv-T6WPRNRIBE0N5jft7cCuT3
140
140
  specfact_cli/registry/bridge_registry.py,sha256=RvBy5nl6G4kJNGmugMzT01UYYIjPpJFmuoljDH7Nv_4,6227
141
141
  specfact_cli/registry/crypto_validator.py,sha256=6oY-axdMa32_szUDuPs01lhOj7VJ4p6Pk5qd5a6eH-4,7649
142
142
  specfact_cli/registry/custom_registries.py,sha256=LrHbVH6o7r09_FZOZCxgNKJqryjKO1Q5J3rYUFteJWw,6979
143
- specfact_cli/registry/dependency_resolver.py,sha256=NoXpHigJtPvSnUmmMwqIyDx7PiO7bV0oLizPXbHJE8k,7104
143
+ specfact_cli/registry/dependency_resolver.py,sha256=uYjt8etlLdZeVqMLFZYghJjhgJOQdwKjOzfr5SRHWgs,7275
144
144
  specfact_cli/registry/extension_registry.py,sha256=y7tzaX6m6aXHaxGMNhJ8IkfQ60F7Xq0NX41hLWK_Y3A,2644
145
145
  specfact_cli/registry/help_cache.py,sha256=fsy8gSUni3yIRFAzrmb-ybmum2EB6uL5Ys2a8g5x3Gw,5505
146
146
  specfact_cli/registry/marketplace_client.py,sha256=BH1WKr80UccV4VX-N2sL0IxQIC_EtmAbv_XVI28szZQ,13113
@@ -148,7 +148,7 @@ specfact_cli/registry/metadata.py,sha256=mSIW8UZgBzBdiAH_52K8GL-VBMgZoyGQXIXg0bs
148
148
  specfact_cli/registry/module_availability.py,sha256=_fWsXUcWVY-aVhkjtKrYfb3Qkr80KsZ8P0y75PXCW-8,8115
149
149
  specfact_cli/registry/module_discovery.py,sha256=ga4w8OCVySExDGeWYp_Qo6OjSjU5OVDPWO5g2tqgX6A,8822
150
150
  specfact_cli/registry/module_grouping.py,sha256=Qly2YKxlsn1Wt9hDRlHMMZeui85w3KbbT86VAJ4Mz2o,3186
151
- specfact_cli/registry/module_installer.py,sha256=1NOue9V00KBDSHUtNrGa0xtLOAzcsghx0fE8EGqb27s,45102
151
+ specfact_cli/registry/module_installer.py,sha256=72OlptZI43UrHr-3_5a6QyyL7vBU51ojuBpM5AnH5vc,45148
152
152
  specfact_cli/registry/module_lifecycle.py,sha256=17QhSER6lQV4JeTn3rvF6lsFRTIjT_UrIzMGpVveFEw,9541
153
153
  specfact_cli/registry/module_packages.py,sha256=4tBeqpB1UF6F1_LSOSr9P5mkhQFjEba5iY_viOHzGZ8,66661
154
154
  specfact_cli/registry/module_security.py,sha256=RfKJmkR9sdBXP7q1YBsK1Io-ys0vhHshhPR06uk5TjM,4517
@@ -217,7 +217,7 @@ specfact_cli/utils/source_scanner.py,sha256=VmyJE8gvViGR124TuQjODr_0mBlV9kJxE14t
217
217
  specfact_cli/utils/startup_checks.py,sha256=M6AxZMLsM3_z6QgTAxo1mNfmYLCpPJR2u6P0SCx9qQ0,19046
218
218
  specfact_cli/utils/structure.py,sha256=Z4Ii4ZKk51KnRVv65CsrGptkG5sECXY6ykxG5XpWCKA,56888
219
219
  specfact_cli/utils/structured_io.py,sha256=86KnxZHFl62GboWJRG1TpxR2qgwlHRRSpqYr-oTZIqM,6069
220
- specfact_cli/utils/suggestions.py,sha256=A9fFaRMBF8f6XQPCHuGk_GBpUUel2ePxUf1AuFREc_s,5756
220
+ specfact_cli/utils/suggestions.py,sha256=BwAkz9_Rcretjy5oVMqjSineDjs6atMTLcPnBsdpKSU,5799
221
221
  specfact_cli/utils/terminal.py,sha256=mCSetNY7fiEkld2qY3YNbzo8RgNBT4YNKNt4kADa0U4,8021
222
222
  specfact_cli/utils/yaml_utils.py,sha256=KNUBwYvk9CNWof1VySogBlaT0RgbLoDaTNgti2PiGcc,9426
223
223
  specfact_cli/validation/__init__.py,sha256=ncdOStsXWhJkPh-qWRluW5x_tuQUS4-9tzXdc2UhQGI,322
@@ -287,8 +287,8 @@ specfact_cli/resources/templates/policies/kanban.yaml,sha256=9jt7YYfZ8e8aB5skY2D
287
287
  specfact_cli/resources/templates/policies/mixed.yaml,sha256=-fkrT-TLKLTBzjKeKr8bEJHFC-nh1TlyLOEFfgRdSi8,243
288
288
  specfact_cli/resources/templates/policies/safe.yaml,sha256=uiwe5_ABvaU4nmq6rsLUn8zRotkBITItPUsdPZPTHTw,157
289
289
  specfact_cli/resources/templates/policies/scrum.yaml,sha256=6FHYOntkjCxHAn-ga14IQzA1PvYUJgxfLsEQYtWJILM,188
290
- specfact_cli-0.47.6.dist-info/METADATA,sha256=EXFnLZ3O83YI-mgT5wOOxMyQbL7l-dzXSgVYwhyqCLo,25589
291
- specfact_cli-0.47.6.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
292
- specfact_cli-0.47.6.dist-info/entry_points.txt,sha256=pwDD5Ttu6AF3p3T05M4G0aR2BELFyUu3214kjMRGEow,96
293
- specfact_cli-0.47.6.dist-info/licenses/LICENSE,sha256=nWX_6oozyEFlF3mDaSWyBD9HLpyLRmCYYqdcgoVOrOk,11361
294
- specfact_cli-0.47.6.dist-info/RECORD,,
290
+ specfact_cli-0.48.2.dist-info/METADATA,sha256=DMH1iUe0ytrB7rMelRHOxJfH1pTlrx6amYVQb-H8wf0,25589
291
+ specfact_cli-0.48.2.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
292
+ specfact_cli-0.48.2.dist-info/entry_points.txt,sha256=pwDD5Ttu6AF3p3T05M4G0aR2BELFyUu3214kjMRGEow,96
293
+ specfact_cli-0.48.2.dist-info/licenses/LICENSE,sha256=nWX_6oozyEFlF3mDaSWyBD9HLpyLRmCYYqdcgoVOrOk,11361
294
+ specfact_cli-0.48.2.dist-info/RECORD,,