fix: distinguish configuration from hook trust

This commit is contained in:
thanhnv
2026-07-24 16:39:17 +07:00
parent a7647887ca
commit 6804fd14f4
4 changed files with 35 additions and 6 deletions
@@ -480,7 +480,7 @@ else
pass "init no longer dumps raw JSON by default"
fi
( cd "$UN" && "$DKC" doctor --json ) | python3 -c \
'import json,sys; d=json.load(sys.stdin); assert d["status"] == "ready"' \
'import json,sys; d=json.load(sys.stdin); assert d["status"] == "ready"; assert d["operational_status"] == "ready"' \
&& pass "doctor --json preserves the machine-readable contract" \
|| fail "doctor --json is not valid/ready"
echo "project-owned requirement" > "$UN/apps/uninstall-project/domain/input/requirement.md"