Skip to content

18.5 lint: seven capabilities lack the clm_ namespace prefix (naming/namespace-prefix, ADR-0150) — approve_contract, execute_contract, backfill_contract, archive_contract, terminate_contract, manage_clauses, manage_approval_rules #208

Open

Description

@objectstack-fleet

Filing class: ① defect flagged by the platform's own gate — reach: pnpm lint on @objectstack 18.5.0 (7 warnings). Reader: the hotclm lane (src/profiles/*.profile.ts, src/actions/contract-*.actions.ts, src/flows/executed-upload.flow.ts, src/pages/contract_detail.page.ts).

Symptom

18.5.0's lint rule naming/namespace-prefix (ADR-0150 D1) warns that seven hotclm capabilities do not carry the package namespace clm:

approve_contract, execute_contract, backfill_contract, archive_contract, terminate_contract, manage_clauses, manage_approval_rules

⚠ Capability "approve_contract" does not carry the package namespace "clm". A capability keeps the literal
  namespace prefix, spelled `NS.SHORT`: ADR-0150 D1 keeps it in bucket 1 with objects (ruling 6683456244)
  — rename it to "clm_approve_contract" and update every reference that spells it.
  naming/namespace-prefix  at capabilities[5].name

(18.3.0: 0 such warnings.) The names are spelled in 19 places across 9 files.

Fix

Rename each to clm_<name> and every reference (permission sets, actions' requiredPermissions, the backfill flow, the contract page), then pnpm verify and re-drive the actions that check a capability in a browser (送审 / 发起签署 / 生效 / 补录已签合同 / 终止) with the persona that holds it.

Business reason

A capability without the namespace can collide with another installed package's capability of the same name (ADR-0150 per-namespace names); the platform now warns on it and may refuse it later.

Dedupe: hotclm issues (all states) for namespace-prefix capability — 0 hits.

Blocked-by: #207 (the warning only exists on 18.5.0).


Filed from the hotclm 18.5.0 upgrade (2026-11-15).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions