jules-orchestrator-kit 0.71.0 → 0.72.0
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.
- package/.agent/rules/jules-protocol.md +0 -1
- package/CHANGELOG.md +30 -0
- package/JULES_RULES_TEMPLATE.md +0 -1
- package/README.md +56 -1
- package/ROADMAP_V1.md +22 -6
- package/bin/agentctl.mjs +57 -18
- package/package.json +1 -1
- package/scripts/guard-reach-check.mjs +28 -5
- package/src/config.mjs +346 -2
- package/src/coverage.mjs +85 -13
- package/src/engine.mjs +97 -142
- package/src/git.mjs +104 -1
- package/src/guard-policy.mjs +413 -6
- package/src/ops/command-registry.mjs +109 -0
- package/src/ops/test-collection.mjs +29 -3
- package/src/security.mjs +458 -19
- package/src/stack-detector.mjs +21 -0
- package/src/test-paths.mjs +18 -1
- package/src/wizard-init.mjs +16 -12
- package/src/wizard-oracle.mjs +1 -1
package/src/wizard-init.mjs
CHANGED
|
@@ -130,22 +130,26 @@ export function planInit(root = process.cwd(), options = {}) {
|
|
|
130
130
|
// scaffolded limits always match what the runtime will later enforce.
|
|
131
131
|
const tierPresetLimits = TIER_PROFILES[tierName] || TIER_PROFILES[FALLBACK_TIER];
|
|
132
132
|
|
|
133
|
-
// Preserve existing config if present
|
|
133
|
+
// Preserve existing config if present (ignored when pristine requested)
|
|
134
134
|
let existingConfig = {};
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
135
|
+
if (!options.pristine) {
|
|
136
|
+
const existingConfigPath = join(root, ".agent", "config.yml");
|
|
137
|
+
if (existsSync(existingConfigPath)) {
|
|
138
|
+
try {
|
|
139
|
+
existingConfig = parseYaml(readFileSync(existingConfigPath, "utf-8")) || {};
|
|
140
|
+
} catch (_) {}
|
|
141
|
+
}
|
|
140
142
|
}
|
|
141
143
|
|
|
142
|
-
// Preserve existing jules.yml if present
|
|
144
|
+
// Preserve existing jules.yml if present (ignored when pristine requested)
|
|
143
145
|
let existingJules = {};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
if (!options.pristine) {
|
|
147
|
+
const existingJulesPath = join(root, ".agent", "jules.yml");
|
|
148
|
+
if (existsSync(existingJulesPath)) {
|
|
149
|
+
try {
|
|
150
|
+
existingJules = parseYaml(readFileSync(existingJulesPath, "utf-8")) || {};
|
|
151
|
+
} catch (_) {}
|
|
152
|
+
}
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
const customLimits = options.limits || existingConfig.limits;
|
package/src/wizard-oracle.mjs
CHANGED
|
@@ -87,7 +87,7 @@ export function detectStackOracles(root = process.cwd()) {
|
|
|
87
87
|
const flag = isCargoWs ? " --workspace" : "";
|
|
88
88
|
candidates.testCmd = `cargo test${flag}`;
|
|
89
89
|
candidates.buildCmd = `cargo build${flag}`;
|
|
90
|
-
candidates.lintCmd = `cargo clippy${flag}
|
|
90
|
+
candidates.lintCmd = `cargo clippy${flag}`;
|
|
91
91
|
candidates.typecheckCmd = `cargo check${flag}`;
|
|
92
92
|
}
|
|
93
93
|
|