Skip to content

Surface extension config parse errors and coerce autoWake strings #101

Description

@dasomji

Parent

Review findings on #96.

What to build

A mistake in one field of the extension config file must not silently discard the whole config. Today a parse failure is swallowed and replaced by an empty object, so writing autoWake as a string (e.g. "off", which the environment variable accepts) drops serverUrl and enables auto-wake — the opposite of intent — with no warning.

Accept the same string spellings for autoWake that the env var accepts, keep valid fields when others fail, and log a clear warning naming the invalid field.

Acceptance criteria

  • autoWake accepts the same boolean-ish strings as PI_POSTBOX_AUTO_WAKE
  • Invalid field → warning logged, other fields (serverUrl) retained
  • docs/configuration.md updated to state accepted values
  • Tests for both cases

Blocked by

  • None — can start immediately

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentReady for an implementation agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions