chore(sf): more docstring tweaks in auto/phases + bootstrap/write-gate
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3dfc60e04b
commit
229ade7e45
2 changed files with 4 additions and 1 deletions
|
|
@ -1970,7 +1970,7 @@ export async function runUnitPhase(
|
|||
prefs?.safety_harness as Record<string, unknown> | undefined,
|
||||
);
|
||||
if (safetyConfig.enabled && safetyConfig.evidence_collection) {
|
||||
resetEvidence(unitId, s.basePath);
|
||||
resetEvidence();
|
||||
const { milestone: eMid, slice: eSid, task: eTid } = parseUnitId(unitId);
|
||||
loadEvidenceFromDisk(s.basePath, eMid, eSid ?? "", eTid ?? "");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -122,6 +122,9 @@ export interface WriteGateSnapshot {
|
|||
pendingGateId: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether write gate snapshots should be persisted to disk.
|
||||
*/
|
||||
function shouldPersistWriteGateSnapshot(
|
||||
env: NodeJS.ProcessEnv = process.env,
|
||||
): boolean {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue