Files
Kill_LIFE/test/test_yiacad_project_shell_contract.py
Clément SAILLANTandGitHub 5efb380da5 feat: automate yiacad PR review lane (#18)
* feat: automate yiacad pr review lane

* fix: stabilize yiacad review and spec gates

* fix: scope kicad exports to repo hardware

* fix: ignore kicad block library sources in exports

* feat: Add infra VPS monitoring runbook and healthcheck scripts

- Created INFRA_VPS_RUNBOOK_2026.md detailing operational procedures for monitoring VPS services.
- Added infra_vps_healthcheck.sh script for automated health checks on DNS, TLS, TCP, and HTTP for VPS services.
- Introduced infra_vps_security_audit.sh for non-intrusive security checks on external VPS services.
- Established JSON schema for infra VPS inventory in infra_vps.schema.json.
- Developed integration for runtime status reporting in the Next.js API route.
- Implemented Playwright tests for smoke testing the application and ensuring core functionalities.
- Updated Makefile for development dependencies and testing commands.
- Created various test files for unit and end-to-end testing across different components.

* feat(agentics): update mesh agents, gates, prompts, and workflows
2026-03-29 17:14:16 +02:00

28 lines
980 B
Python

#!/usr/bin/env python3
from __future__ import annotations
import unittest
from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parents[1]
PROJECT_SHELL = REPO_ROOT / "web" / "components" / "project-shell.tsx"
class YiacadProjectShellContractTests(unittest.TestCase):
def test_project_shell_surfaces_github_review_lane(self) -> None:
content = PROJECT_SHELL.read_text(encoding="utf-8")
self.assertIn("project?.pullRequests ?? []", content)
self.assertIn("project?.githubChecks ?? []", content)
self.assertIn("project?.evidencePacks ?? []", content)
self.assertIn("pullRequest.changeScope", content)
self.assertIn("pullRequest.riskLevel", content)
self.assertIn("pullRequest.mergeRecommendation", content)
self.assertIn("Open review", content)
self.assertIn("GitHub QA lane", content)
self.assertIn("Checks + evidence packs", content)
if __name__ == "__main__":
unittest.main()