Skip to content

hook: commit-msg gate always reads .charter/config.json, ignoring validate --config #341

Closed

Description

@stackbilt-admin

Found during constellation-loop review of #339.

The generated commit-msg hook (#299) resolves policy from .charter/config.json at the repo root. A repo whose CI runs charter validate --config <dir> gets either no local gate (no file at the default path → warning + skip) or the wrong policy. Options: record the config dir at charter hook install time (e.g. --config flag baked into the script), or honour a CHARTER_CONFIG env var. Refs #299.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions