@kylecheng3146/agent-ops 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -241,7 +241,7 @@ export function managedRules(descriptor, context) {
|
|
|
241
241
|
""
|
|
242
242
|
];
|
|
243
243
|
if (context.capabilities.includes("rules")) {
|
|
244
|
-
lines.push("For every change:", "", "1. Define two to five mechanically verifiable acceptance criteria.", "2. Inspect the smallest relevant scope and preserve unrelated changes.", "3. Apply the smallest safe change.", "4. Run evidence-producing verification for every criterion.", "5. Obtain independent review before claiming completion.", "", "Treat `.agent-ops/config.json` as verifier authority. Discovery output is", "only a proposal until a user confirms it. Repository commands require an", "explicit matching trust record; installation approval never grants trust.", "");
|
|
244
|
+
lines.push("For every change:", "", "1. Define two to five mechanically verifiable acceptance criteria.", "2. Inspect the smallest relevant scope and preserve unrelated changes.", "3. Apply the smallest safe change.", "4. Run evidence-producing verification for every criterion.", "5. Obtain independent review before claiming completion, via", " `agent-ops review` (or the CLI's equivalent invocation). Never call a", " review-target CLI (agy, codex, claude) directly — direct calls skip", " the enforced read-only sandbox flags and can hang or fail on command", " permission prompts.", "", "Treat `.agent-ops/config.json` as verifier authority. Discovery output is", "only a proposal until a user confirms it. Repository commands require an", "explicit matching trust record; installation approval never grants trust.", "");
|
|
245
245
|
}
|
|
246
246
|
if (context.capabilities.includes("lifecycle-summary")) {
|
|
247
247
|
lines.push("Advisory lifecycle summaries and local logs are informational. Advisory", "failures must remain fail-open and cannot become verification evidence.", "");
|
|
@@ -64,7 +64,6 @@ export async function collectChangeSurface(runner) {
|
|
|
64
64
|
"diff",
|
|
65
65
|
"--cached",
|
|
66
66
|
"--name-only",
|
|
67
|
-
"--full-name",
|
|
68
67
|
"--no-renames",
|
|
69
68
|
"--no-ext-diff",
|
|
70
69
|
"--no-textconv",
|
|
@@ -73,7 +72,6 @@ export async function collectChangeSurface(runner) {
|
|
|
73
72
|
const unstaged = await collectPaths(runner, [
|
|
74
73
|
"diff",
|
|
75
74
|
"--name-only",
|
|
76
|
-
"--full-name",
|
|
77
75
|
"--no-renames",
|
|
78
76
|
"--no-ext-diff",
|
|
79
77
|
"--no-textconv",
|
|
@@ -116,7 +114,7 @@ export async function resolveGitCommit(runner, ref) {
|
|
|
116
114
|
}
|
|
117
115
|
export async function collectBaseChangePaths(runner, base) {
|
|
118
116
|
return await collectPaths(runner, [
|
|
119
|
-
"diff", "--name-only", "--
|
|
117
|
+
"diff", "--name-only", "--no-renames", "--no-ext-diff",
|
|
120
118
|
"--no-textconv", "-z", `${base}...HEAD`
|
|
121
119
|
]);
|
|
122
120
|
}
|