Skip to content

Write API surface change guardrail #21

@jdelfino

Description

@jdelfino

Write the API surface change detection guardrail check.

File

.github/workflows/guardrail-api-surface.yml

What

  • Trigger: PR opened or synchronized
  • Detect changes to exported functions, public interfaces, API endpoints
  • Language-aware heuristics (export keyword changes, route definitions)
  • If API surface changes: action_required with annotations
  • Check for non-stale PR approval override

Note

Most complex guardrail — start with simple heuristics and iterate.

Reference

  • docs/design.md: API Surface Change Detection (Layer 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskImplementation work item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions