// SPDX-License-Identifier: GPL-2.0-only
/*
 *  ppm/src/cmd/gc.c
 *
 *  Copyright (C) 2026 Project Tick
 */

#include "../cli.h"
#include "../util/log.h"

int ppm_cmd_gc(int argc, char **argv) {
    (void)argc; (void)argv;
    /*
     * Not yet implemented. Garbage collection (mark-and-sweep across
     * profile generations) is planned for the M6 milestone; see the
     * Roadmap in AGENTS.md. Until then this is an explicit, honest stub
     * rather than a silent no-op, and it exits non-zero so scripts do
     * not mistake it for a successful collection.
     */
    ppm_error("'ppm gc' is not implemented yet (planned for M6)");
    return 1;
}
