Skip to content

Validate exceptions and emit material-action notifications #55

Description

@jmcte

Problem statement

Bootstrap cannot validate policy exceptions or emit required material-action notifications and hard stops.

Desired outcome

Typed exception lifecycle and configurable notification hooks operate from the resolved contract.

Scope

  • Validate rationale, scope, issue, approval, ADR, and expiry.
  • Warn before expiry and fail after expiry.
  • Route material notifications and block defined hard stops.

Non-goals

  • Permanent exception approval automation.

Acceptance criteria

  • Temporary and permanent exception rules are enforced.
  • Notifications are written to governing issue/PR and configured mechanism.
  • Agents continue after notification unless a hard stop applies.
  • Human and JSON results use stable rule IDs.

Test expectations

Start with failing expired, incomplete, permanent-without-ADR, notification, and hard-stop fixtures.

Security implications

Notification payloads must be redacted and must not leak credentials.

Documentation implications

Add exception and notification operator guide.

Dependencies

Resolved contract issue and Flow rule IDs.

Human decision points

All exceptions; permanent exceptions require explicit approval and ADR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions