Skip to content

hooks/ponytail-config.js: 'review' in VALID_MODES but not RUNTIME_MODES — config accepts it but silently falls back to 'full' #377

Description

@nanaubusiness

In hooks/ponytail-config.js:

const VALID_MODES = ['off', 'lite', 'full', 'ultra', 'review'];
const RUNTIME_MODES = ['off', 'lite', 'full', 'ultra'];

Setting PONYTAIL_DEFAULT_MODE=review passes validation, but normalizeMode('review') returns null (since 'review' is not in RUNTIME_MODES), causing fallback to 'full'. A user who configures 'review' as default would never know they're actually running in 'full' mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions