Skip to content
sarj/naming/component-id

Align IDs with ownership

Stable component IDs include their declared ownership namespace.

error

Examples

FlaggedFails
id = 'beta.agent'
product = 'alpha'
PassesClean
id = 'alpha.agent'
product = 'alpha'

Why it matters

An ID that disagrees with product ownership makes diagnostics and migrations ambiguous.

How detection works

A valid component ID does not start with its product or shared ownership prefix.

What is inspected

  • component kind, ownership, and stable ID

How to fix it

Use the declared ownership namespace in the stable component ID.

  1. Update exact manifest references and migration evidence together.

Verify

  • Run repo-lint again and confirm the rule passes.