Skip to content

The executor covers five action types; three are refused #204

Description

@Flou21

Backlog entry 39, moved here from docs/backlog.md (section Opened by v0.2.0). The text below is the entry as it stood; that file is frozen.

ActionExecutor.CanPerform implements RestartPod, RolloutRestart, ScaleWorkload,
DeleteStuckJob and DeleteFailedJobPods - the verbs the write Role actually grants.
Everything else fails closed with outcome=unsupported and nothing attempted.

For CordonNode and DrainNode that is the correct permanent answer until someone binds
their ClusterRole, which ships unbound on purpose. SilenceAlert needs an outbound client
bound to Alertmanager; it belongs with v0.3.0's notification stack.

Corrected 2026-08-30. This entry read "and there is none anywhere in src/", which was
already wrong when it was written: GrafanaAnnotator has posted to Grafana through a client
registered with AddHttpClient since the annotations landed in v0.1.0-rc2. What SilenceAlert
is missing is the Alertmanager binding and the policy gate around it, not the ability to make a
request. The same false claim was in roadmap.md and README.md and is corrected in all three.

The two that matter are PatchResources and RollbackDeployment. PatchResources is the
actual remediation for c4 (a bad image tag) and c7 (a missing secret ref) - the two fixtures
where the agent diagnoses correctly and then has nothing useful to propose. Both always
require approval, so an operator can approve one today and watch it fail at execution, which
is a poor experience even if it is a safe one.

PatchResources needs care rather than effort: applying a model-authored JSON patch verbatim
would hand the model the mutating handle the three-phase split exists to deny it. It wants a
restricted, typed vocabulary - container image and resource limits - rather than an arbitrary
merge patch. Size. M each.

Activity

  1. added
    area:correctness
    size:M
    on Oct 6, 2026
  2. added theissue type on Oct 14, 2026
  3. tr-agent-dev commented on Nov 16, 2026

    @tr-agent-dev

    Through Hephaisto - what was done to this issue in Hephaisto's planner, newest last.

    • 2026-11-16 16:59 UTC · florian · agreed with the weekly review: still to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:correctnesssize:M

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions