Skip to content

Owner moves: structured remediation advice with one owner #4090

Closed

Description

Part of the 0.37 hardening (owner moves, output).

Problem: remediation advice ("run apm install", ...) is free text at hundreds of sites with no owner and no check that the advice fixes the reported state. Some help and remediation fixes landed in #4004 without guards.

Scope:

  • New remediation-advice owner: a structured Remediation(command, fixes_promise) rendered in one place.
  • Route advice sites through it, starting with drift, install and audit.
  • Add guards for the landed fixes (drift hint, install --frozen help, init --apply implies discover).

Done when:

  • Installed-CLI tests run each structured remediation and show it clears the reported state (red before, green after).
  • A closed-world guard rejects free-text remediation outside the owner, with a mutation case that disables only that guard (frozen rule inventory updated).
  • Bug-ledger rows added; CI lint chain green.

Activity

  1. danielmeppiel commented on Nov 20, 2026

    @danielmeppiel
    CollaboratorAuthor

    Decision: approve
    Area: project
    Scope: Add a remediation-advice owner with a structured Remediation(command, fixes_promise) rendered in one place, route advice sites through it starting with drift, install and audit, and add guards for the help and remediation fixes landed in #4004.
    Done when: Installed-CLI tests run each structured remediation and show it clears the reported state (red before, green after); a closed-world guard against free-text remediation outside the owner with an isolating mutation case in the frozen rule inventory; bug-ledger rows added; CI lint chain green.
    Out of scope: Rewording advice that is not remediation.
    Review contact: Daniel Meppiel (@danielmeppiel)

  2. added
    status/accepted
    on Nov 20, 2026
  3. 16 remaining items

  4. added a commit that references this issue on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

status/accepted

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions