sneakoscope 1.18.8 → 1.18.10
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/README.md +30 -6
- package/crates/sks-core/Cargo.lock +1 -1
- package/crates/sks-core/Cargo.toml +1 -1
- package/crates/sks-core/src/main.rs +1 -1
- package/dist/.sks-build-stamp.json +4 -4
- package/dist/bin/sks.js +6 -2
- package/dist/build-manifest.json +25 -9
- package/dist/commands/image-ux-review.d.ts +162 -2
- package/dist/commands/ppt.d.ts +162 -2
- package/dist/core/agents/agent-codex-cockpit.d.ts +7 -0
- package/dist/core/agents/agent-codex-cockpit.js +33 -0
- package/dist/core/agents/agent-command-surface.d.ts +4 -0
- package/dist/core/agents/agent-command-surface.js +8 -3
- package/dist/core/agents/agent-merge-coordinator.d.ts +62 -1
- package/dist/core/agents/agent-merge-coordinator.js +130 -19
- package/dist/core/agents/agent-orchestrator.d.ts +162 -2
- package/dist/core/agents/agent-orchestrator.js +313 -5
- package/dist/core/agents/agent-output-validator.d.ts +155 -0
- package/dist/core/agents/agent-output-validator.js +62 -0
- package/dist/core/agents/agent-patch-apply-worker.d.ts +44 -0
- package/dist/core/agents/agent-patch-apply-worker.js +218 -51
- package/dist/core/agents/agent-patch-conflict-rebase.d.ts +37 -0
- package/dist/core/agents/agent-patch-conflict-rebase.js +111 -0
- package/dist/core/agents/agent-patch-proof.d.ts +25 -0
- package/dist/core/agents/agent-patch-proof.js +122 -1
- package/dist/core/agents/agent-patch-queue-store.d.ts +25 -0
- package/dist/core/agents/agent-patch-queue-store.js +90 -0
- package/dist/core/agents/agent-patch-queue.d.ts +48 -16
- package/dist/core/agents/agent-patch-queue.js +28 -7
- package/dist/core/agents/agent-patch-schema.d.ts +25 -1
- package/dist/core/agents/agent-patch-schema.js +51 -2
- package/dist/core/agents/agent-patch-transaction-journal.d.ts +55 -0
- package/dist/core/agents/agent-patch-transaction-journal.js +112 -0
- package/dist/core/agents/agent-proof-evidence.d.ts +37 -0
- package/dist/core/agents/agent-proof-evidence.js +97 -1
- package/dist/core/agents/agent-runner-codex-exec.d.ts +4 -0
- package/dist/core/agents/agent-runner-codex-exec.js +12 -4
- package/dist/core/agents/agent-runner-fake.d.ts +1 -0
- package/dist/core/agents/agent-runner-fake.js +48 -0
- package/dist/core/agents/agent-runner-process.js +10 -2
- package/dist/core/agents/agent-runner-tmux.js +9 -1
- package/dist/core/agents/agent-scheduler.js +9 -4
- package/dist/core/agents/agent-schema.d.ts +27 -1
- package/dist/core/agents/agent-task-graph.d.ts +13 -11
- package/dist/core/agents/agent-task-graph.js +12 -2
- package/dist/core/agents/agent-trust-report.d.ts +14 -0
- package/dist/core/agents/agent-trust-report.js +23 -0
- package/dist/core/agents/agent-work-partition.d.ts +23 -2
- package/dist/core/agents/agent-work-partition.js +29 -3
- package/dist/core/agents/agent-worker-pipeline.d.ts +9 -0
- package/dist/core/agents/agent-worker-pipeline.js +49 -2
- package/dist/core/agents/agent-worker-slot.js +3 -1
- package/dist/core/agents/fast-mode-policy.d.ts +41 -0
- package/dist/core/agents/fast-mode-policy.js +144 -0
- package/dist/core/agents/native-cli-session-proof.d.ts +31 -0
- package/dist/core/agents/native-cli-session-proof.js +102 -0
- package/dist/core/agents/native-cli-session-swarm.d.ts +64 -0
- package/dist/core/agents/native-cli-session-swarm.js +218 -0
- package/dist/core/agents/native-cli-worker.d.ts +4 -0
- package/dist/core/agents/native-cli-worker.js +249 -0
- package/dist/core/agents/no-subagent-scaling-policy.d.ts +19 -0
- package/dist/core/agents/no-subagent-scaling-policy.js +33 -0
- package/dist/core/agents/route-collaboration-ledger.d.ts +162 -2
- package/dist/core/agents/work-partition/lease-planner.d.ts +21 -1
- package/dist/core/agents/work-partition/lease-planner.js +26 -3
- package/dist/core/codex/appshots-detector.d.ts +35 -0
- package/dist/core/codex/appshots-detector.js +61 -5
- package/dist/core/commands/agent-command.d.ts +1 -1
- package/dist/core/commands/agent-command.js +61 -2
- package/dist/core/commands/image-ux-review-command.d.ts +162 -2
- package/dist/core/commands/ppt-command.d.ts +162 -2
- package/dist/core/fsx.d.ts +1 -1
- package/dist/core/fsx.js +1 -1
- package/dist/core/mcp/mcp-0-134-policy.d.ts +34 -0
- package/dist/core/mcp/mcp-0-134-policy.js +74 -0
- package/dist/core/proof/fake-real-proof-policy.js +10 -0
- package/dist/core/proof/runtime-truth-matrix.d.ts +1 -1
- package/dist/core/proof/runtime-truth-matrix.js +16 -3
- package/dist/core/routes.js +1 -1
- package/dist/core/source-intelligence/appshots-evidence.d.ts +11 -1
- package/dist/core/source-intelligence/appshots-evidence.js +19 -2
- package/dist/core/source-intelligence/source-intelligence-runner.d.ts +14 -0
- package/dist/core/source-intelligence/source-intelligence-runner.js +1 -0
- package/dist/core/strategy/adhd-orchestrating-gate.js +1 -1
- package/dist/core/strategy/strategy-compiler.d.ts +23 -0
- package/dist/core/strategy/strategy-compiler.js +120 -5
- package/dist/core/trust-kernel/trust-status.d.ts +1 -1
- package/dist/core/verification/verification-dag.js +23 -3
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/dist/scripts/release-parallel-check.js +32 -3
- package/package.json +34 -4
- package/schemas/codex/agent-result.schema.json +68 -0
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Set up this agent project with Sneakoscope Codex. Use [[mandarange/Sneakoscope-C
|
|
|
16
16
|
|
|
17
17
|
## Current Release
|
|
18
18
|
|
|
19
|
-
SKS **1.18.
|
|
19
|
+
SKS **1.18.10** hardens the Patch Swarm runtime closure: patch truth now requires route execution, transaction journal evidence, conflict rebase results, strict strategy-to-patch wiring, verification, rollback proof, and final proof rather than route flags alone. It also closes the Native CLI Session Swarm addendum: `--agents N` now means N real `sks --agent worker` child CLI processes, not Codex internal subagent/scout counts, and Fast mode is the default service tier for agent workers, Codex exec children, tmux workers, and MAD target workers unless explicitly disabled.
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
sks mad-sks plan --target-root <path> --json
|
|
@@ -44,11 +44,28 @@ npm run strategy:adhd-orchestrating-gate
|
|
|
44
44
|
npm run strategy:parallel-modification-plan
|
|
45
45
|
npm run appshots:evidence
|
|
46
46
|
npm run appshots:source-intelligence
|
|
47
|
+
npm run appshots:thread-attachment-discovery
|
|
47
48
|
npm run mcp:0.134-modernization
|
|
48
|
-
npm run mcp:readonly-
|
|
49
|
+
npm run mcp:readonly-runtime-scheduler
|
|
50
|
+
npm run codex:0.134-runner-truth
|
|
49
51
|
npm run source-intelligence:codex-history-search
|
|
50
|
-
npm run agent:parallel-write-kernel
|
|
51
|
-
npm run
|
|
52
|
+
npm run agent:parallel-write-kernel
|
|
53
|
+
npm run agent:patch-swarm-runtime-truth
|
|
54
|
+
npm run agent:patch-transaction-journal
|
|
55
|
+
npm run agent:patch-conflict-rebase
|
|
56
|
+
npm run agent:strategy-to-patch-strict
|
|
57
|
+
npm run agent:rollback-command
|
|
58
|
+
npm run agent:native-cli-session-swarm
|
|
59
|
+
npm run agent:native-cli-session-swarm-10
|
|
60
|
+
npm run agent:native-cli-session-swarm-20
|
|
61
|
+
npm run agent:no-subagent-scaling
|
|
62
|
+
npm run agent:native-cli-session-proof
|
|
63
|
+
npm run agent:fast-mode-default
|
|
64
|
+
npm run agent:fast-mode-worker-propagation
|
|
65
|
+
npm run codex:fast-mode-profile-propagation
|
|
66
|
+
npm run mad-sks:fast-mode-propagation
|
|
67
|
+
SKS_TEST_REAL_CODEX_PATCHES=1 npm run agent:real-codex-patch-envelope-smoke
|
|
68
|
+
npm run release:gate-existence-audit
|
|
52
69
|
npm run route:blackbox-realism
|
|
53
70
|
npm run release:real-check
|
|
54
71
|
npm run agent:backfill-route-blackbox
|
|
@@ -111,8 +128,13 @@ The cleanup contract is policy-backed in `.sneakoscope/policy.json`, but the def
|
|
|
111
128
|
- ADHD orchestration gate: [docs/adhd-orchestrating-gate.md](docs/adhd-orchestrating-gate.md)
|
|
112
129
|
- Strategy-first parallel write: [docs/strategy-first-parallel-write.md](docs/strategy-first-parallel-write.md)
|
|
113
130
|
- Appshots pipeline: [docs/appshots-pipeline.md](docs/appshots-pipeline.md)
|
|
131
|
+
- Appshots thread attachments: [docs/appshots-thread-attachments.md](docs/appshots-thread-attachments.md)
|
|
132
|
+
- MCP readOnly scheduler: [docs/mcp-readonly-scheduler.md](docs/mcp-readonly-scheduler.md)
|
|
114
133
|
- Parallel write agents: [docs/parallel-write-agents.md](docs/parallel-write-agents.md)
|
|
115
134
|
- Agent patch queue: [docs/agent-patch-queue.md](docs/agent-patch-queue.md)
|
|
135
|
+
- Native CLI Session Swarm: [docs/native-cli-session-swarm.md](docs/native-cli-session-swarm.md)
|
|
136
|
+
- No-subagent scaling: [docs/no-subagent-scaling.md](docs/no-subagent-scaling.md)
|
|
137
|
+
- Fast mode default: [docs/fast-mode-default.md](docs/fast-mode-default.md)
|
|
116
138
|
- Migration 1.18.7 to 1.18.8: [docs/migration-1.18.7-to-1.18.8.md](docs/migration-1.18.7-to-1.18.8.md)
|
|
117
139
|
- Codex official Goal mode: [docs/codex-official-goal-mode.md](docs/codex-official-goal-mode.md)
|
|
118
140
|
- Release parallel full coverage: [docs/release-parallel-full-coverage.md](docs/release-parallel-full-coverage.md)
|
|
@@ -390,7 +412,9 @@ sks agent run "wide release audit" --route '$Release-Review' --agents 10 --concu
|
|
|
390
412
|
sks agent run "real one-agent smoke" --backend codex-exec --real --agents 1 --concurrency 1 --json
|
|
391
413
|
```
|
|
392
414
|
|
|
393
|
-
Defaults are intentionally bounded: 5 agents, maximum 20, and a separate `--concurrency` cap
|
|
415
|
+
Defaults are intentionally bounded but not subagent-limited: 5 agents by default, maximum 20 native CLI worker sessions, and a separate `--concurrency` cap. When enough work exists, `--agents 10 --concurrency 10` and `--agents 20 --concurrency 20` must create 10 or 20 independent child processes using `node dist/bin/sks.js --agent worker --intake <worker-intake.json> --json`. The parent orchestrator writes `agents/agent-roster.json`, `agents/agent-effort-policy.json`, `agents/agent-task-board.json`, `agents/agent-leases.json`, `agents/agent-no-overlap-proof.json`, `agents/agent-native-cli-session-swarm.json`, `agents/native-cli-session-proof.json`, `agents/no-subagent-scaling-policy.json`, `agents/fast-mode-propagation-proof.json`, `agents/agent-cleanup.json`, and `agents/agent-proof-evidence.json` under the mission.
|
|
416
|
+
|
|
417
|
+
Native worker sessions write independent artifact directories under `agents/sessions/<slot>/gen-<n>/worker/`, including heartbeat, process report, close report, patch envelope or no-patch reason, recursion guard, and Fast mode proof. Codex internal subagent/scout events may be cockpit evidence, but they are never counted as SKS worker sessions.
|
|
394
418
|
|
|
395
419
|
Manual fan-out syntax:
|
|
396
420
|
|
|
@@ -676,7 +700,7 @@ npm run release:check
|
|
|
676
700
|
npm run publish:dry
|
|
677
701
|
```
|
|
678
702
|
|
|
679
|
-
`release:check` runs the 1.18.
|
|
703
|
+
`release:check` runs the 1.18.10 route-truth closure DAG, writes a source digest stamp under `.sneakoscope/reports/`, then refreshes release readiness so publish commands can verify the same stamp. The DAG preserves the 1.18 baseline gates and adds patch swarm runtime truth, transaction journaling, serial conflict rebase, strict strategy-to-patch proof, rollback command proof, Native CLI Session Swarm 5/10/20-process proof, no-subagent-scaling proof, Fast mode default/worker/Codex/MAD propagation proof, Appshots attachment provenance, MCP runtime overlap evidence, Codex 0.134 runner truth, task graph expansion, schema-bound follow-up work, actual Agent/Team/Research/QA route blackboxes, scheduler proof hardening, tmux lane proof, Source Intelligence propagation, and Goal mode propagation checks. Broader live gates remain explicit scripts such as `release:real-check`; real Codex patch smoke is optional unless `SKS_REQUIRE_REAL_CODEX_PATCHES=1`. Generate the human-readable registry with `sks features inventory --write-docs`. Plain `npm publish` uses the `latest` dist-tag. npm's `prepublishOnly` verifies the fresh release stamp instead of rerunning the full gate, and `prepack` only rebuilds `dist`; publish no longer repeats the expensive release suite during packaging. `npm run publish:dry` remains the explicit dry-run helper.
|
|
680
704
|
|
|
681
705
|
Version bumps are manual. Run `sks versioning bump` only when preparing release metadata; SKS will not create `.git/hooks/pre-commit` or auto-bump during ordinary commits.
|
|
682
706
|
|
|
@@ -4,7 +4,7 @@ use std::io::{self, Read, Seek, SeekFrom};
|
|
|
4
4
|
fn main() {
|
|
5
5
|
let mut args = std::env::args().skip(1);
|
|
6
6
|
match args.next().as_deref() {
|
|
7
|
-
Some("--version") => println!("sks-rs 1.18.
|
|
7
|
+
Some("--version") => println!("sks-rs 1.18.10"),
|
|
8
8
|
Some("compact-info") => {
|
|
9
9
|
let mut input = String::new();
|
|
10
10
|
let _ = io::stdin().read_to_string(&mut input);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "sks.dist-build-stamp.v1",
|
|
3
3
|
"package_name": "sneakoscope",
|
|
4
|
-
"package_version": "1.18.
|
|
5
|
-
"source_digest": "
|
|
6
|
-
"source_file_count":
|
|
7
|
-
"built_at_source_time":
|
|
4
|
+
"package_version": "1.18.10",
|
|
5
|
+
"source_digest": "b3a6c859062e168fd7b9e3684deb0281a4fded2a083f823891a561b8a25ed234",
|
|
6
|
+
"source_file_count": 1588,
|
|
7
|
+
"built_at_source_time": 1779959794132
|
|
8
8
|
}
|
package/dist/bin/sks.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const FAST_PACKAGE_VERSION = '1.18.
|
|
2
|
+
const FAST_PACKAGE_VERSION = '1.18.10';
|
|
3
3
|
const args = process.argv.slice(2);
|
|
4
4
|
try {
|
|
5
|
-
if (args[0] === '--
|
|
5
|
+
if (args[0] === '--agent' && args[1] === 'worker') {
|
|
6
|
+
const { runNativeCliWorkerFromArgs } = await import('../core/agents/native-cli-worker.js');
|
|
7
|
+
await runNativeCliWorkerFromArgs(args.slice(2));
|
|
8
|
+
}
|
|
9
|
+
else if (args[0] === '--version' || args[0] === '-v' || args[0] === 'version') {
|
|
6
10
|
console.log(`sneakoscope ${FAST_PACKAGE_VERSION}`);
|
|
7
11
|
}
|
|
8
12
|
else if (args[0] === 'help' || args[0] === '--help' || args[0] === '-h') {
|
package/dist/build-manifest.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "sks.dist-build.v2",
|
|
3
|
-
"version": "1.18.
|
|
4
|
-
"package_version": "1.18.
|
|
3
|
+
"version": "1.18.10",
|
|
4
|
+
"package_version": "1.18.10",
|
|
5
5
|
"typescript": true,
|
|
6
6
|
"mjs_runtime_files": 0,
|
|
7
|
-
"compiled_file_count":
|
|
8
|
-
"compiled_js_count":
|
|
9
|
-
"compiled_dts_count":
|
|
10
|
-
"source_digest": "
|
|
11
|
-
"source_file_count":
|
|
12
|
-
"source_files_hash": "
|
|
13
|
-
"source_list_hash": "
|
|
7
|
+
"compiled_file_count": 924,
|
|
8
|
+
"compiled_js_count": 462,
|
|
9
|
+
"compiled_dts_count": 462,
|
|
10
|
+
"source_digest": "b3a6c859062e168fd7b9e3684deb0281a4fded2a083f823891a561b8a25ed234",
|
|
11
|
+
"source_file_count": 1588,
|
|
12
|
+
"source_files_hash": "a4275c20221e4bfb67b1de2fc810dc7b13369fbcc5336d5f4b2263a7df596202",
|
|
13
|
+
"source_list_hash": "a4275c20221e4bfb67b1de2fc810dc7b13369fbcc5336d5f4b2263a7df596202",
|
|
14
14
|
"src_mjs_runtime_files": 0,
|
|
15
15
|
"dist_stamp_schema": "sks.dist-build-stamp.v1",
|
|
16
16
|
"files": [
|
|
@@ -224,12 +224,18 @@
|
|
|
224
224
|
"core/agents/agent-output-validator.js",
|
|
225
225
|
"core/agents/agent-patch-apply-worker.d.ts",
|
|
226
226
|
"core/agents/agent-patch-apply-worker.js",
|
|
227
|
+
"core/agents/agent-patch-conflict-rebase.d.ts",
|
|
228
|
+
"core/agents/agent-patch-conflict-rebase.js",
|
|
227
229
|
"core/agents/agent-patch-proof.d.ts",
|
|
228
230
|
"core/agents/agent-patch-proof.js",
|
|
231
|
+
"core/agents/agent-patch-queue-store.d.ts",
|
|
232
|
+
"core/agents/agent-patch-queue-store.js",
|
|
229
233
|
"core/agents/agent-patch-queue.d.ts",
|
|
230
234
|
"core/agents/agent-patch-queue.js",
|
|
231
235
|
"core/agents/agent-patch-schema.d.ts",
|
|
232
236
|
"core/agents/agent-patch-schema.js",
|
|
237
|
+
"core/agents/agent-patch-transaction-journal.d.ts",
|
|
238
|
+
"core/agents/agent-patch-transaction-journal.js",
|
|
233
239
|
"core/agents/agent-persona.d.ts",
|
|
234
240
|
"core/agents/agent-persona.js",
|
|
235
241
|
"core/agents/agent-plan.d.ts",
|
|
@@ -274,8 +280,18 @@
|
|
|
274
280
|
"core/agents/agent-worker-slot.js",
|
|
275
281
|
"core/agents/agent-wrongness.d.ts",
|
|
276
282
|
"core/agents/agent-wrongness.js",
|
|
283
|
+
"core/agents/fast-mode-policy.d.ts",
|
|
284
|
+
"core/agents/fast-mode-policy.js",
|
|
277
285
|
"core/agents/intelligent-work-graph.d.ts",
|
|
278
286
|
"core/agents/intelligent-work-graph.js",
|
|
287
|
+
"core/agents/native-cli-session-proof.d.ts",
|
|
288
|
+
"core/agents/native-cli-session-proof.js",
|
|
289
|
+
"core/agents/native-cli-session-swarm.d.ts",
|
|
290
|
+
"core/agents/native-cli-session-swarm.js",
|
|
291
|
+
"core/agents/native-cli-worker.d.ts",
|
|
292
|
+
"core/agents/native-cli-worker.js",
|
|
293
|
+
"core/agents/no-subagent-scaling-policy.d.ts",
|
|
294
|
+
"core/agents/no-subagent-scaling-policy.js",
|
|
279
295
|
"core/agents/route-collaboration-ledger.d.ts",
|
|
280
296
|
"core/agents/route-collaboration-ledger.js",
|
|
281
297
|
"core/agents/scout-policy.d.ts",
|
|
@@ -391,7 +391,7 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
391
391
|
route: string;
|
|
392
392
|
route_command: string;
|
|
393
393
|
route_blackbox_kind: string;
|
|
394
|
-
backend: "
|
|
394
|
+
backend: "fake" | "process" | "codex-exec" | "tmux";
|
|
395
395
|
ledger_root: string;
|
|
396
396
|
roster: {
|
|
397
397
|
schema: string;
|
|
@@ -511,6 +511,11 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
511
511
|
status: string;
|
|
512
512
|
blockers: string[];
|
|
513
513
|
};
|
|
514
|
+
native_cli_session_proof?: never;
|
|
515
|
+
no_subagent_scaling_policy?: never;
|
|
516
|
+
fast_mode_policy?: never;
|
|
517
|
+
fast_mode_propagation?: never;
|
|
518
|
+
patch_swarm?: never;
|
|
514
519
|
} | {
|
|
515
520
|
schema: string;
|
|
516
521
|
ok: boolean;
|
|
@@ -518,7 +523,7 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
518
523
|
route: string;
|
|
519
524
|
route_command: string;
|
|
520
525
|
route_blackbox_kind: string;
|
|
521
|
-
backend: "
|
|
526
|
+
backend: "fake" | "process" | "codex-exec" | "tmux";
|
|
522
527
|
ledger_root: string;
|
|
523
528
|
roster: {
|
|
524
529
|
schema: string;
|
|
@@ -628,6 +633,8 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
628
633
|
schema: string;
|
|
629
634
|
generated_at: string;
|
|
630
635
|
backend: any;
|
|
636
|
+
service_tier: any;
|
|
637
|
+
fast_mode: boolean;
|
|
631
638
|
result_count: any;
|
|
632
639
|
output_tail_report: string;
|
|
633
640
|
records: any;
|
|
@@ -737,6 +744,20 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
737
744
|
killed_timed_out_sessions: any;
|
|
738
745
|
fake_backend_disclaimer: string | null;
|
|
739
746
|
};
|
|
747
|
+
patch_swarm_runtime: {
|
|
748
|
+
status: string;
|
|
749
|
+
proof: string | null;
|
|
750
|
+
transaction_journal: string | null;
|
|
751
|
+
transaction_journal_summary: string | null;
|
|
752
|
+
transaction_journal_ok: boolean;
|
|
753
|
+
transaction_event_count: any;
|
|
754
|
+
conflict_rebase: string | null;
|
|
755
|
+
conflict_rebase_ok: boolean;
|
|
756
|
+
rebase_attempt_count: any;
|
|
757
|
+
real_codex_patch_smoke: any;
|
|
758
|
+
real_codex_patch_smoke_report: any;
|
|
759
|
+
rollback_command: string;
|
|
760
|
+
};
|
|
740
761
|
runtime_truth_groups: {
|
|
741
762
|
Fake: string[];
|
|
742
763
|
Optional: string[];
|
|
@@ -781,6 +802,113 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
781
802
|
appshots_operator_action_required: boolean;
|
|
782
803
|
};
|
|
783
804
|
};
|
|
805
|
+
native_cli_session_proof: {
|
|
806
|
+
schema: string;
|
|
807
|
+
generated_at: string;
|
|
808
|
+
ok: boolean;
|
|
809
|
+
requested_agents: number;
|
|
810
|
+
target_active_slots: number;
|
|
811
|
+
enough_work_for_requested_agents: boolean;
|
|
812
|
+
total_work_items: number;
|
|
813
|
+
spawned_worker_process_count: number;
|
|
814
|
+
max_observed_worker_process_count: number;
|
|
815
|
+
unique_worker_session_count: number;
|
|
816
|
+
unique_slot_count: number;
|
|
817
|
+
unique_generation_count: number;
|
|
818
|
+
process_ids: any;
|
|
819
|
+
worker_command_lines: any;
|
|
820
|
+
heartbeat_count_by_worker: Record<string, number>;
|
|
821
|
+
close_report_count: number;
|
|
822
|
+
worker_exit_codes: any[];
|
|
823
|
+
worker_artifact_dirs: any;
|
|
824
|
+
worker_process_report_count: number;
|
|
825
|
+
worker_proof_is_only_subagent_events: boolean;
|
|
826
|
+
artifact: string;
|
|
827
|
+
swarm_artifact: string;
|
|
828
|
+
blockers: string[];
|
|
829
|
+
};
|
|
830
|
+
no_subagent_scaling_policy: {
|
|
831
|
+
schema: string;
|
|
832
|
+
generated_at: string;
|
|
833
|
+
ok: boolean;
|
|
834
|
+
main_orchestrator_scaling_primitive: string;
|
|
835
|
+
subagent_events_counted_as_worker_sessions: boolean;
|
|
836
|
+
scout_events_counted_as_worker_sessions: boolean;
|
|
837
|
+
worker_internal_scout_usage_allowed_as_helper_only: boolean;
|
|
838
|
+
native_worker_process_count: number;
|
|
839
|
+
subagent_event_count: number;
|
|
840
|
+
worker_process_proof: string;
|
|
841
|
+
swarm_proof: string;
|
|
842
|
+
runtime_truth_row: string;
|
|
843
|
+
blockers: string[];
|
|
844
|
+
};
|
|
845
|
+
fast_mode_policy: import("../core/agents/fast-mode-policy.js").FastModePolicy;
|
|
846
|
+
fast_mode_propagation: {
|
|
847
|
+
schema: string;
|
|
848
|
+
generated_at: string;
|
|
849
|
+
ok: boolean;
|
|
850
|
+
policy: import("../core/agents/fast-mode-policy.js").FastModePolicy;
|
|
851
|
+
backend: string | null;
|
|
852
|
+
default_fast_mode: boolean;
|
|
853
|
+
service_tier: import("../core/agents/fast-mode-policy.js").AgentServiceTier;
|
|
854
|
+
fast_mode: boolean;
|
|
855
|
+
worker_fast_report_count: number;
|
|
856
|
+
worker_process_report_count: number;
|
|
857
|
+
codex_exec_process_report_count: number;
|
|
858
|
+
process_report_count: number;
|
|
859
|
+
tmux_report_count: number;
|
|
860
|
+
mad_report_count: number;
|
|
861
|
+
child_report_count: number;
|
|
862
|
+
artifacts: string[];
|
|
863
|
+
blockers: string[];
|
|
864
|
+
};
|
|
865
|
+
patch_swarm: {
|
|
866
|
+
schema: string;
|
|
867
|
+
generated_at: string;
|
|
868
|
+
ok: boolean;
|
|
869
|
+
mission_id: string;
|
|
870
|
+
route: string;
|
|
871
|
+
route_command: string;
|
|
872
|
+
write_capable: boolean;
|
|
873
|
+
dry_run: boolean;
|
|
874
|
+
patch_envelope_count: number;
|
|
875
|
+
apply_started_at: string;
|
|
876
|
+
apply_finished_at: string;
|
|
877
|
+
apply_latency_ms: number;
|
|
878
|
+
parallel_apply_count: number;
|
|
879
|
+
parallel_apply_groups: any;
|
|
880
|
+
serial_merge_groups: any;
|
|
881
|
+
conflict_rebase: {
|
|
882
|
+
ok: boolean;
|
|
883
|
+
rebase_attempt_count: number;
|
|
884
|
+
succeeded_entry_ids: string[];
|
|
885
|
+
blocked_entry_ids: string[];
|
|
886
|
+
failed_entry_ids: string[];
|
|
887
|
+
};
|
|
888
|
+
transaction_journal: {
|
|
889
|
+
ok: boolean;
|
|
890
|
+
event_count: number;
|
|
891
|
+
artifact: string;
|
|
892
|
+
summary: string;
|
|
893
|
+
};
|
|
894
|
+
wall_clock_parallel_evidence: any;
|
|
895
|
+
expected_speedup: number;
|
|
896
|
+
conflicted_agent_count: number;
|
|
897
|
+
artifacts: {
|
|
898
|
+
queue: string;
|
|
899
|
+
events: string;
|
|
900
|
+
ownership: string;
|
|
901
|
+
merge: string;
|
|
902
|
+
apply_results: string;
|
|
903
|
+
verification: string;
|
|
904
|
+
rollback: string;
|
|
905
|
+
proof: string;
|
|
906
|
+
transaction_journal: string;
|
|
907
|
+
transaction_journal_summary: string;
|
|
908
|
+
conflict_rebase: string;
|
|
909
|
+
};
|
|
910
|
+
blockers: string[];
|
|
911
|
+
};
|
|
784
912
|
proof: {
|
|
785
913
|
schema: string;
|
|
786
914
|
ok: boolean;
|
|
@@ -792,6 +920,17 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
792
920
|
route_command: string;
|
|
793
921
|
route_blackbox_kind: string;
|
|
794
922
|
real_route_command_used: boolean;
|
|
923
|
+
native_cli_session_proof: string | null;
|
|
924
|
+
native_cli_session_swarm: string | null;
|
|
925
|
+
no_subagent_scaling_policy: string | null;
|
|
926
|
+
fast_mode_policy: any;
|
|
927
|
+
fast_mode_propagation: string | null;
|
|
928
|
+
native_cli_worker_process_count: number;
|
|
929
|
+
native_cli_max_observed_worker_process_count: number;
|
|
930
|
+
native_cli_unique_worker_session_count: number;
|
|
931
|
+
native_cli_subagent_scaling_blocked: boolean;
|
|
932
|
+
service_tier: any;
|
|
933
|
+
fast_mode: boolean;
|
|
795
934
|
parallel_write_policy: string;
|
|
796
935
|
strategy_gate: string;
|
|
797
936
|
strategy_gate_ok: boolean;
|
|
@@ -801,6 +940,27 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
801
940
|
parallel_write_apply_patches: boolean;
|
|
802
941
|
parallel_write_dry_run_patches: boolean;
|
|
803
942
|
parallel_write_max_write_agents: number;
|
|
943
|
+
patch_swarm_runtime: string | null;
|
|
944
|
+
patch_queue: string | null;
|
|
945
|
+
patch_queue_events: string | null;
|
|
946
|
+
patch_queue_event_count: number;
|
|
947
|
+
patch_proof: string | null;
|
|
948
|
+
patch_queue_ok: boolean;
|
|
949
|
+
patch_apply_ok: any;
|
|
950
|
+
patch_verification_ok: any;
|
|
951
|
+
patch_rollback_ok: any;
|
|
952
|
+
parallel_patch_apply_verified: boolean;
|
|
953
|
+
patch_conflict_count: number;
|
|
954
|
+
serial_bottleneck_count: number;
|
|
955
|
+
changed_files_by_agent: Record<string, string[]>;
|
|
956
|
+
lease_compliance_by_patch: {
|
|
957
|
+
patch_entry_id: any;
|
|
958
|
+
agent_id: any;
|
|
959
|
+
lease_id: any;
|
|
960
|
+
ok: boolean;
|
|
961
|
+
write_paths: any;
|
|
962
|
+
}[];
|
|
963
|
+
rollback_digest_count: any;
|
|
804
964
|
real_parallel_claim: boolean;
|
|
805
965
|
fake_backend_disclaimer: string | null;
|
|
806
966
|
agent_count: any;
|
package/dist/commands/ppt.d.ts
CHANGED
|
@@ -240,7 +240,7 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
240
240
|
route: string;
|
|
241
241
|
route_command: string;
|
|
242
242
|
route_blackbox_kind: string;
|
|
243
|
-
backend: "
|
|
243
|
+
backend: "fake" | "process" | "codex-exec" | "tmux";
|
|
244
244
|
ledger_root: string;
|
|
245
245
|
roster: {
|
|
246
246
|
schema: string;
|
|
@@ -360,6 +360,11 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
360
360
|
status: string;
|
|
361
361
|
blockers: string[];
|
|
362
362
|
};
|
|
363
|
+
native_cli_session_proof?: never;
|
|
364
|
+
no_subagent_scaling_policy?: never;
|
|
365
|
+
fast_mode_policy?: never;
|
|
366
|
+
fast_mode_propagation?: never;
|
|
367
|
+
patch_swarm?: never;
|
|
363
368
|
} | {
|
|
364
369
|
schema: string;
|
|
365
370
|
ok: boolean;
|
|
@@ -367,7 +372,7 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
367
372
|
route: string;
|
|
368
373
|
route_command: string;
|
|
369
374
|
route_blackbox_kind: string;
|
|
370
|
-
backend: "
|
|
375
|
+
backend: "fake" | "process" | "codex-exec" | "tmux";
|
|
371
376
|
ledger_root: string;
|
|
372
377
|
roster: {
|
|
373
378
|
schema: string;
|
|
@@ -477,6 +482,8 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
477
482
|
schema: string;
|
|
478
483
|
generated_at: string;
|
|
479
484
|
backend: any;
|
|
485
|
+
service_tier: any;
|
|
486
|
+
fast_mode: boolean;
|
|
480
487
|
result_count: any;
|
|
481
488
|
output_tail_report: string;
|
|
482
489
|
records: any;
|
|
@@ -586,6 +593,20 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
586
593
|
killed_timed_out_sessions: any;
|
|
587
594
|
fake_backend_disclaimer: string | null;
|
|
588
595
|
};
|
|
596
|
+
patch_swarm_runtime: {
|
|
597
|
+
status: string;
|
|
598
|
+
proof: string | null;
|
|
599
|
+
transaction_journal: string | null;
|
|
600
|
+
transaction_journal_summary: string | null;
|
|
601
|
+
transaction_journal_ok: boolean;
|
|
602
|
+
transaction_event_count: any;
|
|
603
|
+
conflict_rebase: string | null;
|
|
604
|
+
conflict_rebase_ok: boolean;
|
|
605
|
+
rebase_attempt_count: any;
|
|
606
|
+
real_codex_patch_smoke: any;
|
|
607
|
+
real_codex_patch_smoke_report: any;
|
|
608
|
+
rollback_command: string;
|
|
609
|
+
};
|
|
589
610
|
runtime_truth_groups: {
|
|
590
611
|
Fake: string[];
|
|
591
612
|
Optional: string[];
|
|
@@ -630,6 +651,113 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
630
651
|
appshots_operator_action_required: boolean;
|
|
631
652
|
};
|
|
632
653
|
};
|
|
654
|
+
native_cli_session_proof: {
|
|
655
|
+
schema: string;
|
|
656
|
+
generated_at: string;
|
|
657
|
+
ok: boolean;
|
|
658
|
+
requested_agents: number;
|
|
659
|
+
target_active_slots: number;
|
|
660
|
+
enough_work_for_requested_agents: boolean;
|
|
661
|
+
total_work_items: number;
|
|
662
|
+
spawned_worker_process_count: number;
|
|
663
|
+
max_observed_worker_process_count: number;
|
|
664
|
+
unique_worker_session_count: number;
|
|
665
|
+
unique_slot_count: number;
|
|
666
|
+
unique_generation_count: number;
|
|
667
|
+
process_ids: any;
|
|
668
|
+
worker_command_lines: any;
|
|
669
|
+
heartbeat_count_by_worker: Record<string, number>;
|
|
670
|
+
close_report_count: number;
|
|
671
|
+
worker_exit_codes: any[];
|
|
672
|
+
worker_artifact_dirs: any;
|
|
673
|
+
worker_process_report_count: number;
|
|
674
|
+
worker_proof_is_only_subagent_events: boolean;
|
|
675
|
+
artifact: string;
|
|
676
|
+
swarm_artifact: string;
|
|
677
|
+
blockers: string[];
|
|
678
|
+
};
|
|
679
|
+
no_subagent_scaling_policy: {
|
|
680
|
+
schema: string;
|
|
681
|
+
generated_at: string;
|
|
682
|
+
ok: boolean;
|
|
683
|
+
main_orchestrator_scaling_primitive: string;
|
|
684
|
+
subagent_events_counted_as_worker_sessions: boolean;
|
|
685
|
+
scout_events_counted_as_worker_sessions: boolean;
|
|
686
|
+
worker_internal_scout_usage_allowed_as_helper_only: boolean;
|
|
687
|
+
native_worker_process_count: number;
|
|
688
|
+
subagent_event_count: number;
|
|
689
|
+
worker_process_proof: string;
|
|
690
|
+
swarm_proof: string;
|
|
691
|
+
runtime_truth_row: string;
|
|
692
|
+
blockers: string[];
|
|
693
|
+
};
|
|
694
|
+
fast_mode_policy: import("../core/agents/fast-mode-policy.js").FastModePolicy;
|
|
695
|
+
fast_mode_propagation: {
|
|
696
|
+
schema: string;
|
|
697
|
+
generated_at: string;
|
|
698
|
+
ok: boolean;
|
|
699
|
+
policy: import("../core/agents/fast-mode-policy.js").FastModePolicy;
|
|
700
|
+
backend: string | null;
|
|
701
|
+
default_fast_mode: boolean;
|
|
702
|
+
service_tier: import("../core/agents/fast-mode-policy.js").AgentServiceTier;
|
|
703
|
+
fast_mode: boolean;
|
|
704
|
+
worker_fast_report_count: number;
|
|
705
|
+
worker_process_report_count: number;
|
|
706
|
+
codex_exec_process_report_count: number;
|
|
707
|
+
process_report_count: number;
|
|
708
|
+
tmux_report_count: number;
|
|
709
|
+
mad_report_count: number;
|
|
710
|
+
child_report_count: number;
|
|
711
|
+
artifacts: string[];
|
|
712
|
+
blockers: string[];
|
|
713
|
+
};
|
|
714
|
+
patch_swarm: {
|
|
715
|
+
schema: string;
|
|
716
|
+
generated_at: string;
|
|
717
|
+
ok: boolean;
|
|
718
|
+
mission_id: string;
|
|
719
|
+
route: string;
|
|
720
|
+
route_command: string;
|
|
721
|
+
write_capable: boolean;
|
|
722
|
+
dry_run: boolean;
|
|
723
|
+
patch_envelope_count: number;
|
|
724
|
+
apply_started_at: string;
|
|
725
|
+
apply_finished_at: string;
|
|
726
|
+
apply_latency_ms: number;
|
|
727
|
+
parallel_apply_count: number;
|
|
728
|
+
parallel_apply_groups: any;
|
|
729
|
+
serial_merge_groups: any;
|
|
730
|
+
conflict_rebase: {
|
|
731
|
+
ok: boolean;
|
|
732
|
+
rebase_attempt_count: number;
|
|
733
|
+
succeeded_entry_ids: string[];
|
|
734
|
+
blocked_entry_ids: string[];
|
|
735
|
+
failed_entry_ids: string[];
|
|
736
|
+
};
|
|
737
|
+
transaction_journal: {
|
|
738
|
+
ok: boolean;
|
|
739
|
+
event_count: number;
|
|
740
|
+
artifact: string;
|
|
741
|
+
summary: string;
|
|
742
|
+
};
|
|
743
|
+
wall_clock_parallel_evidence: any;
|
|
744
|
+
expected_speedup: number;
|
|
745
|
+
conflicted_agent_count: number;
|
|
746
|
+
artifacts: {
|
|
747
|
+
queue: string;
|
|
748
|
+
events: string;
|
|
749
|
+
ownership: string;
|
|
750
|
+
merge: string;
|
|
751
|
+
apply_results: string;
|
|
752
|
+
verification: string;
|
|
753
|
+
rollback: string;
|
|
754
|
+
proof: string;
|
|
755
|
+
transaction_journal: string;
|
|
756
|
+
transaction_journal_summary: string;
|
|
757
|
+
conflict_rebase: string;
|
|
758
|
+
};
|
|
759
|
+
blockers: string[];
|
|
760
|
+
};
|
|
633
761
|
proof: {
|
|
634
762
|
schema: string;
|
|
635
763
|
ok: boolean;
|
|
@@ -641,6 +769,17 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
641
769
|
route_command: string;
|
|
642
770
|
route_blackbox_kind: string;
|
|
643
771
|
real_route_command_used: boolean;
|
|
772
|
+
native_cli_session_proof: string | null;
|
|
773
|
+
native_cli_session_swarm: string | null;
|
|
774
|
+
no_subagent_scaling_policy: string | null;
|
|
775
|
+
fast_mode_policy: any;
|
|
776
|
+
fast_mode_propagation: string | null;
|
|
777
|
+
native_cli_worker_process_count: number;
|
|
778
|
+
native_cli_max_observed_worker_process_count: number;
|
|
779
|
+
native_cli_unique_worker_session_count: number;
|
|
780
|
+
native_cli_subagent_scaling_blocked: boolean;
|
|
781
|
+
service_tier: any;
|
|
782
|
+
fast_mode: boolean;
|
|
644
783
|
parallel_write_policy: string;
|
|
645
784
|
strategy_gate: string;
|
|
646
785
|
strategy_gate_ok: boolean;
|
|
@@ -650,6 +789,27 @@ export declare function run(command: any, args?: any): Promise<void | {
|
|
|
650
789
|
parallel_write_apply_patches: boolean;
|
|
651
790
|
parallel_write_dry_run_patches: boolean;
|
|
652
791
|
parallel_write_max_write_agents: number;
|
|
792
|
+
patch_swarm_runtime: string | null;
|
|
793
|
+
patch_queue: string | null;
|
|
794
|
+
patch_queue_events: string | null;
|
|
795
|
+
patch_queue_event_count: number;
|
|
796
|
+
patch_proof: string | null;
|
|
797
|
+
patch_queue_ok: boolean;
|
|
798
|
+
patch_apply_ok: any;
|
|
799
|
+
patch_verification_ok: any;
|
|
800
|
+
patch_rollback_ok: any;
|
|
801
|
+
parallel_patch_apply_verified: boolean;
|
|
802
|
+
patch_conflict_count: number;
|
|
803
|
+
serial_bottleneck_count: number;
|
|
804
|
+
changed_files_by_agent: Record<string, string[]>;
|
|
805
|
+
lease_compliance_by_patch: {
|
|
806
|
+
patch_entry_id: any;
|
|
807
|
+
agent_id: any;
|
|
808
|
+
lease_id: any;
|
|
809
|
+
ok: boolean;
|
|
810
|
+
write_paths: any;
|
|
811
|
+
}[];
|
|
812
|
+
rollback_digest_count: any;
|
|
653
813
|
real_parallel_claim: boolean;
|
|
654
814
|
fake_backend_disclaimer: string | null;
|
|
655
815
|
agent_count: any;
|
|
@@ -43,6 +43,13 @@ export interface AgentCodexCockpitState {
|
|
|
43
43
|
pending_queue_count: number | null;
|
|
44
44
|
backfill_count: number | null;
|
|
45
45
|
scheduler_status: string | null;
|
|
46
|
+
patch_swarm_phase: string | null;
|
|
47
|
+
patch_queue_depth: number | null;
|
|
48
|
+
patch_apply_groups: Array<Record<string, unknown>>;
|
|
49
|
+
patch_changed_files_by_agent: Record<string, unknown>;
|
|
50
|
+
patch_verification_status: Array<Record<string, unknown>>;
|
|
51
|
+
patch_rollback_status: Array<Record<string, unknown>>;
|
|
52
|
+
patch_micro_win_links: Array<Record<string, unknown>>;
|
|
46
53
|
worker_slots: Array<Record<string, unknown>>;
|
|
47
54
|
session_generations: Array<Record<string, unknown>>;
|
|
48
55
|
blockers: string[];
|