This commit is contained in:
2026-06-28 13:58:35 +03:00
parent 8f45028715
commit e6bf8258bb
114 changed files with 4365 additions and 874 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"version": 1,
"hooks": {
"afterShellExecution": [
{
"command": "powershell -ExecutionPolicy Bypass -File .cursor/hooks/scripts/after-build-validate.ps1"
}
]
}
}
@@ -0,0 +1,24 @@
$input = [Console]::In.ReadToEnd()
$context = $input | ConvertFrom-Json
$command = $context.command
if (-not $command) { exit 0 }
$buildPatterns = @('dotnet build', 'dotnet run', 'dotnet publish')
$isBuildCommand = $false
foreach ($pattern in $buildPatterns) {
if ($command -match [regex]::Escape($pattern)) {
$isBuildCommand = $true
break
}
}
if (-not $isBuildCommand) { exit 0 }
$response = @{
message = "[Live Validation] Build command detected. Run live environment validation using the homeassistant MCP tools: 1) check_api to verify HA is reachable, 2) RunSmokeTest for a full health check, 3) ValidateEntities for the critical entities of the changed service."
} | ConvertTo-Json -Compress
Write-Output $response
exit 0
@@ -0,0 +1,8 @@
{
"5994a9f8-5bd6-407e-b7e1-88c9a7360592\\5994a9f8-5bd6-407e-b7e1-88c9a7360592.jsonl": "2026-04-14T08:01:31.8660776Z",
"6e38db72-7218-41a2-80da-8091c601738c\\6e38db72-7218-41a2-80da-8091c601738c.jsonl": "2026-04-14T10:19:17.9717677Z",
"84ed688d-ec2b-42ff-b324-7d8a1b0b1e53\\84ed688d-ec2b-42ff-b324-7d8a1b0b1e53.jsonl": "2026-04-17T19:55:06.7428782Z",
"84ed688d-ec2b-42ff-b324-7d8a1b0b1e53\\subagents\\d19fc0d0-4036-49fe-b85c-28f06fb3ed96.jsonl": "2026-04-17T19:55:20.0402239Z",
"947d0c4b-410b-4ca2-b813-2b9abb0b171d\\947d0c4b-410b-4ca2-b813-2b9abb0b171d.jsonl": "2026-04-14T08:23:40.4290937Z",
"a9ef1795-de24-4fe6-937d-1ff01dc8091d\\a9ef1795-de24-4fe6-937d-1ff01dc8091d.jsonl": "2026-04-14T08:48:55.5467377Z"
}
@@ -0,0 +1,8 @@
{
"version": 1,
"lastRunAtMs": 1776455702656,
"turnsSinceLastRun": 8,
"lastTranscriptMtimeMs": 1776455701006.4348,
"lastProcessedGenerationId": "13996b20-c9b1-41f3-bafc-5738130c07ac",
"trialStartedAtMs": null
}