Member Junction
    Preparing search index...

    A single failure, collected (not interleaved) so an agent can read them as a list.

    interface MJCLIResultError {
        code?: MJCLIErrorCode;
        context?: string;
        message: string;
        suggestion?: string;
    }
    Index

    Properties

    Stable code from MJCLIErrorCodes. Optional only so existing call sites keep compiling — new code should always set it, because without one an agent has nothing to branch on but a regex over message.

    context?: string

    Entity name, file path, phase — whatever is relevant.

    message: string
    suggestion?: string

    Concrete remediation the caller can act on unaided — name the flag, the file, the command to run. "Invalid configuration" is not a suggestion; "Run mj sync init in this directory first." is.