You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] K8s, server, Helm, and Terraform verification still pass without observing the target #69
#53 covers CI/CD, cloud, and ArgoCD always returning passed: true. The same fail-open remains for:
k8s when pod_name or namespace is missing (_verify_k8s_fix sets passed = True and never calls kubectl)
server / linux / windows / rhel when service_name is missing (_verify_server_fix sets passed = True and never queries the host)
helm and terraform (and any other type) which hit the generic branch: "Generic verification performed" + passed = True
Immediate verification and later stability monitoring reuse these results, so a Helm rollback or Terraform-adjacent incident can be reported as verified with no cluster or workspace check.
Missing identifiers or unsupported types fail closed (passed: false) with a reason. Helm/Terraform either observe the release/workspace or explicitly report that verification is not implemented — they must not report success.
Actual Behavior
All four calls return True without kubectl, systemctl, helm, or terraform.
Additional Context
Follow-on to #53. _verification_expected_state in agent/core.py still returns {} for helm/terraform, which feeds the generic pass path.
Fail closed when required identifiers are absent. Add helm (helm status) and terraform (state/plan observation or explicit “not implemented”) paths. Cover empty expected state in tests/test_fix_verifier.py the same way #53 tests do for cicd/cloud/argocd.
Hi @OkiriGabriel, I'd like to take this one. I confirmed on current main that _verify_k8s_fix({}), _verify_server_fix({}) and the generic branch of _run_immediate_checks (helm/terraform) still return passed: True without observing anything.
Plan, following the #53 pattern for cicd/cloud/argocd:
Fail closed (passed: False with a reason) when k8s lacks pod_name/namespace or server lacks service_name.
Replace the generic pass with passed: False and a "verification not implemented for <type>" message.
Add tests in tests/test_fix_verifier.py for empty expected state.
For Helm and Terraform I'd do the explicit "not implemented" result in this PR and handle real observation (helm status, etc.) as a follow-up. Does that split work for you?
This stays within tools/fix_verifier.py and its tests; _verification_expected_state in agent/core.py doesn't need to change once the verifier fails closed.
Thanks @OpeyemiAdeniji — assigning this to you. Your plan looks good: fail closed for missing k8s/server identifiers, and "verification not implemented" for Helm/Terraform in this PR (real observation as follow-up). PR #81 tracks the work.
Activity
OpeyemiAdeniji commentedon Oct 14, 2026
Hi @OkiriGabriel, I'd like to take this one. I confirmed on current main that
_verify_k8s_fix({}),_verify_server_fix({})and the generic branch of_run_immediate_checks(helm/terraform) still returnpassed: Truewithout observing anything.Plan, following the #53 pattern for cicd/cloud/argocd:
passed: Falsewith a reason) when k8s lackspod_name/namespaceor server lacksservice_name.passed: Falseand a "verification not implemented for<type>" message.tests/test_fix_verifier.pyfor empty expected state.For Helm and Terraform I'd do the explicit "not implemented" result in this PR and handle real observation (
helm status, etc.) as a follow-up. Does that split work for you?This stays within
tools/fix_verifier.pyand its tests;_verification_expected_stateinagent/core.pydoesn't need to change once the verifier fails closed.OkiriGabriel commentedon Oct 14, 2026
Thanks @OpeyemiAdeniji — assigning this to you. Your plan looks good: fail closed for missing k8s/server identifiers, and "verification not implemented" for Helm/Terraform in this PR (real observation as follow-up). PR #81 tracks the work.