foryourhealth111-pixel/Vibe-Skills
vibe
VerifiedVibe Code Orchestrator (VCO) is a governed runtime entry that freezes requirements, bounds execution, and enforces verification and phase cleanup.
scripts/governance/invoke-mem0-policy.ps1
View on GitHubparam(
[Parameter(Mandatory = $true)][string]$PayloadType
)
$ErrorActionPreference = "Stop"
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..\..")
$policyPath = Join-Path $repoRoot "config\mem0-backend-policy.json"
$policy = Get-Content -Raw $policyPath -Encoding UTF8 | ConvertFrom-Json
if (-not $policy.enabled -and $policy.mode -eq 'shadow') {
Write-Output (@{ allowed = $false; reason = 'mem0_policy_shadow_only'; payload_type = $PayloadType } | ConvertTo-Json -Depth 10)
exit 0
}
if (@($policy.forbidden_payload_types) -contains $PayloadType) {
Write-Output (@{ allowed = $false; reason = 'forbidden_payload_type'; payload_type = $PayloadType } | ConvertTo-Json -Depth 10)
exit 0
}
if (@($policy.allowed_payload_types) -contains $PayloadType) {
Write-Output (@{ allowed = $true; reason = 'allowed_payload_type'; payload_type = $PayloadType } | ConvertTo-Json -Depth 10)
exit 0
}
Write-Output (@{ allowed = $false; reason = 'unknown_payload_type'; payload_type = $PayloadType } | ConvertTo-Json -Depth 10)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |