a8959b5540
* Make core MetaSkills production-ready * Harden MetaSkill setup and execution contracts * Finish production-ready MetaSkill setup and artifacts * Close MetaSkill production readiness gaps * Repair WebUI session bootstrap and subscription compatibility * Bound managed toolchain validation and preserve font behavior * Preserve ingress correlation and verify recovery fairness * Complete Meta migration rollback coverage * Repair managed artifact CI and add the Linux hot-path gate * Defer Meta recovery until session bootstrap completes * Repair merged MetaSkill regression contracts
46 lines
1.4 KiB
Python
46 lines
1.4 KiB
Python
#!/usr/bin/env python3
|
|
"""Run managed-toolchain artifact validation from a stdlib-only source tree.
|
|
|
|
The Alpine artifact job intentionally avoids installing OpenSquilla's complete
|
|
runtime dependency graph: the locked sqlite-vec package has no musllinux wheel.
|
|
This fixed-path bootstrap skips the broad skills
|
|
package initializer, then delegates to the canonical validator. Installation
|
|
and probing still use the production ``install_component`` and
|
|
``probe_component`` implementations.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import runpy
|
|
import sys
|
|
from pathlib import Path
|
|
from types import ModuleType
|
|
|
|
|
|
def _bootstrap_skills_package(repo_root: Path) -> None:
|
|
source_root = repo_root / "src"
|
|
skills_root = source_root / "opensquilla" / "skills"
|
|
sys.path.insert(0, str(source_root))
|
|
|
|
import opensquilla
|
|
|
|
skills_package = ModuleType("opensquilla.skills")
|
|
skills_package.__file__ = str(skills_root / "__init__.py")
|
|
skills_package.__package__ = "opensquilla.skills"
|
|
skills_package.__path__ = [str(skills_root)]
|
|
sys.modules["opensquilla.skills"] = skills_package
|
|
opensquilla.skills = skills_package
|
|
|
|
|
|
def main() -> None:
|
|
repo_root = Path(__file__).resolve().parents[1]
|
|
_bootstrap_skills_package(repo_root)
|
|
runpy.run_path(
|
|
str(repo_root / "scripts" / "validate_managed_toolchain_artifacts.py"),
|
|
run_name="__main__",
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|