Skip to content
sarj/layout/component-path

Use canonical component paths

Component paths match their declared ownership kind.

error

Examples

FlaggedFails
path = 'python/agent'
PassesClean
path = 'applications/alpha/agent'

Why it matters

Canonical paths make ownership, impact analysis, and merge preflight deterministic.

How detection works

A non-operational component path does not match its kind and ownership fields.

What is inspected

  • component kind, ownership fields, and declared path

How to fix it

Move the component through an explicit path-only migration.

  1. Add an old-to-new migration path declaration.
  2. Move only this component and update path-sensitive references.

Verify

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