feat(host188): forward controlled callback correlation
This commit is contained in:
@@ -251,14 +251,14 @@ _POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
|
||||
"set -euo pipefail; "
|
||||
"root=/home/ollama/.local/share/awoooi-controlled-apply/"
|
||||
"openclaw-callback-forwarder/"
|
||||
"payloads/ffc45311b6403b30cb6ae6e1aa83dae1a047e9c9 && "
|
||||
"payloads/8f367f8e7d6104c44b29bd5fa2d894db09ddf365 && "
|
||||
"manifest=\"$root/manifest.json\" && "
|
||||
"test -d \"$root\" && test ! -L \"$root\" && "
|
||||
"test \"$(stat -c '%U:%G:%a' \"$root\")\" = 'ollama:ollama:755' && "
|
||||
"test -f \"$manifest\" && test ! -L \"$manifest\" && "
|
||||
"test \"$(stat -c '%U:%G:%a' \"$manifest\")\" = 'ollama:ollama:444' && "
|
||||
"test \"$(sha256sum \"$manifest\" | cut -d' ' -f1)\" = "
|
||||
"dafeb467b744ee7e80dc043d51f9e5d7e6905a58103f1710d519b553b56c6e48",
|
||||
"0e5edaf700d264b44cc0eae3b9429af642be0b1563a0bffa633942d30d2c2e1c",
|
||||
),
|
||||
AssetPostcondition(
|
||||
"host_188_openclaw_callback_overlay_enabled",
|
||||
@@ -273,7 +273,7 @@ _POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
|
||||
"test \"$(stat -c '%U:%G:%a' \"$override\")\" = "
|
||||
"'ollama:ollama:444' && "
|
||||
"test \"$(sha256sum \"$override\" | cut -d' ' -f1)\" = "
|
||||
"8f6b7e8a0d6746c1331e99910656e64deebf67c9582bab3e1d36f71bb7a253c0",
|
||||
"33c4594d4e4092b2a2367583a67f4c9a82ead0d28ca5078eca4896276084da0d",
|
||||
),
|
||||
AssetPostcondition(
|
||||
"host_188_openclaw_callback_payload_runtime",
|
||||
@@ -282,7 +282,7 @@ _POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
|
||||
"set -euo pipefail; "
|
||||
"root=/home/ollama/.local/share/awoooi-controlled-apply/"
|
||||
"openclaw-callback-forwarder/"
|
||||
"payloads/ffc45311b6403b30cb6ae6e1aa83dae1a047e9c9 && "
|
||||
"payloads/8f367f8e7d6104c44b29bd5fa2d894db09ddf365 && "
|
||||
"telegram=\"$root/app/bot/telegram.py\" && "
|
||||
"config=\"$root/app/core/config.py\" && "
|
||||
"forwarder=\"$root/app/services/telegram_callback_forwarder.py\" && "
|
||||
@@ -297,7 +297,7 @@ _POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
|
||||
"test -f \"$forwarder\" && test ! -L \"$forwarder\" && "
|
||||
"test \"$(stat -c '%U:%G:%a' \"$forwarder\")\" = 'ollama:ollama:444' && "
|
||||
"test \"$(sha256sum \"$forwarder\" | cut -d' ' -f1)\" = "
|
||||
"0d7693e34f63db4491d974f9f76a3a1c793d32cda193cb55ed3d8c86297b4fe3 && "
|
||||
"8e8e0faf6322abb21d670ad9094f1805d7a4b3643da8fe88d74a8c9591066bf3 && "
|
||||
"ids=$(docker ps -q "
|
||||
"--filter label=com.docker.compose.project=clawbot "
|
||||
"--filter label=com.docker.compose.service=clawbot) && "
|
||||
@@ -314,7 +314,7 @@ _POSTCONDITION_REGISTRY: dict[str, tuple[AssetPostcondition, ...]] = {
|
||||
"e1b8b633f7b4780d3078d6c42a55e49d200255d3597a34e0cd2fd649b84eaea1 && "
|
||||
"test \"$(docker exec \"$ids\" sha256sum "
|
||||
"/app/app/services/telegram_callback_forwarder.py | cut -d' ' -f1)\" = "
|
||||
"0d7693e34f63db4491d974f9f76a3a1c793d32cda193cb55ed3d8c86297b4fe3 && "
|
||||
"8e8e0faf6322abb21d670ad9094f1805d7a4b3643da8fe88d74a8c9591066bf3 && "
|
||||
"test \"$(docker inspect --format='{{range .Mounts}}{{if eq "
|
||||
".Destination \"/app/app/bot/telegram.py\"}}{{.Source}}|"
|
||||
"{{.Destination}}|{{.Type}}|{{.RW}}{{end}}{{end}}' \"$id\")\" = "
|
||||
|
||||
Reference in New Issue
Block a user