Skip to content
Governance, contribution, and releases | Omni Manual Book

Governance, contribution, and releases

Design-system ownership, SOLID boundaries, evidence, bilingual contribution, versioning, and release acceptance.

Omni’s system connects brand decisions, semantic tokens, actual Vue components, and workflow guidance. Documentation must describe these boundaries rather than introduce a parallel implementation. docs/OMNI_DESIGN_SYSTEM.md records the reference lock and release contract. AGENTS.md establishes security, data integrity/audit, maintainability, and performance priorities, in that order. This governance model is policy; assign real reviewers in each contribution rather than inventing named owners here.

SurfaceAuthorityRequired coordination
Brand directionApproved reference lock and brand decisionsBrand owner and product reviewer
Application tokenspackages/ui-shared/src/styles/main.cssShared UI owner and affected applications
ERP component APIsfrontend/src/components/uiComponent owner and consuming modules
Shared-package componentsTheir owning package exports and sourcePackage owner; no assumed ERP compatibility
Usage documentationBilingual docs-site contentDomain, language, and accessibility reviewers
Executable examplesActual component stories with isolated providersComponent owner and test reviewer
PrinciplePractical boundaryReject
Single responsibilityA button manages interaction presentation; a service owns persistenceA button that posts invoices directly
Open/closedExtend through deliberate variants, slots, or policy interfacesA growing list of module-name conditionals in a primitive
Liskov substitutionReplacements preserve observable props, events, focus, and disabled behaviorA lookalike that emits different values silently
Interface segregationKeep input, help, and workflow contracts small and explicitOne universal component with unrelated payroll and CRM options
Dependency inversionWorkflow code depends on clear service/query contractsGeneric UI importing concrete domain repositories

Composition is preferred to deep inheritance or page-specific copies. Not every component must be pure: DataTable already integrates history and permissions. Document that dependency boundary honestly and provide appropriate isolated providers when testing it. Move pure financial rules to the domain layer; do not duplicate calculations in a story or formatter. Reusable visual behavior must not replace server-side permissions, transaction integrity, or audit guarantees.

  1. State the user decision, affected roles, tenant scope, and failure modes.
  2. Inspect the reference component, existing consumers, tests, and relevant instructions.
  3. Decide whether this is documentation correction, composition, primitive extension, or domain behavior.
  4. Record the chosen reference traits and reject competing visual directions explicitly.
  5. Define props/events/states, localization, keyboard behavior, and migration impact before coding.
  6. Implement with real contracts; isolate illustrative fixtures from production paths.
  7. Add or update tests and both language pages in the same change.
  8. Run relevant gates and publish an evidence record with unresolved limitations.

Do not add a new dependency just to reproduce behavior already owned by a shared component. When a dependency is justified, review licensing, accessibility, maintenance, runtime cost, and integration boundaries. Use the repository’s Bun workflow and let the tooling owner coordinate version and lockfile changes. Do not independently upgrade a documentation integration while another owner is migrating the toolchain.

LabelMeaningRequired evidence
Policy targetRequired intended behaviorRationale, owner, acceptance criteria
Observed implementationFound in a named source or rendered statePath/revision or route, inspection date
TestedA specified behavior passed a specified checkCommand or manual procedure, environment, result
Known gapRequirement not yet met or verifiedImpact, affected states, owner, next review
ExceptionDeliberate temporary departureRationale, safeguards, expiry/review condition

Do not promote “source contains focus code” into “screen-reader tested”. Do not promote “axe passed a story” into “the application conforms to WCAG”. If an implementation and guide disagree, record the discrepancy and fix the appropriate owner; do not hide it in prose.

Treat removed props, changed event payloads, changed defaults, and keyboard-contract changes as potentially breaking. For versioned packages, classify changes using the package’s release policy and semantic-versioning expectations. For monorepo-only changes, record the revision and migrate all affected consumers in the same coordinated change. The project is in development: a breaking improvement is allowed, but an incomplete migration is not a quality strategy. Avoid indefinite compatibility aliases; if a temporary bridge is necessary, name its owner and removal condition.

Token changes can alter contrast, density, screenshots, and printed output without a TypeScript error. Review semantic color changes across light/dark themes and tenant overrides, not only one specimen. Documentation corrections should explain changed guidance when users could otherwise follow an unsafe old procedure. Maintain paired Indonesian and English slugs and update related-page links together.

GateEvidence to retainRelease risk if omitted
API and typesVue typecheck and affected package checksBroken consumers or incompatible shared APIs
BehaviorColocated unit and interaction testsRegressed loading, selection, focus, or emitted values
DocumentationAstro check/build, link and locale-parity checksBroken MDX, missing translations, unusable navigation
StoriesStatic build with isolated providersHidden production requests or examples that cannot load
AccessibilityAutomated checks plus manual keyboard and assistive-tech reviewFalse assurance from incomplete automation
Visual statesLight/dark, narrow viewport, zoom, forced colors, reduced motionUnusable edge states despite a polished default
Domain safetyRelevant permissions, transaction, audit, and domain testsFinancial or privacy regression outside the visual layer

Run backend-specific gates only when the change touches their scope; never report unrun gates as passing. For documentation-only work, syntax checking is useful but does not replace the integration owner’s full build. Record unavailable tools or blocked checks explicitly with the remaining release responsibility.

Record the change purpose, revision, owner, affected components, routes, locales, and token roles. List commands actually run and their results; list manual scenarios with browser and assistive technology. State known gaps, compatibility changes, data-handling implications, and rollback or forward-fix approach. An example record must never contain production tenant data, credentials, or real financial fixtures. Avoid a green “approved” label until the assigned reviewers have actually accepted the evidence.

  • Ownership is explicit and no duplicate token or component authority is introduced.
  • API changes migrate affected consumers and preserve or intentionally revise documented behavior.
  • Both languages describe the same current contract, limitations, and safe workflow.
  • Tests distinguish simulated examples from real integration evidence.
  • Accessibility claims match the exact tested scope and do not imply certification.
  • Release gates, skipped checks, exceptions, and unresolved gaps have accountable owners.
  • Contributions improve long-term security, integrity, clarity, and maintainability rather than hiding risk.