Memex Admin

Mem-Client: No Console Logging in Runtime

Repository: mem-labs/mem

activeUpdated Feb 19, 2026, 8:26 PM

Policy ID js786vtfgxvt40ey5sc74t3sk181cyz8

Runtime mem-client code should not introduce new `console.*` logging.

Rationale:
- Unstructured console logging increases noise and bypasses standard logging controls.

Scope:
- PR review policy for runtime source under `domains/frontend/mem-client/src/**`.
- Excludes test and story files.

Trigger:
- A PR introduces new `console.*` calls in scope.

Approval checks:
1) New runtime `console.*` calls are not introduced.
2) Runtime logging uses project logging utilities/wrappers instead.

Evidence:
- Diff shows no new console calls in scope, or replacement with approved logger paths.

Decision:
- Return NOT APPROVED when trigger is met and new runtime console usage is introduced.