docs: document scoped script helpers

This commit is contained in:
Peter Steinberger
2026-06-04 23:57:22 -04:00
parent a59eba3ee1
commit 613a2835cb
12 changed files with 36 additions and 0 deletions

View File

@@ -1,8 +1,11 @@
#!/usr/bin/env node
// GitHub dependency-change guard: detects dependency files, manages override
// comments/labels, and can autoscrub lockfile-only PR changes.
import { appendFile, readFile } from "node:fs/promises";
import { readBoundedResponseText } from "../lib/bounded-response.mjs";
/** Marker used to identify dependency guard comments. */
export const dependencyChangeMarker = "<!-- openclaw:dependency-guard -->";
export const dependencyGraphGuardMarker = "<!-- openclaw:dependency-graph-guard -->";
export const dependencyChangedLabel = "dependencies-changed";

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env node
// Checks PR real-behavior proof labels/comments and writes GitHub Action outputs.
import { readFileSync } from "node:fs";
import { pathToFileURL } from "node:url";
import {

View File

@@ -1,5 +1,7 @@
// Shared real-behavior proof policy for GitHub PR checks and label decisions.
import { readBoundedResponseText } from "../lib/bounded-response.mjs";
/** Label that lets maintainers override real-behavior proof requirements. */
export const PROOF_OVERRIDE_LABEL = "proof: override";
export const PROOF_SUPPLIED_LABEL = "proof: supplied";
export const PROOF_SUFFICIENT_LABEL = "proof: sufficient";