github/spec-kit · error · BundlerError
Bundle targets integration '{manifest.integration.id}' but t
Error message
Bundle targets integration '{manifest.integration.id}' but the project's active integration is '{active_integration}'. What it means
Error "Bundle targets integration '{manifest.integration.id}' but the project's active integration is '{active_integration}'." thrown in github/spec-kit.
Source
Thrown at src/specify_cli/bundler/services/installer.py:93
are already installed are re-applied through the primitive machinery so they
are brought up to the plan's pinned versions, rather than skipped. Primitive
config (e.g. preset priority overrides) is preserved by the underlying
machinery.
Version-pin enforcement is install-time only. The primitive ``is_installed``
checks are id-based (they do not compare versions), so when a component is
already present and *refresh* is False it is skipped without verifying that
the on-disk version matches the manifest pin. Pins are therefore only
guaranteed to be applied when the bundler actually performs an install or a
refresh; running ``specify bundle update`` re-applies every owned component
at its pinned version.
"""
records = load_records(project_root)
if manifest is not None:
report = detect_conflicts(manifest, plan.effective_integration, records)
if report.has_blocking_conflict:
raise BundlerError(report.integration_clash)
result = InstallResult(bundle_id=plan.bundle_id)
existing = find_record(records, plan.bundle_id)
prior_ours = {
(c.kind, c.id) for c in existing.contributed_components
} if existing is not None else set()
# Components already attributed to a *different* installed bundle: these are
# legitimately shareable (refcounted on removal), so this bundle may also
# claim them. A component that is installed on disk but tracked by no bundle
# was installed independently and must NOT be attributed here — otherwise
# removing this bundle would uninstall it (collateral removal, FR-022).
other_tracked = {
(c.kind, c.id)
for r in records
if r.bundle_id != plan.bundle_id
for c in r.contributed_components
}
View on GitHub (pinned to bf88c9f9a8)
Solutions
- Install the bundle into a project using the matching integration, or re-initialize the project with the bundle's target integration.
When it happens
Trigger: Thrown at src/specify_cli/bundler/services/installer.py:93 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of github/spec-kit@bf88c9f9a8 (2026-08-14).
Data as JSON: /api/errors/1536752d8289aace.
Report an issue: GitHub.