jules-orchestrator-kit 0.72.3 → 0.73.1
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/prompts/{Overseer.md → Auditor.md} +3 -3
- package/.agent/prompts/{Alchemist.md → Database.md} +1 -1
- package/.agent/prompts/Debugger.md +25 -0
- package/.agent/prompts/{Scribe.md → Docs.md} +8 -5
- package/.agent/prompts/{Spectator.md → E2E.md} +9 -6
- package/.agent/prompts/{Janitor.md → Hygiene.md} +2 -2
- package/.agent/prompts/{Bolt.md → Performance.md} +1 -1
- package/.agent/prompts/Resilience.md +20 -0
- package/.agent/prompts/Security.md +21 -0
- package/.agent/prompts/Testing.md +30 -0
- package/.agent/prompts/Types.md +19 -0
- package/.agent/rules/jules-protocol.md +5 -37
- package/CHANGELOG.md +197 -23
- package/JULES_RULES_TEMPLATE.md +45 -123
- package/LICENSE +1 -1
- package/README.md +143 -471
- package/bin/agentctl.mjs +437 -143
- package/bin/init.js +6 -3
- package/index.mjs +9 -6
- package/package.json +3 -5
- package/scripts/asset-integrity-check.mjs +1 -1
- package/scripts/doc-sync-check.mjs +32 -0
- package/scripts/generate-command-reference.mjs +39 -0
- package/scripts/jules-dispatch.mjs +12 -113
- package/scripts/jules-merge-swarm.mjs +8 -196
- package/scripts/jules-patch.mjs +7 -8
- package/scripts/jules-queue-runner.mjs +6 -8
- package/scripts/jules-scan-todos.mjs +10 -38
- package/scripts/jules-self-audit.mjs +8 -139
- package/scripts/jules-status.mjs +32 -38
- package/scripts/jules-webhook-receiver.mjs +1 -1
- package/src/assertions.mjs +5 -50
- package/src/bidi-guard.mjs +36 -0
- package/src/budget.mjs +3 -14
- package/src/config.mjs +2 -6
- package/src/dashboard.mjs +7 -9
- package/src/dispatch.mjs +212 -0
- package/src/engine.mjs +41 -17
- package/src/evidence.mjs +10 -41
- package/src/execution-envelope.mjs +13 -1
- package/src/flaky-ledger.mjs +1 -1
- package/src/fs-atomic.mjs +72 -0
- package/src/git.mjs +298 -27
- package/src/mcp.mjs +290 -3
- package/src/memory.mjs +5 -1
- package/src/merge-swarm.mjs +202 -0
- package/src/ops/cli-intent.mjs +1 -0
- package/src/ops/command-registry.mjs +796 -70
- package/src/ops/doctor-registry.mjs +134 -47
- package/src/ops/handover.mjs +3 -27
- package/src/ops/pr-harvest.mjs +1 -1
- package/src/prompt-guard.mjs +27 -3
- package/src/provider.mjs +51 -7
- package/src/remediation.mjs +2 -2
- package/src/review-repair.mjs +1 -2
- package/src/role-resolver.mjs +113 -3
- package/src/router.mjs +19 -11
- package/src/runtime-env.mjs +67 -0
- package/src/scaffold.mjs +3 -1
- package/src/scope-guard.mjs +249 -0
- package/src/secret-scanner.mjs +530 -0
- package/src/security.mjs +79 -2971
- package/src/self-audit.mjs +140 -0
- package/src/session-ops.mjs +30 -1
- package/src/stability.mjs +8 -1
- package/src/state.mjs +45 -0
- package/src/swarm.mjs +76 -0
- package/src/task-optimizer.mjs +1 -1
- package/src/telemetry.mjs +23 -0
- package/src/test-tamper-guard.mjs +2173 -0
- package/src/todo-scanner.mjs +129 -0
- package/src/web-templates.mjs +3 -3
- package/src/webhook.mjs +10 -3
- package/src/wizard-init.mjs +12 -20
- package/src/wizard-task.mjs +38 -11
- package/.agent/prompts/Sentinel.md +0 -18
- package/AGENTS.md +0 -135
- package/ROADMAP_V1.md +0 -257
- package/scripts/utils.mjs +0 -241
package/README.md
CHANGED
|
@@ -1,540 +1,212 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
1
|
# jules-orchestrator-kit
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<br/>
|
|
3
|
+
Task dispatch and local verification for coding agents. Requires Node.js 20+ and
|
|
4
|
+
Git; uses no third-party runtime dependencies.
|
|
8
5
|
|
|
9
|
-
[](https://github.com/FullThrottle83/jules-orchestrator-kit/actions/workflows/jules-audit.yml)
|
|
10
6
|
[](https://www.npmjs.com/package/jules-orchestrator-kit)
|
|
11
|
-
[](https://nodejs.org)
|
|
13
|
-
[](https://nodejs.org)
|
|
14
|
-
[](https://nodejs.org)
|
|
15
|
-
|
|
16
|
-
<br/>
|
|
17
|
-
|
|
18
|
-
<p align="center">
|
|
19
|
-
<b>Zero-dependency safety gatekeeper, scoped sandboxing, and automated verification for coding agents.</b><br/>
|
|
20
|
-
Runs deterministic test verification, secret scrubbing, and automated repair loops across any stack or monorepo before opening Pull Requests.
|
|
21
|
-
</p>
|
|
22
|
-
|
|
23
|
-
<br/>
|
|
7
|
+
[](https://github.com/FullThrottle83/jules-orchestrator-kit/actions/workflows/jules-audit.yml)
|
|
24
8
|
|
|
25
|
-
|
|
26
|
-
<a href="#quickstart">Quickstart</a> •
|
|
27
|
-
<a href="#any-repository">Any Repository</a> •
|
|
28
|
-
<a href="#overview">Overview</a> •
|
|
29
|
-
<a href="#target-workflows">Target Workflows</a> •
|
|
30
|
-
<a href="#triage-guidelines">Triage</a> •
|
|
31
|
-
<a href="#cli-docs">CLI Docs</a> •
|
|
32
|
-
<a href="#deep-dives">Deep Dives</a>
|
|
33
|
-
</p>
|
|
34
|
-
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
<br/>
|
|
38
|
-
|
|
39
|
-
<p align="center">
|
|
40
|
-
<img src="docs/assets/hero-flow.svg" alt="Autonomous Orchestration Pipeline" width="100%" />
|
|
41
|
-
</p>
|
|
9
|
+
## Overview
|
|
42
10
|
|
|
43
|
-
|
|
11
|
+
Use the kit to describe a scoped coding task, send it to Google Jules or an
|
|
12
|
+
installed Claude Code, Codex or Gemini CLI, and verify the resulting changes.
|
|
13
|
+
You can also run local checks without connecting an agent provider.
|
|
44
14
|
|
|
45
|
-
|
|
15
|
+
**Dispatch and verification are separate.** Dispatch sends the task; `gate` runs
|
|
16
|
+
configured checks on changes. `gate --fix` can request automated repairs. Provider
|
|
17
|
+
output and passing checks still need review before merging.
|
|
46
18
|
|
|
47
|
-
|
|
19
|
+
The current release is **v0.73.1**, a pre-1.0 release. A long-term stability policy is a
|
|
20
|
+
[v1.0 goal](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/ROADMAP_V1.md).
|
|
48
21
|
|
|
49
|
-
<a id="quickstart"></a>
|
|
50
22
|
## Quickstart
|
|
51
23
|
|
|
52
|
-
|
|
24
|
+
Start in an existing Git repository with working tests. Commit or stash unrelated
|
|
25
|
+
changes so that you can review exactly what setup adds. Node.js runs the kit;
|
|
26
|
+
your project's own runtime and test tools must also be installed.
|
|
53
27
|
|
|
54
|
-
|
|
55
|
-
# 1. Scaffold configuration, AGENTS.md, role prompts, and guardrails
|
|
56
|
-
# Auto-detects Python, Rust, Go, Bun, Deno, Node, PHP, .NET, etc.
|
|
57
|
-
# Omit --yes to select provider, plan tier, and verification profile interactively.
|
|
58
|
-
npx jules-orchestrator-kit init --yes
|
|
59
|
-
```
|
|
28
|
+
### 1. Configure the repository
|
|
60
29
|
|
|
61
30
|
```bash
|
|
62
|
-
|
|
63
|
-
# .agent/config.yml is protected by scope guards; committing establishes the trusted base policy.
|
|
64
|
-
git add .agent AGENTS.md SPEC.md CONSTRAINTS.md .gitignore && git commit -m "chore: add agent config"
|
|
31
|
+
npx jules-orchestrator-kit init
|
|
65
32
|
```
|
|
66
33
|
|
|
34
|
+
The wizard detects the project and asks about provider and verification settings.
|
|
35
|
+
Use `init --yes` to accept defaults. It creates `.agent/config.yml`, agent
|
|
36
|
+
instructions, role prompts and project contract files. Inspect the generated
|
|
37
|
+
configuration and diff, especially the test command and protected paths.
|
|
38
|
+
|
|
67
39
|
```bash
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
npx jules-orchestrator-kit task create -p "Refactor invoice calculation" --verify "npm test"
|
|
40
|
+
git diff
|
|
41
|
+
git status --short
|
|
71
42
|
```
|
|
72
43
|
|
|
73
|
-
|
|
44
|
+
Stage the generated files you reviewed, then commit them. The committed
|
|
45
|
+
configuration establishes the trusted base policy used by verification. On an
|
|
46
|
+
already initialized repository, back up and review `.agent/config.yml` and
|
|
47
|
+
`.agent/jules.yml` before rerunning `init`; the wizard can regenerate those
|
|
48
|
+
manifests. Avoid `--force` unless replacement of generated files is intended.
|
|
74
49
|
|
|
75
|
-
|
|
76
|
-
# Which agents can this machine dispatch to, and what is missing for the rest?
|
|
77
|
-
npx jules-orchestrator-kit providers
|
|
78
|
-
```
|
|
50
|
+
### 2. Check provider readiness
|
|
79
51
|
|
|
80
52
|
```bash
|
|
81
|
-
|
|
82
|
-
npx jules-orchestrator-kit profile --set max
|
|
53
|
+
npx jules-orchestrator-kit providers
|
|
83
54
|
```
|
|
84
55
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
> **Global Installation:**
|
|
91
|
-
> Install globally for direct command access:
|
|
92
|
-
> ```bash
|
|
93
|
-
> npm install -g jules-orchestrator-kit
|
|
94
|
-
> agentctl init && agentctl task create && agentctl queue
|
|
95
|
-
> ```
|
|
56
|
+
This reports which providers are available and what setup is missing. Remote
|
|
57
|
+
Jules dispatch needs credentials; local CLI providers need their installed,
|
|
58
|
+
authenticated CLI. Follow the
|
|
59
|
+
[configuration reference](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/configuration.md).
|
|
60
|
+
Never commit API keys.
|
|
96
61
|
|
|
97
|
-
|
|
62
|
+
### 3. Create and review a task
|
|
98
63
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
<a id="any-repository"></a>
|
|
104
|
-
## Using It In Any Repository
|
|
105
|
-
|
|
106
|
-
The kit derives configuration directly from repository manifests across five core dimensions:
|
|
107
|
-
|
|
108
|
-
| Dimension | Resolution Mechanism | Inspect / Override |
|
|
109
|
-
| :--- | :--- | :--- |
|
|
110
|
-
| **Monorepo Scope** | Monorepo diffs resolve to affected sub-projects (`verify.scope: affected`), widening to root commands when shared files change. Activated automatically when monorepo manifests are detected. | `agentctl check --json`<br/>`verify.scope` in `.agent/config.yml` |
|
|
111
|
-
| **Stack & Tooling** | `detectPolyglotStack()` inspects 26+ ecosystems (Cargo, Go, Python, Bun, Deno, Maven, Gradle, .NET, PHP, Ruby, Elixir, Swift, Flutter, CMake, Make, Turbo/pnpm/Nx) and extracts native test and build commands. | `agentctl doctor`<br/>`verify:` in `.agent/config.yml` |
|
|
112
|
-
| **Agent Provider** | Supports Google Jules (hosted REST), Claude Code CLI, OpenAI Codex CLI, and Gemini CLI. Validates environment credentials for hosted APIs and `PATH` binaries for local agents. | `agentctl providers`<br/>`agentctl init --provider <name>` |
|
|
113
|
-
| **Verification Depth** | `verify.profile` (`minimal`, `standard`, `max`) expands dynamically into stack-compatible verification stages, reporting explicit skip reasons for unsupported platform checks. | `agentctl profile`<br/>`agentctl profile --set max` |
|
|
114
|
-
| **CI Generation** | Generates tailored CI workflows containing the project's native runtime and toolchain rather than copying a fixed template. | `agentctl ci init [--target github\|gitlab]` |
|
|
115
|
-
|
|
116
|
-
### Verification Profiles
|
|
117
|
-
|
|
118
|
-
| Profile | Stages | Recommended Use |
|
|
119
|
-
| :--- | :--- | :--- |
|
|
120
|
-
| `minimal` | Setup → Tests | Large/slow test suites or initial project onboarding. |
|
|
121
|
-
| `standard` | Setup → Lint → Tests → Build → Diff Anti-Tamper | Default gate for routine pull requests. |
|
|
122
|
-
| `max` | All stages above → AST Mutation Scoring → V8 Diff Coverage *(Node)* → 3-Pass Flakiness Probe | High-risk refactors or critical infrastructure changes. |
|
|
123
|
-
|
|
124
|
-
Verification profiles evaluate gates dynamically per runtime. Unsupported platform checks (such as V8 coverage on Cargo or Go projects) are bypassed with explicit diagnostic logs rather than failing the gate.
|
|
125
|
-
|
|
126
|
-
### Standalone Local Verification
|
|
127
|
-
|
|
128
|
-
All security, integrity, and test gates execute locally without external network access or API keys:
|
|
129
|
-
`agentctl check`, `agentctl gate`, `agentctl mutate`, `agentctl coverage`, `agentctl probe`, `agentctl evidence`, `agentctl doctor`. Agent providers are required only for dispatching autonomous tasks.
|
|
130
|
-
|
|
131
|
-
<br/>
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
<br/>
|
|
136
|
-
|
|
137
|
-
<a id="overview"></a>
|
|
138
|
-
## Overview
|
|
139
|
-
|
|
140
|
-
> **`jules-orchestrator-kit` serves as a safety gate and automated test runner for AI coding agents.**
|
|
141
|
-
> It drafts falsifiable task envelopes, executes verification commands in an isolated sandbox, automatically retries on test failures using captured diagnostics, and approves PRs only when 100% of tests pass cleanly.
|
|
142
|
-
|
|
143
|
-
<br/>
|
|
144
|
-
|
|
145
|
-
<a id="target-workflows"></a>
|
|
146
|
-
### Target Workflows
|
|
147
|
-
|
|
148
|
-
| Persona / Team | Primary Value | Everyday Commands |
|
|
149
|
-
| :--- | :--- | :--- |
|
|
150
|
-
| **Solo Developers** | Safely experiment with autonomous coding without risking broken branches, leaked API keys, or ruined git history. | `agentctl init`<br/>`agentctl task create` |
|
|
151
|
-
| **Repo Maintainers** | Automate bug fixes, dependency bumps, and PR reviews with self-healing test loops. | `agentctl gate`<br/>`agentctl queue` |
|
|
152
|
-
| **Monorepo Teams** | Isolate subproject verification (`backend/`, `frontend/`, `cli/`) so agent edits never thrash global test suites. | `agentctl swarm`<br/>`agentctl lock` |
|
|
153
|
-
| **Platform & Security** | Enforce fail-closed security policies, pre-commit secret scrubbing (including base64), and strict 75 KB diff limits. | `agentctl doctor`<br/>`agentctl dashboard` |
|
|
154
|
-
|
|
155
|
-
<br/>
|
|
156
|
-
|
|
157
|
-
---
|
|
158
|
-
|
|
159
|
-
<br/>
|
|
160
|
-
|
|
161
|
-
<a id="triage-guidelines"></a>
|
|
162
|
-
## Triage Guidelines: When to Dispatch Tasks
|
|
163
|
-
|
|
164
|
-
To maximize PR merge rates, dispatch tasks according to deterministic boundaries:
|
|
165
|
-
|
|
166
|
-
### Ideal Tasks (High Success Rate)
|
|
167
|
-
* **Scoped Bug Fixes & Code Changes:** Mechanically verifiable via unit tests (`pytest`, `npm test`, `cargo test`, `dotnet test`, `go test`).
|
|
168
|
-
* **Type & Linter Migrations:** Strict mode conversions, type annotations, and dead code elimination.
|
|
169
|
-
* **Dependency Bumps & CVE Patches:** Upgrading vulnerable lockfile dependencies with hermetic test validation.
|
|
170
|
-
* **Backend Refactoring:** Modularizing route controllers, API handlers, or database schemas.
|
|
171
|
-
* **Headless E2E / Playwright Tests:** UI changes verified by automated visual snapshots (`npx playwright test`).
|
|
172
|
-
|
|
173
|
-
### Out of Scope (Keep Human-in-the-Loop)
|
|
174
|
-
* **Unverifiable Visual UI Tweaks:** CSS/Tailwind adjustments without automated Playwright regression tests.
|
|
175
|
-
* **Closed Proprietary Platforms Without CLI:** Systems lacking local CLI or git integration (e.g. Salesforce GUI, Webflow).
|
|
176
|
-
* **Unmocked Live Cloud Systems:** Code requiring live connections to external cloud APIs without local mocks or emulators.
|
|
177
|
-
* **Protected Infrastructure Files:** Direct edits to `.github/workflows/`, deployment keys, or agent security gate rules (blocked fail-closed by `Agent Scope Guard`).
|
|
178
|
-
|
|
179
|
-
<br/>
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
<br/>
|
|
184
|
-
|
|
185
|
-
## Core Capabilities
|
|
186
|
-
|
|
187
|
-
* **Multi-Provider Dispatch:** Dispatches to Google Jules (hosted REST API), Claude Code CLI, OpenAI Codex CLI, and Gemini CLI. `agentctl providers` inspects environment credentials and binary availability across providers.
|
|
188
|
-
* **Vendor-Neutral Configuration:** Supports both `JULES_*` and `AGENT_*` environment variables (`AGENT_API_KEY`, `AGENT_REPO`, `AGENT_SWARM_CONCURRENCY`), with legacy `JULES_*` variables taking precedence.
|
|
189
|
-
* **Dynamic Verification Profiles:** Configured via `verify.profile: minimal | standard | max`. Automatically schedules linting, unit testing, build stages, AST mutation testing, and stability probing suited to the project toolchain.
|
|
190
|
-
* **Stack-Native Generated CI:** `agentctl ci init` generates GitHub Actions and GitLab CI configurations containing the project's exact toolchain (`setup-python`, `setup-go`, `setup-bun`, etc.) alongside Node.js for CLI execution.
|
|
191
|
-
* **Zero Runtime Dependencies:** Implemented strictly using native Node.js 20+ standard modules (`node:fs`, `node:child_process`, `node:crypto`, `node:path`, `node:http`, `node:readline`, `node:test`).
|
|
192
|
-
* **Cross-Platform Parity:** Verified 100% green across Linux, macOS (Darwin), and Windows on Node 20, 22, and 24.
|
|
193
|
-
* **Autonomous OODA Repair Loop:** Captures test stdout/stderr traces, fingerprints failure patterns, and executes automated repair cycles (up to 3 turns) before requesting human intervention.
|
|
194
|
-
* **Fail-Closed Verification:** Rejects diffs that execute zero verification commands unless explicitly waived with `verify.required: false`.
|
|
195
|
-
* **Semantic Anti-Tamper Guard:** Detects test tampering across languages: weakened assertions, removed assertions, vacuous tautologies (`expect(true).toBe(true)`), and assertions nested inside dead conditions (`if False:`, `if (false)`, `if 0:`).
|
|
196
|
-
* **Binary & Symlink Payload Inspection:** Inspects binary diffs and symlink targets directly, charging real byte sizes against the diff ceiling to prevent payload governor bypasses.
|
|
197
|
-
* **Fail-Closed Security & Secret Scrubbing:** Evaluates Deny-before-Allow rules against canonicalized paths. Detects high-entropy strings and base64-encoded credentials (e.g. Kubernetes manifests).
|
|
198
|
-
* **Complexity & Cost Router:** Zero-dependency heuristic classifier (`src/router.mjs`) routing mechanical tasks to lightweight models while reserving primary models for complex refactors, backed by syntax-check fallback recovery.
|
|
199
|
-
* **Terminal UI & Diagnostics (`agentctl doctor`):** Interactive terminal dashboard, VFS lock management, and automated system diagnostics.
|
|
200
|
-
* **Mechanically Verified:** Comprehensive test suite of **1410 unit tests across 196 suites**, with 59 activation-coverage canaries and 100% pass rate.
|
|
201
|
-
|
|
202
|
-
<br/>
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
<br/>
|
|
207
|
-
|
|
208
|
-
<a id="cli-docs"></a>
|
|
209
|
-
## CLI Command Reference (`agentctl`)
|
|
210
|
-
|
|
211
|
-
`agentctl` is the unified command-line interface for `jules-orchestrator-kit`, available via `npx jules-orchestrator-kit <command>` or `agentctl <command>`.
|
|
212
|
-
|
|
213
|
-
| Command | Usage | Description | Exit Codes |
|
|
214
|
-
| :--- | :--- | :--- | :--- |
|
|
215
|
-
| `init` | `agentctl init [--interactive] [--tier pro] [--provider <name>] [--profile <name>] [--force]` | Interactive onboarding wizard & stack detector. Generates `.agent/config.yml` and scaffolds `AGENTS.md`, the role prompts, the guardrails and the runtime `.gitignore` entries. Existing files are preserved unless `--force`. | `0` (Created) |
|
|
216
|
-
| `budget` | `agentctl budget [--by-user] [--json] [reset]` | Reports rolling 24h task budget, quota headroom, and per-developer task attribution without external auth servers. | `0` (Status), `2` (Arg Error) |
|
|
217
|
-
| `task create` | `agentctl task create [<prompt>] [--title <t>] [-p <prompt>] [-f <file>] [--template <id>] [--role <name>] [--tier fast\|complex]` | Interactively authors & scopes falsifiable task envelopes with secret scrubbing, preflight gate checks, and DAG dependency wiring. | `0` (Queued), `1` (Secret/Unfalsifiable) |
|
|
218
|
-
| `task template` | `agentctl task template [<id>] [--list] [--json]` | Lists and synthesizes pre-calibrated task envelopes (Web, Deep Think, Universal & Agent Hardening: `web-cwv`, `web-wcag`, `web-seo`, `web-playwright`, `agent-dead-code-audit`, `web-flaky-heal`, `web-i18n`, `web-ai-access`, `agent-qa-mutation`, `agent-ci-falsify`, `agent-service-isolate`, `agent-error-paths`, `agent-security-audit`, `agent-dep-audit`, `agent-doc-drift`, `agent-config-audit`, `agent-api-contract`, `deep-debug`, `deep-feature`, `deep-optimize`, `deep-harden`). | `0` (Listed/Synthesized) |
|
|
219
|
-
| `dispatch` | `agentctl dispatch [<prompt>] [-p <prompt>] [-f <file>] [-r <role>] [-t <tier>] [--author <name>] [--check-premise] [--auto-pr] [--repoless] [--dry-run]` | Dispatches autonomous task to the active provider with pre-flight idempotency checks, payload limits, and role prompt resolution. `--dry-run` stops short of the provider call and reports itself as a rehearsal rather than a dispatch. | `0` (Dispatched), `1` (Error) |
|
|
220
|
-
| `plan approve` | `agentctl plan approve <sessionId> [--dry-run] [--json]` | Approves pending execution plan for an active Jules session (`:approvePlan`) with automatic 404/503 retry backoff. | `0` (Approved), `1` (Error) |
|
|
221
|
-
| `session get` | `agentctl session get <sessionId> [--dry-run] [--json]` | Retrieves live session lifecycle state from provider REST API with token rotation. | `0` (Fetched), `1` (Error) |
|
|
222
|
-
| `patch` | `agentctl patch <sessionId> [--apply] [--save <path>] [--json]` | Extracts raw git diff patch from a completed Jules session and tests or applies it locally with `git apply --check` safety. | `0` (Clean/Applied), `1` (Conflict/Error) |
|
|
223
|
-
| `retry` | `agentctl retry <sessionId> [--role <role>] [--with-failure] [--json]` | Fetches error traces and activity logs from a failed session and synthesizes a targeted OODA retry dispatch. | `0` (Dispatched), `1` (Error) |
|
|
224
|
-
| `prune` | `agentctl prune [--age 7d] [--state <state>] [--delete] [--yes] [--json]` | Queries and batch-archives or deletes stale/completed sessions via Jules v1alpha API to keep workspaces clean. | `0` (Cleaned) |
|
|
225
|
-
| `pr harvest` | `agentctl pr harvest [--tier r0,r1] [--limit <n>] [--auto] [--allow-no-checks] [--dry-run]` | Discovers open agent PRs, evaluates CI checks & risk tiers, and auto-squashes green low-risk changes autonomously. A PR reporting **no** CI checks is skipped unless `--allow-no-checks` is passed, and an unavailable changed-file list blocks rather than classifying as low risk. | `0` (Triaged/Merged), `1` (Error) |
|
|
226
|
-
| `providers` | `agentctl providers [--json]` | Probes every built-in provider and reports which ones this machine can dispatch to, what each one is missing, and which is active. For a CLI provider, "ready" means the binary is on `PATH` — it does not prove the CLI is signed in. | `0` (Active provider ready), `1` (Not ready) |
|
|
227
|
-
| `provider set` | `agentctl provider set <name>` | Switches the active provider in `.agent/config.yml` in place, preserving comments. | `0` (Set), `1` (No manifest), `2` (Name missing) |
|
|
228
|
-
| `profile` | `agentctl profile [--list] [--set minimal\|standard\|max] [--json]` | Shows the verification stages the configured profile expands to on this stack, or writes a new profile into `.agent/config.yml` without disturbing comments. | `0` (Shown/Set), `2` (Unknown profile) |
|
|
229
|
-
| `ci init` | `agentctl ci init [--target github\|gitlab] [--force] [--dry-run] [--json]` | Generates a stack-aware CI gate workflow (`.github/workflows/agent-gate.yml` or `.gitlab-ci.agent-gate.yml`) that runs `agentctl check --mode committed`. Refuses to overwrite without `--force`. | `0` (Written/Skipped), `1` (Write error), `2` (Unknown target) |
|
|
230
|
-
| `doctor` | `agentctl doctor [--probe] [--json]` | Diagnostic check runner. `--probe` additionally starts the configured provider's CLI to confirm it answers, rather than only finding it on `PATH`. | `0` (Healthy), `1` (Failures) |
|
|
231
|
-
| `queue` | `agentctl queue [--dag] [--concurrency <n>] [--dry-run] [--json]` | Consumes and executes task envelopes in `.agent/jules-queue/` with Kahn's DAG dependency resolution. Non-task files (manifests, `README.md`) are skipped, and `--dry-run` previews without moving anything. | `0` (Complete) |
|
|
232
|
-
| `swarm` | `agentctl swarm [--json]` | Runs parallel multi-agent swarm across worker slots with PID liveness detection. | `0` (Complete) |
|
|
233
|
-
| `check` / `gate` / `audit`| `agentctl check [--mode working-tree] [--fix] [--allow-protected] [--allow-test-change <kind>] [--json] [--json-report <path>]` | Runs security, secret scanning, rules budget audit, and tiered verification gates (with declarative assertion support) against working tree or branch. | `0` (Approved), `1` (Budget/Arg), `3` (Scope), `4` (Verify), `5` (Diff >75K), `6` (Secret **or** test integrity), `8` (Flaky) |
|
|
234
|
-
| `mutate` / `mutation` | `agentctl mutate [--min-score <n>] [--max-mutants <n>] [--cmd <testCmd>] [--json]` | Runs zero-dependency diff mutation testing harness on changed hunks with operator inversion and safety rollback. | `0` (Passed), `1` (Score Low) |
|
|
235
|
-
| `coverage` | `agentctl coverage [--min <pct>] [--cmd <testCmd>] [--base <ref>] [--json]` | Runs native zero-dependency V8 diff coverage check against added diff lines. | `0` (Passed), `1` (Low Coverage) |
|
|
236
|
-
| `probe` / `stability` | `agentctl probe [--repeat <n>] [--min <passRate>] [--cmd <testCmd>] [--json]` | Probes test suite flakiness across N consecutive iterations with oscillation detection. | `0` (Passed), `1` (Flaky) |
|
|
237
|
-
| `perf` / `event-loop` | `agentctl perf [--max-ms <n>] [--cmd <testCmd>] [--json]` | Monitors Node.js Event Loop delay and Big-O lag to prevent main-thread event loop starvation. | `0` (Healthy), `1` (Lag Exceeded) |
|
|
238
|
-
| `fix` | `agentctl fix [--file <path>] [--task] [--dry-run] [--json]` | Auto-repairs failure traces from piped stdin (`npm test 2>&1 \| agentctl fix`) or synthesizes OODA queue tasks. | `0` (Resolved), `1` (Failed) |
|
|
239
|
-
| `rules` | `agentctl rules <check\|compile> [--out <path>] [--json]` | Audits instruction files against character/line budgets or compiles unified rules block with SHA-256 and length anti-truncation sentinels. | `0` (Valid/Compiled), `1` (Violations) |
|
|
240
|
-
| `assert` | `agentctl assert [--dir <d>] [--file <f>] [--max-mb <n>] [--gzip] [--targets <g>] [--patterns <p>] [--json] [--json-report <p>]` | Runs declarative zero-dependency verification assertion primitives (`assert:dir-size`, `assert:file-size`, `assert:file-patterns`, `assert:exists`, `assert:mutation`, `assert:test-integrity`, `assert:diff-coverage`, `assert:test-stability`, `assert:event-loop-lag`). | `0` (Passed), `1` (Assertion Failed) |
|
|
241
|
-
| `rollback` | `agentctl rollback [sessionId \| --latest]` | Restores exact commit, uncommitted files, and cleans orphan task worktrees from pre-flight checkpoints. | `0` (Restored), `1` (Error) |
|
|
242
|
-
| `resume` | `agentctl resume <sessionId> --response "<reply>"` | Streams engineer response back into active Google Jules warm session context window. | `0` (Resumed), `1` (Error) |
|
|
243
|
-
| `test-gen` | `agentctl test-gen --title <t> --spec <s> [--run]` | Scaffolds falsifiable unit tests, verifies RED failure state, and locks test in `scope.deny`. | `0` (Scaffolded/Red) |
|
|
244
|
-
| `dashboard` | `agentctl dashboard [port]` | Starts zero-dependency local HTTP telemetry and audit visualizer dashboard. | `0` (Running) |
|
|
245
|
-
| `evidence` | `agentctl evidence <generate\|verify\|show>` | Generates, verifies, or prints SHA-256 evidence manifests (unkeyed digests: tamper-evident, not signed) with test-tamper locking. | `0` (Verified), `1` (Tamper) |
|
|
246
|
-
| `flaky` | `agentctl flaky <status\|heal\|reset>` | Manages Wilson-quarantined tests (Exit Code 8) and dispatches automated anti-flakiness healing swarms. | `0` (Healed/Listed) |
|
|
247
|
-
| `mcp` | `agentctl mcp` | Starts stdio Model Context Protocol (MCP) server for Claude, Cursor, and Antigravity. | `0` / Stdio stream |
|
|
248
|
-
| `mcp init` | `agentctl mcp init [--target cursor\|vscode\|claude\|all]` | 1-click config scaffolding for Cursor (`.cursor/mcp.json`), VS Code tasks (`tasks.json`), and Claude Desktop. | `0` (Scaffolded) |
|
|
249
|
-
|
|
250
|
-
<br/>
|
|
251
|
-
|
|
252
|
-
---
|
|
253
|
-
|
|
254
|
-
<br/>
|
|
255
|
-
|
|
256
|
-
<a id="deep-dives"></a>
|
|
257
|
-
## Deep Dives & Technical Reference
|
|
258
|
-
|
|
259
|
-
<details>
|
|
260
|
-
<summary><b>Configuration Reference (<code>.agent/config.yml</code>)</b></summary>
|
|
261
|
-
|
|
262
|
-
<br/>
|
|
263
|
-
|
|
264
|
-
`jules-orchestrator-kit` auto-detects stack defaults, but allows explicit overrides through `.agent/config.yml`:
|
|
265
|
-
|
|
266
|
-
```yaml
|
|
267
|
-
# .agent/config.yml — Universal Orchestrator Configuration
|
|
268
|
-
|
|
269
|
-
version: 1
|
|
270
|
-
provider: "jules" # Provider key ("jules" | "claude-code" | "codex" | "gemini-flash")
|
|
271
|
-
baseBranch: "main" # Default target base branch
|
|
272
|
-
branchPrefix: "agent/" # Prefix for task branches
|
|
273
|
-
|
|
274
|
-
# Verification commands (auto-detected by Stack Detector if omitted)
|
|
275
|
-
verify:
|
|
276
|
-
test: "npm test"
|
|
277
|
-
build: "npm run build"
|
|
278
|
-
timeout_ms: 300000 # Per-stage kill time in ms (default 300000)
|
|
279
|
-
minTests: 1 # Floor for "the suite actually ran" (0 disables)
|
|
280
|
-
required: true # false = this repo uses only the scope/secret phases
|
|
281
|
-
|
|
282
|
-
# Scope protection rules (Deny-first evaluation)
|
|
283
|
-
scope:
|
|
284
|
-
deny:
|
|
285
|
-
- ".github/**"
|
|
286
|
-
- "keys/**"
|
|
287
|
-
|
|
288
|
-
# Plan tier. Defaults to `free` when unset — the kit will not assume you are
|
|
289
|
-
# paying for a larger plan than you are. Set this to unlock your real limits.
|
|
290
|
-
tier: "free" # free | pro | ultra
|
|
291
|
-
|
|
292
|
-
# Risk model for auto-merge triage. Builtin patterns cover what is dangerous in
|
|
293
|
-
# any repository (CI, lockfiles, migrations, key material, IaC, auth). Add the
|
|
294
|
-
# paths that are sensitive to YOUR domain — these EXTEND the builtins.
|
|
295
|
-
risk:
|
|
296
|
-
restricted: # R3 — never auto-merged
|
|
297
|
-
- "**/pricing/**"
|
|
298
|
-
- "**/billing/**"
|
|
299
|
-
consequential: # R2 — always requires a human read
|
|
300
|
-
- "packages/api/**"
|
|
301
|
-
max_routine_diff_lines: 400
|
|
302
|
-
|
|
303
|
-
# Operational limits & governors (tier defaults shown; any key here overrides)
|
|
304
|
-
limits:
|
|
305
|
-
diffKb: 75 # Diff Payload Governor limit
|
|
306
|
-
promptKb: 50 # Maximum prompt payload size
|
|
307
|
-
dailyTasks: 300 # Task quota per rolling 24h window (not per calendar day)
|
|
308
|
-
repairAttempts: 3 # Maximum repair iterations
|
|
309
|
-
concurrency: 15 # Worker slots (defaults free: 3, pro: 8, ultra: 15)
|
|
310
|
-
|
|
311
|
-
# Dynamic Complexity & Cost Router — opt-in, disabled by default.
|
|
312
|
-
router:
|
|
313
|
-
enabled: false
|
|
314
|
-
fast: "gemini-flash" # Trivial/mechanical tasks (score <= threshold)
|
|
315
|
-
complex: "jules" # Complex/multi-file/safety-sensitive tasks
|
|
316
|
-
threshold: 0 # Heuristic score threshold for escalation
|
|
64
|
+
```bash
|
|
65
|
+
npx jules-orchestrator-kit task create \
|
|
66
|
+
--prompt "Refactor invoice calculation without changing totals" \
|
|
67
|
+
--verify "npm test"
|
|
317
68
|
```
|
|
318
69
|
|
|
319
|
-
|
|
70
|
+
Replace the example objective and test command with your project's requirements.
|
|
71
|
+
A task envelope is a Markdown file under `.agent/jules-queue/` containing the
|
|
72
|
+
objective, scope and verification command. Review it before sending it to an agent.
|
|
320
73
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
<summary><b>26+ Supported Languages, Frameworks & Stacks</b></summary>
|
|
325
|
-
|
|
326
|
-
<br/>
|
|
74
|
+
```bash
|
|
75
|
+
# Preview queued work without dispatching it
|
|
76
|
+
npx jules-orchestrator-kit queue --dry-run
|
|
327
77
|
|
|
78
|
+
# Send the reviewed task, using the path printed by task create
|
|
79
|
+
npx jules-orchestrator-kit dispatch ".agent/jules-queue/TASK-<id>.md"
|
|
328
80
|
```
|
|
329
|
-
Ecosystems Natively Detected & Verified by Stack Detector:
|
|
330
|
-
├── Python / Django (pyproject.toml, requirements.txt, setup.py, manage.py)
|
|
331
|
-
├── Systems / Rust Cargo (Cargo.toml)
|
|
332
|
-
├── Systems / Go (go.mod)
|
|
333
|
-
├── Systems / CMake & Make (CMakeLists.txt, Makefile)
|
|
334
|
-
├── JS / TS Workspaces (turbo.json, pnpm-workspace.yaml, nx.json)
|
|
335
|
-
├── JS / TS Runtimes (bunfig.toml, deno.json, package.json)
|
|
336
|
-
├── PHP / Laravel / WordPress (composer.json, phpunit.xml, pest.php, artisan, wp-cli.yml)
|
|
337
|
-
├── .NET / C# / F# (*.sln, *.csproj, *.fsproj, global.json)
|
|
338
|
-
├── Mobile / Dart / Flutter (pubspec.yaml)
|
|
339
|
-
├── Mobile / Swift / Xcode (Package.swift)
|
|
340
|
-
├── Mobile / React Native (app.json, react-native.config.js)
|
|
341
|
-
├── Web3 / Solidity Foundry (foundry.toml, remappings.txt) — offline-enforced
|
|
342
|
-
├── Web3 / Solidity Hardhat (hardhat.config.js, hardhat.config.ts)
|
|
343
|
-
├── Elixir / Phoenix (mix.exs)
|
|
344
|
-
├── Ruby / Rails (Gemfile)
|
|
345
|
-
├── Java / Maven & Gradle (pom.xml, build.gradle, build.gradle.kts)
|
|
346
|
-
└── Devcontainers & Docker Compose (.devcontainer/devcontainer.json, docker-compose.yml, Dockerfile)
|
|
347
|
-
```
|
|
348
|
-
|
|
349
|
-
</details>
|
|
350
|
-
|
|
351
|
-
<br/>
|
|
352
|
-
|
|
353
|
-
<details>
|
|
354
|
-
<summary><b>System Architecture & Verification Diagrams</b></summary>
|
|
355
|
-
|
|
356
|
-
<br/>
|
|
357
81
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
</p>
|
|
82
|
+
Replace `TASK-<id>.md` with the actual filename. Dispatch can use provider quota
|
|
83
|
+
or incur provider costs. Jules can pause for plan approval; see the
|
|
84
|
+
[Jules notes](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/providers/jules.md).
|
|
362
85
|
|
|
363
|
-
###
|
|
364
|
-
<p align="center">
|
|
365
|
-
<img src="docs/assets/ooda-loop-cycle.svg" alt="Autonomous Verification & Repair Loop" width="100%" />
|
|
366
|
-
</p>
|
|
86
|
+
### 4. Verify and review the changes
|
|
367
87
|
|
|
368
|
-
|
|
369
|
-
<p align="center">
|
|
370
|
-
<img src="docs/assets/monorepo-resolver.svg" alt="Polyglot Monorepo Scoped Boundary Resolver" width="100%" />
|
|
371
|
-
</p>
|
|
88
|
+
Once the provider's changes are available on your local branch:
|
|
372
89
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
</p>
|
|
377
|
-
|
|
378
|
-
</details>
|
|
379
|
-
|
|
380
|
-
<br/>
|
|
381
|
-
|
|
382
|
-
<details>
|
|
383
|
-
<summary><b>Multi-Provider Failover & Cost Router SDK</b></summary>
|
|
384
|
-
|
|
385
|
-
<br/>
|
|
90
|
+
```bash
|
|
91
|
+
npx jules-orchestrator-kit gate
|
|
92
|
+
```
|
|
386
93
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
94
|
+
Inspect the gate report and the complete diff before merging. For hosted Jules,
|
|
95
|
+
fetch and check out the resulting branch first; local CLI providers leave changes
|
|
96
|
+
in the working tree. Creating or dispatching an envelope does not verify the result.
|
|
390
97
|
|
|
391
|
-
|
|
392
|
-
|
|
98
|
+
For direct `agentctl` commands, install globally with
|
|
99
|
+
`npm install -g jules-orchestrator-kit`. All examples above also work as
|
|
100
|
+
`agentctl <command>` after installation.
|
|
393
101
|
|
|
394
|
-
|
|
395
|
-
{ title: "Repair failing tests", prompt: "Fix the failing test suite." },
|
|
396
|
-
{ root: process.cwd() }
|
|
397
|
-
);
|
|
398
|
-
```
|
|
102
|
+
## Key workflows
|
|
399
103
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
104
|
+
| Goal | Command |
|
|
105
|
+
| --- | --- |
|
|
106
|
+
| Inspect provider setup | `agentctl providers` |
|
|
107
|
+
| Create a scoped task | `agentctl task create` |
|
|
108
|
+
| Preview queued work | `agentctl queue --dry-run` |
|
|
109
|
+
| Check changes locally | `agentctl gate` |
|
|
110
|
+
| Verify and request repairs | `agentctl gate --fix` |
|
|
111
|
+
| Diagnose setup | `agentctl doctor` |
|
|
112
|
+
| Inspect a command's flags | `agentctl help <command>` |
|
|
403
113
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
config
|
|
408
|
-
);
|
|
409
|
-
console.log(classification.tier); // "fast" | "complex"
|
|
410
|
-
```
|
|
114
|
+
Start with small changes and an observable acceptance condition. Visual decisions,
|
|
115
|
+
production credentials and integration environments need explicit human setup.
|
|
116
|
+
See [task examples](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/EXAMPLES.md).
|
|
411
117
|
|
|
412
|
-
|
|
413
|
-
`resolveRoutedProvider()` already wraps the FAST tier with this; use it directly only when composing your own provider cascade.
|
|
414
|
-
```javascript
|
|
415
|
-
import { createProvider, createSyntaxVerifiedProvider, loadConfig } from "jules-orchestrator-kit";
|
|
416
|
-
|
|
417
|
-
const config = loadConfig(process.cwd());
|
|
418
|
-
const fast = createSyntaxVerifiedProvider(
|
|
419
|
-
createProvider("gemini-flash", config),
|
|
420
|
-
createProvider("jules", config),
|
|
421
|
-
config
|
|
422
|
-
);
|
|
423
|
-
|
|
424
|
-
// If gemini-flash leaves broken .js/.mjs/.cjs on disk, this transparently
|
|
425
|
-
// re-dispatches through "jules" instead of returning the broken result.
|
|
426
|
-
const result = await fast.dispatch({ prompt: "Fix a typo." }, { root: process.cwd() });
|
|
427
|
-
```
|
|
118
|
+
## Verification profiles
|
|
428
119
|
|
|
429
|
-
|
|
120
|
+
| Profile | Verification stages |
|
|
121
|
+
| --- | --- |
|
|
122
|
+
| `minimal` | Setup and tests |
|
|
123
|
+
| `standard` | Setup, lint, tests, build and diff anti-tamper checks |
|
|
124
|
+
| `max` | Standard stages plus mutation scoring, Node V8 diff coverage and flakiness probes |
|
|
430
125
|
|
|
431
|
-
|
|
126
|
+
Select with `agentctl profile --set standard`. Stages depend on the detected stack
|
|
127
|
+
and configuration; unsupported checks are reported. Review those diagnostics
|
|
128
|
+
rather than assuming every profile runs every check on every language.
|
|
432
129
|
|
|
433
|
-
|
|
434
|
-
|
|
130
|
+
Local checks do not require a provider API key. The project's configured commands
|
|
131
|
+
may themselves need dependencies, services or network access. Automated repairs
|
|
132
|
+
require a provider.
|
|
435
133
|
|
|
436
|
-
|
|
134
|
+
## Architecture
|
|
437
135
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
| **Cold-Start Hardened Kernel & Tamper Defense** | `src/config.mjs`, `src/engine.mjs`, `src/git.mjs`, `src/security.mjs` | Full remediation of 22 cold-start audit findings (F01–F22): authoritative base policy resolution, ephemeral snapshot worktree isolation, canonical root test tamper guard, conditional assertion defense, multi-target Cargo test aggregation, Python src-layout injection, and complete repository uninstall documentation. | **v0.72.0** *(Shipped)* |
|
|
443
|
-
| **Silence Is Not A Suite & Scaffolding Linter Fixes** | `src/ops/test-collection.mjs`, `src/wizard-init.mjs`, `src/config.mjs` | Reject zero-output test suite commands, quote-aware YAML parser with scalar emission, test de-registration detection (`TEST_DEREGISTERED`), and active waiver telemetry banner. | **v0.71.0** *(Shipped)* |
|
|
444
|
-
| **Terminal State Classification & Error Diagnostics** | `src/engine.mjs`, `src/session-ops.mjs` | Triple-verdict session resolution (terminal, blocked, timed-out), diagnostic extraction for failed session retries (`AssertionError`, tracebacks), and 22-case session polling contract. | **v0.70.0** *(Shipped)* |
|
|
445
|
-
| **Expected-Value Scanning & Safe Scaffolding** | `src/security.mjs`, `src/wizard-init.mjs` | Multi-language expected-value first assertions (JUnit/PHPUnit), prefix-aware test rename verification, and rejection of empty/trivial verification oracles. | **v0.69.0** *(Shipped)* |
|
|
446
|
-
| **Dialect Hardening & Scope Protection** | `src/security.mjs`, `src/config.mjs`, `scripts/guard-reach-check.mjs` | Unreadable test dialects fail closed, lockfiles and toolchain pins guarded against silent tampering, and 59-canary activation coverage gate in CI. | **v0.63.0** *(Shipped)* |
|
|
447
|
-
| **Process-Group Reaping & Subprocess Lifecycles** | `scripts/run-tests.mjs`, `src/git.mjs` | Tree-wide process group cleanup on interruption and zero-output test collection guards. | **v0.60.0** *(Shipped)* |
|
|
136
|
+
The dispatch pipeline builds task context and calls a provider. The verification
|
|
137
|
+
pipeline evaluates scope, payload, security findings and configured commands.
|
|
138
|
+
The repository and local state connect them. The package exposes an ESM SDK and a
|
|
139
|
+
stdio MCP server alongside the CLI.
|
|
448
140
|
|
|
449
|
-
|
|
141
|
+
See [architecture and exit codes](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/architecture.md)
|
|
142
|
+
and [SDK/MCP integration](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/sdk.md).
|
|
450
143
|
|
|
451
|
-
|
|
144
|
+
## CLI
|
|
452
145
|
|
|
453
|
-
|
|
146
|
+
| Command | Description |
|
|
147
|
+
| --- | --- |
|
|
148
|
+
| `dashboard` | Local telemetry viewer; default port 4100. Set another port with `--port <n>`. |
|
|
454
149
|
|
|
455
|
-
<br/>
|
|
456
150
|
|
|
457
|
-
|
|
151
|
+
The [command reference](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/COMMAND_REFERENCE.md)
|
|
152
|
+
is generated from the registry used by `--help`. It covers dispatch, queues,
|
|
153
|
+
verification, evidence, diagnostics and the supported aliases.
|
|
458
154
|
|
|
459
|
-
|
|
155
|
+
## Development and verification
|
|
460
156
|
|
|
461
|
-
|
|
157
|
+
Clone this repository to run its tests; the npm package excludes the test suite.
|
|
462
158
|
|
|
463
|
-
|
|
159
|
+
```bash
|
|
160
|
+
npm ci
|
|
161
|
+
npm test
|
|
162
|
+
npm run lint
|
|
163
|
+
npm run jules:doc-sync
|
|
164
|
+
npm run jules:rules-lint
|
|
165
|
+
npm run package-integrity
|
|
166
|
+
npm run guard-reach
|
|
167
|
+
```
|
|
464
168
|
|
|
465
|
-
|
|
169
|
+
The recorded baseline is **1530 unit tests across 204 suites**. Doc-sync compares
|
|
170
|
+
that count with an actual run. Counts do not establish correctness for every
|
|
171
|
+
provider or project. See
|
|
172
|
+
[contributing](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/CONTRIBUTING.md)
|
|
173
|
+
for the review process.
|
|
466
174
|
|
|
467
|
-
|
|
468
|
-
- **Core configuration and rules:** `.agent/config.yml` (or `.agent/jules.yml`), `.agent/rules/`, `.agent/prompts/`, `.agent/workflows/`, and `AGENTS.md`.
|
|
469
|
-
- **System contracts:** `SPEC.md`, `CONSTRAINTS.md` (and optional `DESIGN.md`).
|
|
470
|
-
- **Queue runtime stub:** `.agent/jules-queue/README.md`.
|
|
471
|
-
- **Optional IDE & CI integrations:** `.github/workflows/agent-gate.yml`, `.gitlab-ci.agent-gate.yml`, and `.cursor/rules/jules.mdc`.
|
|
175
|
+
## Documentation and removal
|
|
472
176
|
|
|
473
|
-
|
|
177
|
+
- [Documentation index](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/README.md)
|
|
178
|
+
- [Configuration](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/configuration.md)
|
|
179
|
+
- [Uninstall and generated-file inventory](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/docs/uninstall.md)
|
|
180
|
+
- [Changelog](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/CHANGELOG.md)
|
|
181
|
+
- [Security policy](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/SECURITY.md)
|
|
474
182
|
|
|
475
|
-
|
|
476
|
-
- `.agent/evidence/` — Cryptographic evidence manifests and stage run recordings.
|
|
477
|
-
- `.agent/state/` — Flaky test ledgers, budget trackers, and escalation queues.
|
|
478
|
-
- `.agent/worktrees/` — Isolated snapshot worktrees used by the verification sandbox.
|
|
479
|
-
- `.agent/history/` and `.agent/handovers/` — Local agent session memories.
|
|
183
|
+
## Complete Uninstall / Removing the Kit (Undo Init)
|
|
480
184
|
|
|
481
|
-
|
|
185
|
+
`agentctl clean` performs operational maintenance; it is not an uninstaller.
|
|
186
|
+
First identify which files setup created and which files already belonged to your
|
|
187
|
+
project. For shared files, remove only the kit's additions using Git history.
|
|
482
188
|
|
|
483
|
-
|
|
189
|
+
For a repository where **all listed paths belong exclusively to the kit**, remove
|
|
190
|
+
the tracked scaffold and runtime state as follows. Adapt this list first if any
|
|
191
|
+
path contains your own instructions, configuration or queued work:
|
|
484
192
|
|
|
485
193
|
```bash
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
.agent \
|
|
489
|
-
AGENTS.md \
|
|
490
|
-
SPEC.md \
|
|
491
|
-
CONSTRAINTS.md \
|
|
492
|
-
DESIGN.md \
|
|
493
|
-
.github/workflows/agent-gate.yml \
|
|
494
|
-
.gitlab-ci.agent-gate.yml \
|
|
495
|
-
.cursor/rules/jules.mdc
|
|
496
|
-
|
|
497
|
-
# 2. Remove untracked runtime directories and temporary caches
|
|
194
|
+
git rm -rf --ignore-unmatch .agent AGENTS.md SPEC.md CONSTRAINTS.md DESIGN.md \
|
|
195
|
+
.github/workflows/agent-gate.yml .gitlab-ci.agent-gate.yml .cursor/rules/jules.mdc
|
|
498
196
|
rm -rf .agent .agentctl
|
|
499
|
-
|
|
500
|
-
# 3. Clean up .gitignore additions
|
|
501
|
-
# Revert the appended "# Jules Orchestrator runtime state & credentials" block from .gitignore
|
|
502
|
-
git checkout .gitignore # If .gitignore had no other unstaged changes, or edit by hand
|
|
503
|
-
|
|
504
|
-
# 4. Optional: Uninstall global CLI package
|
|
505
197
|
npm uninstall -g jules-orchestrator-kit
|
|
506
198
|
```
|
|
507
199
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
---
|
|
511
|
-
|
|
512
|
-
<br/>
|
|
513
|
-
|
|
514
|
-
## 📖 Documentation & External References
|
|
515
|
-
|
|
516
|
-
- [**System Architecture & Pipeline Overview**](./docs/architecture.md) — Comprehensive technical sequence diagrams and control plane specifications.
|
|
517
|
-
- [**Google Jules Official Documentation**](https://jules.google) — Official platform overview and API specifications for Google Jules.
|
|
518
|
-
- [**Examples & Task Envelope Recipes**](./EXAMPLES.md) — Production YAML and Markdown task envelopes.
|
|
519
|
-
- [**Changelog**](./CHANGELOG.md) — Full release history and migration guides.
|
|
520
|
-
|
|
521
|
-
<br/>
|
|
522
|
-
|
|
523
|
-
---
|
|
524
|
-
|
|
525
|
-
<br/>
|
|
526
|
-
|
|
527
|
-
## ⚖️ Disclaimer
|
|
528
|
-
|
|
529
|
-
`jules-orchestrator-kit` is an independent, community-driven open-source project and is not affiliated with, endorsed by, or sponsored by Google, Google LLC, or Alphabet Inc. "Google", "Google Jules", and related marks are trademarks of Google LLC.
|
|
530
|
-
|
|
531
|
-
<br/>
|
|
532
|
-
|
|
533
|
-
---
|
|
200
|
+
Remove the kit's appended `.gitignore` block while preserving other entries.
|
|
201
|
+
See the uninstall guide for the complete inventory.
|
|
534
202
|
|
|
535
|
-
|
|
203
|
+
## Limitations and attribution
|
|
536
204
|
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
205
|
+
Secret scanning, test-tamper detection and prompt transformations are checks with
|
|
206
|
+
coverage limits, not a security guarantee. Prompt substitutions can change meaning;
|
|
207
|
+
review exact operational instructions. See the Jules notes for details.
|
|
540
208
|
|
|
209
|
+
Maintained by Jonas Pudas with agent-assisted contributions recorded in Git history
|
|
210
|
+
and the [contributors ledger](https://github.com/FullThrottle83/jules-orchestrator-kit/blob/main/CONTRIBUTORS.md).
|
|
211
|
+
Licensed under MIT. This independent project is not affiliated with or endorsed by
|
|
212
|
+
Google; Google and Google Jules are trademarks of their respective owners.
|