huskies: merge 1050
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//! CLI binary that regenerates `.huskies/source-map.json` from scratch.
|
||||
//! CLI binary for manual regeneration of `.huskies/source-map.json`.
|
||||
//!
|
||||
//! Usage: `source-map-regen [--project-root <path>]`
|
||||
//!
|
||||
@@ -6,8 +6,10 @@
|
||||
//! extracts public item signatures, and writes a fresh sorted JSON map. The output
|
||||
//! is byte-identical across runs on the same source tree (deterministic).
|
||||
//!
|
||||
//! Intended to be called from the pre-commit quality gate (`script/check`) so that
|
||||
//! every commit captures an accurate, stale-entry-free snapshot of the source map.
|
||||
//! The pre-commit gate (`script/check`) no longer calls this binary directly — map
|
||||
//! regeneration is now inlined into the coder spawn path (`local_prompt.rs`) so every
|
||||
//! agent session starts with a fresh snapshot. This binary is kept as an escape hatch
|
||||
//! for manual out-of-band regeneration (e.g. after bulk refactors outside the pipeline).
|
||||
|
||||
use source_map_gen::regenerate_source_map;
|
||||
use std::path::Path;
|
||||
|
||||
Reference in New Issue
Block a user