// lib/accounting/core/README.feature-flags.md

# Feature Flags (WP-01)

## Purpose

- Gates new features, migrations, and safety checks in the accounting kernel
- Allows safe rollout and rollback of kernel features
- Used in posting, migration, and test scenarios

## Usage

- Use `DEFAULT_FEATURE_FLAGS` as the baseline
- Override flags as needed for migration or testing

## Example

```ts
import { DEFAULT_FEATURE_FLAGS } from './feature-flags';
if (DEFAULT_FEATURE_FLAGS.enableHashChain) {
  // ...enable hash chain logic
}
```

---

> **Note:** Feature flags are mandatory for all migration and test scenarios.
