MCPcopy Index your code
hub / github.com/github/spec-kit / resolve_core

Method resolve_core

src/specify_cli/presets/__init__.py:2762–2773  ·  view source on GitHub ↗

Resolve while skipping installed presets (tier 2). Searches tiers 1, 3, 4, and 5 (bundled core_pack / repo-root fallback). Use when resolving {CORE_TEMPLATE} to guarantee the result is actual base content, never another preset's wrap output.

(
        self,
        template_name: str,
        template_type: str = "template",
    )

Source from the content-addressed store, hash-verified

2760 return None
2761
2762 def resolve_core(
2763 self,
2764 template_name: str,
2765 template_type: str = "template",
2766 ) -> Optional[Path]:
2767 """Resolve while skipping installed presets (tier 2).
2768
2769 Searches tiers 1, 3, 4, and 5 (bundled core_pack / repo-root fallback).
2770 Use when resolving {CORE_TEMPLATE} to guarantee the result is actual
2771 base content, never another preset's wrap output.
2772 """
2773 return self.resolve(template_name, template_type, skip_presets=True)
2774
2775 def resolve_extension_command_via_manifest(self, cmd_name: str) -> Optional[Path]:
2776 """Resolve an extension command by consulting installed extension manifests.

Calls 1

resolveMethod · 0.95